ruundii / bthidhub

Bluetooth HID hub
MIT License
309 stars 51 forks source link

unable to pair any device #18

Open lord-bubbacub opened 3 years ago

lord-bubbacub commented 3 years ago

Hi, Thnks for all your work on this project. Have been getting similar error to the aiohttp error reported a few months ago. Have installed using the updated install script but still unable to pair with any device.

Have attached logs below:

any ideas?

● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset Active: active (running) since Sun 2021-02-07 21:02:20 GMT; 7min ago Docs: man:bluetoothd(8) Main PID: 486 (bluetoothd) Tasks: 1 (limit: 877) CGroup: /system.slice/bluetooth.service └─486 /usr/libexec/bluetooth/bluetoothd -p time,input,autopair,policy

Feb 07 21:02:20 bthidhub bluetoothd[486]: Ignoring (cli) hog Feb 07 21:02:20 bthidhub bluetoothd[486]: Ignoring (cli) gap Feb 07 21:02:20 bthidhub bluetoothd[486]: Ignoring (cli) deviceinfo Feb 07 21:02:20 bthidhub bluetoothd[486]: Ignoring (cli) battery Feb 07 21:02:20 bthidhub bluetoothd[486]: Bluetooth management interface 1.18 in Feb 07 21:03:34 bthidhub bluetoothd[486]: src/device.c:load_gatt_db() No cache f Feb 07 21:03:34 bthidhub bluetoothd[486]: src/device.c:new_auth() No agent avail Feb 07 21:03:34 bthidhub bluetoothd[486]: device_confirm_passkey: Operation not Feb 07 21:03:42 bthidhub bluetoothd[486]: Unable pair since another pairing is i Feb 07 21:05:41 bthidhub bluetoothd[486]: Pair device timed out for hci0 ~ ~ ~ ~ lines 1-19/19 (END)

● remapper.service - Remapper Loaded: loaded (/lib/systemd/system/remapper.service; enabled; vendor preset: Active: active (running) since Sun 2021-02-07 21:00:08 GMT; 11min ago Main PID: 442 (python3) Tasks: 15 (limit: 877) CGroup: /system.slice/remapper.service └─442 /usr/bin/python3 /home/pi/bthidhub/remapper.py

Feb 07 21:03:55 bthidhub python3[442]: websocket connection is closing. Feb 07 21:03:55 bthidhub python3[442]: socket.send() raised exception. Feb 07 21:04:11 bthidhub python3[442]: websocket connection is closing. Feb 07 21:04:11 bthidhub python3[442]: socket.send() raised exception. Feb 07 21:05:41 bthidhub python3[442]: websocket connection is closing. Feb 07 21:05:41 bthidhub python3[442]: socket.send() raised exception. Feb 07 21:09:14 bthidhub python3[442]: websocket connection is closing. Feb 07 21:09:14 bthidhub python3[442]: socket.send() raised exception. Feb 07 21:11:14 bthidhub python3[442]: websocket connection is closing. Feb 07 21:11:14 bthidhub python3[442]: socket.send() raised exception. ~ ~ ~ ~ ~ lines 1-18/18 (END)

Dreamsorcerer commented 3 years ago

Please try again with the current code. Do you mean that you can find the device in the bluetooth devices tab, but when clicking pair it fails to pair? The device does not get listed as paired?