Skip to contentSkip to conversation

#2159: lm-sensors doesn't work on Abit AB9 Pro

lm-sensors Hans de Goede 2 participants 3 messages Feb 23, 2007 – Mar 6, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 24 lines · lm-sensors

#2159: lm-sensors doesn't work on Abit AB9 Pro
-----------------------+----------------------------------------------------

  Reporter:  ticket    |       Owner:  ruik    
      Type:  defect    |      Status:  assigned
  Priority:  major     |   Milestone:          
 Component:  hardware  |     Version:  2.10.0  
Resolution:            |    Keywords:          

-----------------------+----------------------------------------------------
Comment (by ticket):

I've installed the 2.6.20.1 kernel, temps still aren't working but voltages are. I did an modprobe of the abituguru module, it didn't seem to help. I'm using sensors 2.10.1.

Adapter: ISA adapter

 VCore:     +2.04 V  (min =  +2.04 V, max =  +2.04 V) ALARM
 in1:      +13.46 V  (min = +13.46 V, max = +13.46 V) ALARM
 AVCC:      +4.08 V  (min =  +4.08 V, max =  +4.08 V) ALARM
 3VCC:      +4.08 V  (min =  +4.08 V, max =  +4.08 V) ALARM
 in4:       +2.04 V  (min =  +2.04 V, max =  +2.04 V) ALARM
 in5:       +2.04 V  (min =  +2.04 V, max =  +2.04 V) ALARM
 in6:       +6.53 V  (min =  +6.53 V, max =  +6.53 V) ALARM
 VSB:       +4.08 V  (min =  +4.08 V, max =  +4.08 V) ALARM
 VBAT:      +4.08 V  (min =  +4.08 V, max =  +4.08 V) ALARM
Quoted 9 lines
 in9:       +2.04 V  (min =  +2.04 V, max =  +2.04 V) ALARM
 Case Fan:    0 RPM  (min =    0 RPM, div = 128) ALARM
 CPU Fan:     0 RPM  (min =    0 RPM, div = 128) ALARM
 Aux Fan:     0 RPM  (min =    0 RPM, div = 128) ALARM
 fan4:        0 RPM  (min =    0 RPM, div = 128) ALARM
 Sys Temp:     -1?C  (high =    -1?C, hyst =    -1?C)   ALARM
 CPU Temp:   +0.0?C  (high =  +0.0?C, hyst =  +0.0?C)   ALARM
 AUX Temp:   +0.0?C  (high =  +0.0?C, hyst =  +0.0?C)   ALARM

Commenting through mail and not through trac as I don't seem to have the necessary edit rights.

Yes the AB9 pro probably has an uguru and most likely the 3th revision of the uguru, which doesn't work with the abituguru driver currently in the kernel I've written a driver for the 3th revision called abituguru3, which I've posted for review to the lm-sensors list quite some time ago.

Also notice that although the motherboard contains a super-io chip with sensors, this chip is not used by Abit for sensors and the sensors thus cannot be used. As can be seen from the worthless voltage readings (notice reading = min = max) , and the non working fan and temp readings.

The easiest way to get sensors readings on this board is by using the openguru userspace utility I wrote for this (must be run as root):
http://people.atrpms.net/~hdegoede/openguru2.3.1.tar.gz

Compile it like this:
gcc -O2 -Wall -o oguru main2.c openGuru.c

And then as root run: ./oguru

Let me know if and how it works for you any feedback is much appreciated.

You can also try the kernel driver I wrote:
http://people.atrpms.net/~hdegoede/abituguru2-0.1.2.tar.gz

Untar, cd into the dir and run "make", this assumes you have the kernel-devel or equivalent package for your distro installed.

Once its made, do:
modprobe hwmon
insmod abituguru2.ko

And then you should have lots of files under
/sys/bus/platform/devices/abituguru2.224

When you cat in0_input in this dir you should get a voltage in millivolt, if you want to know which voltage cat in0_label, etc, etc.

Notice that this version is still called abituguru2, in the kernel patch I've send to the list for review I've changed this to abituguru3 as this driver is for revision 3 of the uguru.

Regards,

Hans

#1 lore raw

Hi all,

Once again through the list as I still can do nothing with the ticket, even though its assigend to me. Notice that just might be me being a total trac noop, I see no edit link or whatever anywhere and reading the trac guide learns me that I need to annotate the bug, but I see no annotate link / button either.

Anyways on to the ticket:

Quoted 7 lines · lm-sensors

#2159: lm-sensors doesn't work on Abit AB9 Pro
-----------------------+----------------------------------------------------

  Reporter:  ticket    |       Owner:  jwrgoede
      Type:  defect    |      Status:  new     
  Priority:  major     |   Milestone:          
 Component:  hardware  |     Version:  2.10.0  
Resolution:            |    Keywords:          
Quoted 7 lines

-----------------------+----------------------------------------------------
Comment (by ticket):

Hi,

I tried to use the abituguru2 driver (0.1.2) but it wasn't able to find the device.

Yes, that reminds me that the detection code needs to be even less strict. To work around this do: "insmod abituguru2.ko force=1"

Quoted 11 lines

I have an AB9 Pro running Ubuntu Feisty Fawn (2.6.20-6)
x86_64. I also downloaded the openguru tool and this is the output of the first few lines on the first run:

{{{
Detect: 08 ac
uGuru wasn't found on motherboard.
AC2005 board id 0014
}}}

Quoted 8 lines

This is the beginning of the output of the second and all following runs:

{{{
Detect: 00 05
uGuru wasn't found on motherboard.
AC2005 board id 0014
}}}

Okay, thats once again the detection code not working, but unlike the kernel driver openguru continues even when the detection fails, confusing I know, but please keep in mind that openguru is meant only as a debug tool to help developing the kernel driver.

Quoted 3 lines

I noticed that the all values seemed to be OK but I miss the fan information for AUX1 to AUX3.

Strange, the motherboard information used to determine what inputs to show and how to label them is taken straight from Abit .ini files, well
I've seen a bug in one of those .ini files before :)

Try putting the attached version of config0014.h in the openguru dir and then recompiling that should give you those fans too.

Regards,

Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config0014.h
Type: text/x-chdr
Size: 722 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070306/d3b6940c/attachment.bin

#2 lore raw
In reply to Hans de Goede

Hi Hans,

Quoted 5 lines · Hans de Goede

Once again through the list as I still can do nothing with the ticket, even though its assigend to me. Notice that just might be me being a total trac noop, I see no edit link or whatever anywhere and reading the trac guide learns me that I need to annotate the bug, but I see no annotate link / button either.

I just checked and indeed you didn't have the proper permissions. It should be fixed now, sorry for the inconvenience.

Signature · 1 line
Jean Delvare