lm_sensors2/prog/dump i2cbusses.c

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

 



On Thu, Nov 27, 2003 at 06:32:29PM -0500, Mark Studebaker wrote:
> The 2.6 i2c-dev bus numbers don't necessarily match i2c-adapter bus
> numbers.
> If you rmmod and re-insmod a bus driver, the driver seems to get its old
> i2c-dev bus number back. But the i2c-adapter number increments.
> Don't know why. It would be much better if they matched.

Follow the symlink in the i2c-dev sysfs directory to find the adapter it
is bound to.  That's much easier than trying to match up numbers :)

thanks,

greg k-h



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

  Powered by Linux