tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: regression (crash) in sysmon/acpiacad



paul%whooppee.com@localhost said:
> We already have a Poll timer, but it is only 30 seconds.

I'd add the timestamp on data values at a higher level, as
a general envsys property. This way all the "give me a data
value which is not older than xxx" can be handled early,
without even bothering the driver if a recent value is present.

> I don't know
> how ofter we should expect a Notify event, but I bet that it doesn't
> happen every 30 sec!

I didn't check in detail, but for the battery I'd only expect
Notify events on insertion/removal. Additionally when hitting
a critical limit, if _BTP was called before. Certainly not
on minor changes of the charge level.

best regards
Matthias



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index