Update on DeviceKit
David Zeuthen
david at fubar.dk
Wed May 7 09:03:01 PDT 2008
On Wed, 2008-05-07 at 12:58 +0200, Holger Macht wrote:
> Hi David,
>
> good to hear some news ;-)
>
> On Wed 07. May - 03:40:04, David Zeuthen wrote:
> [...]
> > Also, we need subsystem daemons for USB and for power management. For
> > PM, I have some code lying around that I never put in git. I'm going to
> > try and clean it up over the next week or so and post it here.
>
> Can you give me a short hint what your PM code includes? I already took a
> look at DeviceKit and already tought about the conversion of the PM bits.
Yeah, it's basically just
- an XML file describing the interface, just like this
http://gitweb.freedesktop.org/?p=users/david/DeviceKit-disks.git;a=blob;h=f961193583407444a4452773e9fe032797b699a7;hb=61fd98cfa4478e4a564b5cf225e4100f002ee650;f=src/org.freedesktop.DeviceKit.Disks.Device.xml
- which is used to autogenerate something like this
http://hal.freedesktop.org/docs/DeviceKit-disks/Device.html
- Some daemon code just like in DeviceKit-disks to trawl sysfs values
and set properties.
It's really simple and clean code. The code is on some machine at home
powered off (I haven't touched it for several weeks); let me clean it up
and post it tonight or tomorrow.
David
More information about the hal
mailing list