From: Pavel Machek <pavel@ucw.cz>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Jean Delvare <khali@linux-fr.org>,
lm-sensors@lm-sensors.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [lm-sensors] Simple fan question
Date: Mon, 17 May 2010 07:46:21 +0000 [thread overview]
Message-ID: <20100517074621.GA14520@ucw.cz> (raw)
In-Reply-To: <1272581806.24542.185.camel@pasglop>
Hi!
> Right.
>
> Now, maybe the best option is to have instead:
>
> fan[1-*]_discrete_value
> Discrete value
> RW
>
> fan[1-*]_supported values
> List of supported discrete values
> RO
Hmm, for 100 different values, that will get ugly. What about simple
fan_max file with values 0..fan_max being valid?
IIRC thinkpads have 8-or-so possible discrete cases...
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
WARNING: multiple messages have this Message-ID (diff)
From: Pavel Machek <pavel@ucw.cz>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Jean Delvare <khali@linux-fr.org>,
lm-sensors@lm-sensors.org,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [lm-sensors] Simple fan question
Date: Mon, 17 May 2010 09:46:21 +0200 [thread overview]
Message-ID: <20100517074621.GA14520@ucw.cz> (raw)
In-Reply-To: <1272581806.24542.185.camel@pasglop>
Hi!
> Right.
>
> Now, maybe the best option is to have instead:
>
> fan[1-*]_discrete_value
> Discrete value
> RW
>
> fan[1-*]_supported values
> List of supported discrete values
> RO
Hmm, for 100 different values, that will get ugly. What about simple
fan_max file with values 0..fan_max being valid?
IIRC thinkpads have 8-or-so possible discrete cases...
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
next prev parent reply other threads:[~2010-05-17 7:46 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-29 5:21 [lm-sensors] Simple fan question Benjamin Herrenschmidt
2010-04-29 5:21 ` Benjamin Herrenschmidt
2010-04-29 5:34 ` [lm-sensors] " Dmitry Gromov
2010-04-29 8:57 ` Jean Delvare
2010-04-29 8:57 ` Jean Delvare
2010-04-29 22:56 ` Benjamin Herrenschmidt
2010-04-29 22:56 ` Benjamin Herrenschmidt
2010-05-06 16:40 ` Jean Delvare
2010-05-06 16:40 ` Jean Delvare
2010-05-17 7:46 ` Pavel Machek [this message]
2010-05-17 7:46 ` Pavel Machek
2010-05-17 8:14 ` Jean Delvare
2010-05-17 8:14 ` Jean Delvare
2010-05-17 8:30 ` Benjamin Herrenschmidt
2010-05-17 8:30 ` Benjamin Herrenschmidt
2010-05-17 15:59 ` Ray Lee
2010-05-20 11:57 ` Jean Delvare
2010-05-20 11:57 ` 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=20100517074621.GA14520@ucw.cz \
--to=pavel@ucw.cz \
--cc=benh@kernel.crashing.org \
--cc=khali@linux-fr.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm-sensors@lm-sensors.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.