PDA

View Full Version : [SOLVED] lm-sensors and w83627hf module problem



staffann
December 13th, 2009, 12:06 AM
I recently installed Ubuntu 9.10. I'm trying to use lm-sensors and the sensors-applet to see a number of things measured hardware valuue but I'm having some problems.

I first ran the command sudo /usr/sbin/sensors-detect. It detected two modules that were added to the /etc/modules file:

# Generated by sensors-detect on Sun Dec 6 14:49:30 2009
# Chip drivers
w83627hf
k8tempThe k8temp module seems to work but w83627hf doesn't. If I issue the command "sensors" this is all I get:

staffan@bilbo:~$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +54.0°C
Core1 Temp: +51.0°C Doing a lsmod gives me a list of moduls and w83627hf isn't among them:

staffan@bilbo:~$ sudo lsmod
Module Size Used by
i2c_dev 6500 0
binfmt_misc 8356 1
snd_intel8x0 30168 3
snd_ac97_codec 101216 1 snd_intel8x0
ac97_bus 1532 1 snd_ac97_codec
iptable_filter 3100 0
snd_pcm_oss 37920 0
ip_tables 11692 1 iptable_filter
snd_mixer_oss 16028 1 snd_pcm_oss
x_tables 16544 1 ip_tables
snd_pcm 75296 4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
cp210x 14176 0
usbserial 36232 1 cp210x
snd_seq_dummy 2656 0
ndiswrapper 185404 0
nvidia 7089800 34
snd_seq_oss 28576 0
ppdev 6688 0
i2c_ali15x3 6336 0
hwmon_vid 2940 0
lp 8964 0
snd_seq_midi 6432 0
snd_rawmidi 22208 1 snd_seq_midi
snd_seq_midi_event 6940 2 snd_seq_oss,snd_seq_midi
k8temp 4188 0
snd_seq 50224 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_mid i_event
snd_timer 22276 2 snd_pcm,snd_seq
snd_seq_device 6920 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi ,snd_seq
ns558 5404 0
gameport 11368 2 ns558
shpchp 32272 0
i2c_ali1535 5792 0
parport_pc 31940 1
parport 35340 3 ppdev,lp,parport_pc
snd 59204 15 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_ oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_ti mer,snd_seq_device
uli526x 15564 0
soundcore 7264 1 snd
snd_page_alloc 9156 2 snd_intel8x0,snd_pcm
i2c_ali1563 6368 0
hid_a4tech 2652 0
usbhid 38208 0
floppy 54916 0
amd64_agp 9796 1
ali_agp 5148 0
agpgart 34988 3 nvidia,amd64_agp,ali_agp
Finally issuing the modprobe command fails:

staffan@bilbo:~$ sudo modprobe w83627hf
WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
FATAL: Error inserting w83627hf (/lib/modules/2.6.31-16-generic/kernel/drivers/hwmon/w83627hf.ko): Device or resource busy
What can I do to make it work?

Rastor
December 13th, 2009, 05:34 PM
I just solved this problem myself, by following the instructions here (http://ohioloco.ubuntuforums.org/showpost.php?p=8485676&postcount=10).

staffann
December 13th, 2009, 06:22 PM
That works! Thanks!! :D
But what does that command (GRUB_CMDLINE_LINUX="acpi_enforce_resources=lax") mean?

Rastor
December 15th, 2009, 05:34 PM
This is needed because of a safety feature which was implemented in the 2.6.31 kernel:

http://www.lm-sensors.org/wiki/FAQ/Chapter3#Mysensorshavestoppedworkinginkernel2.6.31

Altering the GRUB_CMDLINE_LINUX line is how you modify the Linux kernel boot commandline in Grub 2.0 (which is used by Ubuntu 9.10 as the bootloader).

staffann
December 15th, 2009, 06:48 PM
Thanks for the link!