From owner-freebsd-hackers Sun Apr 1 12:41:40 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from webmail.netcom.no (jannicke.netcom.no [212.45.188.58]) by hub.freebsd.org (Postfix) with ESMTP id 243E937B71A for ; Sun, 1 Apr 2001 12:41:38 -0700 (PDT) (envelope-from sgt@netcom.no) Received: from hal ([212.45.183.24]) by webmail.netcom.no (Netscape Messaging Server 4.15) with ESMTP id GB4PD600.NEI for ; Sun, 1 Apr 2001 21:41:30 +0200 Date: Sun, 1 Apr 2001 20:41:43 +0200 (CEST) From: Torbjorn Kristoffersen X-Sender: To: FreeBSD-Hackers Subject: Programming the WinBond W83781D Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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