From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] LM Sensors autoconfig tool project awarded as
Date: Mon, 29 May 2006 10:09:12 +0000 [thread overview]
Message-ID: <20060529120912.895607eb.khali@linux-fr.org> (raw)
In-Reply-To: <44744596.40406@hhs.nl>
Hi Hans,
> Besides writing the abituguru driver I'm also active (actually mainly
> active) as a Fedora contributer. A few weeks ago the Fedora board asked
> for ideas/projects for Fedora's participation in Google's Summer of Code
> (SOC: http://code.google.com/soc/). Ever since working on the abituguru
> driver I've had this dream / project in my head for better & easier
> autoconfiguration of lm_sensors for a specific setup.
>
> Thus I took this chance to propose an lm_sensors autoconfig tool as a
> Fedora SOC project. As already said sorry for not involving you all
> earlier, I didn't expect much to come of this.
>
> It has turned out however that much has come of this. 4 "students" have
> submitted official applications to google to undertake this project!
> And 2 more have send me emails but didn't file their applications with
> google. And I have applicated to be the Mentor for one of these students
> who seems like an excellent candidate.
>
> Its very likely (not 100% official yet) that this project will be
> approved and that the student I've applicated to Mentor will be working
> on this this summer.
>
> Even though this is a Fedora project, I believe that the lm_sensors
> team/community getting involved is important if not vital and that the
> project should be implemented in an as distro neutral way as possible,
> hence my mail to you.
>
> For the project as described by me when suggesting it see:
> http://fedoraproject.org/wiki/FedoraBounties#head-5a66fb1f8ba2fa17d980e9d4df54c2b61e76ca54
Sounds like a very good idea. A few users tried to setup similar
projects before, but nobody ever came up with something functional
enough to be used. If the project is completed and ends up being
operational, this would be a great improvement for the lm_sensors
project, making the setup phase much easier in many cases.
Using dmidecode to get the motherboard identification sounds right.
Note that I have implemented a command line interface to dmidecode,
which should come in handy:
$ dmidecode -s baseboard-manufacturer
Supermicro
$ dmidecode -s baseboard-product-name
370DL3/370DLE
$
This requires dmidecode >= 2.7.
A few comments about DMI tables:
* Depending on the system, the DMI table may be conveniently and
accurately filled, or empty, or useless. Systems with poor DMI tables
won't be supportable.
* Some systems have no type 2 (Base Board Information) DMI record but
do have type 1 (System Information) or type 3 (Chassis Information)
records you can fall back on.
* The full output of dmidecode can contain data which shouldn't be made
public (serial numbers, UUIDs etc.) so you must make sure to only ask
the user for what you need.
I don't think that being able to export the database is a key feature.
End users shouldn't need this.
Likewise, I don't like the hotplug/udev stuff you mention in point 2.
Configuration is only done once, so I don't quite see how hotplug is
relevant here. It's more simple, and more efficient too, to integrate
the motherboard recognition code into sensors-detect. If enough DMI
data is available, propose to connect to the online database to find a
configuration file. If a configuration file is found, copy it, and skip
all the probing phase. This is how I'd do it, anyway.
--
Jean Delvare
next prev parent reply other threads:[~2006-05-29 10:09 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-24 11:37 [lm-sensors] LM Sensors autoconfig tool project awarded as google Hans de Goede
2006-05-29 10:09 ` Jean Delvare [this message]
2006-05-30 10:36 ` [lm-sensors] LM Sensors autoconfig tool project awarded as Hans de Goede
2006-05-30 11:25 ` Mark M. Hoffman
2006-05-30 12:32 ` Jean Delvare
2006-05-30 19:46 ` Rudolf Marek
2006-05-30 22:19 ` Roger Lucas
2006-05-31 3:21 ` Mark M. Hoffman
2006-05-31 12:26 ` Jean Delvare
2006-05-31 14:58 ` [lm-sensors] LM Sensors autoconfig tool project awarded Roger Lucas
2006-06-01 12:11 ` Mark M. Hoffman
2006-06-01 12:54 ` Roger Lucas
2006-06-01 13:05 ` [lm-sensors] LM Sensors autoconfig tool project awarded as Hans de Goede
2006-06-01 20:43 ` Jean Delvare
2006-06-02 20:18 ` Jean Delvare
2006-06-03 7:12 ` Hans de Goede
2006-06-03 9:27 ` Roger Lucas
2006-06-03 9:50 ` Jean Delvare
2006-06-03 14:24 ` Henrik Brix Andersen
2006-06-03 21:33 ` [lm-sensors] LM Sensors autoconfig tool project awarded 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=20060529120912.895607eb.khali@linux-fr.org \
--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.