[Kde-hardware-devel] KDED for bluetooth (bluedevil)

Eduardo Robles Elvira edulix at gmail.com
Thu Mar 4 11:20:37 CET 2010


On Wed, Mar 3, 2010 at 8:54 PM, Alex Fiestas <alex at eyeos.org> wrote:
> Update of the BlueDevil status:
> The code has been tested quite a lot (we're 2 with it and 0 crashes so far).
> Some "finish" polishing has been done (like kill the helper when the
> notification goes out) etc.
>
> There is only one remaining point, is be able to setup the notifications
> properly so they can't be switched off (notifications are the interface of
> BlueDevil, you don't want to turn of all of them, probably some of them only).
>
> What next?
> I'll move it to playground this weekend, so we can start a metalworkers review
> before move it to kdereview.
>
> Cya!

Hello everyone!

We've been having one problem so far related to file transfer and
obex-data-server. In the kded we listen for new incoming file
transfers, and when one happens we send the information about that
file transfer session to a dbus-service that autostarts and deals with
it. So far so good, but it seems that obex-data-server doesn't like
dealing with multiple processes in this case: one is the kded, which
connects first to org.openobex.Manager for creating a bluetooth
server, and then when the server is created it connects with the
sessionCreated/sessionRemoved/errorOccured signals. Then there is the
bluetooth-helper, which connects to the org.openobex.ServerSession
when the kded tells it to do so. If I connect with the
org.openobex.ServerSession inside the kded without a helper,
everything works. Thing is, that's not the kded job..

In dbus monitor I don't get any org.freedesktop.X "do not have
permissions" signal so this doesn't seem to be a dbus-policy problem.
Instead, I get Cancelled+Disconnected signals in my
org.openobex.ServerSession, but then the transfer gets started, and I
get an org.openobex.Error.NotAuthorized answer to the Accept dbus
method call in the org.openobex.ServerSession. It's quite chaotic. I'm
going to ask to obex-data-server people to see what they can tell me.
Hope to have news soon in this front. Or maybe any of you know what
could be happening?

Regards,
       Eduardo Robles Elvira.


More information about the Kde-hardware-devel mailing list