Skip to contentSkip to conversation

Zotac itx-f sensor i2cdump

lm-sensors MC Matti 2 participants 6 messages Dec 2, 2009 – Dec 6, 2009

lore
Share & tools
lore

MC Matti

author
#0 lore raw

Hello,

I'm trying to use the sensors on my zotac ion itx-f. Currently without any luck.
(sensor-detect does not configure the sensors)

Does anyone has an idea which sensor it can be?

root@localhost:~# uname -a
Linux localhost 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29
UTC 2009 i686 GNU/Linux

dpkg -s lm-sensors: Version: 1:3.1.1-4

root@localhost:~# i2cdetect -l
i2c-0   smbus           SMBus nForce2 adapter at 4d00           SMBus adapter
i2c-1   smbus           SMBus nForce2 adapter at 4e00           SMBus adapter
i2c-2   i2c             NVIDIA i2c adapter                      I2C adapter
i2c-3   i2c             NVIDIA i2c adapter                      I2C adapter
i2c-4   i2c             NVIDIA i2c adapter                      I2C adapter
root@localhost:~# i2cdetect 0
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0.
I will probe address range 0x03-0x77.
Continue? [Y/n]
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- 4c -- 4e --
50: 50 51 52 53 54 55 56 57 -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root@localhost:~# i2cdetect 1
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-1.
I will probe address range 0x03-0x77.
Continue? [Y/n]
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: 50 51 -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- 61 -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: 70 -- -- -- -- -- -- --
root@localhost:~# i2cdetect 2
<onle 50>
root@localhost:~# i2cdetect 3
<nothing>
root@localhost:~# i2cdetect 4
<nothing>
root@localhost:~# i2cdump 0 0x4c
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0, address 0x4c, mode byte
Continue? [Y/n]
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 2e 3b 80 01 08 46 d8 46 d8 ff ff ff ff ff ff ff    .;???F?F?.......
10: 60 00 00 00 00 00 00 04 00 6e 6e 46 d8 00 00 ff    `......?.nnF?...
20: 55 0a ff ff 7f e0 ff ff ff ff ff ff ff ff ff ff    U?..??..........
30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
<more ff>
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00    ................
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: 00 00 00 84 84 84 00 00 55 00 00 ff ff ff ff ff    ...???..U.......
f0: 50 00 00 00 84 00 00 39 a0 00 00 83 00 ff 5c 11    P...?..9?..?..\?

root@localhost:~#i2cdump 0 0x4e
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0, address 0x4e, mode byte Continue? [Y/n]
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef 00: 00 80 00 a4 a4 00 00 00 00 00 00 00 00 00 00 00    .?.??........... 10: 00 00 ff 0f 00 00 00 00 00 00 00 00 00 00 00 00    ...?............ 20: 00 00 00 00 00 00 03 00 83 12 12 28 00 00 00 00    ......?.???(.... 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................ <more 00>

Bye,

mcmatti

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

#1 lore raw
Quoted 43 lines · MC Matti

I'm trying to use the sensors on my zotac ion itx-f. Currently without any luck.
(sensor-detect does not configure the sensors)

Does anyone has an idea which sensor it can be?

root@localhost:~# uname -a
Linux localhost 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29
UTC 2009 i686 GNU/Linux

dpkg -s lm-sensors: Version: 1:3.1.1-4

root@localhost:~# i2cdetect -l
i2c-0   smbus           SMBus nForce2 adapter at 4d00           SMBus adapter
i2c-1   smbus           SMBus nForce2 adapter at 4e00           SMBus adapter
i2c-2   i2c             NVIDIA i2c adapter                      I2C adapter
i2c-3   i2c             NVIDIA i2c adapter                      I2C adapter
i2c-4   i2c             NVIDIA i2c adapter                      I2C adapter
root@localhost:~# i2cdetect 0
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0.
I will probe address range 0x03-0x77.
Continue? [Y/n]
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- 08 -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- 4c -- 4e --
50: 50 51 52 53 54 55 56 57 -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
(...)
root@localhost:~# i2cdump 0 0x4c
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0, address 0x4c, mode byte
Continue? [Y/n]
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 2e 3b 80 01 08 46 d8 46 d8 ff ff ff ff ff ff ff    .;???F?F?.......
10: 60 00 00 00 00 00 00 04 00 6e 6e 46 d8 00 00 ff    `......?.nnF?...
Quoted 8 lines
20: 55 0a ff ff 7f e0 ff ff ff ff ff ff ff ff ff ff    U?..??..........
30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
<more ff>
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00    ................
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: 00 00 00 84 84 84 00 00 55 00 00 ff ff ff ff ff    ...???..U.......
f0: 50 00 00 00 84 00 00 39 a0 00 00 83 00 ff 5c 11    P...?..9?..?..\?

I was discussing with someone from Zotac recently and he told me they were using W83L771AWG/ASG. The above looks exactly like one. Please give a try to the latest version of sensors-detect, it should confirm it:
http://dl.lm-sensors.org/lm-sensors/files/sensors-detect

We do not have support for this chip yet.

Quoted 11 lines

root@localhost:~#i2cdump 0 0x4e
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0, address 0x4e, mode byte Continue? [Y/n]
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef 00: 00 80 00 a4 a4 00 00 00 00 00 00 00 00 00 00 00    .?.??........... 10: 00 00 ff 0f 00 00 00 00 00 00 00 00 00 00 00 00    ...?............ 20: 00 00 00 00 00 00 03 00 83 12 12 28 00 00 00 00    ......?.???(.... 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................ <more 00>

No idea about that one, we probably better leave it alone.

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
author
#2 lore raw
In reply to MC Matti
Quoted 17 lines
Quoted 8 lines
root@localhost:~# i2cdump 0 0x4c
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0, address 0x4c, mode byte
Continue? [Y/n]
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 2e 3b 80 01 08 46 d8 46 d8 ff ff ff ff ff ff ff    .;???F?F?.......
10: 60 00 00 00 00 00 00 04 00 6e 6e 46 d8 00 00 ff    `......?.nnF?...
Quoted 8 lines
20: 55 0a ff ff 7f e0 ff ff ff ff ff ff ff ff ff ff    U?..??..........
30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff    ................
<more ff>
b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 00    ................
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: 00 00 00 84 84 84 00 00 55 00 00 ff ff ff ff ff    ...???..U.......
f0: 50 00 00 00 84 00 00 39 a0 00 00 83 00 ff 5c 11    P...?..9?..?..\?
Quoted 6 lines

I was discussing with someone from Zotac recently and he told me they were using W83L771AWG/ASG. The above looks exactly like one. Please give a try to the latest version of sensors-detect, it should confirm it:
http://dl.lm-sensors.org/lm-sensors/files/sensors-detect

donwloaded:
[...]
Probing for `Winbond W83L771AWG/ASG'... Success!
(confidence 6, driver `to-be-written')
[...]

Quoted 2 lines

We do not have support for this chip yet.

Is there a documentation?
Is anyone already working on it?
Which driver would be the best to start with (if theres a doc)?

mcmatti

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

#3 lore raw
In reply to MC Matti
Quoted 7 lines · MC Matti
Quoted 2 lines

http://dl.lm-sensors.org/lm-sensors/files/sensors-detect

donwloaded:
[...]
Probing for `Winbond W83L771AWG/ASG'... Success!
(confidence 6, driver `to-be-written')
[...]

OK, that's a good start.

Quoted 3 lines
Quoted 1 line

We do not have support for this chip yet.

Is there a documentation?

There is, but I'm not quite sure what I can share. I have a document for the old incarnation of these chips (W and G variants) from Winbond. I don't think there is any restriction on it so I could give it to you, however I don't know how much of it applies to your chip. The new document for the AWG and ASG incarnations is not publicly available, you have to request it by mail from Nuvoton:
http://www.nuvoton.com/hq/enu/ProductAndSales/ProductLines/ComputerIC/HardwareMonitor/HWMonitorforGraphicCardNBAndIA/W83L771AWG_W83L771ASG.htm

Feel free to give it a try if you are interested.

Quoted 1 line

Is anyone already working on it?

Not yet.

Quoted 1 line

Which driver would be the best to start with (if theres a doc)?

2 years ago I wrote down that the lm90 driver would be a good candidate and that the W83L771W/G may be compatible with the Nat. Semi. LM86. Honestly I can't remember what made me think this, but I'd trust me ;) I don't know if it still applies to the AWG/ASG variant that you have.

You might as well take your chance and force the lm90 driver to treat your chip as a lm86:

modprobe lm90 force_lm86=0,0x4c.

Now if your house burn, I'm not responsible, OK? ;)

For now I've added your request to the wiki.

Signature · 7 lines
Jean Delvare
http://khali.linux-fr.org/wishlist.html

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

2009/12/3 Jean Delvare <[email protected]>:

Quoted 7 lines

You might as well take your chance and force the lm90 driver to treat your chip as a lm86:

modprobe lm90 force_lm86=0,0x4c.

Now if your house burn, I'm not responsible, OK? ;)

:)
I couldn't resist.
Up to now the MoBo hasn't exploded or catched fire etc... But it may happen.
Heres what I did:

root@localhost:~# modprobe lm90 force_lm86=0,0x4c
root@localhost:~# dmesg | tail -2
[   18.363869] i2c /dev entries driver
[   22.060013] eth0: no IPv6 routers present
root@localhost:~# sensors
lm86-i2c-0-4c
Adapter: SMBus nForce2 adapter at 4d00
temp1:       +44.0°C  (low  = -40.0°C, high = +70.0°C)
                      (crit = +85.0°C, hyst = +75.0°C)
temp2:       +57.9°C  (low  = -40.0°C, high = +70.0°C)
                      (crit = +110.0°C, hyst = +100.0°C)

mcmatti

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

#5 lore raw
In reply to MC Matti
Quoted 19 lines · MC Matti

2009/12/3 Jean Delvare <[email protected]>:

Quoted 7 lines

You might as well take your chance and force the lm90 driver to treat your chip as a lm86:

modprobe lm90 force_lm86=0,0x4c.

Now if your house burn, I'm not responsible, OK? ;)

:)
I couldn't resist.
Up to now the MoBo hasn't exploded or catched fire etc... But it may happen.
Heres what I did:

root@localhost:~# modprobe lm90 force_lm86=0,0x4c
root@localhost:~# dmesg | tail -2
[   18.363869] i2c /dev entries driver
[   22.060013] eth0: no IPv6 routers present
Quoted 7 lines
root@localhost:~# sensors
lm86-i2c-0-4c
Adapter: SMBus nForce2 adapter at 4d00
temp1:       +44.0°C  (low  = -40.0°C, high = +70.0°C)
                      (crit = +85.0°C, hyst = +75.0°C)
temp2:       +57.9°C  (low  = -40.0°C, high = +70.0°C)
                      (crit = +110.0°C, hyst = +100.0°C)

Looks reasonable. temp1 is an internal sensor, so it gives you the board temperature. temp2 is remote, that would be the CPU temperature. Configuration file would be:

chip "lm86-i2c-*-4c"

label temp1 "M/B Temp"
label temp2 "CPU Temp"

Let us know if you notice anything wrong later. When we have proper W83L771* support, we'll let you know.

Signature · 7 lines
Jean Delvare
http://khali.linux-fr.org/wishlist.html

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