[Pkg-bluetooth-maintainers] Bug#498056: Can not control input_service via dbus

Joachim Breitner nomeata at debian.org
Sun Sep 7 09:50:12 UTC 2008


[CC’ing Valerio: see below, at the end for a change in bluez-utils API that affects remoko]

Hi,

Am Sonntag, den 07.09.2008, 09:40 +0200 schrieb Filippo Giunchedi:
> Start/Stop (and IsRunning FWIW) don't seem to be implemented, see
> hcid/dbus-service.c:
> 
> static DBusMessage *start(DBusConnection *conn,
>                         DBusMessage *msg, void *data)
> {
>         return g_dbus_create_error(msg,
>                         ERROR_INTERFACE ".Failed",
>                         strerror(EALREADY));
> }
> 
> static DBusMessage *stop(DBusConnection *conn,
>                         DBusMessage *msg, void *data)
> {
>         return g_dbus_create_error(msg,
>                         ERROR_INTERFACE ".Failed",
>                         strerror(EPERM));
> }
> 
> static DBusMessage *is_running(DBusConnection *conn,
>                                 DBusMessage *msg, void *data)
> {
>         DBusMessage *reply;
>         dbus_bool_t running = TRUE;
> 
>         reply = dbus_message_new_method_return(msg);
>         if (!reply)
>                 return NULL;
> 
>         dbus_message_append_args(reply,
>                         DBUS_TYPE_BOOLEAN, &running,
>                         DBUS_TYPE_INVALID);
> 
>         return reply;
> }
> 
> that explains the bug, unless I'm missing something of course :)

it does indeed, but then I wonder why this functionality is present in
an openembedded based image for the FreeRunner that runs (supposedly)
bluez-utils 3.23-r2, which is older than what’s in Debian, and I can not
find any patches regarding this...

And indeed, looking at:
http://shr.bearstech.com/sources/bluez-utils-3.23.tar.gz
The above code lines are filled with some functionality!

So looking in the changelog, I see:
ver 3.32:
	[..]
        Remove HAL support helpers.
        Remove inotify support.
        Remove service daemon activation handling.
        Remove uneeded D-Bus API extension.

Interesting. Do you have any idea why this was removed? Is there some
replacement functionality?

Greetings,
Joachim


-- 
Joachim "nomeata" Breitner
Debian Developer
  nomeata at debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: nomeata at joachim-breitner.de | http://people.debian.org/~nomeata
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.alioth.debian.org/pipermail/pkg-bluetooth-maintainers/attachments/20080907/7325b7d9/attachment-0001.pgp 


More information about the Pkg-bluetooth-maintainers mailing list