lkml.org 
[lkml]   [1999]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Looking for two items -- dual+ ethernet and motherboard monitor
> 1. The drivers for, or specs so I can write a driver
> for, the code needed to
> monitor things like fan speed, motherboard temp, etc.

If your motherboard has a lm78 chip I've got some code that might help
you... (it should also work with lm75)
It only shows the temperature and voltage, but showing fan speeds
should be easy to add.
The code is an attempt to write a kernel module and it creates a file
in /proc (/proc/lm78) that can be cat'ed

compile w.
gcc -o procmbmon.o -O -Wall -c -D__KERNEL__ -DMODULE procmbmon.c

(This is probably an example of how a module (or anything that runs in
the kernel) shouldn't look like... ;-) )
/Droid

(If I had found my bookmark for the site where I found the spec I would
have posted that too.... hope you can figure it out from my code...)
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com[unhandled content-type:application/x-unknown][unhandled content-type:application/x-unknown]
\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.030 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site