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:
Jean Delvare committed 2009-10-03 08:32:33 +00:00
1 parent 209dd6c871
commit 183947c528
1 file changed
+4
+4
View File
@@ -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: