From: Gabriel C <crazy@frugalware.org>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] [RFC] Asus ATK0110 ACPI hwmon driver
Date: Tue, 30 Dec 2008 14:01:13 +0000 [thread overview]
Message-ID: <495A29A9.9030305@frugalware.org> (raw)
In-Reply-To: <20081229205537.GA11072@dreamland.darkstar.lan>
Luca Tettamanti wrote:
> Hello,
Hi Luca ,
> I'm once again submitting my driver for ASUS ATK0110 sensor interface,
> re-based against kernel v2.6.28. Comments are welcome :)
Thx again :-)
>
> Asus boards have an ACPI interface for interacting with the hwmon (fan,
> temperatures, voltages) subsystem; this driver exposes the relevant
> information via the standard sysfs interface.
>
> There are two different ACPI interfaces:
> - an old one (based on RVLT/RFAN/RTMP)
> - a new one (GGRP/GITM)
> Both may be present but there a few cases (my board, sigh) where the
> new interface is just an empty stub; the driver defaults to the old one
> when both are present.
> The old interface has received a considerable testing, but I'm still
> awaiting confirmation from my tester that the new one is working as
> expected (hence the debug code is still enabled).
>
> Currently all the attributes are read-only, though a (partial) control
> should be possible with a bit more work.
>
Your patch works fine on my motherboard , here is the output when loading the driver :
....
[ 7.269649] ATK0110 ATK0110:00: adding...
[ 7.275802] ATK0110 ATK0110:00: board ID = P5E-VM DO
[ 7.275833] ATK0110 ATK0110:00: Using old hwmon interface
[ 7.276047] ATK0110 ATK0110:00: voltage: 0x6020000 Vcore Voltage [850-1600] enabled
[ 7.276055] ATK0110 ATK0110:00: Sensor 0 is valid, type 0x2
[ 7.276064] ATK0110 ATK0110:00: voltage: 0x6020001 +3.3 Voltage [2970-3630] enabled
[ 7.276069] ATK0110 ATK0110:00: Sensor 1 is valid, type 0x2
[ 7.276082] ATK0110 ATK0110:00: voltage: 0x6020002 +5 Voltage [4500-5500] enabled
[ 7.276088] ATK0110 ATK0110:00: Sensor 2 is valid, type 0x2
[ 7.276099] ATK0110 ATK0110:00: voltage: 0x6020003 +12 Voltage [10200-13800] enabled
[ 7.276105] ATK0110 ATK0110:00: Sensor 3 is valid, type 0x2
[ 7.276286] ATK0110 ATK0110:00: temperature: 0x6030000 CPU Temperature [600-950] enabled
[ 7.276292] ATK0110 ATK0110:00: Sensor 4 is valid, type 0x3
[ 7.276299] ATK0110 ATK0110:00: temperature: 0x6030001 MB Temperature [450-950] enabled
[ 7.276303] ATK0110 ATK0110:00: Sensor 5 is valid, type 0x3
[ 7.276461] ATK0110 ATK0110:00: fan: 0x6040000 CPU FAN Speed [600-7200] enabled
[ 7.276466] ATK0110 ATK0110:00: Sensor 6 is valid, type 0x4
[ 7.276475] ATK0110 ATK0110:00: fan: 0x6040001 CHASSIS FAN Speed [600-7200] enabled
[ 7.276478] ATK0110 ATK0110:00: Sensor 7 is valid, type 0x4
[ 7.276486] ATK0110 ATK0110:00: registering hwmon device
[ 7.276640] ATK0110 ATK0110:00: populating sysfs directory
...
however do I need some patches against lmsensors 2.* / 3.* to make sensors display the data from the ATK driver ?
( I use your patch with latest tip/master kernel )
Regards,
Gabriel
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2008-12-30 14:01 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-29 20:55 [lm-sensors] [RFC] Asus ATK0110 ACPI hwmon driver Luca Tettamanti
2008-12-30 14:01 ` Gabriel C [this message]
2008-12-30 14:09 ` Luca Tettamanti
2008-12-30 14:28 ` Gabriel C
2009-01-01 22:09 ` Hans de Goede
2009-01-01 22:10 ` Hans de Goede
2009-01-04 12:32 ` Hans de Goede
2009-01-04 14:56 ` Iain Paton
2009-01-04 18:08 ` Luca Tettamanti
2009-01-04 19:14 ` Hans de Goede
2009-01-04 21:23 ` Luca Tettamanti
2009-01-04 22:13 ` Hans de Goede
2009-01-05 17:25 ` Luca Tettamanti
2009-01-05 17:26 ` Luca Tettamanti
2009-01-05 18:12 ` Iain Paton
2009-01-05 19:00 ` Hans de Goede
2009-01-05 20:10 ` Luca Tettamanti
2009-01-06 8:20 ` Hans de Goede
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=495A29A9.9030305@frugalware.org \
--to=crazy@frugalware.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.