device model wakeup

Johannes Berg johannes at sipsolutions.net
Sat May 5 03:57:09 PDT 2007


On Thu, 2007-04-12 at 16:07 -0400, David Zeuthen wrote:

> So I think if this is the case we just introduce a new capability
> "wakeup" along with an interface with two methods
> 
>  bool org.freedesktop.Hal.Device.Wakeup.GetWakeUp()
>  void org.freedesktop.Hal.Device.Wakeup.SetWakeUp(bool should_wakeup)
> 
> and then gpm, kpowersave and other policy agents can present a nice UI
> around that for common devices like keyboards / mice etc.? Would that
> work?

So I tried looking at the code but didn't really get far. Should I be
adding this to hotplug_event_begin_add_dev? Or what other place has a
chance to poke at all possible devices?

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20070505/b586fd0e/attachment.pgp


More information about the hal mailing list