FS#57286 - [linux] kernel breaks bluetooth from 4.14-2 version

Attached to Project: Arch Linux
Opened by Sergey S (hxss) - Tuesday, 30 January 2018, 11:08 GMT
Last edited by Toolybird (Toolybird) - Sunday, 28 May 2023, 06:28 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

After updating kernel(4.13.12-1 -> 4.14-2) my bluetooth adapter stopped work.

My laptop: Lenovo Yoga 710-11isk 80TX: https://www3.lenovo.com/us/en/laptops/yoga/700-series/Yoga-710-11/p/88YG7000723#tab-techspec
My BT-adapter: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter (rev 30)

When I trying to power on bt-adapter, I receive this messages in journal:
2018-01-12T03:35:16+0500 lenovo kernel: Bluetooth: hci0 urb ffff9a901b8ed540 failed to resubmit (113)
2018-01-12T03:35:23+0500 lenovo bluetoothd[1636]: Failed to set mode: Failed (0x03)

More logs and hw-info: https://gist.github.com/hxss/ebe0b535a4d57cd25b0eae4b7afa9d44

This problem already was solved on Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1521080

And exist upstream bug report: https://bugzilla.kernel.org/show_bug.cgi?id=197941
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 28 May 2023, 06:28 GMT
Reason for closing:  No response
Additional comments about closing:  Plus it's old and stale. If still an issue, please follow up with upstream.
Comment by Sergey S (hxss) - Tuesday, 30 January 2018, 11:13 GMT
Now I'm on 4.14.15-1-ARCH and have same problem.
Comment by Jan Alexander Steffens (heftig) - Tuesday, 30 January 2018, 16:05 GMT
Do you have tlp installed or something else which messes with USB power management?
Comment by Sergey S (hxss) - Tuesday, 30 January 2018, 16:53 GMT
Yes, tlp is installed, enabled. Configured in accordance with wiki(https://wiki.archlinux.org/index.php/TLP).
systemd-rfkill.service and systemd-rfkill.socket was masked.

In rfkill all devices unblocked. I was try to block bluetooth and unblock - nothing happened.

I was try to unload btusb(modprobe -r btusb) and then load again - in this case adapter turns on, and I can search devices, but I can't connect to its.

The best solution for me - this command: sudo modprobe -r btusb; sudo rm -rf /var/lib/bluetooth; sudo modprobe btusb
I'm delete bluetooth settings with information about all paired devices and reload btusb. After this actions I can search, pair, connect to headset and activate a2dp on it.
But all this happiness is continues to the first reboot, then I again need to delete settings, search, pair, connect...

Or I can simply downgrade to 4.13.12-1 and all would work perfectly as it was. So the problem is not in the tlp(I also was try to delete it and enable rfkill - nothing happened).
Comment by Jan Alexander Steffens (heftig) - Tuesday, 30 January 2018, 16:57 GMT
The kernel bug suggests a workaround to keep tlp from touching the bluetooth controller.
Comment by Sergey S (hxss) - Tuesday, 30 January 2018, 17:30 GMT
Hm..You are right. I'm delete tlp just now and bluetooth start working.
Comment by Sergey S (hxss) - Saturday, 10 February 2018, 19:00 GMT
So what I need to do for using tlp with bluetooth on latest kernel?
Comment by Tomasz Cebula (tomaszc) - Thursday, 15 February 2018, 16:35 GMT
Do you know if this problem is the same as:
https://bbs.archlinux.org/viewtopic.php?id=232890
https://forum.manjaro.org/t/high-cpu-usage-on-kernel-4-14-and-4-15-from-systemd-udevd-which-seems-to-be-the-synaptic-touchpad-driver/35972
https://dev.solus-project.com/T5224

You can check this by installing bluez-hid2hci and rebooting the system.
Does systemd-udevd take up 100% CPU?
Comment by Sergey S (hxss) - Thursday, 15 February 2018, 19:04 GMT
Hi Tomasz. I don't think so. I didn't have high CPU load when bluez-hid2hci was installed. I was install it a few weeks ago when was trying to solve this problem(nothing was changed) and was delete this pkg yesterday.
Sometimes after wake up from suspend my touchpad doesn't work - cursor doesn't move, but I can click or tap, while the processor is not loaded more than usually. But I use synaptics driver. And I don't know source of the problem and don't have any messages in logs.
Comment by mattia (nTia89) - Sunday, 27 February 2022, 13:23 GMT
Is the issue still valid for you?

Loading...