You are not logged in.
When I open bluetoothctl and run "scan on" it finds only my phone (when bluetooth is on). I want to use bluetooth keyboard, but bluetoothctl doesn't see it (unlike my phone).
I changed bluetooth usb adapter to "older one" and it now can see my keyboard. I do the following:
sudo bluetoothctl
power on
default-agent
pairable on
scan on
pair XX:XX:XX:XX:XX
trust XX:XX:XX:XX:XX
connect XX:XX:XX:XX:XXand when I enter "connect ..." it says Device XX:XX:XX:XX:XX not available. Even though it's "out of the box" and batteries are new too. The led indicator on keyboard says that device is on "stand by".
Last edited by gnome_is_ugly (2022-08-17 23:51:46)
Offline
update.
I just tried the above thing one more time and now, after "scan on" it gives
XX:XX:XX:XX:XX Name_of_the_keyboardWhat is weird, is that last time I tried it, it said
XX:XX:XX:XX:XX XX-XX-XX-XX-XX i.e. instead of name (same name that my phone sees when I scan for new devices), it just wrote its mac with hyphens.
Then I get the following:
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:1A:7D:DA:71:13 Discovering: yes
[NEW] Device E3:2B:00:83:FE:01 TEX-BLE-KB-1
[bluetooth]# pair E3:2B:00:83:FE:01
Attempting to pair with E3:2B:00:83:FE:01
[CHG] Device E3:2B:00:83:FE:01 Connected: yes
[agent] Passkey: ******
[NEW] Primary Service (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service000c
00001801-0000-1000-8000-00805f9b34fb
Generic Attribute Profile
[NEW] Characteristic (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service000c/char000d
00002a05-0000-1000-8000-00805f9b34fb
Service Changed
[NEW] Descriptor (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service000c/char000d/desc000f
00002902-0000-1000-8000-00805f9b34fb
Client Characteristic Configuration
[NEW] Primary Service (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service0010
0000180a-0000-1000-8000-00805f9b34fb
Device Information
[NEW] Characteristic (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service0010/char0011
00002a23-0000-1000-8000-00805f9b34fb
System ID
[NEW] Characteristic (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service0010/char0013
00002a24-0000-1000-8000-00805f9b34fb
Model Number String
[NEW] Characteristic (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service0010/char0015
00002a25-0000-1000-8000-00805f9b34fb
Serial Number String
[NEW] Characteristic (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service0010/char0017
00002a26-0000-1000-8000-00805f9b34fb
Firmware Revision String
[NEW] Characteristic (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service0010/char0019
00002a29-0000-1000-8000-00805f9b34fb
Manufacturer Name String
[NEW] Primary Service (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service001b
0000180f-0000-1000-8000-00805f9b34fb
Battery Service
[NEW] Characteristic (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service001b/char001c
00002a19-0000-1000-8000-00805f9b34fb
Battery Level
[NEW] Descriptor (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service001b/char001c/desc001e
00002902-0000-1000-8000-00805f9b34fb
Client Characteristic Configuration
[NEW] Descriptor (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service001b/char001c/desc001f
00002908-0000-1000-8000-00805f9b34fb
Report Reference
[NEW] Descriptor (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service001b/char001c/desc0020
00002904-0000-1000-8000-00805f9b34fb
Characteristic Format
[NEW] Primary Service (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service0046
0000fff0-0000-1000-8000-00805f9b34fb
Unknown
[NEW] Characteristic (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service0046/char0047
0000fff1-0000-1000-8000-00805f9b34fb
Unknown
[NEW] Characteristic (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service0046/char0049
0000fff4-0000-1000-8000-00805f9b34fb
Unknown
[NEW] Descriptor (Handle 0x0000)
/org/bluez/hci0/dev_E3_2B_00_83_FE_01/service0046/char0049/desc004b
00002902-0000-1000-8000-00805f9b34fb
Client Characteristic Configuration
[CHG] Device E3:2B:00:83:FE:01 UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device E3:2B:00:83:FE:01 UUIDs: 00001801-0000-1000-8000-00805f9b34fb
[CHG] Device E3:2B:00:83:FE:01 UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[CHG] Device E3:2B:00:83:FE:01 UUIDs: 0000180f-0000-1000-8000-00805f9b34fb
[CHG] Device E3:2B:00:83:FE:01 UUIDs: 00001812-0000-1000-8000-00805f9b34fb
[CHG] Device E3:2B:00:83:FE:01 UUIDs: 0000fff0-0000-1000-8000-00805f9b34fb
[CHG] Device E3:2B:00:83:FE:01 ServicesResolved: yes
[TEX-BLE-KB-1]# trust E3:2B:00:83:FE:01
[CHG] Device E3:2B:00:83:FE:01 Trusted: yes
Changing E3:2B:00:83:FE:01 trust succeeded
[TEX-BLE-KB-1]# connect E3:2B:00:83:FE:01
Attempting to connect to E3:2B:00:83:FE:01
Connection successful
[CHG] Device E3:2B:00:83:FE:01 ServicesResolved: no
[CHG] Device E3:2B:00:83:FE:01 Connected: no
Failed to pair: org.bluez.Error.AuthenticationCanceled
[CHG] Device E3:2B:00:83:FE:01 WakeAllowed: yesthat "[agent] Passkey" line gave me 6 numbers (I replaced them with "*" just in case). Keyboard still doesn't work.
Tried again. Same outcome, also device id is changing all the time.
Last edited by gnome_is_ugly (2022-08-18 21:40:29)
Offline