All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] New winbond chip: W83667HG
@ 2008-07-07 18:54 Pierre-Hugues HUSSON
  2008-07-07 21:04 ` Rudolf Marek
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Pierre-Hugues HUSSON @ 2008-07-07 18:54 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 2967 bytes --]

Hi,
I own a brand new motherboard: an Asus P5Q-E, which features some interesting 
things concerning energy, like measuring the current CPU's consumption, or 
live (down|up)clocking. So sensors-detect haven't found anything else than 
coretemp, so i searched on the board what could enable such features and I 
found a W83667HG-A chip, and google doesn't know anything about it else than 
it's announcement (in English at 
http://www.winbond.com.tw/hq/enu/NewsAndEvents/News/ProductAndTechnology/20080602en-2.htm 
).
Its ID is, according to sensors-detect, 0xa513
So I looked a bit at W83627EHF driver, and tried a quick 
modprobe w83627ehf force_id=0x8860
And almost everything actually works:
pwmconfig/fancontrol works when using a DC-controlled (don't know for pwm 
controlled) fan, sensors command gives right (I guess so at least) answers, 
here's a paste of it (with coretemp values to compare):
coretemp-isa-0000
Adapter: ISA adapter
Core 0:      +58.0°C  (high = +84.0°C, crit = +100.0°C)

coretemp-isa-0001
Adapter: ISA adapter
Core 1:      +57.0°C  (high = +84.0°C, crit = +100.0°C)

coretemp-isa-0002
Adapter: ISA adapter
Core 2:      +56.0°C  (high = +84.0°C, crit = +100.0°C)

coretemp-isa-0003
Adapter: ISA adapter
Core 3:      +56.0°C  (high = +84.0°C, crit = +100.0°C)

w83627ehf-isa-0290
Adapter: ISA adapter
VCore:       +1.14 V  (min =  +0.00 V, max =  +1.74 V)
in1:        +11.19 V  (min = +10.24 V, max =  +8.03 V)   ALARM
AVCC:        +3.33 V  (min =  +0.80 V, max =  +0.77 V)   ALARM
3VCC:        +3.30 V  (min =  +3.38 V, max =  +1.09 V)   ALARM
in4:         +1.67 V  (min =  +2.02 V, max =  +1.23 V)   ALARM
in5:         +2.04 V  (min =  +0.19 V, max =  +0.07 V)   ALARM
in6:         +4.40 V  (min =  +1.72 V, max =  +3.33 V)   ALARM
VSB:         +3.41 V  (min =  +2.21 V, max =  +1.57 V)   ALARM
VBAT:        +1.57 V  (min =  +3.47 V, max =  +1.36 V)   ALARM
in9:         +0.00 V  (min =  +0.01 V, max =  +0.18 V)   ALARM
Case Fan:      0 RPM  (min = 3515 RPM, div = 128)  ALARM
CPU Fan:       0 RPM  (min = 3515 RPM, div = 128)  ALARM
Aux Fan:       0 RPM  (min = 10546 RPM, div = 128)  ALARM
fan4:       1081 RPM  (min = 1318 RPM, div = 32)  ALARM
fan5:          0 RPM  (min = 5273 RPM, div = 128)  ALARM
Sys Temp:    +41.0°C  (high = +106.0°C, hyst =  +5.0°C)  sensor = thermistor
CPU Temp:    +57.0°C  (high = +80.0°C, hyst = +75.0°C)  sensor = diode
AUX Temp:    +17.5°C  (high = +80.0°C, hyst = +75.0°C)  sensor = thermistor
cpu0_vid:   +1.219 V

The 17.5°C temp is surely false (the ambiant temperature is around 25°C, and i 
use aircooling ...), and don't know what's supposed to be cpu0_vid, in4, in5 
(maybe RAM voltage ?) and in6,but everything else works, so i guess you can 
add this chip as-is.
If you need some more informations or some tests, just ask :)
So thank you for all your good work :)

-- 
HUSSON Pierre-Hugues
phhusson@free.fr

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [lm-sensors] New winbond chip: W83667HG
  2008-07-07 18:54 [lm-sensors] New winbond chip: W83667HG Pierre-Hugues HUSSON
@ 2008-07-07 21:04 ` Rudolf Marek
  2008-09-10 20:40 ` Rudolf Marek
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Rudolf Marek @ 2008-07-07 21:04 UTC (permalink / raw)
  To: lm-sensors

Hello Gong Jun,

Sorry I forgot what is your first name. I think Jun, but not sure ;)

Would you be so kind and get us a datasheet for the W83667HG? Please just send 
it to me Jean and David (usual suspects ;). The chip seems to be similar to 
W83627EHG/DHG. Best would be to get some diff documentation - eg what is 
different from previous generation, like we had for DHG. I dont have much time 
left, but I can at least try to help with the support/implementation. If it is 
easy/doable in short time I can even do that.

If you have some public version of datasheet please ask to put it on the Winbond 
site. I dont know if binary attachments are allowed for mailing list.

Thank you,
Rudolf




_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [lm-sensors] New winbond chip: W83667HG
  2008-07-07 18:54 [lm-sensors] New winbond chip: W83667HG Pierre-Hugues HUSSON
  2008-07-07 21:04 ` Rudolf Marek
@ 2008-09-10 20:40 ` Rudolf Marek
  2008-09-10 21:06 ` Rudolf Marek
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Rudolf Marek @ 2008-09-10 20:40 UTC (permalink / raw)
  To: lm-sensors

Hi Pierre

I have the datasheet! Can you post here some dumps so I can check it what is the 
real revision of the chip?

isadump 0x295 0x296 0

and also:

isadump 0x2e 0x2f  -k 0x87,0x87

Thank you.

Rudolf

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [lm-sensors] New winbond chip: W83667HG
  2008-07-07 18:54 [lm-sensors] New winbond chip: W83667HG Pierre-Hugues HUSSON
  2008-07-07 21:04 ` Rudolf Marek
  2008-09-10 20:40 ` Rudolf Marek
@ 2008-09-10 21:06 ` Rudolf Marek
  2008-09-12  9:56 ` Marco Chiappero
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Rudolf Marek @ 2008-09-10 21:06 UTC (permalink / raw)
  To: lm-sensors

[-- Attachment #1: Type: text/plain, Size: 92 bytes --]

Please can you try the patch for sensors-detect? It should detect the chip.

Thanks,
Rudolf

[-- Attachment #2: detect-w83667hg.patch --]
[-- Type: text/x-diff, Size: 1818 bytes --]

Index: sensors-detect
===================================================================
--- sensors-detect	(revision 5336)
+++ sensors-detect	(working copy)
@@ -852,6 +852,12 @@
        i2c_detect => sub { w83781d_detect(10, @_); },
      },
      {
+       name => "Nuvoton W83667HG",
+       driver => "use-isa-instead",
+       i2c_addrs => [0x28..0x2f],
+       i2c_detect => sub { w83781d_detect(11, @_); },
+     },
+     {
        name => "Asus AS99127F (rev.1)",
        driver => "w83781d",
        i2c_addrs => [0x28..0x2f],
@@ -1984,6 +1990,14 @@
 	alias_detect => sub { winbond_alias_detect(0x2b, 0x3e, @_); },
       },
       {
+	name => "Nuvoton W83667HG Super IO Sensors",
+	driver => "w83627ehf",
+	devid => 0xA510,
+	devid_mask => 0xFFF0,
+	logdev => 0x0b,
+	alias_detect => sub { winbond_alias_detect(0x2b, 0x3e, @_); },
+      },
+      {
 	name => "Winbond W83L517D Super IO",
 	driver => "not-a-sensor",
 	devid => 0x61,
@@ -4559,7 +4573,8 @@
 # $_[0]: Chip to detect (0 = W83781D, 1 = W83782D, 2 = W83783S,
 #                        3 = W83627HF, 4 = AS99127F (rev.1),
 #                        5 = AS99127F (rev.2), 6 = ASB100, 7 = W83791D,
-#                        8 = W83792D, 9 = W83627EHF 10 = W83627DHG)
+#                        8 = W83792D, 9 = W83627EHF 10 = W83627DHG,
+#                       11 = W83667HG)
 # $_[1]: A reference to the file descriptor to access this chip.
 # $_[2]: Address
 # Returns: undef if not detected, (8, addr1, addr2) if detected, but only
@@ -4610,6 +4625,7 @@
   return if $chip == 8 and  $reg1 != 0x7a;
   return if $chip == 9 and  $reg1 != 0xa1;
   return if $chip == 10 and  $reg1 != 0xa2;
+  return if $chip == 11 and  $reg1 != 0xc1;
   # Default address is 0x2d
   @res = ($addr != 0x2d) ? (7) : (8);
   return @res if $chip >= 9; # No subclients

[-- Attachment #3: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [lm-sensors] New winbond chip: W83667HG
  2008-07-07 18:54 [lm-sensors] New winbond chip: W83667HG Pierre-Hugues HUSSON
                   ` (2 preceding siblings ...)
  2008-09-10 21:06 ` Rudolf Marek
@ 2008-09-12  9:56 ` Marco Chiappero
  2008-09-12 10:42 ` Jean Delvare
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: Marco Chiappero @ 2008-09-12  9:56 UTC (permalink / raw)
  To: lm-sensors

root@etna:~# isadump 0x295 0x296 0
WARNING! Running this program can cause system crashes, data loss and worse!
I will probe address register 0x295 and data register 0x296.
Probing bank 0 using bank register 0x4e.
Continue? [Y/n]
      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 7f 04 3d 30 00 32 20 01 9b 01 01 3c 3c 04 04
10: 04 ff 30 00 00 01 01 3c 43 17 00 00 2d ff ff c1
20: 87 d9 d3 d1 d6 ff 9d 2c c4 54 ff da 00 01 02 9a
30: c2 10 04 b0 61 89 21 00 32 00 40 08 80 01 37 bb
40: 03 de 00 ff ff 00 3f 35 2d 21 20 c0 10 95 00 a3
50: ff ff 00 ff ff ff 00 80 c1 7f ff ff 19 c5 04 05
60: 04 3d 50 00 01 01 3c ff 0a ff 01 ff ff ff ff 1e
70: 3c 3c 3c 3c 3c 37 ff ff ff ff ff 4b 22 00 2c ff
80: 04 7f 04 3d 30 00 32 20 01 9b 01 01 3c 3c 04 04
90: 04 ff 30 00 00 01 01 3c 43 17 00 00 2d ff ff c1
a0: 87 d9 d3 d1 d6 ff 9d 2c c4 54 ff da 00 01 02 9a
b0: c2 10 04 b0 61 89 21 00 32 00 40 08 80 01 37 bb
c0: 03 00 00 ff ff 00 3f 35 2d 21 20 c0 10 95 00 a3
d0: ff ff 00 ff ff ff 00 80 c1 7f ff ff 19 c5 04 05
e0: 04 3d 50 00 01 01 3c ff 0a ff 01 ff ff ff ff 1e
f0: 3c 3c 3c 3c 3c 37 ff ff ff ff ff 4b 22 00 2c ff

root@etna:~# isadump 0x2e 0x2f  -k 0x87,0x87
Error: Invalid bank number!
Syntax for I2C-like access:
   isadump [-y] [-k V1,V2...] ADDRREG DATAREG [BANK [BANKREG]]
Syntax for flat address space:
   isadump [-y] -f ADDRESS [RANGE [BANK [BANKREG]]]

The board it's an Asus Maximus II Formula.

Marco

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [lm-sensors] New winbond chip: W83667HG
  2008-07-07 18:54 [lm-sensors] New winbond chip: W83667HG Pierre-Hugues HUSSON
                   ` (3 preceding siblings ...)
  2008-09-12  9:56 ` Marco Chiappero
@ 2008-09-12 10:42 ` Jean Delvare
  2008-09-12 11:03 ` Marco Chiappero
  2008-09-13  9:58 ` Iain Paton
  6 siblings, 0 replies; 8+ messages in thread
From: Jean Delvare @ 2008-09-12 10:42 UTC (permalink / raw)
  To: lm-sensors

Hi Marco,

On Fri, 12 Sep 2008 11:56:34 +0200, Marco Chiappero wrote:
> root@etna:~# isadump 0x295 0x296 0
> WARNING! Running this program can cause system crashes, data loss and worse!
> I will probe address register 0x295 and data register 0x296.
> Probing bank 0 using bank register 0x4e.
> Continue? [Y/n]
>       0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
> 00: 04 7f 04 3d 30 00 32 20 01 9b 01 01 3c 3c 04 04
> 10: 04 ff 30 00 00 01 01 3c 43 17 00 00 2d ff ff c1
> 20: 87 d9 d3 d1 d6 ff 9d 2c c4 54 ff da 00 01 02 9a
> 30: c2 10 04 b0 61 89 21 00 32 00 40 08 80 01 37 bb
> 40: 03 de 00 ff ff 00 3f 35 2d 21 20 c0 10 95 00 a3
> 50: ff ff 00 ff ff ff 00 80 c1 7f ff ff 19 c5 04 05
> 60: 04 3d 50 00 01 01 3c ff 0a ff 01 ff ff ff ff 1e
> 70: 3c 3c 3c 3c 3c 37 ff ff ff ff ff 4b 22 00 2c ff
> 80: 04 7f 04 3d 30 00 32 20 01 9b 01 01 3c 3c 04 04
> 90: 04 ff 30 00 00 01 01 3c 43 17 00 00 2d ff ff c1
> a0: 87 d9 d3 d1 d6 ff 9d 2c c4 54 ff da 00 01 02 9a
> b0: c2 10 04 b0 61 89 21 00 32 00 40 08 80 01 37 bb
> c0: 03 00 00 ff ff 00 3f 35 2d 21 20 c0 10 95 00 a3
> d0: ff ff 00 ff ff ff 00 80 c1 7f ff ff 19 c5 04 05
> e0: 04 3d 50 00 01 01 3c ff 0a ff 01 ff ff ff ff 1e
> f0: 3c 3c 3c 3c 3c 37 ff ff ff ff ff 4b 22 00 2c ff
> 
> root@etna:~# isadump 0x2e 0x2f  -k 0x87,0x87
> Error: Invalid bank number!
> Syntax for I2C-like access:
>    isadump [-y] [-k V1,V2...] ADDRREG DATAREG [BANK [BANKREG]]
> Syntax for flat address space:
>    isadump [-y] -f ADDRESS [RANGE [BANK [BANKREG]]]

The correct syntax is:
isadump -k 0x87,0x87 0x2e 0x2f

(Cheap command line handling, options must go first.)

> The board it's an Asus Maximus II Formula.

-- 
Jean Delvare

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [lm-sensors] New winbond chip: W83667HG
  2008-07-07 18:54 [lm-sensors] New winbond chip: W83667HG Pierre-Hugues HUSSON
                   ` (4 preceding siblings ...)
  2008-09-12 10:42 ` Jean Delvare
@ 2008-09-12 11:03 ` Marco Chiappero
  2008-09-13  9:58 ` Iain Paton
  6 siblings, 0 replies; 8+ messages in thread
From: Marco Chiappero @ 2008-09-12 11:03 UTC (permalink / raw)
  To: lm-sensors

Jean Delvare ha scritto:
> Hi Marco,
> 
> The correct syntax is:
> isadump -k 0x87,0x87 0x2e 0x2f

Ok, thanks. I have never used isadump before so I just cutted and paisted.
Here the output:

root@etna:~# isadump -k 0x87,0x87 0x2e 0x2f
WARNING! Running this program can cause system crashes, data loss and worse!
I will probe address register 0x2e and data register 0x2f.
Continue? [Y/n]
      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: ff ff ff ff ff ff ff 00 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: a5 13 ff 00 44 00 00 ff 40 08 00 7f 22 00 00 40
30: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
60: 00 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff
70: 00 ff ff ff 02 ff ff ff ff ff ff ff ff ff ff ff
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff 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: 0e 00 ff ff 00 00 ff ff ff ff ff ff ff ff ff ff

Please reply if you need some other informations.


Marco

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [lm-sensors] New winbond chip: W83667HG
  2008-07-07 18:54 [lm-sensors] New winbond chip: W83667HG Pierre-Hugues HUSSON
                   ` (5 preceding siblings ...)
  2008-09-12 11:03 ` Marco Chiappero
@ 2008-09-13  9:58 ` Iain Paton
  6 siblings, 0 replies; 8+ messages in thread
From: Iain Paton @ 2008-09-13  9:58 UTC (permalink / raw)
  To: lm-sensors

Rudolf Marek wrote:
> Please can you try the patch for sensors-detect? It should detect the chip.

The patch lets sensors-detect see the chip ok.

Output of the commands you asked for from a base P5Q

WARNING! Running this program can cause system crashes, data loss and worse!
I will probe address register 0x295 and data register 0x296.
Probing bank 0 using bank register 0x4e.
Continue? [Y/n] y
      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: 04 9b 04 3d 30 00 46 20 01 9b 01 01 3c 3c 04 04
10: 04 ff 30 00 00 01 01 3c 43 17 00 00 2a ff ff cc
20: 82 d5 cd cb d0 ff 9f 23 ff 40 ff da 00 d0 c4 02
30: 60 26 0c 15 10 62 80 95 20 71 1c 03 06 01 81 ff
40: 03 ce 00 ff ff 00 3f 35 2d 21 20 40 10 95 00 a3
50: ff ff 00 ff ff ff 00 80 c1 6f ff ff 19 44 04 05
60: 04 3d 50 00 01 01 3c ff 0a ff 01 ff ff ff ff 28
70: 46 46 46 46 46 37 ff ff ff ff ff 4b 22 00 23 ff
80: 04 9b 04 3d 30 00 46 20 01 9b 01 01 3c 3c 04 04
90: 04 ff 30 00 00 01 01 3c 43 17 00 00 2a ff ff cc
a0: 82 d5 cd cb d0 ff 9f 23 ff 40 ff da 00 d0 c4 02
b0: 60 26 0c 15 10 62 80 95 20 71 1c 03 06 01 81 ff
c0: 03 00 00 ff ff 00 3f 35 2d 21 20 40 10 95 00 a3
d0: ff ff 00 ff ff ff 00 80 c1 6f ff ff 19 44 04 05
e0: 04 3d 50 00 01 01 3c ff 0a ff 01 ff ff ff ff 28
f0: 46 46 46 46 46 37 ff ff ff ff ff 4b 22 00 23 ff

WARNING! Running this program can cause system crashes, data loss and worse!
I will probe address register 0x2e and data register 0x2f.
Continue? [Y/n]
      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00: ff ff ff ff ff ff ff 02 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: a5 13 ff 00 44 00 00 ff 30 00 00 7f 22 00 00 40
30: 01 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
60: 03 f8 ff ff ff ff ff ff ff ff ff ff ff ff ff ff
70: 04 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
a0: ff ff ff ff ff ff ff ff ff ff ff ff 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: 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff


Iain

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-09-13  9:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-07 18:54 [lm-sensors] New winbond chip: W83667HG Pierre-Hugues HUSSON
2008-07-07 21:04 ` Rudolf Marek
2008-09-10 20:40 ` Rudolf Marek
2008-09-10 21:06 ` Rudolf Marek
2008-09-12  9:56 ` Marco Chiappero
2008-09-12 10:42 ` Jean Delvare
2008-09-12 11:03 ` Marco Chiappero
2008-09-13  9:58 ` Iain Paton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.