The current version does, though:

$ find -name '*.c' | xargs grep -i 'hal' |egrep -v 'marshal|half'
./lib/bluetooth-killswitch.c:#include <hal/libhal.h>
./lib/bluetooth-killswitch.c:   LibHalContext *halctx;
./lib/bluetooth-killswitch.c:           message = dbus_message_new_method_call 
("org.freedesktop.Hal",
./lib/bluetooth-killswitch.c:                                                   
"org.freedesktop.Hal.Device.KillSwitch",
./lib/bluetooth-killswitch.c:           message = 
dbus_message_new_method_call("org.freedesktop.Hal",
./lib/bluetooth-killswitch.c:                                                  
"org.freedesktop.Hal.Device.KillSwitch",
./lib/bluetooth-killswitch.c:   type = libhal_device_get_property_string 
(priv->halctx,
./lib/bluetooth-killswitch.c:   message = dbus_message_new_method_call 
("org.freedesktop.Hal",
./lib/bluetooth-killswitch.c:                                           
"org.freedesktop.Hal.Device.KillSwitch",
./lib/bluetooth-killswitch.c:   priv->halctx = libhal_ctx_new();
./lib/bluetooth-killswitch.c:   if (priv->halctx == NULL) {
./lib/bluetooth-killswitch.c:   if 
(libhal_ctx_set_dbus_connection(priv->halctx, priv->connection) == FALSE) {
./lib/bluetooth-killswitch.c:           libhal_ctx_free(priv->halctx);
./lib/bluetooth-killswitch.c:           priv->halctx = NULL;
./lib/bluetooth-killswitch.c:   if (libhal_ctx_init(priv->halctx, NULL) == 
FALSE) {
./lib/bluetooth-killswitch.c:           g_printerr("Couldn't init HAL 
context\n");
./lib/bluetooth-killswitch.c:           libhal_ctx_free(priv->halctx);
./lib/bluetooth-killswitch.c:           priv->halctx = NULL;
./lib/bluetooth-killswitch.c:   list = 
libhal_find_device_by_capability(priv->halctx, "killswitch", &num, NULL);
./lib/bluetooth-killswitch.c:           libhal_free_string_array (list);
./lib/bluetooth-killswitch.c:   if (priv->halctx != NULL) {
./lib/bluetooth-killswitch.c:           libhal_ctx_shutdown(priv->halctx, NULL);
./lib/bluetooth-killswitch.c:           libhal_ctx_free(priv->halctx);
./lib/bluetooth-killswitch.c:           priv->halctx = NULL;

But of course this needs to be rewritten to use udev at some point.

** Changed in: gnome-bluetooth (Ubuntu)
       Status: New => Triaged

** Summary changed:

- gnome-bluetooth doesn't depend on HAL
+ port killswitch handling from hal to udev

-- 
port killswitch handling from hal to udev
https://bugs.launchpad.net/bugs/418401
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to