[Kde-hardware-devel] Bluetooth support in Solid

Kevin Ottens ervin at kde.org
Tue Mar 27 19:16:19 CEST 2007


Le Lundi 26 Mars 2007, Daniel Gollub a écrit :
> After "pairing" the input devices will appears in /sys/class/input/... and
> HAL will pick them up... so they find their way into the
> Solid::DeviceManager. There is now a class called
> Solid::BluetoothInputManager and
> Solid::BluetoothInputDevice ... to manage and setup those "pairings" and
> connection with bluetooth input devices...

Perfect, that's the kind of behavior we should aim at IMO.

> About bluetooth audio integration i am not quite sure anymore... how this
> will appear in the system. Have to take a deeper look in phonon... how this
> fits with the BlueZ Audio DBus API and A2DP...
> http://bluetooth-alsa.sourceforge.net/
>
> Maybe we should arrange a IRC meeting with some bluetooth audio devels and
> the phonon, solid devels...

Sounds like a good idea.

> There is now a "simple" fakebluetooth backend... and unit test for
> bluetooth frontend.

Great!

> I also implemented some basic features in solidshell to 
> test... unfortunately the solidshell doesn't work well with the
> fakebluetooth backend... the XML properties file gets only parsed when the
> constructor got called. How do you solve this problem with the other
> fakebackends? For me it seems they are lacking on the same problem...

Sure, we have nothing to keep the state between solidshell calls for those 
backends. Hence why we have automated unit tests.

> Well .. there still some days left until kdelibs freeze ;P
> Most of the stuff is already done... so what about 4dotNULL?
> Two people already contacted me, which want to write GUIs on top of the
> bluetooth solid implementation ... i don't want to disappoint them and let
> them wait until 4.1 :P
>
> *begging*

Ok, I'll trust you on this one. I don't have hardware to test it anyway, and 
we've until october to polish this part. :-)

> (The bluez backend build is broken... will adapt it later to the latest API
> changes... but it includes the solidshell changes...)
> 
http://cryptomilch.de/~dgollub/KDE4/kdebase_solid_backend_bluez_20070326.diff
> http://cryptomilch.de/~dgollub/KDE4/kdelibs_solid_bluetoothmanagment_200703
>26.diff
>

*urgh* I notice bluez introspection is broken too...
/me would love D-Bus system services with non broken introspection
</rant>

Regards.
-- 
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."


More information about the Kde-hardware-devel mailing list