Re: [lm-sensors] Simple fan question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Benjamin Herrenschmidt
Date: Thursday, April 29, 2010 - 3:56 pm

Hi Jean !


Yes, I'm not too sure either.


Ok, I missed those in the doco.


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

IE. I like the interface to be self-explanatory rather than relying on
the user to know in advance what to write there. In which case I could
either use 0,1,2 as values or even "off, slow, fast".

I can then make a custom fancontrol script (or add a wart to the
existing one) to deal with this HW.

What do you think ?

Another option of course is to do the whole thermal control in a kernel
thread :-) That wouldn't be very hard nor take a lot of code, but I'm
sure I'll encounter resistance trying to merge that :-)

Cheers,
Ben.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [lm-sensors] Simple fan question, Jean Delvare, (Thu Apr 29, 1:57 am)
Re: [lm-sensors] Simple fan question, Benjamin Herrenschmidt, (Thu Apr 29, 3:56 pm)
Re: [lm-sensors] Simple fan question, Jean Delvare, (Thu May 6, 9:40 am)
Re: [lm-sensors] Simple fan question, Pavel Machek, (Mon May 17, 12:46 am)
Re: [lm-sensors] Simple fan question, Jean Delvare, (Mon May 17, 1:14 am)
Re: [lm-sensors] Simple fan question, Benjamin Herrenschmidt, (Mon May 17, 1:30 am)
Re: [lm-sensors] Simple fan question, Jean Delvare, (Thu May 20, 4:57 am)