Update on DeviceKit

Marcel Holtmann marcel at holtmann.org
Wed May 7 02:02:36 PDT 2008


Hi David,

> ---------
> DeviceKit
> ---------
> 
> This is a simple system service that a) can enumerate devices; b) emits
> signals when devices are added removed; c) provides a way to merge
> device information / quirks onto devices. And that's it. A device is
> identified by a) the native OS-specific path (on Linux a sysfs path); b)
> an optional UNIX device file; and c) key/value pairs describing the
> device. It's a very simple service, a bit like what HAL is today without
> all the probers/callouts

do we really have to use dbus-glib and GObject inside this daemon. I
would prefer if we can keep the dependencies to GLib and D-Bus low-level
and then use something like libgdbus as D-Bus helper library (or even
embed it).

I personally think that GObject should only be used in UI applications
and not within system daemons. Especially when I look into the embedded
world, it would make sense to keep the dependencies really small and
give people a chance to use something like Embedded-GLib (eglib) if they
have limited resources, but still wanna use standard technology like
D-Bus and HAL/DeviceKit for most tasks and not invent everything over
and over again.

Regards

Marcel




More information about the hal mailing list