From 183947c5286c71daacb6c2be737e53ff9a9b670e Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 3 Oct 2009 08:32:33 +0000 Subject: [PATCH] Update the sysfs path to i2c adapters. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5778 7894878c-1315-0410-8ee3-d5d059ff63e0 --- doc/chips/MODPARMS | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/chips/MODPARMS b/doc/chips/MODPARMS index 115a1c34..17b6f377 100644 --- a/doc/chips/MODPARMS +++ b/doc/chips/MODPARMS @@ -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: