All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Single Sensor Check
@ 2008-08-15 18:38 sensored
  2008-08-16  0:17 ` Matt Roberds
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: sensored @ 2008-08-15 18:38 UTC (permalink / raw)
  To: lm-sensors


[-- Attachment #1.1: Type: text/plain, Size: 743 bytes --]

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

 


[-- Attachment #1.2: Type: text/html, Size: 5009 bytes --]

[-- Attachment #2: Type: text/plain, Size: 153 bytes --]

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-05  8:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-15 18:38 [lm-sensors] Single Sensor Check sensored
2008-08-16  0:17 ` Matt Roberds
2008-09-02 21:31 ` sensored
2008-09-05  8:44 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.