I have a bug that bothers me every time with my bluetooth mouse. After I leave my laptop idle for more than 5 minutes or I enter suspend mode my mouse stops working. The only way to make it work again is to remove the device, toggle bluetooth off and on and add my mouse again.
If I try to re-connect/re-add the mouse without turning the bluetooth off and on blueman-manager says this: Connection Failed: Input/output error
.
Currently I'm running the liquorix kernel 5.15.0-12.2-liquorix-amd64
but the issue also happens with the generic one.
journalctl -xe /usr/lib/bluetooth/bluetoothd
returns the following output when trying to connect to my bluetooth mouse:
Jan 08 16:02:23 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Bluetooth daemon 5.53
Jan 08 16:02:23 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Starting SDP server
Jan 08 16:02:23 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Bluetooth management interface 1.21 initialized
Jan 08 16:02:27 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.44 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 16:02:27 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.44 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 16:02:32 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.44 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 16:02:32 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.44 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 16:02:32 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.57 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 16:02:32 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.57 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 17:58:52 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.57 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 17:58:52 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.57 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 17:58:52 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.205 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 17:58:52 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.205 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 18:27:13 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Disconnecting failed: already disconnected
Jan 08 18:29:26 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Can't get HIDP connection info
Jan 08 18:29:33 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.205 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 18:29:33 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.205 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 18:29:33 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.241 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 18:29:33 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.241 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 19:39:21 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Can't get HIDP connection info
Jan 08 19:39:35 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.241 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 19:39:35 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.241 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 19:39:35 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.446 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 19:39:35 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.446 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 19:59:22 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.446 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 19:59:22 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.446 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 19:59:22 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.574 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 19:59:22 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.574 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 21:17:19 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Can't get HIDP connection info
Jan 08 21:17:24 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.574 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 21:17:24 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.574 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 21:17:24 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.850 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 21:17:24 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.850 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 21:21:48 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.850 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 21:21:48 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.850 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 21:21:48 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.884 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 21:21:48 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.884 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 23:14:17 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.884 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 23:14:17 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint unregistered: sender=:1.884 path=/MediaEndpoint/A2DPSource/sbc
Jan 08 23:14:18 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.967 path=/MediaEndpoint/A2DPSink/sbc
Jan 08 23:14:18 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1109]: Endpoint registered: sender=:1.967 path=/MediaEndpoint/A2DPSource/sbc
-- Reboot --
Jan 09 11:24:43 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Bluetooth daemon 5.53
Jan 09 11:24:44 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Starting SDP server
Jan 09 11:24:44 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Bluetooth management interface 1.21 initialized
Jan 09 11:24:48 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Endpoint registered: sender=:1.38 path=/MediaEndpoint/A2DPSink/sbc
Jan 09 11:24:48 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Endpoint registered: sender=:1.38 path=/MediaEndpoint/A2DPSource/sbc
Jan 09 11:25:01 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Endpoint unregistered: sender=:1.38 path=/MediaEndpoint/A2DPSink/sbc
Jan 09 11:25:01 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Endpoint unregistered: sender=:1.38 path=/MediaEndpoint/A2DPSource/sbc
Jan 09 11:25:01 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Endpoint registered: sender=:1.58 path=/MediaEndpoint/A2DPSink/sbc
Jan 09 11:25:01 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Endpoint registered: sender=:1.58 path=/MediaEndpoint/A2DPSource/sbc
Jan 09 11:30:40 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Can't get HIDP connection info
Jan 09 11:30:45 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: connect error: Connection reset by peer (104)
Jan 09 11:37:01 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Can't get HIDP connection info
Jan 09 11:37:07 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: connect error: Host is down (112)
Jan 09 11:37:48 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: Can't get HIDP connection info
Jan 09 11:37:53 nitanmarcel-TUF-Gaming-FX505DT-FX505DT bluetoothd[1112]: connect error: Host is down (112)