On Sat, Jan 2, 2010 at 11:12 PM, Bartłomiej Zimoń <uz...@o2.pl> wrote:
> Dnia 2 stycznia 2010 22:53 Richard Hughes <hughsi...@gmail.com> napisał(a):
>> 2010/1/2 Bartłomiej Zimoń <uz...@o2.pl>:
>> > I'm writing small kernel helper module to expose such info to userspace.
>> > What could be more prefferad to notify about suspend/resume: sysfs,procfs 
>> > or device file?
>>
>> sysfs, preferably using a uevent or one-value-per-file please.
> For now it is device file witch on event send event id.
> please look on discusion on today lkml topic: "userspace notification from 
> module"

As a side note: would it be possible for devkit-power to include the
timestamp of suspension with the resume signal so applications can
decide to invalidate caches etc. based on the time passed?

-- 
Patryk Zawadzki
_______________________________________________
devkit-devel mailing list
devkit-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/devkit-devel

Reply via email to