[lm-sensors] [PATCH] sensors-detect: Check for 1-register-only device (testers wanted)
Hans de Goede
j.w.r.degoede at hhs.nl
Fri May 9 12:47:18 CEST 2008
Jean Delvare wrote:
> Hi Hans,
>
> On Fri, 09 May 2008 07:03:19 +0200, Hans de Goede wrote:
>> Perhaps it would be an idea to try to do an i2c (*) read transfer of more then
>> 1 byte, it would be interesting to see how this specific 1 register device
>> responds to this, maybe it will stop acking after the first byte is transfered
>> because it has only one byte to send.
>
> In master-receiver, slave-transmitter mode, it's the master who sets
> the ack bit, depending on whether it will ask for more bytes after that
> one (ack) or not (nack). The slave doesn't have its say. All the slave
> can do is send zero or maybe random bytes if it doesn't have data to
> send.
You're right, I didn't think about that.
Regards,
Hans
More information about the lm-sensors
mailing list