From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Super I/O chip: missing VID base address
Date: Wed, 17 Feb 2010 17:56:53 +0000 [thread overview]
Message-ID: <20100217185653.1f932577@hyperion.delvare> (raw)
In-Reply-To: <1266428121.8626.73.camel@vierstein>
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
prev parent reply other threads:[~2010-02-17 17:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100217185653.1f932577@hyperion.delvare \
--to=khali@linux-fr.org \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.