status of i2c in 2.5.70 kernel

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

 



Hello,


First: I'm not using your lm-sensor/i2c package, but I am
using the i2c stuff from a stock 2.5.70 kernel.

The stock 2.5.70 kernel does not seem to support PROC_FS for
i2c any more. It used to be in i2c-core.c, but now it has been
removed.

Browsing your CVS, I saw that your package includes a 
i2c-proc.c

Has the new proc interface been offered for inclusion
with future 2.5 kernels yet?

Also, there seems to be a duality: sysfs vs procfs.
When I mount sysfs, I get a /sys/bus/i2c dir, which contains
dirs only, and no files. However, I do have a working i2c
adapter, as I can read /dev/i2c-0:
Opening device...
Done
I2C_FUNC_SMBUS_BYTE
i2c chip found at: 2d, val = 1
i2c chip found at: 50, val = 0
i2c chip found at: 69, val = 8
When running on my via686 system, with support for
CONFIG_I2C_VIAPRO=y
CONFIG_SENSORS_VIA686A=y
CONFIG_I2C_SENSOR=y
CONFIG_I2C_CHARDEV=y

Shouldn't I get some entries in /sys/bus/i2c, or do I have to wait for
a better i2c support in future 2.5 kernels?

Thanks,

        Bram Stolk



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

  Powered by Linux