[lm-sensors] Simple fan question
Jean Delvare
khali at linux-fr.org
Mon May 17 10:14:07 CEST 2010
Hi Pavel,
On Mon, 17 May 2010 09:46:21 +0200, Pavel Machek wrote:
> 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?
If you have 100 different values, you can map them to the standard
0..255 range of pwm[1-*] files.
> IIRC thinkpads have 8-or-so possible discrete cases...
Correct. And even these would map nicely to the 0..255 range IMHO.
--
Jean Delvare
More information about the lm-sensors
mailing list