From: "Jordan Crouse" <jordan.crouse@amd.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] First shot at Asus M2N-SLI Deluxe config file
Date: Tue, 26 Feb 2008 20:50:22 +0000 [thread overview]
Message-ID: <20080226205022.GD7456@cosmic.amd.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0802201829130.30160@birdbird.example.com>
On 26/02/08 21:39 +0100, Hans de Goede wrote:
> Jordan Crouse wrote:
>> On 26/02/08 20:33 +0100, Hans de Goede wrote:
>>> Matt Roberds wrote:
>>>> On Tue, 26 Feb 2008, Jordan Crouse wrote:
>>>>> On 21/02/08 08:19 -0600, Matt Roberds wrote:
>>>>>
>>>>>> My second shot is attached. I have changed the name to inlclude the
>>>>>> "deluxe" designation. This second shot also requires a small patch to
>>>>>> Jordan Crouse's latest adt7475.c driver to work; a diff is attached as
>>>>>> well.
>>>>> Thanks. Patch integrated into the driver and I also removed the URL to
>>>>> the datasheet due to the upstream churn. Full patch is attached.
>>>> Disclaimer: I haven't tried it yet.
>>>> Having said that, in show_voltage(), this patch has
>>>>> case LABEL:
>>>>> return sprintf(buf, "%s\n",
>>>>> sattr->index = 0 ? "1" : "2");
>>>> which I think should be
>>>> ---
>>>> case LABEL:
>>>> return sprintf(buf, "in%s\n",
>>>> sattr->index = 0 ? "1" : "2");
>>>> ---
>>>> Note the string constant "in".
>>> Ah, good catch.
>>>
>>> Actually, the xxx_label attributes should be completely removed, those
>>> are only meant to be use by drivers which can give an end user
>>> presentable labels, other drivers should rely on a proper label being set
>>> in /etc/sensors.conf
>> I don't understand the criteria - what do you mean by "presentable
>> labels"?
>
> Sorry, I mean labels like:
>
> Northbridge Temp
> CPU Temp
> Powersupply1 Temp
>
> Etc, remote / local doesn't say much to the end user, as the user doesn't
> know where the adt7475 ic is located, nor where the remote temp diode will
> be, so the default temp1 temp2 labels will be as usefull as locale_temp and
> remote_temp.
Okay - I understand. So I should just get rid of all of the labels in
the whole driver?
Jordan
--
Jordan Crouse
Systems Software Development Engineer
Advanced Micro Devices, Inc.
_______________________________________________
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-02-26 20:50 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-21 0:30 [lm-sensors] First shot at Asus M2N-SLI Deluxe config file Matt Roberds
2008-02-21 7:27 ` Jean Delvare
2008-02-21 10:41 ` Hans de Goede
2008-02-21 14:19 ` Matt Roberds
2008-02-26 18:36 ` Jordan Crouse
2008-02-26 19:06 ` Matt Roberds
2008-02-26 19:13 ` Matt Roberds
2008-02-26 19:33 ` Hans de Goede
2008-02-26 20:39 ` Hans de Goede
2008-02-26 20:43 ` Jordan Crouse
2008-02-26 20:46 ` Hans de Goede
2008-02-26 20:50 ` Jordan Crouse [this message]
2008-03-30 19:02 ` 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=20080226205022.GD7456@cosmic.amd.com \
--to=jordan.crouse@amd.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.