All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Zotac itx-f sensor i2cdump
@ 2009-12-02 15:55 MC Matti
  2009-12-02 17:01 ` Jean Delvare
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: MC Matti @ 2009-12-02 15:55 UTC (permalink / raw)
  To: lm-sensors

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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* Re: [lm-sensors] Zotac itx-f sensor i2cdump
  2009-12-02 15:55 [lm-sensors] Zotac itx-f sensor i2cdump MC Matti
@ 2009-12-02 17:01 ` Jean Delvare
  2009-12-02 17:15 ` MC Matti
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Jean Delvare @ 2009-12-02 17:01 UTC (permalink / raw)
  To: lm-sensors

On Wed, 2 Dec 2009 16:55:46 +0100, MC Matti wrote:
> 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?...
> 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.

> 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.

-- 
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] 6+ messages in thread

* Re: [lm-sensors] Zotac itx-f sensor i2cdump
  2009-12-02 15:55 [lm-sensors] Zotac itx-f sensor i2cdump MC Matti
  2009-12-02 17:01 ` Jean Delvare
@ 2009-12-02 17:15 ` MC Matti
  2009-12-03 13:15 ` Jean Delvare
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: MC Matti @ 2009-12-02 17:15 UTC (permalink / raw)
  To: lm-sensors

>> 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?..?..\?
>
> 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')
[...]

> 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* Re: [lm-sensors] Zotac itx-f sensor i2cdump
  2009-12-02 15:55 [lm-sensors] Zotac itx-f sensor i2cdump MC Matti
  2009-12-02 17:01 ` Jean Delvare
  2009-12-02 17:15 ` MC Matti
@ 2009-12-03 13:15 ` Jean Delvare
  2009-12-06 15:51 ` MC Matti
  2009-12-06 15:59 ` Jean Delvare
  4 siblings, 0 replies; 6+ messages in thread
From: Jean Delvare @ 2009-12-03 13:15 UTC (permalink / raw)
  To: lm-sensors

On Wed, 2 Dec 2009 18:15:59 +0100, MC Matti wrote:
> >  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.

> > 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.

> Is anyone already working on it?

Not yet.

> 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.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

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

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

* Re: [lm-sensors] Zotac itx-f sensor i2cdump
  2009-12-02 15:55 [lm-sensors] Zotac itx-f sensor i2cdump MC Matti
                   ` (2 preceding siblings ...)
  2009-12-03 13:15 ` Jean Delvare
@ 2009-12-06 15:51 ` MC Matti
  2009-12-06 15:59 ` Jean Delvare
  4 siblings, 0 replies; 6+ messages in thread
From: MC Matti @ 2009-12-06 15:51 UTC (permalink / raw)
  To: lm-sensors

2009/12/3 Jean Delvare <khali@linux-fr.org>:
> 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
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

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

* Re: [lm-sensors] Zotac itx-f sensor i2cdump
  2009-12-02 15:55 [lm-sensors] Zotac itx-f sensor i2cdump MC Matti
                   ` (3 preceding siblings ...)
  2009-12-06 15:51 ` MC Matti
@ 2009-12-06 15:59 ` Jean Delvare
  4 siblings, 0 replies; 6+ messages in thread
From: Jean Delvare @ 2009-12-06 15:59 UTC (permalink / raw)
  To: lm-sensors

On Sun, 6 Dec 2009 16:51:43 +0100, MC Matti wrote:
> 2009/12/3 Jean Delvare <khali@linux-fr.org>:
> > 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)

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.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

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

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

end of thread, other threads:[~2009-12-06 15:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-02 15:55 [lm-sensors] Zotac itx-f sensor i2cdump MC Matti
2009-12-02 17:01 ` Jean Delvare
2009-12-02 17:15 ` MC Matti
2009-12-03 13:15 ` Jean Delvare
2009-12-06 15:51 ` MC Matti
2009-12-06 15:59 ` Jean Delvare

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.