2.8.7 doesnt see sensors on my machine.

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

 



> I did find that in the startup script for init.d there is some logic 
> looking for sensors in /proc, viz
> 
> ### If sensors isn't supported by the kernel, try loading the
> #module...##
> ### [ -e /proc/sys/dev/sensors ] || /sbin/modprobe i2c-proc
> #&>/dev/null##
> ### # Don't bother if /proc/sensors still doesn't exist, kernel
> #doesn't have## # support for sensors.
> ### [ -e /proc/sys/dev/sensors ] || exit 0
> ###
> ### # If sensors was not already running, unload the module...
> 
> and I have had to comment this section out. 
> There is nothing I can do that seems to make /proc/sys/dev/sensors
> appear in the 2.6.6 kernel.  In particular, the 'modprobe i2c-proc'
> fails since the module is not found in the distributed kernel
> vmlinuz-2.6.6-1.435 again, mabe this is something that needs to be
> turned on (I dont have time to look right now) but 'sensor' seems to
> work fine without it.

In 2.6, sensors stuff is in /sys, not /proc, so this is no surprise that
you don't have /proc/sys/dev/sensors nor i2c-proc module. Our init
scripts would certainly need to be updated to support 2.6 kernels, but
nobody worked on this yet.

-- 
Jean Delvare
http://khali.linux-fr.org/



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

  Powered by Linux