Skip to contentSkip to conversation

NEW Nuvoton w83795 hw chip driver

lm-sensors [email protected] 4 participants 8 messages Mar 3, 2009 – Apr 5, 2012

lore
Share & tools
lore
#0 lore raw

Dear lm-sensor group,

I am glad to submit to you the driver for Nuvoton W83795G/ADG hw monitor chip.

The W83795G/ADG chip information are show at here:

http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/ComputerIC/HardwareMonitor/HWMonitorforDesktopAndServer/

Driver files list:

The attach file "wb83795.c" is the main driver file. This driver passed test on kernel 2.6.28.7.

The attach file "Makefile" is used for compile the driver.

Patch files for lm-sensors 3.0.3:

The attach file "795_sensor3.conf" is the 795 related lines for sensor3.conf. But the exact names and settings may be changed for the motherboards.

The attach file "DESC" is the list of sys files which 795 driver would create.

The attach file "sensors-detect.3.0.3.patch" add detect 795 chip for "sensor-detect" tool in lm-sensors 3.0.3 package.

Until now, it seems there is not a motherboard based on W83795G/ADG in the market, and I am sure not the 795 SPEC could be share to you or not.

Please contact me if you need any help, want to know any information or have some other questions.

Thank you.

Best Regards,

wsong

===========================================================================================
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.

sensors-detect renamed from sensors-detect.bak +40 -0
@@ -828,6 +828,12 @@
        i2c_detect => sub { w83793_detect(0, @_); },
      },
      {
+       name => "Nuvoton W83795G/ADG",
+       driver => "w83795",
+       i2c_addrs => [0x2c..0x2f],
+       i2c_detect => sub { w83795_detect(0, @_); },
+     },
+     {
        name => "Winbond W83791SD",
        driver => "not-a-sensor",
        i2c_addrs => [0x2c..0x2f],
@@ -4665,6 +4671,40 @@
   return @res;
 }
 
+# $_[0]: Chip to detect (0 = W83795)
+# $_[1]: A reference to the file descriptor to access this chip.
+# $_[2]: Address
+# Returns: undef if not detected
+#          6 if detected and bank different from 0
+#          8 if detected, bank is 0 
+# Registers used:
+#   0xfc: Full I2C Address
+#   0x00: Vendor ID byte selection, and bank selection(Bank 0, 1, 2)
+#   0xfd: Vendor ID(Bank 0, 1, 2)
+#   0xfe: Device ID(Bank 0, 1, 2)
+sub w83795_detect
+{
+  my ($bank, $reg, @res);
+  my ($chip, $file, $addr) = @_;
+
+  $bank = i2c_smbus_read_byte_data($file, 0x00);
+  $reg = i2c_smbus_read_byte_data($file, 0xfd);
+
+  return unless (($bank & 0x80) == 0x00 and $reg == 0xa3) or
+                (($bank & 0x80) == 0x80 and $reg == 0x5c);
+
+  $reg = i2c_smbus_read_byte_data($file, 0xfe);
+  return if $chip == 0 and $reg != 0x79;
+
+# If bank 0 is selected, we can do more checks
+  return 6 unless ($bank & 0x07) == 0;
+  $reg = i2c_smbus_read_byte_data($file, 0xfc) & 0x7f;
+  return unless ($reg == $addr);
+
+	@res = (8);
+  return @res;
+}
+
 # $_[0]: A reference to the file descriptor to access this chip.
 # $_[1]: Address
 # Returns: undef if not detected, 3 if detected

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#1 lore raw

Hi Wei,

Quoted 6 lines · On Tue, 3 Mar 2009 16:20:15 +0800, [email protected] wrote:

Dear lm-sensor group,

I am glad to submit to you the driver for Nuvoton W83795G/ADG hw monitor chip.

The W83795G/ADG chip information are show at here:
http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/ComputerIC/HardwareMonitor/HWMonitorforDesktopAndServer/

I have added an entry for that chip to our wiki Devices page. Thanks a lot for contributing code for your hardware, this is very appreciated.

Quoted 2 lines

Driver files list:
The attach file "wb83795.c" is the main driver file. This driver passed test on kernel 2.6.28.7.

Shouldn't this rather be w83795.c? This would be consistent with the other driver names and with your sensors-detect patch.

Quoted 9 lines

The attach file "Makefile" is used for compile the driver.

Patch files for lm-sensors 3.0.3:

The attach file "795_sensor3.conf" is the 795 related lines for sensor3.conf. But the exact names and settings may be changed for the motherboards.

The attach file "DESC" is the list of sys files which 795 driver would create.

