All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Enhancement request: fancontrol error messages to
@ 2011-12-02  9:59 Charles
  2011-12-04 14:33 ` Jean Delvare
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Charles @ 2011-12-02  9:59 UTC (permalink / raw)
  To: lm-sensors

Hello :-)

How about modifying the fancontrol script to write error messages to stderr?

It would be more conventional and, for example could be used to make it
less verbose -- while allowing any error messages to appear -- when run
from boot scripts  by something like:

fancontrol > /dev/null

Best

Charles

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [lm-sensors] Enhancement request: fancontrol error messages to
  2011-12-02  9:59 [lm-sensors] Enhancement request: fancontrol error messages to Charles
@ 2011-12-04 14:33 ` Jean Delvare
  2011-12-04 16:30 ` Charles
  2011-12-04 19:06 ` Jean Delvare
  2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2011-12-04 14:33 UTC (permalink / raw)
  To: lm-sensors

Hi Charles,

On Fri, 02 Dec 2011 15:25:39 +0530, Charles wrote:
> Hello :-)
> 
> How about modifying the fancontrol script to write error messages to stderr?
> 
> It would be more conventional and, for example could be used to make it
> less verbose -- while allowing any error messages to appear -- when run
> from boot scripts  by something like:
> 
> fancontrol > /dev/null

I agree this makes sense. I've made the necessary changes, please give a try to:
  http://khali.linux-fr.org/devel/misc/fancontrol
Make sure you don't get a cached version, as I just updated it.

If it works OK for you, I'll commit both changes to the repository.

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [lm-sensors] Enhancement request: fancontrol error messages to
  2011-12-02  9:59 [lm-sensors] Enhancement request: fancontrol error messages to Charles
  2011-12-04 14:33 ` Jean Delvare
@ 2011-12-04 16:30 ` Charles
  2011-12-04 19:06 ` Jean Delvare
  2 siblings, 0 replies; 4+ messages in thread
From: Charles @ 2011-12-04 16:30 UTC (permalink / raw)
  To: lm-sensors

On 04/12/11 20:03, Jean Delvare wrote:
>> > How about modifying the fancontrol script to write error messages to stderr?
>> > 
>> > It would be more conventional and, for example could be used to make it
>> > less verbose -- while allowing any error messages to appear -- when run
>> > from boot scripts  by something like:
>> > 
>> > fancontrol > /dev/null
> I agree this makes sense. I've made the necessary changes, please give a try to:
>   http://khali.linux-fr.org/devel/misc/fancontrol
> Make sure you don't get a cached version, as I just updated it.
> 
> If it works OK for you, I'll commit both changes to the repository.

Thanks Jean :)

It tests OK (no output) when run by

fancontrol >/dev/null &

Best

Charles


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [lm-sensors] Enhancement request: fancontrol error messages to
  2011-12-02  9:59 [lm-sensors] Enhancement request: fancontrol error messages to Charles
  2011-12-04 14:33 ` Jean Delvare
  2011-12-04 16:30 ` Charles
@ 2011-12-04 19:06 ` Jean Delvare
  2 siblings, 0 replies; 4+ messages in thread
From: Jean Delvare @ 2011-12-04 19:06 UTC (permalink / raw)
  To: lm-sensors

On Sun, 04 Dec 2011 21:48:21 +0530, Charles wrote:
> On 04/12/11 20:03, Jean Delvare wrote:
> >> > How about modifying the fancontrol script to write error messages to stderr?
> >> > 
> >> > It would be more conventional and, for example could be used to make it
> >> > less verbose -- while allowing any error messages to appear -- when run
> >> > from boot scripts  by something like:
> >> > 
> >> > fancontrol > /dev/null
> > I agree this makes sense. I've made the necessary changes, please give a try to:
> >   http://khali.linux-fr.org/devel/misc/fancontrol
> > Make sure you don't get a cached version, as I just updated it.
> > 
> > If it works OK for you, I'll commit both changes to the repository.
> 
> Thanks Jean :)
> 
> It tests OK (no output) when run by
> 
> fancontrol >/dev/null &

Thanks for the report. Patches committed:
http://www.lm-sensors.org/changeset/6000
http://www.lm-sensors.org/changeset/6001

-- 
Jean Delvare
http://khali.linux-fr.org/wishlist.html

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-12-04 19:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-02  9:59 [lm-sensors] Enhancement request: fancontrol error messages to Charles
2011-12-04 14:33 ` Jean Delvare
2011-12-04 16:30 ` Charles
2011-12-04 19:06 ` Jean Delvare

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.