All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Super I/O chip: missing VID base address
@ 2010-02-17 17:35 Lutz Ballaschke
  2010-02-17 17:56 ` Jean Delvare
  0 siblings, 1 reply; 2+ messages in thread
From: Lutz Ballaschke @ 2010-02-17 17:35 UTC (permalink / raw)
  To: lm-sensors

Hi there,

i have to program parts of the super I/O chip F71862 from Fintek on a
Jetway J7F2 x86 mini-ITX board. There is an existing linux driver
(f71882fg) which supports the hardware monitoring function of that chip
(FAN, TEMP, PWM) but not the VID function. 
So i started coding to get this VID function working. Unfortunately i
got disappointed the moment i tried to read the base address out of the
VID configuration register: the value is 

0x00 

which i suppose is not the actual IO address, is it? Confused by the
datasheet telling the same i wondered if that means i can't use VID
function or just have to find out the default base address (like 0x3F8
is default for UART which is also part of the F71862 chip)
Any idea?

Thank you very much,

Lutz Ballaschke


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

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

* Re: [lm-sensors] Super I/O chip: missing VID base address
  2010-02-17 17:35 [lm-sensors] Super I/O chip: missing VID base address Lutz Ballaschke
@ 2010-02-17 17:56 ` Jean Delvare
  0 siblings, 0 replies; 2+ messages in thread
From: Jean Delvare @ 2010-02-17 17:56 UTC (permalink / raw)
  To: lm-sensors

Hallo Lutz,

On Wed, 17 Feb 2010 18:35:21 +0100, Lutz Ballaschke wrote:
> Hi there,
> 
> i have to program parts of the super I/O chip F71862 from Fintek on a
> Jetway J7F2 x86 mini-ITX board. There is an existing linux driver
> (f71882fg) which supports the hardware monitoring function of that chip
> (FAN, TEMP, PWM) but not the VID function. 

Correct. Looking at the datasheet, I am not surprised... The VID
controller has only 4 input pins, while all recent CPU models need 6, 7
of even 8. I have no idea why Fintek did this, but in practice this
makes the VID feature of the F71862 essentially useless.

> So i started coding to get this VID function working. Unfortunately i
> got disappointed the moment i tried to read the base address out of the
> VID configuration register: the value is 
> 
> 0x00 
> 
> which i suppose is not the actual IO address, is it? Confused by the
> datasheet telling the same i wondered if that means i can't use VID
> function or just have to find out the default base address (like 0x3F8
> is default for UART which is also part of the F71862 chip)
> Any idea?

The base I/O of each logical device must be set by the BIOS prior to
use. Some logical devices may have a default value but the VID one does
not. If the BIOS did not set any address, you have to do it before
enabling the logical device (setting bit 0 of register 0x30 to 1.) You
are free to set the address to whatever you want, but I would suggest
picking a multiple of at least 16, and making sure you won't hit
already used ports (check in /proc/ioports.)

Then again, I am not sure how the VID feature of this chip would be
used on a recent system.

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

end of thread, other threads:[~2010-02-17 17:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-17 17:35 [lm-sensors] Super I/O chip: missing VID base address Lutz Ballaschke
2010-02-17 17:56 ` 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.