The attach file "sensors-detect.3.0.3.patch" add detect 795 chip for "sensor-detect" tool in lm-sensors 3.0.3 package.

I have adjusted this patch so that it applies on top of 3.1.0 (there have been a lot of changes in sensors-detect between 3.0.3 and 3.1.0.) Can you please send me a dump of your W83795 chip so that I can test the code before I commit it? You can obtain such a dump using the i2c-dev kernel driver and "i2cdump" from the i2c-tools package:

# modprobe i2c-dev
# i2cdump 0 0x2d b

Replace 0 with the actual I2C bus number your chip sits on and 0x2d with the actual I2C address of the chip. Remember to first unload the w83795 driver if it is loaded.

Quoted 3 lines

Until now, it seems there is not a motherboard based on W83795G/ADG in the market, and I am sure not the 795 SPEC could be share to you or not.

Please contact me if you need any help, want to know any information or have some other questions.

Unfortunately I will not have the time to do more. Maybe later when there are actual motherboards with this chip and users start asking for support...

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#2 lore raw
In reply to [email protected]

Hi Jean,

Thank you for your response.

I named main driver file as "wb83795.c" just for fit the Makefile. Please change its name to fit other drivers in kernel.

The attach file is the i2cdump result.

In fact I have made some subversions for kernel 2.6.5 (Suse 9), kernel 2.6.9 (RHEL 4), kernel 2.6.21 and kernel 2.6.27. You can contact with me if you need them.

Best Regards,
wsong

-----Original Message-----
From: Jean Delvare [mailto:[email protected]]
Sent: 2009Äê3ÔÂ12ÈÕ 21:06
To: PS23 WSONG
Cc: [email protected]; PS23 WMWU; PS00 LCChen; PS23 JGONG
Subject: Re: [lm-sensors] NEW Nuvoton w83795 hw chip driver

Hi Wei,

Quoted 6 lines · On Tue, 3 Mar 2009 16:20:15 +0800, [email protected] wrote:

Dear lm-sensor group,

I am glad to submit to you the driver for Nuvoton W83795G/ADG hw monitor chip.

The W83795G/ADG chip information are show at here:
http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/ComputerIC/HardwareMonitor/HWMonitorforDesktopAndServer/

I have added an entry for that chip to our wiki Devices page. Thanks a lot for contributing code for your hardware, this is very appreciated.

Quoted 2 lines

Driver files list:
The attach file "wb83795.c" is the main driver file. This driver passed test on kernel 2.6.28.7.

Shouldn't this rather be w83795.c? This would be consistent with the other driver names and with your sensors-detect patch.

Quoted 9 lines

The attach file "Makefile" is used for compile the driver.

Patch files for lm-sensors 3.0.3:

The attach file "795_sensor3.conf" is the 795 related lines for sensor3.conf. But the exact names and settings may be changed for the motherboards.

The attach file "DESC" is the list of sys files which 795 driver would create.

The attach file "sensors-detect.3.0.3.patch" add detect 795 chip for "sensor-detect" tool in lm-sensors 3.0.3 package.

I have adjusted this patch so that it applies on top of 3.1.0 (there have been a lot of changes in sensors-detect between 3.0.3 and 3.1.0.) Can you please send me a dump of your W83795 chip so that I can test the code before I commit it? You can obtain such a dump using the i2c-dev kernel driver and "i2cdump" from the i2c-tools package:

# modprobe i2c-dev
# i2cdump 0 0x2d b

Replace 0 with the actual I2C bus number your chip sits on and 0x2d with the actual I2C address of the chip. Remember to first unload the w83795 driver if it is loaded.

Quoted 3 lines

Until now, it seems there is not a motherboard based on W83795G/ADG in the market, and I am sure not the 795 SPEC could be share to you or not.

Please contact me if you need any help, want to know any information or have some other questions.

Unfortunately I will not have the time to do more. Maybe later when there are actual motherboards with this chip and users start asking for support...

Signature · 9 lines
Jean Delvare


=============================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such  a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#3 lore raw
In reply to [email protected]

Hi Jean,

Thank you for your response.

I named main driver file as "wb83795.c" just for fit the Makefile. Please change its name to fit other drivers in kernel.

The attach file is the i2cdump result.

In fact I have made some subversions for kernel 2.6.5 (Suse 9), kernel 2.6.9 (RHEL 4), kernel 2.6.21 and kernel 2.6.27. You can contact with me if you need them.

Best Regards,
wsong

-----Original Message-----
From: Jean Delvare [mailto:[email protected]]
Sent: 2009年3月12日 21:06
To: PS23 WSONG
Cc: [email protected]; PS23 WMWU; PS00 LCChen; PS23 JGONG
Subject: Re: [lm-sensors] NEW Nuvoton w83795 hw chip driver

Hi Wei,

Quoted 6 lines · On Tue, 3 Mar 2009 16:20:15 +0800, [email protected] wrote:

Dear lm-sensor group,

I am glad to submit to you the driver for Nuvoton W83795G/ADG hw monitor chip.

The W83795G/ADG chip information are show at here:
http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/ComputerIC/HardwareMonitor/HWMonitorforDesktopAndServer/

I have added an entry for that chip to our wiki Devices page. Thanks a lot for contributing code for your hardware, this is very appreciated.

Quoted 2 lines

Driver files list:
The attach file "wb83795.c" is the main driver file. This driver passed test on kernel 2.6.28.7.

Shouldn't this rather be w83795.c? This would be consistent with the other driver names and with your sensors-detect patch.

Quoted 9 lines

The attach file "Makefile" is used for compile the driver.

Patch files for lm-sensors 3.0.3:

The attach file "795_sensor3.conf" is the 795 related lines for sensor3.conf. But the exact names and settings may be changed for the motherboards.

The attach file "DESC" is the list of sys files which 795 driver would create.

The attach file "sensors-detect.3.0.3.patch" add detect 795 chip for "sensor-detect" tool in lm-sensors 3.0.3 package.

I have adjusted this patch so that it applies on top of 3.1.0 (there have been a lot of changes in sensors-detect between 3.0.3 and 3.1.0.) Can you please send me a dump of your W83795 chip so that I can test the code before I commit it? You can obtain such a dump using the i2c-dev kernel driver and "i2cdump" from the i2c-tools package:

# modprobe i2c-dev
# i2cdump 0 0x2d b

Replace 0 with the actual I2C bus number your chip sits on and 0x2d with the actual I2C address of the chip. Remember to first unload the w83795 driver if it is loaded.

Quoted 3 lines

Until now, it seems there is not a motherboard based on W83795G/ADG in the market, and I am sure not the 795 SPEC could be share to you or not.

Please contact me if you need any help, want to know any information or have some other questions.

Unfortunately I will not have the time to do more. Maybe later when there are actual motherboards with this chip and users start asking for support...

Signature · 5 lines
Jean Delvare


===========================================================================================
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such  a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.

linux-rei6:~ # i2cdump 0 0x2f b 0 0
WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0, address 0x2f, mode byte Continue? [Y/n] y

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 80 55 ff 78 3f a0 ff 00 0f 00 0f ff 00 00 00 00    ?U.x??..?.?.....
10: 7d 34 bf be 00 cc c7 7e 00 00 00 89 88 86 83 c1    }4??.??~...?????
20: c1 80 80 96 98 23 16 00 00 00 00 00 00 00 0f ff    ?????#?.......?.
30: ff ff 12 ff ff ff 00 00 00 00 00 00 00 ff ff ff    ..?.............
40: 90 f2 00 30 00 ee 00 00 00 40 00 ff 00 7f 3f ff    ??.0.?...@...??.
50: 00 00 00 00 00 00 ff ff 81 00 03 00 00 00 00 00    ........?.?.....
60: 00 00 00 00 00 00 00 00 00 00 00 64 64 ff ff ff    ...........dd...
70: af 57 af 57 ce a8 ce 89 ce 89 af 32 af 32 72 46    ?W?W???????2?2rF
80: ff 00 ff 00 ff 00 96 7d 96 7d 96 7d 96 4f 50 ba    ......?}?}?}?OP?
90: 29 2a 3f 00 00 00 64 5f 55 50 64 5f 55 50 64 5f    )*?...d_UPd_UPd_
a0: 55 50 64 5f 55 50 5a 57 55 52 5a 57 55 52 5a 57    UPd_UPZWURZWURZW
b0: 55 52 54 4f 55 50 ff ff d2 d2 d2 d2 d2 d2 ff ff    URTOUP..??????..
c0: ff ff ff ff ee ff ff ff ee ee ee ff ff ff ff ff    ....?...???.....
d0: 00 00 00 00 00 00 00 00 00 22 24 0a 60 00 00 00    ........."$?`...
e0: 00 00 00 00 00 00 bb c0 09 09 09 09 09 22 22 02    ......???????""?
f0: ff 00 00 00 00 00 00 00 00 0f ff 51 af 5c 79 50    .........?.Q?\yP

