FS#57464 - [bluez] Bluez 5.48-1 bug: can't use headset after suspend/hibernate

Attached to Project: Arch Linux
Opened by Sergey S (hxss) - Saturday, 10 February 2018, 18:58 GMT
Last edited by Andreas Radke (AndyRTR) - Sunday, 11 February 2018, 09:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

After upgrading bluez stack(bluez, bluez-libs, bluez-utils 5.47-3 -> 5.48-1) I can't use headset on wakeuped system.

I receive this messages in journal, when headset trying to connect to PC:

2018-02-10T22:50:20+0500 lenovo pulseaudio[800]: E: [pulseaudio] backend-native.c: Device doesnt exist for /org/bluez/hci0/dev_00_24_BE_8B_5F_44
2018-02-10T22:50:20+0500 lenovo bluetoothd[587]: Headset Voice gateway replied with an error: org.bluez.Error.InvalidArguments, Unable to handle new connection
2018-02-10T22:50:20+0500 lenovo pulseaudio[800]: E: [pulseaudio] backend-native.c: Device doesnt exist for /org/bluez/hci0/dev_00_24_BE_8B_5F_44
2018-02-10T22:50:21+0500 lenovo bluetoothd[587]: Headset Voice gateway replied with an error: org.bluez.Error.InvalidArguments, Unable to handle new connection
2018-02-10T22:50:23+0500 lenovo pulseaudio[800]: E: [pulseaudio] bluez5-util.c: Information about device /org/bluez/hci0/dev_00_24_BE_8B_5F_44 is invalid
2018-02-10T22:50:23+0500 lenovo bluetoothd[587]: Endpoint replied with an error: org.bluez.Error.InvalidArguments
2018-02-10T22:50:24+0500 lenovo dbus-daemon[255]: [system] Rejected send message, 1 matched rules; type="method_return", sender=":1.41" (uid=1000 pid=800 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.25" (uid=0 pid=587 comm="/usr/lib/bluetooth/bluetoothd ")
2018-02-10T22:50:26+0500 lenovo pulseaudio[800]: E: [pulseaudio] bluez5-util.c: Information about device /org/bluez/hci0/dev_00_24_BE_8B_5F_44 is invalid
2018-02-10T22:50:26+0500 lenovo bluetoothd[587]: Endpoint replied with an error: org.bluez.Error.InvalidArguments
2018-02-10T22:50:27+0500 lenovo dbus-daemon[255]: [system] Rejected send message, 1 matched rules; type="method_return", sender=":1.41" (uid=1000 pid=800 comm="/usr/bin/pulseaudio --daemonize=no ") interface="(unset)" member="(unset)" error name="(unset)" requested_reply="0" destination=":1.25" (uid=0 pid=587 comm="/usr/lib/bluetooth/bluetoothd ")

More info about this bug in this thread:
https://www.spinics.net/lists/linux-bluetooth/msg73824.html
And here:
https://bugzilla.suse.com/show_bug.cgi?id=1076898
And possible solution:
https://www.spinics.net/lists/linux-bluetooth/msg74132.html
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Sunday, 11 February 2018, 09:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  apllied to 5.48-2
Comment by loqs (loqs) - Saturday, 10 February 2018, 19:05 GMT
Have you tried the patch yourself to verify it resolves the issue?
Comment by Sergey S (hxss) - Saturday, 10 February 2018, 19:40 GMT
I tested just now bluez-git(1:5.48.r62.gb83b171ca-1) from aur(https://aur.archlinux.org/packages/bluez-git/).
It works. Problem solved.
(I don't know how to apply patch to the extra/bluez pkg)
Comment by loqs (loqs) - Saturday, 10 February 2018, 20:03 GMT Comment by Sergey S (hxss) - Saturday, 10 February 2018, 20:03 GMT
I applied patch to extra/bluez 5.48-1. Yes, it works too and it solve problem.
Comment by Sergey S (hxss) - Saturday, 10 February 2018, 20:04 GMT
Thanks loqs, I already found instruction(https://wiki.archlinux.org/index.php/Patching_packages) :)

Loading...