All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Howto handle alarms which need to be reset?
@ 2007-07-04  6:55 Hans de Goede
  2007-07-04  9:03 ` Hans de Goede
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Hans de Goede @ 2007-07-04  6:55 UTC (permalink / raw)
  To: lm-sensors

Hi all,

Anonymous has been so kind as to send me a datasheet for the fscpos sensor. 
Because of this I'm working on improved individual alarm file patches for the 
fscher (which is documented in Documentation/hwmon/fscher) and the fscpos as I 
now have a better understanding of these 2 chips.

Once an alarm condition has been signaled, it needs to be reset by software 
otherwise the alarm will stay present even if there no longer is a cause.

I see 2 solutions for this:
1) clear an alarm when it gets read by userspace, assuming the chip will set it
    again if the condition prevails (I need to test if this is true)
2) make the fooX_alarm file rw and make a write of 0 from userspace clear it

I prefer 1), asumming my assumption is true.

Suggestions, comments, advice?

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] 6+ messages in thread

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

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-04  6:55 [lm-sensors] Howto handle alarms which need to be reset? Hans de Goede
2007-07-04  9:03 ` Hans de Goede
2007-07-05 12:46 ` Jean Delvare
2007-07-05 14:26 ` Hans de Goede
2007-07-05 16:01 ` Hans de Goede
2007-07-08 17:08 ` 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.