linux-rei6:~ # i2cdump 0 0x2f b 1 0
WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0, address 0x2f, mode byte
Probing bank 1 using bank register 0x00.
Continue? [Y/n] y

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 81 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ?...............
10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
20: c1 08 10 50 79 5a 00 24 00 00 00 00 a0 8e 54 4b    ???PyZ.$....??TK
30: 3f 6a 13 ec ff ff ff ff ff ff ff ff ff ff ff 00    ?j??............
40: 03 03 07 07 07 07 07 07 07 07 07 07 07 07 07 07    ????????????????
50: 07 03 07 07 07 07 07 07 07 07 07 07 07 07 07 07    ????????????????
60: 07 07 07 07 07 07 07 07 07 03 03 03 03 03 03 03    ????????????????
70: 03 07 23 ff ff ff ff ff ff ff ff ff ff ff ff ff    ??#.............
80: 01 02 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11    ????????????????
90: 12 03 01 02 03 21 43 65 87 a9 cb ed 21 43 65 21    ?????!Ce????!Ce!
a0: 43 65 87 17 ff ff ff ff ff ff ff ff ff ff ff ff    Ce??............
b0: 00 11 12 10 ff ff ff ff ff ff ff ff ff ff ff ff    .???............
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
f0: ff 00 00 00 00 00 00 00 00 0f ff 51 af 5c 79 50    .........?.Q?\yP

