bluetoothd crashes after attempt to reconnect in -current
I got a Bluetooth keyboard that disconnects itself after a period of inactivity.
Someone rang the doorbell at home, I went to see who it was, and when I came back the screen was locked (after the timeout) as usual, but there was no way that my keyboard would reconnect. After I unlocked Plasma, it became apparent that the Bluetooth daemon was no longer running. After passing Code:
/etc/rc.d/rc.bluetooth restart The only clue I got were these two lines at /var/log/messages: Code:
apple 0005:05AC:024F.0009: input,hidraw5: BLUETOOTH HID v1.06 Keyboard [Keychron K10] on 30:24:32:bb:23:ac Did anyone else noticed this issue? Any hints on a workaround? I began to see this just after the updates of last week. EDIT: Even after today's update to bluez, the issue persists. |
Hi,
Maybe adding the file mentioned in this comment would help: https://www.linuxquestions.org/quest...9/#post6495638 If not try adding Code:
/etc/rc.d/rc.bluetooth restart -- ltlnx |
Quote:
However, my system did not go to sleep/hybernate. The screen was just locked out, but otherwise the system was fully active. The laptop was on AC power and the inactivity was of just a few minutes. Will keep looking for options. |
Unfortunately, even after the latest updates and the reversal of elogind to 252, I'm still experiencing this issue. I now have to keep open a root terminal just for restarting bluetoothd after crashing.
UPDATE: After some thinking it seems that the culprit is bluez. I'm downgrading to 5.73 to see if this fixes the issue. I didn't want to use 5.74 since it lasted only two days and then it was replaced by 5.75. Let's see what happens. |
Probably this https://github.com/bluez/bluez/issues/815. The good news is the fix is in, so 5.76 should fix it.
|
Quote:
Meanwhile, I can confirm that:
Therefore, barring an upcoming update, I respectfully request for bluez to be reverted to 5.73 until a suitable fix appears. Thanks!! |
Quote:
|
In today's ChangeLog:
Code:
n/bluez-5.75-x86_64-3.txz: Rebuilt. |
So far Bluetooth reconnect works again and no segfaults were apparent so far after upgrading to the patched bluez. So I'm marking this tentatively as solved.
Thank you Pat. Also thank you a lot @titopoquito for your instrctions regarding patching. I had no opportunity to apply them but they are very easy to follow and approachable. |
All times are GMT -5. The time now is 05:24 PM. |