Closed kugiigi closed 3 years ago
Observed the same on turbo.
I can confirm this on the Nexus 5. It seems that audio routing is switched away from Bluetooth properly but not back to it. Closing and reopening the app playing sound will fix the issue, but that's annoying.
Hello! I have same problem on my meizu pro 5 ubuntu 16.04 stable OTA-8. I am using Caraudio bluetooth from Belkin. First connection - ok, after off car and start again second connection with meizu bluetooth - no. I am just rebooting ubuntu and conection - ok.
Same problem on mako, nexus 4 .. youtube does this and i have to reaload app if i turn off bluetooth and back on again... close it and open again to re-bluetooth audio.
I have pushed the latest version (5.50) of bluez to xenial_-_new-bluez please try this to see if it fixes the issue :)
sudo ubports-qa install xenial_-_new-bluez
I have the same witha nexus 5. starts and works fine when first pair. switch van off and it seems that the phone becomes the receiver not the emitter.
The van cant find phone and phone says it is connected to van.
deleting phone from van doesn't work. have to make phone forget van.
Tested on N5 hammerhead today. Running devel 20200602-30971.
Booted device. Established connection to external BT speaker Bose SoundLink Mini Started playing song from Cloud Music app. Sound played on Bose speaker. Broke BT connection from settings>Bluetooth menu. Reconnected to Bose speaker + hit 'play.
The sound now came from the device.
Closed app. Reopened app, found song, hit 'play'.
The song still played from the device, even though the speaker was connected.
I then switched off Bose speaker. Connected device to Philips Sound Bar (HTL9100). Hit play in the still open Sound Cloud app. The sound played on the Philips speakers. Broke BT connection from menu again. Reestablished connection. Hit play in app. Now the sound came from the device. Closed app Reopened app. Found song again and hit play. This time the sound came from the Philips speakers again.
Tested once more on Nexus 5. This time I did the test on two different cars, attempting to make phone calls from these. I also played music in one of them. Here are the steps I did and results:
Next I switched cars.
I will send you the logs, @peat-psuwit. Hope this helps!
Confirmed also, I need to Close App AND Force Disconnect the Bluetooth Headset from the Setttings specifically. Any other combination fails to play sound on the reconnected headset.
Sucessfull Bluetooth Headset Recconnect: Close app, Force disconnect bluetooth headset from Ubuntu Touch Settings, Leave headset powered on, Force reconnect bluetooth headset from Ubuntu Touch Settings, Reopen app: Sound from bluetooth headset. Menu Path used: Ubuntu Touch --> System Settings --> Bluetooth --> Select Bluetooth Headset --> Disconnect. Reconnect by re-choosing device after disconnected. Would probably work if bluetooth headset was powered down also after forcing disconnect, but it seems to be the forcing the disconnect from the OS that fixes the problem.
I would guess that the forcing disconnect from OS is doing an internal resetting step that is missing from the auto-disconnect when the device is powered down.
IMPORTANT: Note my Failed Test 5! It seems that when bluetooth is connected but not playing sound, that the OS is messed up concerning the bluetooth connection because the OS failed to reboot and I had to force it and it is now messed up.
Failed Test 1: Powercycle Headset, THEN Restart app after headset reconnects Headset connected, App open, Close app, Reopen app: Sound from Phone.
Failed Test 2: Power cycle bluetooth headset App opened and leave it open, Headset connected, Powerdown headset, Bluetooth disconnects automatically, Powerup headset, Bluetooth recconnects automatically: Sound from Phone.
Failed Test 3: Restart app and power cycle bluetooth headset App opened, Headset connected, Close app, Powerdown Headset, Bluetooth disconnects automatically, Powerup headset, Bluetooth recconnects automatically, Reopen app: Sound from Phone.
Failed Test 4: Power cycle headset only while it is playing correctly, bluetooth automatically disconnects. After the headset rautomatically recconnects, sound plays from the phone.
Failed Test 5: Power off phone with the bluetooth connected but not correctly playing sound, phone failed to reboot, seemed frozen on black screen off, but was actually still connected to the headset. I had to force it to reboot into bootloaded and now the screen is offset from the touch... to be continued.
Nexus 5 Ubuntu Touch 16.04 LTS OS Build Number: 2020-06-16 UBports Image part: 20200615-3756 Audio Apps Tested: Podbird & UTmedia video
So it seems that if I powercycle the bluetooth headset (thus the OS automatically disconnects it reconnects it), it reconnects bluetooth but the sound is incorrectly playing from the phone and not the headset. If I reboot the OS with the headset still powered on and incorrectly connected, the OS sometimes starts with the screen offset upwards by about 20% but not the touch. After screen lock timeout, the offset seems to autocorrect. However, if I powercycle the headset AFTER the phone restart, it recconnects but does not play sound.
Working Workaround: In ALL cases, if I force disconnect the bluetooth headset and force recconnect it from Ubuntu Touch OS Settings AND start the sound app after the OS based forced recconnection, the sound correctly plays from the bluetooth headset.
Failed Test 6: Force disconnect and reconnect bluetooth headset leaving App open. Connect headset, open app, sound playing from headset, pause music, manually force headset disconnect from OS settings, leave headset powered on, manually force reconnect headset, play music, sound playing from phone.
Call for testing: Pulseaudio Bluetooth headset audio routing (if you still follow this bug) Please install the PR then reboot. Follow the test plan here: https://wiki.ubuntu.com/Process/Merges/TestPlan/pulseaudio
sudo mount -t tmpfs tmpfs /var/cache/apt/archives
sudo ubports-qa install pulseaudio-packaging 5
sudo reboot
I have a question about this. This is for audio routing for calls or also for music app?
If you read the initial comment its about music playback. I dont think anybody would take off and reattach the BT headset during a call, so nobody tried. But it will be a similar issue. Though much harder to fix ;)
Device: VollaPhone Channel: RC Build: 2020-W43
Steps processed
Remarks:
Result: Works as expected.
Many thanks.
Steps to reproduce
Expected behavior
The song continues to play in the bluetooth headset
Actual behavior
The song plays in the speaker instead
Logfiles and additional information
This wasn't an issue before. Not sure if it only started in xenial but it really did work fine in vivid. Restarting the music app makes it work again.