All of lore.kernel.org
 help / color / mirror / Atom feed
From: "John Beavers" <john@lightningsoftwaresolutions.com>
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Using libsensors in custom application
Date: Thu, 05 Jul 2007 21:52:52 +0000	[thread overview]
Message-ID: <000001c7bf4e$d7dce200$0500a8c0@LSSDESIGN> (raw)


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

Hello,
 
I'm trying to develop an application that can get the temperature of the CPU
/ MB and send it to another machine on the network for remote temperature
monitoring.  I've managed to compile and run a program that successfully
sends test data over the network, reads chip data like sensors (using the
same code), but I cannot get it to do both together.  Basically, I cannot
tell where / how sensors is getting the information it is outputting to the
screen.  I've tracked it down to m->fn(&name); in the do_a_print() function,
but I cannot see how that line prints out the chip information.  My question
is, is there a tutorial of how to use libsensors in an application
somewhere, or can you give me a brief explanation of how to get the CPU  &
MB temp from libsensors?
 
Thanks,
John Beavers

[-- Attachment #1.2: Type: text/html, Size: 1597 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

             reply	other threads:[~2007-07-05 21:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-05 21:52 John Beavers [this message]
2007-07-14 19:47 ` [lm-sensors] Using libsensors in custom application Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000001c7bf4e$d7dce200$0500a8c0@LSSDESIGN' \
    --to=john@lightningsoftwaresolutions.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.