linux-rei6:~ # i2cdump 0 0x2f b 2 0
WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0, address 0x2f, mode byte
Probing bank 2 using bank register 0x00.
Continue? [Y/n] y

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 82 00 03 03 00 00 00 00 3f 11 11 00 40 01 01 02    ?.??....???.@???
10: 4c 4c 4d 4d 4d 4d 4d 4d 84 85 85 85 85 85 85 85    LLMMMMMM????????
20: 30 30 30 30 30 30 30 30 10 10 10 10 10 10 10 10    00000000????????
30: 00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff    ................
40: 60 00 60 00 60 00 60 00 60 00 60 00 60 00 60 00    `.`.`.`.`.`.`.`.
50: 10 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ?...............
60: 28 28 28 28 28 28 ff ff 4c 4c 60 60 60 60 ff ff    ((((((..LL````..
70: 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff ff    ................
80: 1b 1b 1b 1b 1b 2f 4b ff 4c 4c 4c 4c 4c 80 ff ff    ?????/K.LLLLL?..
90: 1b 1b 1b 1b 1b 2f 4b ff 4c 4c 4c 4c 4c 80 ff ff    ?????/K.LLLLL?..
a0: 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff    ................
b0: 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff ff    ................
c0: 1b 1b 1b 1b 1b 2f 4b ff 4c 4c 4c 4c 4c 80 ff ff    ?????/K.LLLLL?..
d0: 1b 1b 1b 1b 1b 2f 4b ff 4c 4c 4c 4c 4c 80 ff ff    ?????/K.LLLLL?..
e0: 00 00 80 80 80 80 80 80 80 80 ff ff ff ff ff ff    ..????????......
f0: ff 00 00 00 00 00 00 00 00 0f ff 51 af 5c 79 50    .........?.Q?\yP

linux-rei6:~ # i2cdump 0 0x2f b 3 0
WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0, address 0x2f, mode byte
Probing bank 3 using bank register 0x00.
Continue? [Y/n] y

     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 83 00 03 ff ff ff ff ff ff ff ff ff ff ff ff ff    ?.?.............
10: 25 00 22 81 ff 03 ff 00 00 01 00 40 00 00 ff ff    %."?.?...?.@....
20: 55 55 50 50 50 50 50 50 ff ff ff ff ff ff ff ff    UUPPPPPP........
30: 00 00 00 00 00 00 20 00 01 00 01 ff ff ff ff ff    ...... .?.?.....
40: f0 6c 80 00 f8 80 f8 80 f8 80 f8 80 f8 80 f8 80    ?l?.????????????
50: f8 80 f8 80 f8 80 f8 80 f8 80 f8 80 f8 80 f8 80    ????????????????
60: f9 00 f9 00 f9 00 f9 00 f9 00 f9 00 f9 00 f9 00    ?.?.?.?.?.?.?.?.
70: 00 00 00 00 00 00 00 00 00 00 00 00 ff ff ff ff    ................
80: 00 00 00 00 00 40 ff ff f9 00 00 ff ff ff ff ff    .....@..?.......
90: 02 17 00 0a 00 00 00 ef 42 90 ef ff ff ff ff ff    ??.?...?B??.....
a0: 10 19 00 00 01 01 00 00 00 00 cf 00 ff ff ff ff    ??..??....?.....
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
f0: ff 00 00 00 00 00 00 00 00 0f ff 51 af 5c 79 50    .........?.Q?\yP

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#4 lore raw
In reply to [email protected]

Hi Wei,

Quoted 6 lines · On Fri, 13 Mar 2009 09:28:15 +0800, [email protected] wrote:

Hi Jean,

Thank you for your response.

I named main driver file as "wb83795.c" just for fit the Makefile. Please change its name to fit other drivers in kernel.

OK, we will rename it to w83795.c when we merge it.

Quoted 1 line

The attach file is the i2cdump result.

Thanks. I've used it to test the updated patch for sensors-detect, and it worked well. I've committed the patch now. You can try the latest version of the sensors-detect script, it should work OK for you as well:
http://www.lm-sensors.org/svn/lm-sensors/trunk/prog/detect/sensors-detect

Quoted 3 lines

In fact I have made some subversions for kernel 2.6.5 (Suse 9), kernel 2.6.9 (RHEL 4), kernel 2.6.21 and kernel 2.6.27. You can contact with me if you need them.

OK, I'll try to remember if a user ever asks for this.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
#5 lore raw
In reply to [email protected]

Hi Jean,

For I will leave Nuvoton, my current email address will be stopped.

If you need continue support on 795 linux driver or documents, you can contact with my boss: [email protected].

Or you can contact with me by: [email protected].

Best Regards,
wsong

=============================================The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#6 lore raw
In reply to [email protected]

Good Morning,

Apologies in advance as I realise the subject of this email may be slightly outdated and the driver I'm referring to was created some time ago (back in 2009!) but I've reached a dead-end trying to get reliable sensor readings from a new ASUS server (ASUS ESC4000), and was hoping someone might be able to help.

The issue I'm having is that lm-sensors only reads back realistic values for about 10% of the time. The rest of the time all fanspeeds default to 90,000rpm and all temperatures to -0.2degrees and over 80degrees, which are obviously incorrect. I've tried using the latest version of lm-sensors and the w83795 driver but keep running into this problem. The w83795 driver provided on the lm-sensorswiki/Devices is the same as that provided for this server via the ASUS website.

I'm using Linux CentOS 5.4 with a 2.6.18-164.el5 kernel (which isn't listed as being supported by this driver unfortunately - probably part of the issue). I've also seen similar problems, although mostly involving sensor values locking-up, when using this driver and ipmi-tools or similar hardware monitoring utilities.

I was wondering if you knew of any updated versions of this driver, or alternatives I could try at all. Any sort of advice at all would be massively appreciated!

Thanks for your time,
Will
______________________________________________
William Chislett
t +44 (0)207 812 4822 | m +44 (0)794 0023 001
a Detica | Surrey Research Park | Guildford | GU2 7YP | UK
______________________________________________
www.baesystemsdetica.com <http://www.baesystemsdetica.com/>

Please consider the environment before printing this email.

This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately.

Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.

The contents of this email may relate to dealings with other companies under the control of BAE Systems plc details of which can be found at http://www.baesystems.com/Businesses/index.htm.

Detica Limited is a BAE Systems company trading as BAE Systems Detica. Detica Limited is registered in England and Wales under No: 1337451. Registered office: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.

#7 lore raw
In reply to [email protected]
Quoted 21 lines · William

Good Morning,

Apologies in advance as I realise the subject of this email may be slightly outdated and the driver I'm referring to was created some time ago (back in 2009!) but I've reached a dead-end trying to get reliable sensor readings from a new ASUS server (ASUS ESC4000), and was hoping someone might be able to help.

The issue I'm having is that lm-sensors only reads back realistic values for about 10% of the time. The rest of the time all fanspeeds default to 90,000rpm and all temperatures to -0.2degrees and over 80degrees, which are obviously incorrect. I've tried using the latest version of lm-sensors and the w83795 driver but keep running into this problem. The w83795 driver provided on the lm-sensorswiki/Devices is the same as that provided for this server via the ASUS website.

I'm using Linux CentOS 5.4 with a 2.6.18-164.el5 kernel (which isn't listed as being supported by this driver unfortunately - probably part of the issue). I've also seen similar problems, although mostly involving sensor values locking-up, when using this driver and ipmi-tools or similar hardware monitoring utilities.

Quoted 4 lines

I was wondering if you knew of any updated versions of this driver, or alternatives I could try at all. Any sort of advice at all would be massively appreciated!

Hi,

the most likely reason for your problem is described here in detail:

http://hansdegoede.livejournal.com/7932.html

While that kernel change was made later, ASUS boards are known to use ACPI to access the superio chip... which tends to result in exactly the behavior you are seeing.

You can try using the asus_atk0110 driver if it is supported in your kernel, or backport it from a later kernel version, or update your kernel to one supporting it.

Guenter

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors