You are not logged in.

#1 2019-02-19 19:33:07

Hacktivista
Member
Registered: 2018-08-20
Posts: 12

Bluetooth keyboard disconnects randomly after hid2hci installation

I used to work with a bluetooth mouse and keyboard with no inconveniences, until the mouse click broke, so I had to replace it with another mouse.

The mouse I acquired apparently works only with the bluez-hid2hci package installed, sincerely I don't even know why, but I noticed it after trial and error. Since then the keyboard disconnects and reconnects randomly, which is indeed very frustrating sad

Here a capture of the relevant journalctl logs (bluetooth debug mode is enabled):

Feb 19 16:18:46 handheld bluetoothd[564]: src/adapter.c:dev_disconnected() Device 20:73:00:23:E9:14 disconnected, reason 1
Feb 19 16:18:46 handheld bluetoothd[564]: src/adapter.c:adapter_remove_connection()
Feb 19 16:18:46 handheld bluetoothd[564]: plugins/policy.c:disconnect_cb() reason 1
Feb 19 16:18:46 handheld bluetoothd[564]: src/adapter.c:bonding_attempt_complete() hci0 bdaddr 20:73:00:23:E9:14 type 0 status 0xe
Feb 19 16:18:46 handheld bluetoothd[564]: src/device.c:device_bonding_complete() bonding (nil) status 0x0e
Feb 19 16:18:46 handheld bluetoothd[564]: src/device.c:device_bonding_failed() status 14
Feb 19 16:18:46 handheld bluetoothd[564]: src/adapter.c:resume_discovery()
Feb 19 16:18:47 handheld bluetoothd[564]: profiles/input/device.c:ctrl_watch_cb() Device 20:73:00:23:E9:14 disconnected
Feb 19 16:18:47 handheld bluetoothd[564]: profiles/input/device.c:intr_watch_cb() Device 20:73:00:23:E9:14 disconnected
Feb 19 16:18:47 handheld bluetoothd[564]: src/service.c:change_state() 0x562f045cbcb0: device 20:73:00:23:E9:14 profile input-hid state changed: connected -> disconnected (0)
Feb 19 16:18:47 handheld bluetoothd[564]: profiles/input/device.c:input_device_enter_reconnect_mode() path=/org/bluez/hci0/dev_20_73_00_23_E9_14 reconnect_mode=device
Feb 19 16:18:49 handheld bluetoothd[564]: src/adapter.c:connected_callback() hci0 device 20:73:00:23:E9:14 connected eir_len 29
Feb 19 16:18:49 handheld bluetoothd[564]: profiles/input/server.c:connect_event_cb() Incoming connection from 20:73:00:23:E9:14 on PSM 17
Feb 19 16:18:49 handheld bluetoothd[564]: profiles/input/device.c:input_device_set_channel() idev 0x562f045c4930 psm 17
Feb 19 16:18:49 handheld bluetoothd[564]: profiles/input/server.c:confirm_event_cb()
Feb 19 16:18:49 handheld bluetoothd[564]: profiles/input/server.c:connect_event_cb() Incoming connection from 20:73:00:23:E9:14 on PSM 19
Feb 19 16:18:49 handheld bluetoothd[564]: profiles/input/device.c:input_device_set_channel() idev 0x562f045c4930 psm 19
Feb 19 16:18:49 handheld bluetoothd[564]: src/service.c:change_state() 0x562f045cbcb0: device 20:73:00:23:E9:14 profile input-hid state changed: disconnected -> connected (0)
Feb 19 16:18:49 handheld bluetoothd[564]: plugins/policy.c:service_cb() Added input-hid reconnect 0
Feb 19 16:18:49 handheld bluetoothd[564]: profiles/input/device.c:encrypt_notify()
Feb 19 16:18:49 handheld kernel: hid-generic 0005:04E8:7021.000D: unknown main item tag 0x0
Feb 19 16:18:49 handheld kernel: input: Bluetooth 3.0 Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:04E8:7021.000D/input/input47
Feb 19 16:18:49 handheld kernel: input: Bluetooth 3.0 Keyboard Consumer Control as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:04E8:7021.000D/input/input48
Feb 19 16:18:49 handheld kernel: input: Bluetooth 3.0 Keyboard System Control as /devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/bluetooth/hci0/hci0:256/0005:04E8:7021.000D/input/input49
Feb 19 16:18:49 handheld kernel: hid-generic 0005:04E8:7021.000D: input,hidraw4: BLUETOOTH HID v0.01 Keyboard [Bluetooth 3.0 Keyboard] on 38:de:ad:b6:a1:f1
Feb 19 16:18:49 handheld systemd-logind[567]: Watching system buttons on /dev/input/event25 (Bluetooth 3.0 Keyboard System Control)
Feb 19 16:18:49 handheld systemd-logind[567]: Watching system buttons on /dev/input/event23 (Bluetooth 3.0 Keyboard)
Feb 19 16:18:49 handheld systemd-logind[567]: Watching system buttons on /dev/input/event24 (Bluetooth 3.0 Keyboard Consumer Control)

What could I possibly do in order to fix it?

Last edited by Hacktivista (2019-02-20 10:02:37)

Offline

#2 2019-02-20 10:02:20

Hacktivista
Member
Registered: 2018-08-20
Posts: 12

Re: Bluetooth keyboard disconnects randomly after hid2hci installation

any help? I think that probably setting the mode per-device could help, but I don't know how

Offline

Board footer

Powered by FluxBB