Hi. On Thu, 2005-03-10 at 01:02, Patrick Mochel wrote: > On Wed, 9 Mar 2005, Pavel Machek wrote: > > > On St 09-03-05 05:57:04, Patrick Mochel wrote: > > > > > > On Wed, 9 Mar 2005, Nigel Cunningham wrote: > > > > > > > <heresy> I wonder if using sysfs is even the best method for doing > > > > run-time PM. It will force your imaginary nice userspace interface to > > > > include code to scan the whole directory tree looking for files of each > > > > kind, perhaps sorting and collating and so on. Maybe a DBus interface > > > > would be better? </heresy> > > > > > > How does D-Bus communicate with the kernel? > > > > netlink, IIRC. No, I do not think we want to go that way. > > Is netlink bi-directional? I was under the impression that it was only for > receiving notifications from the kernel? It is bidirectional. Regards, Nigel -- Nigel Cunningham Software Engineer, Canberra, Australia http://www.cyclades.com Bus: +61 (2) 6291 9554; Hme: +61 (2) 6292 8028; Mob: +61 (417) 100 574 Maintainer of Suspend2 Kernel Patches http://suspend2.net