signalling suspend/resume events (deviceKit-power)

Patryk Zawadzki patrys at
Sun Jan 10 10:10:54 PST 2010

On Sat, Jan 2, 2010 at 11:12 PM, Bartłomiej Zimoń <uzi18 at> wrote:
> Dnia 2 stycznia 2010 22:53 Richard Hughes <hughsient at> napisał(a):
>> 2010/1/2 Bartłomiej Zimoń <uzi18 at>:
>> > 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

More information about the devkit-devel mailing list