New winbond chip: W83667HG
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 :)
Signature · 2 lines
HUSSON Pierre-Hugues [email protected]
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Please can you try the patch for sensors-detect? It should detect the chip.
Thanks,
Rudolf
sensors-detect +17 -1
@@ -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
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/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 ffroot@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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Marco,
Quoted 23 lines · Marco Chiappero
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 ffQuoted 6 lines
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.)
Quoted 1 line
The board it's an Asus Maximus II Formula.
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Jean Delvare ha scritto:
Quoted 4 lines
Hi Marco,
The correct syntax is:
isadump -k 0x87,0x870x2e0x2f
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 ffPlease reply if you need some other informations.
Marco
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 1 line · Rudolf Marek
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
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors