Re: mrtg,FreeBSD, asus p2b temperature

1999-09-29 Thread Doug

Doug wrote:
 
 Takanori Watanabe wrote:
 
  Not necessary.  The mainboards of the ASUS P2B series have
  everything onboard that you need.  We have it working with
  the intpm0 driver and a tool called "lm" that I donwloaded
  from somewhere in Japan (forgot the URL, sorry).
 
  Call me?;-)
  If you mention lm.c, it is available from
  http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/
 
 Ok, first of all this is VERY cool! Thank you. You have no idea how
 long I have wanted exactly this. One question. Is it necessary to open
 the smb device read/write? 

You know, I really shouldn't ask questions when I'm this tired. Of
course it dawned on me that in all likelihood you are writing when you
use ioctl. Sorry to trouble you. 

*Yawn*

Doug


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: mrtg,FreeBSD, asus p2b temperature

1999-09-27 Thread Takanori Watanabe

In message [EMAIL PROTECTED], Oliver Fromme
 wrote:

  Someone has a method of monitoring temperatures via a probe at a 
  reasonable cost and inputting it to the computer but I don't remember 
  where I saw it.

Not necessary.  The mainboards of the ASUS P2B series have
everything onboard that you need.  We have it working with
the intpm0 driver and a tool called "lm" that I donwloaded
from somewhere in Japan (forgot the URL, sorry).

Call me?;-)
If you mention lm.c, it is available from
http://www.planet.sci.kobe-u.ac.jp/~takawata/smbus/examples/
.
However, the problem is, it only works with 3.0-current from
around January.  It doesn't work with any recent -stable or
-current.  I suspected it was because of newbus, so I tried
to port it, but without success.  :-(

It *does* work on recent CURRENT.You need not to patch for CURRENT kernel,just 
config(8) with 
controller intpm0
controller smbus0
device smb0
.
But will not work on STABLE or RELEASE because intpm(4) is not merged.
I port it to 3.2-STABLE , and I send it for Nicolas,the GURU of IICBus/SMbus.
There is another tool to monitor Templature as an applet for Window Maker.
(sysutils/wmhm/)

Takanori Watanabe
a href="http://www.planet.sci.kobe-u.ac.jp/~takawata/key.html"
Public Key/a
Key fingerprint =  2C 51 E2 78 2C E1 C5 2D  0F F1 20 A3 11 3A 62 2A 




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: mrtg,FreeBSD, asus p2b temperature

1999-09-27 Thread Takanori Watanabe

In message [EMAIL PROTECTED], [EMAIL PROTECTED] wrote:

 But will not work on STABLE or RELEASE because intpm(4) is not merged.
 I port it to 3.2-STABLE , and I send it for Nicolas,the GURU of IICBus/SMbus
.

Not perfectly yet. I only pointed out the bug that was containd in the patch 
he send to me.I checked by my spd.c .But I don't sure whether the code 
was correct.

Basically,import Revision 1.4 of intpm.c and newest version of intpmreg.h ,
and add the imported file to conf/files .

 The patch he send to me(gziped)

This contains bug in the patch applied to smbconf.c  @@ -109,11 +137,11 @@ .
This will cause infinite loop when you issue request.
'while(error !=EWOULDBLOCK)' is wrong because this loop should be ended when
error==0 .
And here is the merged version of intpm.c

 The merged from current version of intpm.c(gziped)


Re: mrtg,FreeBSD, asus p2b temperature

1999-09-27 Thread Jesper Skriver

On Mon, Sep 27, 1999 at 02:03:35AM -0400, Dan Moschuk wrote:
 
 | Does anybody have any tips for using the above combination for graphing 
temperatures?
 | 
 | Leif
 
 As far as I know, MRTG is only able to fetch data from SNMP MIBs.  Which,
 in order to get the information you're looking for, two things have to happen.
 You need to first have the kernel fetch that information from the 
 motherboard, and then some userland program to return it in the form of an SNMP
 response.
 
 So, unless you are prepared to dust off that C compiler, you're out of
 luck.  

In the past I've used a syntax like

Target[abc]: `cat file`

or

Target[abc]: `program`

Where the program has output like (or the file contains)


First number\n
Second number\n
\n
\n


/Jesper

-- 
Jesper Skriver (JS4261-RIPE), Network manager  
Tele Danmark DataNet, IP section (AS3292)

One Unix to rule them all, One Resolver to find them,
One IP to bring them all and in the zone to bind them.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: mrtg,FreeBSD, asus p2b temperature

1999-09-27 Thread Chris D. Faulhaber

On Mon, 27 Sep 1999, Leif Neland wrote:

 Does anybody have any tips for using the above combination for graphing temperatures?
 

You can start with:
http://www.fxp.org/~jedgar/lmmon-0.52.tar.gz
http://www.fxp.org/~jedgar/wmlmmon-0.52.tar.gz

I'm sure you could add snmp hooks in somewhere :)

-
Chris D. Faulhaber [EMAIL PROTECTED] | All the true gurus I've met never
System/Network Administrator,   | claimed they were one and always
Reality Check Information, Inc. | pointed to someone better.




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: mrtg,FreeBSD, asus p2b temperature

1999-09-27 Thread brandon huey

 
actually, mrtg will take input from an application with four output
lines:

in 
out
uptime
label

this is how i'm getting temperature information graphed from my
thermochron iButton :)
 


