bus scan removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 21 Dec 2003, Jean Delvare wrote:

> > 1. If wanted in kernel code, have a single scanner in i2c-core
> > instead.
>
> But you finally did not implement that, right?

Did not. There was i2cdetect.

> > 2. A simple SMBus Quick command may have effect, the most simple i2c
> > chip is a relay acting on the R/W bit of the address. Some chip at
> > 0x69 (?) locked the bus in the early days (-99), and I think it
> > was solved using write, not read address in the bus scan.
>
> I wasn't there back to these times, but we now use a quick write
> command (which, as you know, doesn't really write anything). A quick
> look at i2c-ibm_iic.c in Linux 2.6.0 shows that they use one-byte read
> instead.

Not all chips acknowledge the read address. With the i2c-ibm_iic, I
don't see the reason for using one-byte read,  if hw could not do
quick write a one-byte read is next best choice.


-- 
  Ky?sti M?lkki  <kyosti.malkki at welho.com>



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux