Show
Ignore:
Timestamp:
07/21/99 11:35:40 (14 years ago)
Author:
kmalkki
Message:

(Kyösti)

  • Use write-address to detect devices on the bus.

Simple clients that you can't read, don't ack the read address.
I believe every client has to ack their write address?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/detect/i2cdetect.c

    r496 r500  
    7979      } 
    8080 
    81       res = i2c_smbus_read_byte(file); 
     81      res = i2c_smbus_write_quick(file, I2C_SMBUS_WRITE); 
    8282      if (res < 0) 
    8383        printf("XX ");