On Mon, 27 Sep 1999, Chris D. Faulhaber wrote:

 On Mon, 27 Sep 1999, Leif Neland wrote:
 
  Does anybody have any tips for using the above combination for graphing 
temperatures?
  
 
 You can start with:
 http://www.fxp.org/~jedgar/lmmon-0.52.tar.gz
 http://www.fxp.org/~jedgar/wmlmmon-0.52.tar.gz
 
 I'm sure you could add snmp hooks in somewhere :)
 
 -
 Chris D. Faulhaber [EMAIL PROTECTED] | All the true gurus I've met never
 System/Network Administrator,   | claimed they were one and always
 Reality Check Information, Inc. | pointed to someone better.
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: mrtg,FreeBSD, asus p2b temperature

1999-09-26 Thread Marc Nicholas

Specifically, what 'tips' are you looking for?

-marc

---
Marc Nicholas netSTOR Technologies, Inc. http://www.netstor.com
"Fast, Expandable and Affordable Internet Caching Products"
1.877.464.4776 416.979.9000x11 fax: 416.979.8223 cell: 416.346.9255

On Mon, 27 Sep 1999, Leif Neland wrote:

 Does anybody have any tips for using the above combination for graphing temperatures?
 
 Leif
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with "unsubscribe freebsd-hackers" in the body of the message
 



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: mrtg,FreeBSD, asus p2b temperature

1999-09-26 Thread Dan Moschuk


| Does anybody have any tips for using the above combination for graphing temperatures?
| 
| Leif

As far as I know, MRTG is only able to fetch data from SNMP MIBs.  Which,
in order to get the information you're looking for, two things have to happen.
You need to first have the kernel fetch that information from the 
motherboard, and then some userland program to return it in the form of an SNMP
response.

So, unless you are prepared to dust off that C compiler, you're out of
luck.  

-- 
Dan Moschuk ([EMAIL PROTECTED])
"Try not.  Do, or do not.  There is no try."
-- Yoda


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: mrtg,FreeBSD, asus p2b temperature

1999-09-26 Thread Jim Flowers

MRTG is capable of graphing anything that can be expressed as a number.  
For an example look at the contributed example that graphs estimated 
bandwidth.  I modified this to run with nttcp and use it to track the 
capability of all my circuits.

Someone has a method of monitoring temperatures via a probe at a 
reasonable cost and inputting it to the computer but I don't remember 
where I saw it.

Jim Flowers [EMAIL PROTECTED]
#4 ISP on C|NET, #1 in Ohio

On Mon, 27 Sep 1999, Dan Moschuk wrote:

 
 | Does anybody have any tips for using the above combination for graphing 
temperatures?
 | 
 | Leif
 
 As far as I know, MRTG is only able to fetch data from SNMP MIBs.  Which,
 in order to get the information you're looking for, two things have to happen.
 You need to first have the kernel fetch that information from the 
 motherboard, and then some userland program to return it in the form of an SNMP
 response.
 
 So, unless you are prepared to dust off that C compiler, you're out of
 luck.  


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message



Re: mrtg,FreeBSD, asus p2b temperature

1999-09-26 Thread Oliver Fromme

Jim Flowers wrote in list.freebsd-hackers:
  MRTG is capable of graphing anything that can be expressed as a number.  
  For an example look at the contributed example that graphs estimated 
  bandwidth.  I modified this to run with nttcp and use it to track the 
  capability of all my circuits.
  
  Someone has a method of monitoring temperatures via a probe at a 
  reasonable cost and inputting it to the computer but I don't remember 
  where I saw it.

Not necessary.  The mainboards of the ASUS P2B series have
everything onboard that you need.  We have it working with
the intpm0 driver and a tool called "lm" that I donwloaded
from somewhere in Japan (forgot the URL, sorry).

However, the problem is, it only works with 3.0-current from
around January.  It doesn't work with any recent -stable or
-current.  I suspected it was because of newbus, so I tried
to port it, but without success.  :-(

Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:[EMAIL PROTECTED])

"In jedem Stück Kohle wartet ein Diamant auf seine Geburt"
 (Terry Pratchett)


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message