Re: fan speed, temp, etc... on a thinkpad?

Eric Pogroski <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Mon, 03 Nov 2003 10:42:05 -0500
Jesse Guardiani <[email protected]> wrote:

> Eric Pogroski wrote:
> 
> > On Thu, 23 Oct 2003 10:36:39 -0400
> > Jesse Guardiani <[email protected]> wrote:
> 
> [...]
> 
> > Hi. Try xmbmon from ports/x11, seems to work (somewhat) on thinkpads
> > (I use it on 2, a 390x and a 600x). It give's at least a good
> > approximation of the temperature, does voltage correctly, but I
> > can't get it to read the fans.
> 
> Hmmm, here is what I get from `mbmon -dA`, executed as root:
> 
> -----------------------------------------
> SMBus[Intel8XX(ICH/ICH2/ICH3/ICH4/ICH5)] found, but No HWM available
> on it!! Summary of Detection:
>  * No monitors found.
> InitMBInfo: Unknown error: 0
> This program needs "setuid root"!!
> Exit 1
> -----------------------------------------
> 
> And here is what the README for mbmon says:
> 
> -----------------------------------------
> If the following message,
> 
>    InitMBInfo: Operation not permitted
>    This program needs "setuid root"!!
> 
> comes on FreeBSD, the system security level is too strict and IO port
> access is not allowed (see kern_securelevel_enable, kern_securelevel
> in /etc/rc.conf).  Make your security level lower, or just give up
> to use the programs.
> ------------------------------------------
> 
> I'm pretty sure I don't have a secure level enabled.
> I'm running FreeBSD 5.1-RELEASE. Anyone have any ideas
> how to get this working?
> 
> -- 
> Jesse Guardiani, Systems Administrator
> WingNET Internet Services,
> P.O. Box 2605 // Cleveland, TN 37320-2605
> 423-559-LINK (v)  423-559-5145 (f)
> http://www.wingnet.net

try this:
su root
<password>
chmod +s /usr/local/bin/mbmon
chmod +s /usr/local/bin/xmbmon
exit

if setuid isn't set to root, I don't believe that x/mbmon will not be
able to read the SMBus correctly, if at all.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.