LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-12-2004, 03:42 AM   #1
christophe.dr
LQ Newbie
 
Registered: Aug 2003
Location: Paris
Distribution: mandrake 9.1
Posts: 26

Rep: Reputation: 15
asus p4c800 lm-sensors


OK, i searched, the internet with google and google/linux. I searched the mdk knowledge base. I had a look at this forum and i think it's the place i should put my question.
With mandrake10.0, i have a fragile asus p4c800 motherboard (once repaired under warranty) and i need to monitor temperature, cpu fan, etc... i installed acpi and gkrellm but was told that i need lm-sensors. I instaled it and ran sensors-detect. Then i run sensors but it doesn't work properly : gives only 2 inconsistent temperatures measures.
What comes when i run sensors :
lm75-i2c-0-48
Adapter: SMBus I801 adapter at 0400
temp: +125.0C (high = +80.0C, hyst = +75.0C)

lm75-i2c-0-49
Adapter: SMBus I801 adapter at 0400
temp: +125.0C (high = +80.0C, hyst = +75.0C)

eeprom-i2c-0-52
Adapter: SMBus I801 adapter at 0400
Memory type: DDR SDRAM DIMM
Memory size (MB): 256

eeprom-i2c-0-50
Adapter: SMBus I801 adapter at 0400
Memory type: DDR SDRAM DIMM
Memory size (MB): 256

Here is my lspci :
00:00.0 Host bridge: Intel Corp. 82875P Memory Controller Hub (rev 02)
00:01.0 PCI bridge: Intel Corp. 82875P Processor to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.3 USB Controller: Intel Corp. 82801EB USB (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801EB USB2 (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp. 82801EB LPC Interface Controller (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801EB Ultra ATA Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801EB SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801EB AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R300 ND [Radeon 9700 Pro]
01:00.1 Display controller: ATI Technologies Inc Radeon R300 [Radeon 9700 Pro] (Secondary)
02:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
02:04.0 RAID bus controller: Promise Technology, Inc.: Unknown device 3373 (rev 02)
02:05.0 Ethernet controller: 3Com Corporation 3c940 1000Base? (rev 12)
02:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

According to the mobo datasheet, there is a winbond w83627thf chip on this p4c800 deluxe. I understood, perhaps wrongly, that this chipset is handled via the intel 82801EB ICH5 southbridge (i2c-i801 driver).
Sensors detect has generated a /etc/sysconf/lm_sensors file that contains this :

# Generated by sensors-detect on Sun Jul 11 16:59:31 2004
MODULE_0=i2c-i801
MODULE_1=i2c-isa
MODULE_2=lm75
MODULE_3=eeprom
MODULE_4=smbus-arp
MODULE_5=w83627hf_wdt

I changed the last line because it had the ancient w83627hf module. I think i might have to pass some parameters to this module so that it works properly. But i don't know which ones...???
Here is my lsmod :
Module Size Used by
lm75 8644 0
w83627hf_wdt 6024 0
sg 40028 0
sr_mod 18116 0
binfmt_misc 11432 1
autofs4 17152 2
parport_pc 34304 1
lp 13256 0
parport 41032 2 parport_pc,lp
fglrx 167722 205
snd-seq-oss 33568 0
snd-seq-midi-event 8704 1 snd-seq-oss
snd-seq 55696 4 snd-seq-oss,snd-seq-midi-event
snd-pcm-oss 53316 0
snd-mixer-oss 19008 1 snd-pcm-oss
snd-intel8x0 34440 1
snd-ac97-codec 59588 1 snd-intel8x0
snd-pcm 97440 2 snd-pcm-oss,snd-intel8x0
snd-timer 26660 2 snd-seq,snd-pcm
gameport 5664 1 snd-intel8x0
snd-page-alloc 12996 2 snd-intel8x0,snd-pcm
snd-mpu401-uart 8320 1 snd-intel8x0
snd-rawmidi 25248 1 snd-mpu401-uart
snd-seq-device 9032 3 snd-seq-oss,snd-seq,snd-rawmidi
snd 55492 14 snd-seq-oss,snd-seq-midi-event,snd-seq,snd-pcm-oss,snd-mixer-oss,snd-intel8x0,snd-ac97-codec,snd-pcm,snd-timer,snd-mpu401-uart,snd-rawmidi,snd-seq-device
soundcore 10560 1 snd
md5 4864 1
ipv6 251392 12
af_packet 22632 8
eeprom 8328 0
i2c-sensor 3936 2 lm75,eeprom
i2c-isa 2848 0
i2c-i801 8880 0
i2c-core 24292 5 lm75,eeprom,i2c-sensor,i2c-isa,i2c-i801
hid 55360 0
raw 8640 1
ide-floppy 19776 0
ide-tape 36752 0
ide-cd 41764 0
cdrom 38272 2 sr_mod,ide-cd
floppy 61620 0
button 7064 0
thermal 14032 0
processor 14512 1 thermal
fan 4940 0
ac 5804 0
battery 10220 0
ipt_TOS 3232 12
ipt_REJECT 7456 4
ipt_pkttype 2528 4
ipt_LOG 6400 7
ipt_limit 3328 7
ipt_state 2720 13
ip_nat_irc 5136 0
ip_nat_tftp 4240 0
ip_nat_ftp 5776 0
ip_conntrack_irc 72148 1 ip_nat_irc
ip_conntrack_tftp 4340 0
ip_conntrack_ftp 72724 1 ip_nat_ftp
ipt_multiport 2848 0
ipt_conntrack 3296 0
iptable_filter 3616 1
iptable_mangle 3616 1
iptable_nat 24996 3 ip_nat_irc,ip_nat_tftp,ip_nat_ftp
ip_conntrack 33612 9 ipt_state,ip_nat_irc,ip_nat_tftp,ip_nat_ftp,ip_conntrack_irc,ip_conntrack_tftp,ip_conntrack_ftp,ipt_ conntrack,iptable_nat
ip_tables 18624 11 ipt_TOS,ipt_REJECT,ipt_pkttype,ipt_LOG,ipt_limit,ipt_state,ipt_multiport,ipt_conntrack,iptable_filte r,iptable_mangle,iptable_nat
8139too 25760 0
mii 5984 1 8139too
sk98lin 161576 1
ohci1394 35684 0
ieee1394 290480 1 ohci1394
nls_utf8 2912 1
ntfs 87532 1
supermount 39856 1
intel-agp 18364 1
agpgart 32460 2 intel-agp
usb-storage 74596 0
usblp 13696 0
lirc_atiusb 11012 0
lirc_dev 14592 2 lirc_atiusb
ehci-hcd 25572 0
uhci-hcd 31856 0
usbcore 103228 8 hid,usb-storage,usblp,lirc_atiusb,ehci-hcd,uhci-hcd
rtc 13640 0
ext3 114216 6
jbd 61976 1 ext3
sd_mod 17696 0
sata_promise 14852 0
libata 40256 1 sata_promise,[permanent]
scsi_mod 117104 5 sg,sr_mod,usb-storage,sd_mod,libata


Should i install a new version of lm_sensors if there's one is about to be released by mdk ? Or download the tgz on the site and install it by myself ?
Should i keep the other modules : eeprom, lm75 ? smbus-arp , that doesn't exist anymore on kernel 2.6.3 ?
Should i load the other modules with some parameters ???
Thank you.
 
Old 07-25-2004, 07:49 AM   #2
christophe.dr
LQ Newbie
 
Registered: Aug 2003
Location: Paris
Distribution: mandrake 9.1
Posts: 26

Original Poster
Rep: Reputation: 15
What i did to solve this problem :
I realised that the automatically generated /etc/sysconfig/lm_sensors was wrong because it said to load the w83627hf module, although this module does not exist in kernel 2.6.3 !
First i thought that it should be replaced by the w83627hf_wdt module. I didn't know at that time that it was not the good one to be used by lm_sensors.
After a search in /usr/src/linux (kernel source), i found the /usr/src/linux-2.6.3-15mdk/drivers/i2c/chips directory where seemed to be the drivers used by the sensors program and the /etc/sensors.conf. In this directory i read the file and i discovered that the suitable driver is : w83781d. And not w83627hf.
Now i managed to have the temperature and voltage monitor on my asus p4c800. But i still don't have any info about fan speed :
[--root@descartes 14:44:20 /sys/devices/platform/i2c-1/1-0290] ll -A
total 0
-r--r--r-- 1 root root 4096 jui 25 09:15 alarms
-rw-r--r-- 1 root root 4096 jui 25 09:15 beep_enable
-rw-r--r-- 1 root root 4096 jui 25 09:15 beep_mask
-rw-r--r-- 1 root root 4096 jui 25 09:15 detach_state
-rw-r--r-- 1 root root 4096 jui 25 09:15 fan_div1
-rw-r--r-- 1 root root 4096 jui 25 09:15 fan_div2
-rw-r--r-- 1 root root 4096 jui 25 09:15 fan_div3
-r--r--r-- 1 root root 4096 jui 25 09:15 fan_input1
-r--r--r-- 1 root root 4096 jui 25 09:15 fan_input2
-r--r--r-- 1 root root 4096 jui 25 09:15 fan_input3
-rw-r--r-- 1 root root 4096 jui 25 09:15 fan_min1
-rw-r--r-- 1 root root 4096 jui 25 09:15 fan_min2
-rw-r--r-- 1 root root 4096 jui 25 09:15 fan_min3
-r--r--r-- 1 root root 4096 jui 25 09:15 in_input0
-r--r--r-- 1 root root 4096 jui 25 09:15 in_input1
-r--r--r-- 1 root root 4096 jui 25 09:15 in_input2
-r--r--r-- 1 root root 4096 jui 25 09:15 in_input3
-r--r--r-- 1 root root 4096 jui 25 09:15 in_input4
-r--r--r-- 1 root root 4096 jui 25 09:15 in_input5
-r--r--r-- 1 root root 4096 jui 25 09:15 in_input6
-r--r--r-- 1 root root 4096 jui 25 09:15 in_input7
-r--r--r-- 1 root root 4096 jui 25 09:15 in_input8
-rw-r--r-- 1 root root 0 jui 25 09:15 in_max0
-rw-r--r-- 1 root root 0 jui 25 09:15 in_max1
-rw-r--r-- 1 root root 0 jui 25 09:15 in_max2
-rw-r--r-- 1 root root 0 jui 25 09:15 in_max3
-rw-r--r-- 1 root root 0 jui 25 09:15 in_max4
-rw-r--r-- 1 root root 4096 jui 25 09:15 in_max5
-rw-r--r-- 1 root root 4096 jui 25 09:15 in_max6
-rw-r--r-- 1 root root 0 jui 25 09:15 in_max7
-rw-r--r-- 1 root root 0 jui 25 09:15 in_max8
-rw-r--r-- 1 root root 0 jui 25 09:15 in_min0
-rw-r--r-- 1 root root 0 jui 25 09:15 in_min1
-rw-r--r-- 1 root root 0 jui 25 09:15 in_min2
-rw-r--r-- 1 root root 0 jui 25 09:15 in_min3
-rw-r--r-- 1 root root 0 jui 25 09:15 in_min4
-rw-r--r-- 1 root root 4096 jui 25 09:15 in_min5
-rw-r--r-- 1 root root 4096 jui 25 09:15 in_min6
-rw-r--r-- 1 root root 0 jui 25 09:15 in_min7
-rw-r--r-- 1 root root 0 jui 25 09:15 in_min8
-r--r--r-- 1 root root 4096 jui 25 09:15 name
drwxr-xr-x 2 root root 0 jui 25 09:15 power/
-rw-r--r-- 1 root root 4096 jui 25 09:15 pwm1
-rw-r--r-- 1 root root 4096 jui 25 09:15 pwm2
-rw-r--r-- 1 root root 4096 jui 25 09:15 pwm_enable2
-rw-r--r-- 1 root root 4096 jui 25 09:15 sensor1
-rw-r--r-- 1 root root 4096 jui 25 09:15 sensor2
-rw-r--r-- 1 root root 4096 jui 25 09:15 sensor3
-rw-r--r-- 1 root root 4096 jui 25 09:15 temp_hyst1
-rw-r--r-- 1 root root 4096 jui 25 09:15 temp_hyst2
-rw-r--r-- 1 root root 4096 jui 25 09:15 temp_hyst3
-r--r--r-- 1 root root 4096 jui 25 09:15 temp_input1
-r--r--r-- 1 root root 4096 jui 25 09:15 temp_input2
-r--r--r-- 1 root root 4096 jui 25 09:15 temp_input3
-rw-r--r-- 1 root root 4096 jui 25 09:15 temp_max1
-rw-r--r-- 1 root root 4096 jui 25 09:15 temp_max2
-rw-r--r-- 1 root root 4096 jui 25 09:15 temp_max3
-r--r--r-- 1 root root 4096 jui 25 09:15 vid
-rw-r--r-- 1 root root 4096 jui 25 09:15 vrm
[--root@descartes 14:44:21 /sys/devices/platform/i2c-1/1-0290] cat *input*
0
0
0
3072
3312
3280
3120
2912
0
0
3008
0
43000
38500
-48000
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
asus p4c800 sensors christophe.dr Linux - Software 3 07-25-2004 08:19 AM
ASUS P4C800-E Problems sovietpower Linux - Hardware 1 07-09-2004 03:16 PM
Asus: P4C800 or P4C800-E deluxe, Sata RAID0 -- Compatibility C.Loko Linux - Hardware 1 02-27-2004 08:03 PM
Linux on ASUS P4C800 svele Linux - Hardware 1 12-19-2003 09:47 AM
SATA on an ASUS P4C800 dubman Linux - Hardware 1 08-28-2003 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration