2003-07-11 07:58:57

by Kissner, Sven

[permalink] [raw]
Subject: linux 2.5.75 & I2C_PROC

Hi,

i'm using linux 2.5.75 on my debian box and want to run lm_sensors. The
userspace apps (sensors-detect & sensors) require the module I2C_PROC,
which I can't find within the kernel configuration. Are there any
dependencies so I2C_PROC becomes available? I'm thankful for any
enlightment.

For I'm not subscribed to the list, please cc me on reply.

Thanks in advance
Sven


2003-07-11 08:12:50

by Jan Dittmer

[permalink] [raw]
Subject: Re: linux 2.5.75 & I2C_PROC

Kissner, Sven wrote:
> Hi,
>
> i'm using linux 2.5.75 on my debian box and want to run lm_sensors. The
> userspace apps (sensors-detect & sensors) require the module I2C_PROC,
> which I can't find within the kernel configuration. Are there any
> dependencies so I2C_PROC becomes available? I'm thankful for any
> enlightment.

The proc interface to i2c didn't make it in 2.5 in favor for sysfs.
Just do a `find /sys | grep i2c` and you can cat & echo the various
files to read/change the values.

Jan


--
Linux rubicon 2.5.74-mm3-jd2 #1 SMP Wed Jul 9 09:38:20 CEST 2003 i686