Date: Thu, 08 Mar 2001 15:26:36 -0700 From: Lyndon Nerenberg <lyndon@messagingdirect.com> To: Andrew Hesford <ajh3@chmod.ath.cx> Cc: questions@FreeBSD.ORG, stable@FreeBSD.ORG Subject: Re: ABIT KT7 and temp monitoring Message-ID: <200103082226.f28MQbU05037@gollum.esys.ca> In-Reply-To: Message from Andrew Hesford <ajh3@chmod.ath.cx> of "Thu, 08 Mar 2001 16:12:54 CST." <20010308161254.A12645@cec.wustl.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
> man 4 smb
> The problem is the smb kernel device supports a limited number of chips.
Two problems:
1) /dev/smb* are exclusive access -- only one process can hold them open
at a time. (As of a couple of months ago in -stable at least)
2) You still need knowledge of the chipsets. This isn't an abstracted
interface.
What would work better is:
% cat /dev/mbmon
cpu[0] temp=73 fan=180 vcc=2.30 ...
cpu[1] temp=76 fan=167 vcc=2.32 ...
motherboard temp=38 <-- generic motherboard sensor values
fan[0]=313 <-- rpm for non-cpu fans
fan[1]=-1
.
.
.
%
I.e., something suitable for direct display, and which can easily
be ripped apart with awk to extract specific values. It should also
be possible to ioctl the device in a manner similar to /dev/apm,
although defining the variables and data types for the ioctl
interface might be a bit of a pain, since the variables returned
by the different chips are, well, variable.
--lyndon
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103082226.f28MQbU05037>
