Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Apr 2001 22:12:26 -0700 (PDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        Torbjorn Kristoffersen <sgt@netcom.no>
Cc:        FreeBSD-Hackers <hackers@FreeBSD.ORG>
Subject:   Re: Programming the WinBond W83781D
Message-ID:  <200104020512.f325CQl62547@arch20m.dellroad.org>
In-Reply-To: <Pine.BSF.4.30.0104012031410.4623-100000@hal.netforce.no> "from Torbjorn Kristoffersen at Apr 1, 2001 08:41:43 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Torbjorn Kristoffersen writes:
> 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..

Check out the "healthd" port which shows how to do it via
/dev/io or /dev/smb0.

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

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?200104020512.f325CQl62547>