Re: i2c adapter scan device issue

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

 



On Wed, 25 Nov 2009 16:42:02 +0800, Lanttor wrote:
> >
> > Yes, you are correct. You can't predefine I2C devices with
> > i2c_register_board_info() if you don't also set I2C adapter numbers
> > with i2c_add_numbered_adapter(). Trying would be equivalent to sending a
> > letter to someone when you know the city and street number but not the
> > street name: unlikely to succeed.
> >   
> Thanks Jean.
> 
> In fact my bus driver used i2c_add_adapter() not i2c_add_numbered_adapter().
> Now I use i2c_add_numbered_adapter() to replace 2c_add_adapter() and set
> the bus number first.
> 
> In one word, you mean that i2c_add_adapter() can not work normally if
> useing i2c_register_board_info() to pre-declare the i2c device, right?

Yes, exactly.

> I really need track i2c-stack in detail.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html
--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux