Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2001 20:41:43 +0200 (CEST)
From:      Torbjorn Kristoffersen <sgt@netcom.no>
To:        FreeBSD-Hackers <hackers@FreeBSD.org>
Subject:   Programming the WinBond W83781D
Message-ID:  <Pine.BSF.4.30.0104012031410.4623-100000@hal.netforce.no>

next in thread | raw e-mail | index | archive | help
Hi

I'm porting a Linux module that reads system health information (such as
voltages and temperatures) from a WinBond W83781D chip.

What's the best way of extracting such info from the chip? In the Linux
module it uses the regular inb(), outb(), set() etc. to read
the raw data, and then making it look nice and dandy using
a readable file in the proc filesystem.
I'm not sure how to do this in FreeBSD..

And what's the best way for a userland program to retrieve the info?
I had in mind to just create a kernel module w/direct access to the chip,
and make a userland program make the raw data pretty.


Thanks for any advice (Even if it's "RTFS!"),
 Torbjorn Kristoffersen
 sgt@netcom.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.30.0104012031410.4623-100000>