Skip to contentSkip to conversation

PC8374L SuperIO chip

lm-sensors Marcin DrStorm Sliwinski 3 participants 6 messages Mar 10, 2007 – Mar 14, 2007

lore
Share & tools
lore
#0 lore raw

Hey
Are there any chances for support for Winbond PC8374L chip ?
I have it on my Intel D965G mainboard (name on chip: 8347lf2-c/l1).
It's SuperIO without internal sensors but with fan RPM measure and PWM
It has also Sensorpath interface (single-wire sensors interface).
Basic info can be found here:
http://www.winbond-usa.com/mambo/content/view/305/528/
http://www.national.com/nationaledge/jan04/article.html
In attachment i've put sensors-detect log (lm-sensors-2.10.2)
I was looking for some docs over the net but found only electric characteristics and pinout without any data about internal registers.
I hope anyone will be able to code driver for this ;)

Best regards
DrStorm

#2 lore raw
In reply to Marcin DrStorm Sliwinski
Quoted 1 line · On Sat, 10 Mar 2007 18:16:50 +0100 Marcin DrStorm Sliwinski <drstorm at…

In attachment i've put sensors-detect log (lm-sensors-2.10.2)

Sorry, forgot to add attachement

Best regards
DrStorm
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sensors.txt
Url: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20070310/906f6b4b/attachment.txt

#3 lore raw
In reply to Marcin DrStorm Sliwinski
Quoted 4 lines · Marcin DrStorm Sliwinski

Hey
Are there any chances for support for Winbond PC8374L chip ? I have it on my Intel D965G mainboard (name on chip: 8347lf2-c/l1). It's SuperIO without internal sensors but with fan RPM measure and PWM

Quoted 8 lines

It has also Sensorpath interface (single-wire sensors interface).
Basic info can be found here:
http://www.winbond-usa.com/mambo/content/view/305/528/
http://www.national.com/nationaledge/jan04/article.html
In attachment i've put sensors-detect log (lm-sensors-2.10.2)
I was looking for some docs over the net but found only electric characteristics and pinout without any data about internal registers.
I hope anyone will be able to code driver for this ;)

I've done some looking on the web for this too, and I have found a full datasheet:
http://www.winbond-usa.com/products/winbond_products/pdfs/APC/PC8374L.pdf

Writing a driver should be quite doable. My only concern is that this chip breathes acpi / tastes like acpi. It very much seems designed to make implementing acpi easy (thermal zones instead of sensors, etc).

So I'm afraid we might have some collisions with acpi here. Either way I would like to write a little userspace test program (for starters) to see if we can get some info out of the chip.

Regards,

Hans

#4 lore raw
In reply to Marcin DrStorm Sliwinski
Quoted 3 lines · On Sat, 10 Mar 2007 22:57:46 +0100 Hans de Goede <j.w.r.degoede at hhs.nl>…

Writing a driver should be quite doable. My only concern is that this chip breathes acpi / tastes like acpi. It very much seems designed to make implementing acpi easy (thermal zones instead of sensors, etc).

Bad part is that ACPI on my board don't show any data about sensors, thermal zones or fans. Probably it wasn't implemented in bios (AMI, worst bios i ever saw)
Even on my old Toshiba laptop i get at least cpu temperature from ACPI.

Quoted 3 lines

So I'm afraid we might have some collisions with acpi here. Either way I would like to write a little userspace test program (for starters) to see if we can get some info out of the chip.

If You write it I will be very happy to test it. Basic info about my box (I don't know if You need it)
CPU: Core 2 Duo
OS: Gentoo Linux 64bit with 2.6.20.2 kernel

Best regards
DrStorm
P.S. Sorry for my bad english
P.S.2 Sorry for private message. I simply hit Reply

#5 lore raw
In reply to Marcin DrStorm Sliwinski
Quoted 11 lines · Marcin DrStorm Sliwinski
Quoted 3 lines · On Sat, 10 Mar 2007 22:57:46 +0100 Hans de Goede <j.w.r.degoede at hhs.nl>…

Writing a driver should be quite doable. My only concern is that this chip breathes acpi / tastes like acpi. It very much seems designed to make implementing acpi easy (thermal zones instead of sensors, etc).

Bad part is that ACPI on my board don't show any data about sensors, thermal zones or fans. Probably it wasn't implemented in bios (AMI, worst bios i ever saw)
Even on my old Toshiba laptop i get at least cpu temperature from ACPI.

Quoted 9 lines
Quoted 3 lines

So I'm afraid we might have some collisions with acpi here. Either way I would like to write a little userspace test program (for starters) to see if we can get some info out of the chip.

If You write it I will be very happy to test it. Basic info about my box (I don't know if You need it)
CPU: Core 2 Duo
OS: Gentoo Linux 64bit with 2.6.20.2 kernel

Okay,

I've done some reading of the datasheet and it seems that this is one of the more complicated superio chips. This beast can do both io based io and memorymapped io. And I had to read the chapter on this 3 times to find out how it all works. (My fault I tried to quick read. just reading it linear helps)

Anyways I'm ready write a simple iopl using, run as root test program now. I'll see if I can find some time for that tomorrow and send it to you then.

Also it would greatly help / speed things up if I could get ssh access to that machine. In order for that to be really usefull I would need either to be able to sudo, or (to be in a group with) r/w access to /dev/port and /dev/mem

You can send me account info with the public key registered to this mail address at pgp.mit.edu .

Thanks & Regards,

Hans