mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-20 19:41:47 +00:00
Update the sysfs path to i2c adapters.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5778 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
209dd6c871
commit
183947c528
1 file changed
+4
@@ -43,6 +43,10 @@ BUS NUMBERING
|
||||
I2C/SMBus adapters are numbered in the order they are inserted. If you want
|
||||
to know what number an adapter has, use the following command:
|
||||
|
||||
(for kernel 2.6.32 and newer)
|
||||
grep . /sys/bus/i2c/devices/i2c-*/name
|
||||
|
||||
(for kernel 2.6.31 and older)
|
||||
grep . /sys/class/i2c-adapter/i2c-*/name
|
||||
|
||||
Alternatively, if you have installed i2c-tools, you can do:
|
||||
|
||||
Reference in new issue
Block a user