Whenever my Bluetooth remote goes into standby and I try to reconnect, the btusb module crashes:
Aug 16 20:53:51 kar bluetoothd[787]: Endpoint unregistered: sender=:1.4 path=/MediaEndpoint/A2DPSource
Aug 16 20:53:51 kar bluetoothd[787]: Endpoint unregistered: sender=:1.4 path=/MediaEndpoint/A2DPSink
Aug 16 20:53:51 kar kernel: usbcore: deregistering interface driver btusb
Aug 16 20:53:51 kar dbus[277]: [system] Rejected send message, 3 matched rules; type="error", sender=":1.4" (uid=0 pid=295 comm="/usr/bin/pulseaudio --system ") interface="(unset)" member="(unset)" e
rror name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.12" (uid=0 pid=787 comm="/usr/lib/bluetooth/bluetoothd ")
Aug 16 20:53:51 kar dbus[277]: [system] Rejected send message, 3 matched rules; type="error", sender=":1.4" (uid=0 pid=295 comm="/usr/bin/pulseaudio --system ") interface="(unset)" member="(unset)" e
rror name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.12" (uid=0 pid=787 comm="/usr/lib/bluetooth/bluetoothd ")
Aug 16 20:53:51 kar dbus[277]: [system] Rejected send message, 3 matched rules; type="error", sender=":1.4" (uid=0 pid=295 comm="/usr/bin/pulseaudio --system ") interface="(unset)" member="(unset)" e
rror name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.12" (uid=0 pid=787 comm="/usr/lib/bluetooth/bluetoothd ")
Aug 16 20:53:51 kar dbus[277]: [system] Rejected send message, 3 matched rules; type="error", sender=":1.4" (uid=0 pid=295 comm="/usr/bin/pulseaudio --system ") interface="(unset)" member="(unset)" e
rror name="org.bluez.MediaEndpoint1.Error.NotImplemented" requested_reply="0" destination=":1.12" (uid=0 pid=787 comm="/usr/lib/bluetooth/bluetoothd ")
Aug 16 20:53:51 kar kernel: usbcore: registered new interface driver btusb
Aug 16 20:53:52 kar bluetoothd[787]: Failed to obtain handles for "Service Changed" characteristic
Aug 16 20:53:52 kar bluetoothd[787]: Endpoint registered: sender=:1.4 path=/MediaEndpoint/A2DPSource
Aug 16 20:53:52 kar bluetoothd[787]: Endpoint registered: sender=:1.4 path=/MediaEndpoint/A2DPSink
Aug 16 20:53:52 kar bluetoothd[787]: hci0 Load Connection Parameters failed: Unknown Command (0x01)
Aug 16 20:54:02 kar kernel: input: BD Remote Control as /devices/dwc2_b/usb1/1-1/1-1.4/1-1.4:1.0/bluetooth/hci0/hci0:11/0005:054C:0306.000F/input/input25
Aug 16 20:54:02 kar kernel: sony 0005:054C:0306.000F: input,hidraw1: BLUETOOTH HID v1.00 Gamepad [BD Remote Control] on 5c:f3:70:66:a7:d6
Aug 16 21:03:21 kar kernel: ------------[ cut here ]------------
Aug 16 21:03:21 kar kernel: WARNING: CPU: 0 PID: 1637 at fs/sysfs/dir.c:52 sysfs_warn_dup+0x8c/0xac()
Aug 16 21:03:21 kar kernel: sysfs: cannot create duplicate filename '/class/bluetooth/hci0:12'
Aug 16 21:03:21 kar kernel: Modules linked in: btusb sha1_generic hidp bluetooth 6lowpan_iphc 8021q ip6table_filter ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6_table
s xt_conntrack ir_lirc_codec(O) lirc_dev(O) iptable_filter iptable_nat meson_ir(O) rc_core(O) nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle ip_tables x_tables mali(O
) amlvideodri(O) videobuf_res(O) videobuf_core(O) videodev(O) autofs4 fbcon bitblit softcursor font [last unloaded: btusb]
Aug 16 21:03:21 kar kernel: CPU: 0 PID: 1637 Comm: kworker/u9:2 Tainted: G W O 3.14.29 #1
Aug 16 21:03:21 kar kernel: Workqueue: hci0 hci_rx_work [bluetooth]
Aug 16 21:03:21 kar kernel: Call trace:
Aug 16 21:03:21 kar kernel: [<ffffffc001087dbc>] dump_backtrace+0x0/0x138
Aug 16 21:03:21 kar kernel: [<ffffffc001087f14>] show_stack+0x20/0x30
Aug 16 21:03:21 kar kernel: [<ffffffc0018b8b24>] dump_stack+0x7c/0xc0
Aug 16 21:03:21 kar kernel: [<ffffffc001095444>] warn_slowpath_common+0xa0/0xcc
Aug 16 21:03:21 kar kernel: [<ffffffc0010954e4>] warn_slowpath_fmt+0x74/0x88
Aug 16 21:03:21 kar kernel: [<ffffffc001225b14>] sysfs_warn_dup+0x88/0xac
Aug 16 21:03:21 kar kernel: [<ffffffc001225fd4>] sysfs_do_create_link_sd.isra.2+0xf8/0x104
Aug 16 21:03:21 kar kernel: [<ffffffc00122601c>] sysfs_create_link+0x3c/0x64
Aug 16 21:03:21 kar kernel: [<ffffffc0014fb4cc>] device_add+0x2e4/0x514
Aug 16 21:03:21 kar kernel: [<ffffffbffc1699b4>] hci_conn_add_sysfs+0x40/0x80 [bluetooth]
Aug 16 21:03:21 kar kernel: [<ffffffbffc158f8c>] hci_conn_complete_evt.isra.34+0xcc/0x3d0 [bluetooth]
Aug 16 21:03:21 kar kernel: [<ffffffbffc15cd88>] hci_event_packet+0x1710/0x2a60 [bluetooth]
Aug 16 21:03:21 kar kernel: [<ffffffbffc1501fc>] hci_rx_work+0x1a8/0x290 [bluetooth]
Aug 16 21:03:21 kar kernel: [<ffffffc0010b17cc>] process_one_work+0x144/0x440
Aug 16 21:03:21 kar kernel: [<ffffffc0010b25ac>] worker_thread+0x140/0x3d0
Aug 16 21:03:21 kar kernel: [<ffffffc0010b9150>] kthread+0xd8/0xf0
Aug 16 21:03:21 kar kernel: ---[ end trace e4cad288337f45de ]---
Aug 16 21:03:21 kar kernel: Bluetooth: Failed to register connection device
Aug 16 21:03:21 kar kernel: ------------[ cut here ]------------
Aug 16 21:03:21 kar kernel: WARNING: CPU: 0 PID: 11660 at lib/kobject.c:244 kobject_add_internal+0xec/0x308()
Aug 16 21:03:21 kar kernel: kobject_add_internal failed for 0005:054C:0306.0010 (error: -2 parent: hci0:12)
Aug 16 21:03:21 kar kernel: Modules linked in: btusb sha1_generic hidp bluetooth 6lowpan_iphc 8021q ip6table_filter ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6_table
s xt_conntrack ir_lirc_codec(O) lirc_dev(O) iptable_filter iptable_nat meson_ir(O) rc_core(O) nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle ip_tables x_tables mali(O
) amlvideodri(O) videobuf_res(O) videobuf_core(O) videodev(O) autofs4 fbcon bitblit softcursor font [last unloaded: btusb]
Aug 16 21:03:21 kar kernel: CPU: 0 PID: 11660 Comm: kworker/0:2 Tainted: G W O 3.14.29 #1
Aug 16 21:03:21 kar kernel: Workqueue: events hidp_session_dev_work [hidp]
Aug 16 21:03:21 kar kernel: Call trace:
Aug 16 21:03:21 kar kernel: [<ffffffc001087dbc>] dump_backtrace+0x0/0x138
Aug 16 21:03:21 kar kernel: [<ffffffc001087f14>] show_stack+0x20/0x30
Aug 16 21:03:21 kar kernel: [<ffffffc0018b8b24>] dump_stack+0x7c/0xc0
Aug 16 21:03:21 kar kernel: [<ffffffc001095444>] warn_slowpath_common+0xa0/0xcc
Aug 16 21:03:21 kar kernel: [<ffffffc0010954e4>] warn_slowpath_fmt+0x74/0x88
Aug 16 21:03:21 kar kernel: [<ffffffc00146d624>] kobject_add_internal+0xe8/0x308
Aug 16 21:03:21 kar kernel: [<ffffffc00146dab0>] kobject_add+0x90/0xe0
Aug 16 21:03:21 kar kernel: [<ffffffc0014fb2b0>] device_add+0xc8/0x514
Aug 16 21:03:21 kar kernel: [<ffffffc00160d0c4>] hid_add_device+0xd4/0x224
Aug 16 21:03:21 kar kernel: [<ffffffbffc20349c>] hidp_session_dev_add.isra.3+0x28/0xac [hidp]
Aug 16 21:03:21 kar kernel: [<ffffffbffc203540>] hidp_session_dev_work+0x20/0x5c [hidp]
Aug 16 21:03:21 kar kernel: [<ffffffc0010b17cc>] process_one_work+0x144/0x440
Aug 16 21:03:21 kar kernel: [<ffffffc0010b25ac>] worker_thread+0x140/0x3d0
Aug 16 21:03:21 kar kernel: [<ffffffc0010b9150>] kthread+0xd8/0xf0
Aug 16 21:03:21 kar kernel: ---[ end trace e4cad288337f45df ]---
Reloading the btusb module resolves the problem, however this is not practicable for my use case.
Whenever my Bluetooth remote goes into standby and I try to reconnect, the
btusb
module crashes:Reloading the
btusb
module resolves the problem, however this is not practicable for my use case.