LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-11-2004, 02:03 PM   #1
[GOD]Anck
Member
 
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171

Rep: Reputation: 33
Getting sensors on Intel D850GB to work


After reading for a few hours but not really getting anywhere I've resorted to posting this here. Hopefully someone can help me.

I'm trying to get the temperature sensors on my Intel D850 GB mainboard to work. I'm running Slackware current, with a 2.6.3 kernel. If I have read correctly that means I do not need to install the i2c packages seperately, I only need to compile it as modules with my kernel.

Code:
Device Drivers ->
  <M> I2C Support
  <M> I2C Device Interface
  I2C Algorithms ->
    <M> I2C PCF 8584 interfaces
  I2C Hardware Bus Support ->
    <M> Intel 801
    <M> Intel 810/815
    <M> ISA Bus Support
  I2C Hardware Sensors Chip support ->
    <M> Analog Devices ADM1021 and compatibles
    <M> EEPROM (DIMM) reader
make modules; make modules_install... then I then downloaded lm_sensors-2.8.5 and did a make user; make user_install. I created the /sys folder and added this line to my /etc/fstab:

Code:
none             /sys             sysfs       defaults         0   0
After mounting my newly created /sys I continued the lm_sensors quickstart document which told me to run prog/mkdev/mkdev.sh in order to create the necessary device files. Okay, done. Now for sensors-detect. Here is the relevant output:

Code:
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 82801BA ICH2
Probe succesfully concluded.

Next adapter: SMBus I801 adapter at efa0 (Algorithm unavailable)
Client found at address 0x2c
Probing for `Analog Devices ADM1031'... Success!
    (confidence 7, driver `to-be-written')
Client found at address 0x2d
Probing for `Analog Devices ADM1025'... Success!
    (confidence 8, driver `adm1025')
Client found at address 0x30
Client found at address 0x31
Client found at address 0x32
Client found at address 0x33
Client found at address 0x44
Client found at address 0x50
Probing for `SPD EEPROM'... Success!
    (confidence 8, driver `eeprom')
Probing for `DDC monitor'... Failed!
Client found at address 0x51
Probing for `SPD EEPROM'... Success!
    (confidence 8, driver `eeprom')
Client found at address 0x52
Probing for `SPD EEPROM'... Success!
    (confidence 8, driver `eeprom')
Client found at address 0x53
Probing for `SPD EEPROM'... Success!
    (confidence 8, driver `eeprom')

 Now follows a summary of the probes I have just done.
 Just press ENTER to continue:

Driver `to-be-written' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at efa0' (Algorithm unavailable)
    Busdriver `i2c-i801', I2C address 0x2c
    Chip `Analog Devices ADM1031' (confidence: 7)

Driver `adm1025' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at efa0' (Algorithm unavailable)
    Busdriver `i2c-i801', I2C address 0x2d
    Chip `Analog Devices ADM1025' (confidence: 8)

Driver `smsc47m1' (should be inserted):
  Detects correctly:
  * ISA bus address 0x0800 (Busdriver `i2c-isa')
    Chip `SMSC 47M10x/13x Super IO Fan Sensors' (confidence: 9)
It then proceeded to tell me what lines to add to my modules.conf and startup scripts:

Code:
To make the sensors modules behave correctly, add these lines to
/etc/modules.conf:

#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----

To load everything that is needed, add this to some /etc/rc* file:

#----cut here----
# I2C adapter drivers
modprobe i2c-i801
modprobe i2c-isa
# I2C chip drivers
# no driver for Analog Devices ADM1031 yet, ask us for one!
modprobe adm1025
modprobe smsc47m1
# sleep 2 # optional
/usr/local/bin/sensors -s # recommended
#----cut here----
I didn't do that but instead manually modprobe'd the drivers. It loads i2c-i801 and i2c-isa just fine, but it says it cannot find adm1025 or smsc47m1. I did find an "adm1021 and compatible" module so I loaded it instead. Running sensors -s gave me a "no sensors found" error. I then modprobe'd the eeprom module and did another sensors -s. No output was given, and when I ran sensors, it gave me some info about my rambus.

Code:
eeprom-i2c-0-53
Adapter: SMBus I801 adapter at efa0
Memory type:            DRDRAM RIMM
Memory size (MB):       128

eeprom-i2c-0-52
Adapter: SMBus I801 adapter at efa0
Memory type:            DRDRAM RIMM
Memory size (MB):       128

eeprom-i2c-0-51
Adapter: SMBus I801 adapter at efa0
Memory type:            DRDRAM RIMM
Memory size (MB):       256

eeprom-i2c-0-50
Adapter: SMBus I801 adapter at efa0
Memory type:            DRDRAM RIMM
Memory size (MB):       256
So apparantly, that's what the Intel 801 module was needed for... and it works. My temperature sensors however, do not. lsmod shows, among other things, the following modules:

Code:
Module                  Size  Used by
adm1021                11016  0
eeprom                  6280  0
i2c_sensor              2560  2 adm1021,eeprom
i2c_isa                 1920  0
i2c_i801                7056  0
i2c_dev                 8192  0
i2c_i810                4100  0
i2c_algo_bit            9096  1 i2c_i810
i2c_core               18692  7 adm1021,eeprom,i2c_sensor,i2c_isa,i2c_i801,i2c_dev,i2c_algo_bit
Where do I go from here? Do I need the adm1025 and smsc47m1 drivers? If so, where do I find them? Or am I missing something else? Any help would be very much appreciated! Thanks in advance.
 
Old 03-12-2004, 03:19 AM   #2
spec6635
Member
 
Registered: Feb 2004
Location: Yokosuka Japan
Distribution: Arch, Kali, Slackware 14, Lubuntu, Raspbian
Posts: 58

Rep: Reputation: 15
i may stand corrected here (newb) but did u enable the acpi and apm in the kernel?
in the acpi section there is a spot for "thermal zone" i just compiled that into my kernel
 
Old 03-12-2004, 05:41 AM   #3
[GOD]Anck
Member
 
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 33
I already had apm loaded as a module, but I added acpi to my kernel just in case. Recompiled, ran /etc/rc.d/rc.acpid start (I assume that's how to get acpi up and running?), ran the sensors-detect script again, and the only difference seems to be that it now finds a Fan Sensor:

Code:
Probing for `SMSC 47M10x/13x Super IO Fan Sensors'
  Success... found at address 0x0800
But then again, it seems to want to use the smsc47m1 driver that I listed earlier as missing, so maybe I just forgot to copy/paste these lines when I first posted.

sensors-detect doesn't recommend to load anything new or different at the end, and sensors still only gives me eeprom output...
 
Old 03-12-2004, 08:36 AM   #4
[GOD]Anck
Member
 
Registered: Dec 2003
Location: The Netherlands
Distribution: Slackware
Posts: 171

Original Poster
Rep: Reputation: 33
I've given up on this for now. Apparantly the missing ADM1031 driver is what is supposed to control my sensors. Accoring to the list on the lm_sensors homepage someone is working on it, but it's not done yet.
 
  


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
Intel D845GLLY + Multiple Intel Pro 100 NICs + kernel 2.6.x = NICs don't work egable Linux - Hardware 0 02-04-2005 02:30 PM
Sensors doen't work? Any known patches? fredgt Linux - Software 1 08-31-2004 06:22 AM
getting lm-sensors to work for nforce2 board m_yates LinuxQuestions.org Member Success Stories 1 07-09-2004 04:25 PM
ANY distro in an Intel D850GB! MadOtis Linux - Hardware 9 03-23-2004 12:09 PM
lm sensors, no sensors found N_A_J_M Linux - General 3 01-22-2003 05:09 AM


All times are GMT -5. The time now is 06:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration