Skip to contentSkip to conversation

vt1211: add probing of alternate config index

PATCH New Juerg Haefliger 3 participants 4 messages Jan 30, 2007 – Feb 5, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vt1211: add probing of alternate config index

The configuration index port of the vt1211 can be accessed at two different addresses 0x2e or 0x4e, depending on pin strappings. This patch adds support to scan both addresses during module initialization.

Signed-off-by: Juerg Haefliger <juergh at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hwmon-vt1211-add-probing-of-alternate-config-index-port.patch
Type: application/octet-stream
Size: 3565 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070130/2a33699f/attachment.obj

#1 lore raw

PATCH 1/1 vt1211: add probing of alternate config

Hi Juerg,

Quoted 6 lines · Juerg Haefliger

The configuration index port of the vt1211 can be accessed at two different addresses 0x2e or 0x4e, depending on pin strappings. This patch adds support to scan both addresses during module initialization.

Signed-off-by Juerg Haefliger <juergh at gmail.com>

Patch looks really good, applied, thanks. Hopefully Joe Friedrichsen will also confirm that the new vt1211 driver works OK for him now.

Signature · 1 line
Jean Delvare
#2 lore raw

PATCH 1/1 vt1211: add probing of alternate config

In reply to Juerg Haefliger
Quoted 2 lines · Jean Delvare

Patch looks really good, applied, thanks. Hopefully Joe Friedrichsen will also confirm that the new vt1211 driver works OK for him now.

Sorry for the delay -- a friend asked me to help her move house. I have tomorrow/Monday off, so expect a report in a few hours.

Joe

#3 lore raw

PATCH 1/1 vt1211: add probing of alternate config

In reply to Juerg Haefliger
Quoted 2 lines · Joe Friedrichsen

Sorry for the delay -- a friend asked me to help her move house. I have tomorrow/Monday off, so expect a report in a few hours.

The patched driver works. I used Juerg's patch on the vanilla 2.6.20 kernel and sensors reports:

vt1211-isa-ec00
Adapter: ISA adapter

+2.5V:     +0.00 V  (min =  +2.10 V, max =  +0.88 V)   ALARM
VCore:     +0.00 V  (min =  +0.55 V, max =  +2.39 V)   ALARM
+5V:       +0.00 V  (min =  +5.66 V, max =  +4.03 V)   ALARM
+12V:      +0.00 V  (min = +14.99 V, max = +10.65 V)   ALARM
+3.3V:     +3.28 V  (min =  +3.13 V, max =  +3.46 V)
Case Fan:    0 RPM  (min = 27306 RPM, div = 2)
CPU Fan:     0 RPM  (min = 5041 RPM, div = 2)
CPU Temp: +145.0?C  (high =   +34?C, hyst =   +89?C)
Int Temp:  +64.0?C  (high =  +199?C, hyst =   +69?C)

ERROR: Can't get TEMP3 data!
vid: +1.700 V (VRM Version 9.0)

The chip really isn't wired to do much, as you can see. :-)

Thanks for your quick help!
Joe