* [lm-sensors] Proposal /sys/bus/class/hwmon/hwmon#/device/foo#_label
@ 2007-04-08 13:51 Hans de Goede
0 siblings, 0 replies; only message in thread
From: Hans de Goede @ 2007-04-08 13:51 UTC (permalink / raw)
To: lm-sensors
Hi all,
The abituguru3 driver, of which I've just submitted a second version for
review, has a new feature / sysfs file, which I would like to discuss, before
people think I'm trying to keep this new sysfs entry below the radar.
The abituguru3 has a register which contains a motherboard ID. The current
driver uses this ID, to look up info about the motherboard in a somewhat lenght
table in the driver. This is done this way because the uguru3 has 48 sensors,
and the only way to know which one are actually connected and wether they are
connected to voltage / temp / fan is by using this table. The added advantage
of this is that since we know exactly on which motherboard the driver is
running, additional stuff can be don. Like always correct values in mV / milli
degress celcius / RPM at the sysfs level without libsensors needing todo any
conversion. An other additional feature this enables, is telling userspace
which voltage / temp / fan is actually being monitored. So the abituguru3
driver has sysfs entries like:
/sys/class/hwmon/hwmon0/in0_label
Catting this file will result (depependend on motherboard) in for example:
CPU Core
being returned
I personally like this, as with proper userspace support this makes the end
user experience pretty plug and play. so what do you think, good or bad?
Currently libsensors cannot handle this, but I don't think that is an argument
either way.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-04-08 13:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-08 13:51 [lm-sensors] Proposal /sys/bus/class/hwmon/hwmon#/device/foo#_label Hans de Goede
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.