I’m running home assistant os on generic intel machine. It has onboard bluetooth and I’m trying to connect a logitech k380 keyboard so I can use the Keyboard Remote integration. Using bluetoothctl I can successfully pair the keyboard and entering in the pin with the bluetooth keyboard but cannot actually connect. I get the following error: Failed to connect: org.bluez.Error.NotAvailable. I’ve pasted my terminal lines below.
I ran a live Ubuntu on the hardware to test and everything pairs and connects successfully. So I’m not sure what is going on when using just Home Assistant OS, any help is appreciated!
[core-ssh ~]$ bluetoothctl
Agent registered
[CHG] Controller 4C:EB:42:7A:B6:AA Pairable: yes
[bluetooth]# scan on
Discovery started
[CHG] Controller 4C:EB:42:7A:B6:AA Discovering: yes
[NEW] Device F4:73:35:5D:A5:F5 Keyboard K380
[bluetooth]# pair F4:73:35:5D:A5:F5
Attempting to pair with F4:73:35:5D:A5:F5
[CHG] Device F4:73:35:5D:A5:F5 Connected: yes
[agent] Passkey: 449465
[agent] Passkey: 449465
[agent] Passkey: 449465
[agent] Passkey: 449465
[agent] Passkey: 449465
[agent] Passkey: 449465
[agent] Passkey: 449465
[CHG] Device F4:73:35:5D:A5:F5 Modalias: usb:v046DpB342d4201
[CHG] Device F4:73:35:5D:A5:F5 UUIDs: 00001000-0000-1000-8000-00805f9b34fb
[CHG] Device F4:73:35:5D:A5:F5 UUIDs: 00001124-0000-1000-8000-00805f9b34fb
[CHG] Device F4:73:35:5D:A5:F5 UUIDs: 00001200-0000-1000-8000-00805f9b34fb
[CHG] Device F4:73:35:5D:A5:F5 ServicesResolved: yes
[CHG] Device F4:73:35:5D:A5:F5 Paired: yes
Pairing successful
[CHG] Device F4:73:35:5D:A5:F5 ServicesResolved: no
[CHG] Device F4:73:35:5D:A5:F5 Connected: no
[bluetooth]# trust F4:73:35:5D:A5:F5
[CHG] Device F4:73:35:5D:A5:F5 Trusted: yes
Changing F4:73:35:5D:A5:F5 trust succeeded
[bluetooth]# connect F4:73:35:5D:A5:F5
Attempting to connect to F4:73:35:5D:A5:F5
[CHG] Device F4:73:35:5D:A5:F5 Connected: yes
[CHG] Device F4:73:35:5D:A5:F5 ServicesResolved: yes
Failed to connect: org.bluez.Error.NotAvailable
[CHG] Device F4:73:35:5D:A5:F5 ServicesResolved: no
[CHG] Device F4:73:35:5D:A5:F5 Connected: no