You are not logged in.

#1 2006-12-10 10:53:40

Shagbag
Member
Registered: 2006-10-25
Posts: 259

lm_sensors

I have read the lm_sensors wiki.
I installed lm_sensors 2.10.1-1 from current.
I ran modprobe i2c-dev without any problems being reported:

[n00b@archlinux ~]$ modprobe i2c-dev
[n00b@archlinux ~]$ 

I ran sensors-detect which told me I needed to the following modules:

i2c-i801
lm90
eeprom

I checked my /etc/sysconfig/lm_sensors and it does indeed contain these modules:

MODULE_0=i2c-i801
MODULE_1=lm90
MODULE_2=eeprom

I then loaded these modules manually as per the wiki:

[root@archlinux n00b]# modprobe i2c-i801
[root@archlinux n00b]# modprobe lm90
[root@archlinux n00b]# modprobe eeprom

I then ran sensors:

[root@archlinux n00b]# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

I am using the 2.6.19-ARCH kernel:

[root@archlinux n00b]# uname -r
2.6.19-ARCH

I then created the /etc/rc.d/sensors file with the script from the abovementioned lm_sensors wiki and changed the permissions so that any user can execute it.
Finally, I included 'sensors' in my /etc/rc.conf daemons:

DAEMONS=(syslog-ng !hotplug !pcmcia sensors ifplugd ipw3945d network netfs crond portmap fam dbus hal avahi-daemon
alsa)

I then rebooted and noticed the same error I got above as the arch initialisation scripts scrolled through:

No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

Please could someone tell me what I am doing wrong and what I need to do right?

Offline

#2 2006-12-10 11:26:01

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: lm_sensors

You also need to load the module for your sensors chip, for example I load the module w83627hf:

$ sensors
w83627hf-isa-0290
Adapter: ISA adapter
VCore 1:   +1.57 V  (min =  +0.00 V, max =  +4.08 V)              
VCore 2:   +1.71 V  (min =  +0.00 V, max =  +4.08 V)              
+3.3V:     +3.26 V  (min =  +2.82 V, max =  +3.79 V)              
+5V:       +4.97 V  (min =  +0.22 V, max =  +0.11 V)       ALARM  
+12V:     +11.92 V  (min =  +0.00 V, max =  +0.12 V)       ALARM  
-12V:     -12.11 V  (min = -14.91 V, max = -14.91 V)       ALARM  
-5V:       -5.05 V  (min =  -7.71 V, max =  -7.71 V)       ALARM  
V5SB:      +5.56 V  (min =  +0.43 V, max =  +0.00 V)       ALARM  
VBat:      +3.25 V  (min =  +0.00 V, max =  +0.26 V)       ALARM  
fan1:     1095 RPM  (min =   -1 RPM, div = 8)              ALARM  
fan2:        0 RPM  (min = 1318 RPM, div = 8)              ALARM  
fan3:        0 RPM  (min = 2518 RPM, div = 8)              ALARM  
temp1:       +35°C  (high =   +34°C, hyst =    +0°C)   sensor = thermistor   ALARM   
temp2:     +36.0°C  (high =  +120°C, hyst =  +115°C)   sensor = diode           
temp3:     +51.5°C  (high =  +120°C, hyst =  +115°C)   sensor = thermistor           
vid:      +0.000 V  (VRM Version 9.0)
alarms:   Chassis intrusion detection                      ALARM
beep_enable:
          Sound alarm enabled

Offline

#3 2006-12-10 11:37:52

Shagbag
Member
Registered: 2006-10-25
Posts: 259

Re: lm_sensors

Thank you, but how do I know what module to load for my Intel Core Duo?

[root@archlinux /]# ls /sys/module
8250        eth1394     ide_core              libata       printk             snd                 snd_timer
agpgart     evdev       ieee1394              lm90         processor          snd_hda_codec       soundcore
apm         ext3        ieee80211             lockd        psmouse            snd_hda_intel       sr_mod
arc4        ff_memless  ieee80211_crypt       mbcache      r1000              snd_mixer_oss       tcp_cubic
ata_piix    generic     ieee80211_crypt_tkip  michael_mic  r8169              snd_page_alloc      tsdev
capability  hwmon_vid   intel_agp             mousedev     rtc                snd_pcm             uhci_hcd
cdrom       i2c_core    ipv6                  nfs          scsi_mod           snd_pcm_oss         usbcore
commoncap   i2c_dev     ipw3945               nvidia       scsi_transport_fc  snd_seq             usbhid
ecb         i2c_i801    jbd                   ohci1394     sd_mod             snd_seq_device
eeprom      i2c_isa     joydev                pcspkr       serio_raw          snd_seq_midi_event
ehci_hcd    i8042       keyboard              piix         sg                 snd_seq_oss

Offline

#4 2006-12-10 13:38:48

Fackamato
Member
Registered: 2006-03-31
Posts: 579

Re: lm_sensors

If sensors-detect doesn't detect the right module for you, you could look in /lib/modules/[your kernel]/kernel/drivers/hwmon/ and load one of the modules at a time, checking with sensors if you get any information, if not, unload it and try the next module.
I bet there's an easier way that I haven't thought of, but if the above doesn't work for you I guess your chipset isn't supported yet? Is this a laptop? If not, what mainboard do you use?

Offline

#5 2006-12-10 16:46:53

Shagbag
Member
Registered: 2006-10-25
Posts: 259

Re: lm_sensors

Thanks.

[n00b@archlinux /]$ ls /lib/modules/2.6.19-ARCH/kernel/drivers/hwmon
abituguru.ko  ds1621.ko     it87.ko    lm83.ko     smsc47b397.ko  w83781d.ko
adm1021.ko    f71805f.ko    k8temp.ko  lm85.ko     smsc47m1.ko    w83791d.ko
adm1025.ko    fscher.ko     lm63.ko    lm87.ko     smsc47m192.ko  w83792d.ko
adm1026.ko    fscpos.ko     lm70.ko    lm90.ko     via686a.ko     w83l785ts.ko
adm1031.ko    gl518sm.ko    lm75.ko    lm92.ko     vt1211.ko
adm9240.ko    gl520sm.ko    lm77.ko    max1619.ko  vt8231.ko
asb100.ko     hdaps.ko      lm78.ko    pc87360.ko  w83627ehf.ko
atxp1.ko      hwmon-vid.ko  lm80.ko    sis5595.ko  w83627hf.ko

I tried them all.  No joy.   :cry:  :cry:  :cry:
It is a laptop.  Alienware Area-51 m5550.

Offline

Board footer

Powered by FluxBB