Bug 299377 - Bluetooth a2dp setting will not be assumed
Summary: Bluetooth a2dp setting will not be assumed
Status: RESOLVED NOT A BUG
Alias: None
Product: Phonon
Classification: Frameworks and Libraries
Component: settings (show other bugs)
Version: 4.6.0
Platform: Ubuntu Linux
: NOR major
Target Milestone: 4.6.1
Assignee: Harald Sitter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-04 15:51 UTC by stoffel.010170
Modified: 2012-05-18 14:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
bluedevil (57.08 KB, image/png)
2012-05-11 15:45 UTC, Harald Sitter
Details
preference (106.86 KB, image/png)
2012-05-11 15:47 UTC, Harald Sitter
Details
setup (75.11 KB, image/png)
2012-05-11 15:47 UTC, Harald Sitter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description stoffel.010170 2012-05-04 15:51:35 UTC
Unter "Einrichtung der Audio-Hardware" wird die Auswahl der Soundkarte nicht übernommen, wenn ein Bluetooth Device ausgewählt wird. Der Test bzgl. der "Lautsprecheraufstellung und Probehören" funktioniert noch über das Bluetooth Headset (a2dp). Aber nach drücken von OK/Anwenden wird als Device wieder die Standard Soundkarte (OnBoard) genommen.  
System: Ubuntu 12/04 
KDE: 4.8.1 - 4.8.2 
täglich aktualisiert.

I try it in English again ;) : After select my bluetooth headset as a default sound card, phonon fallback always to the on board default sound card. There is no way to use my bluetooth headset Nokia BH 905 as an output device.  The strange is that I can test the bluetooth headset in phonon, but after I try to accept the settings phone always fallback to the default hardware. 

Reproducible: Always

Steps to Reproduce:
1.Auswahl im kmix "Audio-Einstellungen"
2."Einrichtung der Audio-Hardware" -> Soundkarte Nokia BH-905 
3."Profile" -> High Fidelity Playback (A2DP)
4. "OK"
Actual Results:  
default sound card will be used (on board) but not the selected bluetooth device <-> fallback always to the default sound card. No change to use the bluetooth device for sound output/input

Expected Results:  
sound output via bluetooth device

Ubuntu 12/04, KDE 4.8 (daily upgrades !)
Comment 1 stoffel.010170 2012-05-04 15:53:12 UTC
dpkg -l |grep phonon
ii  libphonon-dev                                    4:4.7.0really4.6.0-0ubuntu1             multimedia framework from KDE - development files
ii  libphonon4                                       4:4.7.0really4.6.0-0ubuntu1             multimedia framework from KDE - core library
ii  phonon                                           4:4.7.0really4.6.0-0ubuntu1             multimedia framework from KDE - metapackage
ii  phonon-backend-gstreamer                         4:4.7.0really4.6.0-0ubuntu1             Phonon GStreamer 0.10.x backend
Comment 2 Myriam Schweingruber 2012-05-05 02:28:51 UTC
Did you try configuring the headset in Pulseaudio? You need pavucontrol or the veromix plasmoid for that.
Comment 3 stoffel.010170 2012-05-07 16:49:15 UTC
Mit pavucontrol funkt es ;) . 

Der Bug für Phonon bleibt des wegen aber trotzdem. 

Danke erstmal für den Workaround.
Comment 4 Myriam Schweingruber 2012-05-08 02:04:40 UTC
Thank you for the feedback. Please use English only in bug reports, most people reading this will not understand German.

Since you are using Pulseaudio you are not supposed to do these configurations elsewhere than in Pulseaudio. It would be another matter if you weren't using PA.
Comment 5 stoffel.010170 2012-05-11 15:22:01 UTC
I never configure anything in PA config files before. In the past I configure my bluetooth device directly via bluetooth and alsa/a2dp config files. Since the last 3 Ubuntu releases I always configure my bluetooth headset via gnome/kde audio frontends (Phonon or the gnome based tool ) . 
This works fine until my last update to Ubuntu 12/04 and KDE 4.8.X. Maybe it is a Ubuntu problem, I don't know...
Comment 6 Harald Sitter 2012-05-11 15:45:45 UTC
Created attachment 71024 [details]
bluedevil
Comment 7 Harald Sitter 2012-05-11 15:47:19 UTC
Created attachment 71025 [details]
preference
Comment 8 Harald Sitter 2012-05-11 15:47:47 UTC
Created attachment 71026 [details]
setup
Comment 9 Harald Sitter 2012-05-11 15:52:11 UTC
I just set this up and it works fine...

you connect to the device using bluedevil, on the phonon side you set it as perferred device and in the setup tab you make sure that a2dp is used for the device.

beware that the setup tab does nothing but change *how* the device works (i.e. in the case of the 905 whether to run in a2dp or headset mode) only the preference tab decides *which* device is used.

also on a general note. when phonon is built with pulse support those two tabs are equivalent to what pavucontrol does, so there is no need ot use pavucontrol at all.
Comment 10 stoffel.010170 2012-05-12 13:09:16 UTC
Yes, that's the way it should works. But if I try it, Phonon always do not apply my settings and fallback to the default sound device.  
I update kde to version 4.8.3 next week and test it again. ;)

thx
Comment 11 Harald Sitter 2012-05-12 13:26:46 UTC
or you could get a debug log of dragon or somesuch phonon application 
http://techbase.kde.org/Development/Tutorials/Debugging/Phonon#Environment_Variables

mind particularly the pulseaudio variable

it might give us a clue as to why it is not working for you
Comment 12 stoffel.010170 2012-05-18 14:50:57 UTC
after update pulseaudio to version 2.0 (ppa) . Now bluetooth device work via phonon but setting still fallback to default (build-in) audio device.
Comment 13 stoffel.010170 2012-05-18 14:59:28 UTC
Strange behaviour,  but the workaround is good enough for me. 

The bug still exist also in kde 4.8.3 under Ubuntu 12/04 on different hardware. For me it is an eye candy bug, now. But for the rest maybe a real bug. 
Only bluetooth headset affected with USB sound devices everything works fine.