Hi Dániel, On Wed, Jun 24, 2020 at 3:05 PM Lévai, Dániel <leva@xxxxxxxxxxx> wrote: > > Hi list! > > First post here, be gentle :) > > So I'm having these bluetoothd crashes when I turn on my Logitech MX Keys keyboard. It lasts for a while, meaning it crashes, then systemd starts it up again, then crashes again, etc... For about 1-2 minutes, then it "settles" (I don't know how else to put it, but as long as I keep pressing buttons and the keyboard reconnects, the crashes stop after a while, usually after about 1-2 minutes). > I'm using aarch64 (ARMv8) on a raspberry pi 4 and Manjaro Linux (Arch-based) with bluez-5.54: > 5.7.3-1-MANJARO-ARM #1 SMP PREEMPT Wed Jun 17 13:20:14 CDT 2020 aarch64 GNU/Linux > > Here's the backtrace: > Core was generated by `/usr/lib/bluetooth/bluetoothd'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 queue_remove (queue=0x559c1b6d40, data=data@entry=0x559c1c7d00) at src/shared/queue.c:259 > 259 continue; > (gdb) list > 254 return false; > 255 > 256 for (entry = queue->head, prev = NULL; entry; > 257 prev = entry, entry = entry->next) { > 258 if (entry->data != data) > 259 continue; > 260 > 261 if (prev) > 262 prev->next = entry->next; > 263 else > (gdb) bt > #0 queue_remove (queue=0x559c1b6d40, data=data@entry=0x559c1c7d00) at src/shared/queue.c:259 > #1 0x000000558fc4f928 in enable_ccc_callback (opcode=<optimized out>, pdu=<optimized out>, length=<optimized out>, user_data=0x559c1c7d00) at src/shared/gatt-client.c:1627 > #2 0x000000558fc4947c in disc_att_send_op (data=0x559c1a6c30) at src/shared/att.c:417 > #3 0x000000558fc43c18 in queue_remove_all (queue=<optimized out>, function=function@entry=0x0, user_data=user_data@entry=0x0, destroy=destroy@entry=0x558fc49450 <disc_att_send_op>) at src/shared/queue.c:353 > #4 0x000000558fc4b7b8 in disconnect_cb (io=<optimized out>, user_data=0x559c1bbe00) at src/shared/att.c:635 > #5 0x000000558fc586e8 in watch_callback (channel=<optimized out>, cond=<optimized out>, user_data=<optimized out>) at src/shared/io-glib.c:170 > #6 0x0000007fb94ed66c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 > #7 0x0000007fb94edaf8 in ?? () from /usr/lib/libglib-2.0.so.0 > #8 0x0000007fb94edf00 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 > #9 0x000000558fc58e78 in mainloop_run () at src/shared/mainloop-glib.c:79 > #10 0x000000558fc59394 in mainloop_run_with_signal (func=<optimized out>, user_data=0x0) at src/shared/mainloop-notify.c:201 > #11 0x000000558fba2c3c in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:770 > (gdb) bt full > #0 queue_remove (queue=0x559c1b6d40, data=data@entry=0x559c1c7d00) at src/shared/queue.c:259 > entry = <error reading variable entry (Cannot access memory at address 0x59)> > prev = 0x51 > #1 0x000000558fc4f928 in enable_ccc_callback (opcode=<optimized out>, pdu=<optimized out>, length=<optimized out>, user_data=0x559c1c7d00) at src/shared/gatt-client.c:1627 > notify_data = 0x559c1c7d00 > att_ecode = <optimized out> > __PRETTY_FUNCTION__ = "enable_ccc_callback" > #2 0x000000558fc4947c in disc_att_send_op (data=0x559c1a6c30) at src/shared/att.c:417 > op = 0x559c1a6c30 > #3 0x000000558fc43c18 in queue_remove_all (queue=<optimized out>, function=function@entry=0x0, user_data=user_data@entry=0x0, destroy=destroy@entry=0x558fc49450 <disc_att_send_op>) at src/shared/queue.c:353 > tmp = 0x559c1b14a0 > entry = 0x0 > count = 9 > #4 0x000000558fc4b7b8 in disconnect_cb (io=<optimized out>, user_data=0x559c1bbe00) at src/shared/att.c:635 > chan = 0x559c1bbe00 > att = 0x559c1c8890 > err = 110 > len = 4 > #5 0x000000558fc586e8 in watch_callback (channel=<optimized out>, cond=<optimized out>, user_data=<optimized out>) at src/shared/io-glib.c:170 > watch = <optimized out> > result = <optimized out> > destroy = <optimized out> > #6 0x0000007fb94ed66c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 > No symbol table info available. > #7 0x0000007fb94edaf8 in ?? () from /usr/lib/libglib-2.0.so.0 > No symbol table info available. > #8 0x0000007fb94edf00 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 > No symbol table info available. > #9 0x000000558fc58e78 in mainloop_run () at src/shared/mainloop-glib.c:79 > No locals. > #10 0x000000558fc59394 in mainloop_run_with_signal (func=<optimized out>, user_data=0x0) at src/shared/mainloop-notify.c:201 > data = 0x559c199170 > io = 0x559c19a330 > ret = <optimized out> > #11 0x000000558fba2c3c in main (argc=<optimized out>, argv=<optimized out>) at src/main.c:770 > context = <optimized out> > err = 0x0 > sdp_flags = <optimized out> > gdbus_flags = <optimized out> > __func__ = "main" > > > And here's the log from bluetoothd while this happens: > Jun 24 22:39:01 hostname bluetoothd[434271]: Read Report Reference descriptor failed: Request attribute has encountered an unlikely error > Jun 24 22:39:01 hostname bluetoothd[434271]: Read Report Reference descriptor failed: Request attribute has encountered an unlikely error > Jun 24 22:39:01 hostname bluetoothd[434271]: Read Report Reference descriptor failed: Request attribute has encountered an unlikely error > Jun 24 22:39:01 hostname bluetoothd[434271]: Read Report Reference descriptor failed: Request attribute has encountered an unlikely error > Jun 24 22:39:01 hostname bluetoothd[434271]: Read Report Reference descriptor failed: Request attribute has encountered an unlikely error > Jun 24 22:39:01 hostname bluetoothd[434271]: Read Report Reference descriptor failed: Request attribute has encountered an unlikely error > Jun 24 22:39:01 hostname bluetoothd[434271]: Protocol Mode characteristic read failed: Request attribute has encountered an unlikely error > Jun 24 22:39:02 hostname systemd[1]: bluetooth.service: Main process exited, code=dumped, status=11/SEGV > Jun 24 22:39:02 hostname systemd[1]: bluetooth.service: Failed with result 'core-dump'. > Jun 24 22:39:02 hostname systemd[1]: bluetooth.service: Scheduled restart job, restart counter is at 1. > Jun 24 22:39:02 hostname systemd[1]: Stopped Bluetooth service. > Jun 24 22:39:02 hostname systemd[1]: Starting Bluetooth service... > Jun 24 22:39:02 hostname bluetoothd[436294]: Bluetooth daemon 5.54 > Jun 24 22:39:02 hostname systemd[1]: Started Bluetooth service. > Jun 24 22:39:02 hostname bluetoothd[436294]: Starting SDP server > Jun 24 22:39:02 hostname bluetoothd[436294]: Bluetooth management interface 1.16 initialized > Jun 24 22:39:02 hostname bluetoothd[436294]: Failed to set privacy: Rejected (0x0b) > Jun 24 22:39:02 hostname bluetoothd[436294]: Endpoint registered: sender=:1.53 path=/MediaEndpoint/A2DPSink/sbc > Jun 24 22:39:02 hostname bluetoothd[436294]: Endpoint registered: sender=:1.53 path=/MediaEndpoint/A2DPSource/sbc > Jun 24 22:39:08 hostname bluetoothd[436294]: No cache for E6:25:BB:xx:xx:xx > Jun 24 22:39:08 hostname bluetoothd[436294]: BATT attribute not found > Jun 24 22:39:08 hostname bluetoothd[436294]: batt-profile profile accept failed for E6:25:BB:xx:xx:xx > Jun 24 22:39:08 hostname bluetoothd[436294]: GAP attribute not found > Jun 24 22:39:08 hostname bluetoothd[436294]: gap-profile profile accept failed for E6:25:BB:xx:xx:xx > Jun 24 22:39:08 hostname bluetoothd[436294]: input-hog profile accept failed for E6:25:BB:xx:xx:xx > Jun 24 22:39:11 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:11 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:11 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:11 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:11 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:11 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:21 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:21 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:21 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:21 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:21 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:21 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:21 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:21 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:21 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:21 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:33 hostname bluetoothd[436294]: Report Map parsing failed at 87 > Jun 24 22:39:33 hostname bluetoothd[436294]: Failed to connection details: getpeername: Transport endpoint is not connected (107) > Jun 24 22:39:40 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:40 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:40 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:40 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:40 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:40 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:40 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:40 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:41 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:41 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:41 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:41 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:41 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:41 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:41 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:41 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:41 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:39:47 hostname bluetoothd[436294]: Write output report failed: Request attribute has encountered an unlikely error > Jun 24 22:40:01 hostname bluetoothd[436294]: Write report characteristic descriptor failed: Request attribute has encountered an unlikely error > Jun 24 22:40:01 hostname bluetoothd[436294]: Write report characteristic descriptor failed: Request attribute has encountered an unlikely error > Jun 24 22:40:01 hostname bluetoothd[436294]: Write report characteristic descriptor failed: Request attribute has encountered an unlikely error > Jun 24 22:40:01 hostname bluetoothd[436294]: Report Map parsing failed at 65 > Jun 24 22:40:01 hostname bluetoothd[436294]: Failed to connection details: getpeername: Transport endpoint is not connected (107) > Jun 24 22:40:01 hostname bluetoothd[436294]: Write report characteristic descriptor failed: Request attribute has encountered an unlikely error > Jun 24 22:40:04 hostname bluetoothd[436294]: No cache for E6:25:BB:xx:xx:xx > Jun 24 22:40:08 hostname bluetoothd[436294]: Unable to register org.bluez.Battery1 interface for /org/bluez/hci0/dev_E6_25_BB_xx_xx_xx > Jun 24 22:40:09 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:09 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:09 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:09 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:40:43 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:14 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:15 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:15 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:15 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:49 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:49 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:49 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:49 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:49 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:49 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:49 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:50 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:50 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:50 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:50 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:50 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:57 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:57 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:57 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:57 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:41:58 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:23 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:23 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:23 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:24 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:24 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:24 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:24 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:24 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: Write output report failed: Request attribute has encountered an unlikely error > Jun 24 22:42:30 hostname bluetoothd[436294]: Write output report failed: Request attribute has encountered an unlikely error > Jun 24 22:42:30 hostname bluetoothd[436294]: Write output report failed: Request attribute has encountered an unlikely error > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:30 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:44 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:44 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:44 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:44 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:44 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:54 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:54 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:54 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:54 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:54 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:54 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:54 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:42:55 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:06 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:06 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:06 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:06 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:06 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:06 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:06 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:06 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:16 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:16 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:16 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:16 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > Jun 24 22:43:16 hostname bluetoothd[436294]: bt_uhid_send: Invalid argument (22) > > I guess this latter would be more useful with --debug=<something>, but I'm not sure what would be a good option there. If it helps, I'd be happy to retest this with the debug parameter to bluetoothd. > > Is this (MX Keys or BLE) something that's been known to confuse bluez? Thanks for the report, Ive sent a tentative fix for the problem above: https://lore.kernel.org/linux-bluetooth/20200625211125.2239435-1-luiz.dentz@xxxxxxxxx/T/#u -- Luiz Augusto von Dentz