I am trying to compile appropriate modules for lm sensors in 2.5.70,
but there seems to be no way to configure i2c-proc -- it seems to be
there for other architectures, but not for i386.
Any assistance would be appreciated.
--
John Covici
[email protected]
On Wednesday, 28 May 2003, at 12:22:23 -0400,
John Covici wrote:
> I am trying to compile appropriate modules for lm sensors in 2.5.70,
> but there seems to be no way to configure i2c-proc -- it seems to be
> there for other architectures, but not for i386.
>
And this is probably the cause of my hardware sensors (it87.ko) not
working :-). Here is what modules.dep for my 2.4.20 kernel says:
/lib/modules/2.4.20-xfsip/kernel/drivers/sensors/it87.o:
/lib/modules/2.4.20-xfsip/kernel/drivers/i2c/i2c-core.o \
/lib/modules/2.4.20-xfsip/kernel/drivers/i2c/i2c-proc.o
And here what it says for my 2.5.70 kernel:
/lib/modules/2.5.70/kernel/drivers/i2c/chips/it87.ko: /lib/modules/2.5.70/kernel/drivers/i2c/i2c-sensor.ko /lib/modules/2.5.70/kernel/drivers/i2c/i2c-core.ko
Or maybe something changed in the meantime, and problems are in
user-space, the fact is it doesn't work:
server:~# sensors -v
sensors version 2.6.5
As seen on lm_sensors' home page, it seems the are still porting i2c and
lm_sensors to recent 2.5.x kernels, so maybe the problem is there. They
advise against trying to compile both i2c and lm_sensors for 2.5.x
kernels, because probably they won't work.
Hope this helps.
--
Jose Luis Domingo Lopez
Linux Registered User #189436 Debian Linux Sid (Linux 2.5.70)
Jose Luis Domingo Lopez wrote:
> On Wednesday, 28 May 2003, at 12:22:23 -0400,
> John Covici wrote:
>
>
>>I am trying to compile appropriate modules for lm sensors in 2.5.70,
>>but there seems to be no way to configure i2c-proc -- it seems to be
>>there for other architectures, but not for i386.
>>
>
> Or maybe something changed in the meantime, and problems are in
> user-space, the fact is it doesn't work:
>
> server:~# sensors -v
> sensors version 2.6.5
>
The sensors proc interface didn't make it to 2.5. You have to use sysfs
to check the sensors (/sys/devices/legacy/...). Userspace didn't get
converted yet, so all libsensor based programs (ie. all) don't work anymore
Jan
On Wed, May 28, 2003 at 12:22:23PM -0400, John Covici wrote:
> I am trying to compile appropriate modules for lm sensors in 2.5.70,
> but there seems to be no way to configure i2c-proc -- it seems to be
> there for other architectures, but not for i386.
i2c-proc is no longer a separate compile option. The i2c interface is
now through sysfs, not /proc for 2.5.
thanks,
greg k-h