[lm-sensors] [PATCH RESEND] lm-sensors: Add more chip detection
Juerg Haefliger
juergh at gmail.com
Mon Jul 14 17:21:39 CEST 2008
Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.
Signed-off-by: Juerg Haefliger <juergh at gmail.com>
---
Fixed to include both possible device IDs of the VT1212.
On Fri, Jul 11, 2008 at 8:45 AM, Jean Delvare <khali at linux-fr.org> wrote:
> On Fri, 11 Jul 2008 07:50:02 -0700, Juerg Haefliger wrote:
>> > Hi Jean,
>> >
>> >
>> >> Hi Juerg,
>> >>
>> >> Please set the attachment type to text/plain next time.
>> >
>> > Hmm... Gmail doesn't give me control over this (I think) and I haven't
>> > change anything. Weird.
>
> You may try adding .txt at the end of the file name to hint gmail at
> giving it type text/plain. Or complain to the gmail admins until they
> map .patch to type text/plain.
>
>> >> On Thu, 10 Jul 2008 12:37:26 -0700, Juerg Haefliger wrote:
>> >>> Add detection of VIA VT1212 and SMSC EMC2700LPC Super IOs.
>> >>>
>> >>> Signed-off-by: Juerg Haefliger <juergh at gmail.com>
>> >>
>> >>> Index: lm-sensors-3.0.0/prog/detect/sensors-detect
>> >>> ===================================================================
>> >>> --- lm-sensors-3.0.0.orig/prog/detect/sensors-detect 2008-07-10 12:16:17.709353000 -0700
>> >>> +++ lm-sensors-3.0.0/prog/detect/sensors-detect 2008-07-10 12:28:41.895364000 -0700
>> >>> @@ -1666,6 +1666,11 @@
>> >>> devid => 0x77,
>> >>> },
>> >>> {
>> >>> + name => "SMSC EMC2700LPC Super IO",
>> >>> + # no datasheet
>> >>> + devid => 0x67,
>> >>> + },
>> >>> + {
>> >>> name => "SMSC FDC37B72x Super IO",
>> >>> driver => "not-a-sensor",
>> >>> devid => 0x4c,
>> >>> @@ -1908,6 +1913,11 @@
>> >>> alias_detect => sub { vt1211_alias_detect(@_); },
>> >>> },
>> >>> {
>> >>> + name => "VIA VT1212 Super IO Lite",
>> >>> + driver => "not-a-sensor",
>> >>> + devid => 0x3f,
>> >>
>> >> Are you sure? On Wilken's system, which according to the documentation
>> >> has a VT1212 chip, sensors-detect says:
>> >>
>> >> Found unknown chip with ID 0xfc01
>> >>
>> >> Which would mean a devid value of 0xfc rather then 0x3f.
>> >
>> > From the datasheet (sorry for the formatting):
>> > 7 Configuration Index RW 00
>> > 20 Device ID RO 3F
>> > 21 Device Revision RO 01
>> > 22 Power Down Control RW 00
>> > 23 LPC Wait State Select RW 09
>> > 24 GPIO Port 1 Pin Select RW 00
>> > 25 GPIO Port 2 Pin Select RW 00
>>
>> I just realized that there's two different device IDs for the two
>> packaging options, 3F/3E. I'll respin the patch.
>
> None of which matches what Wilken's system has... Very strange.
>
> --
> Jean Delvare
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sensors-add-more-chip-detection.patch
Type: application/octet-stream
Size: 971 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20080714/2cabff8e/attachment.obj
More information about the lm-sensors
mailing list