All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Handling of fault files in generic print code
@ 2007-07-04  4:56 Hans de Goede
  2007-07-05 12:32 ` Jean Delvare
  2007-07-05 21:05 ` Hans de Goede
  0 siblings, 2 replies; 3+ messages in thread
From: Hans de Goede @ 2007-07-04  4:56 UTC (permalink / raw)
  To: lm-sensors

Hi All,

I noticed that currently the temp code prints a faults in the place where 
normally an alarm gets printed, and ignores alarms. I mimicked this for the 
fault support I added to the fan code.

But is this wise, since the reading are bogus when a FAULT is raised, shouldn't 
the reading be omitted, just like were omitting the alarm?

Regards,

Hans

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

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

* Re: [lm-sensors] Handling of fault files in generic print code
  2007-07-04  4:56 [lm-sensors] Handling of fault files in generic print code Hans de Goede
@ 2007-07-05 12:32 ` Jean Delvare
  2007-07-05 21:05 ` Hans de Goede
  1 sibling, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2007-07-05 12:32 UTC (permalink / raw)
  To: lm-sensors

Hi Hans,

On Wed, 04 Jul 2007 06:56:23 +0200, Hans de Goede wrote:
> I noticed that currently the temp code prints a faults in the place where 
> normally an alarm gets printed, and ignores alarms. I mimicked this for the 
> fault support I added to the fan code.
> 
> But is this wise, since the reading are bogus when a FAULT is raised, shouldn't 
> the reading be omitted, just like were omitting the alarm?

I agree that the current implementation doesn't make much sense and
can be confusing to the users. The "FAULT" statement should replace the
(invalid) measured value rather than the ALARM flag. Can you please
propose a patch doing this?

Thanks,
-- 
Jean Delvare

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

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

* Re: [lm-sensors] Handling of fault files in generic print code
  2007-07-04  4:56 [lm-sensors] Handling of fault files in generic print code Hans de Goede
  2007-07-05 12:32 ` Jean Delvare
@ 2007-07-05 21:05 ` Hans de Goede
  1 sibling, 0 replies; 3+ messages in thread
From: Hans de Goede @ 2007-07-05 21:05 UTC (permalink / raw)
  To: lm-sensors

Jean Delvare wrote:
> Hi Hans,
> 
> On Wed, 04 Jul 2007 06:56:23 +0200, Hans de Goede wrote:
>> I noticed that currently the temp code prints a faults in the place where 
>> normally an alarm gets printed, and ignores alarms. I mimicked this for the 
>> fault support I added to the fan code.
>>
>> But is this wise, since the reading are bogus when a FAULT is raised, shouldn't 
>> the reading be omitted, just like were omitting the alarm?
> 
> I agree that the current implementation doesn't make much sense and
> can be confusing to the users. The "FAULT" statement should replace the
> (invalid) measured value rather than the ALARM flag.

Done, see 3.0.0 svn

Regards,

Hans

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

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

end of thread, other threads:[~2007-07-05 21:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04  4:56 [lm-sensors] Handling of fault files in generic print code Hans de Goede
2007-07-05 12:32 ` Jean Delvare
2007-07-05 21:05 ` Hans de Goede

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.