All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] How do you make lm_sensors see a hwmon device?
Date: Sun, 18 Oct 2009 12:07:35 +0000	[thread overview]
Message-ID: <20091018140735.321f3291@hyperion.delvare> (raw)
In-Reply-To: <4AD1E14B.90604@shikadi.net>

Hi Adam,

On Mon, 12 Oct 2009 15:36:39 +0200, Jean Delvare wrote:
> On Mon, 12 Oct 2009 22:49:17 +1000, Adam Nielsen wrote:
> > Ha, it worked perfectly:
> > 
> > $ ./sensors
> > ...
> > odin-hid-3-12
> > Adapter: HID adapter
> > 3.3V:        +3.40 V
> > 5V:          +5.14 V
> > 5VSB:        +5.13 V
> > 12V1:       +12.11 V
> > 12V2:       +12.16 V
> > 12V3:       +12.15 V
> > 12V4:       +12.07 V
> > -12V:       -12.25 V
> > PSU Fan:    1095 RPM
> > System Fan:  700 RPM
> > Internal:    +40.0°C
> > External 1:   +0.0°C
> > External 2:   +0.0°C
> > External 3:   +0.0°C
> > External 4:   +0.0°C
> > 5V:          27.01 W
> > 12V1:        11.40 W
> > 12V2:        11.68 W
> > 12V3:        16.59 W
> > 12V4:        13.83 W
> > Total:       91.45 W
> > 5V:          +5.25 A
> > 5VSB:        +1.25 A
> > 12V1:        +0.94 A
> > 12V2:        +0.96 A
> > 12V3:        +1.37 A
> > 12V4:        +1.15 A
> > -12V:        +0.00 A
> 
> Hey, very nice :) I'm waiting to see where the HID device names are
> going, and then I'll commit the code change.

As there doesn't seem to be any change planned in the immediate future,
I've committed my code as is. If the name format changes upstream,
we'll have to update libsensors accordingly.

> > Okay, I'll tidy it up and get it ready.  In order to run it you will need the
> > following options enabled in your kernel (I have them all as modules):
> > 
> > USB_GADGET (Device drivers, USB support, USB Gadget Support)
> > USB_GADGET_DUMMY_HCD (USB Gadget Support, USB Peripheral Controller, Dummy HCD)
> > USB_GADGETFS (USB Gadget Support, USB Gadget Drivers, Gadget Filesystem)
> 
> Building :)
> 
> > I'll post instructions on what to do once the modules are loaded when I post
> > the code shortly.
> 
> Great, thanks.

Unfortunately I can't seem to find the time to test it, sorry.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

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

  parent reply	other threads:[~2009-10-18 12:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-11 13:44 [lm-sensors] How do you make lm_sensors see a hwmon device? Adam Nielsen
2009-10-11 14:24 ` Jean Delvare
2009-10-11 18:13 ` Jean Delvare
2009-10-11 22:32 ` Adam Nielsen
2009-10-12 12:12 ` Jean Delvare
2009-10-12 12:49 ` Adam Nielsen
2009-10-12 13:36 ` Jean Delvare
2009-10-12 14:06 ` Adam Nielsen
2009-10-18 12:07 ` Jean Delvare [this message]
2009-10-18 21:25 ` Adam Nielsen

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=20091018140735.321f3291@hyperion.delvare \
    --to=khali@linux-fr.org \
    --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.