Single Sensor Check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, all!  I need to add a check for an alarm to a single sensor in my C
program, and I'd like to do so without the overhead of calling out to an
external program and parsing its output (plus all the error-checking, etc.).
I have been having some issues compiling lm-sensors (so that I can step
through with a debugger), so perhaps you can help me short-circuit this
process a little: 

Is there a way to read the value of a sensor (all it throws is ALARM or
nothing) from somewhere (e.g. in a protected area of memory)? For example,
dmidecode finds an SMBIOS table at a particular memory location, copies it,
and just navigates the table to find the values for the DMI info... Are
sensors accessible in a similar manner?

Thanks!

-Ken

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20080815/5a3787e8/attachment.html 


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux