Hello!
I installed a multi-boot O.S. system on my raspberry pi 3b using PINN. I like to use a Logitech K380 multi-device bluetooth keyboard. In libreelec Krypton and Leia I had the same Issue with the keyboard, after reboot it wouldn't connect. I solved this Issue connecting through ssh and pairing, connecting and trusting the Keyboard remotely.
Now that I'm trying to configure my k380 to both libreelec and raspbian lite in my new set up the following occurs:
-If I configure bluetooth through bluetoothctl (pair, connect, trust, etc...) in libreelec 9.0.1 through ssh as I had done in the past the keyboard works like a charm.
-When I boot raspbian lite and use bluetoothctl to configure a new bluetooth connection the keyboard works terrific. Please note that the k380 has three special keys to switch between different devices. So, let's say, I used key 1 for libreelec and now, key 2 for raspbian.
-The problem is this, it doesn't matter if I configure the keyboard for libreelec or for raspbian first. The first time I configure the keyboard for raspbian or libreelec it will work flawessly, but when I configure it for the second OS, it will stop working after reboot.
I don't know if I explained well the issue. English is not my first language. If it's not clear please let me know.
Thank you!
Some info :
Libreelec
abubilla:~ # bluetoothctl
Agent registered.
[bluetooth]# devices
Device 34:88:5D:62:F4:69 Keyboard K380
[CHG] Device 34:88:5D:62:F4:69 Class: 0x00000540
[CHG] Device 34:88:5D:62:F4:69 Icon: input-keyboard
[CHG] Device 34:88:5D:62:F4:69 Connected: yes
[CHG] Device 34:88:5D:62:F4:69 Connected: no
[bluetooth]# connect 34:88:5D:62:F4:69
Attempting to connect to 34:88:5D:62:F4:69
Failed to connect: org.bluez.Error.Failed
[bluetooth]# pair 34:88:5D:62:F4:69
Attempting to pair with 34:88:5D:62:F4:69
Failed to pair: org.bluez.Error.AlreadyExists
[bluetooth]#
Display More
Raspbian:
● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset Active: active (running) since Thu 2019-03-28 13:18:30 CET; 7min ago Docs: man:bluetoothd(8) Main PID: 445 (bluetoothd) Status: "Running" CGroup: /system.slice/bluetooth.service └─445 /usr/lib/bluetooth/bluetoothd
Mar 28 13:18:30 abubilla-bian systemd[1]: Starting Bluetooth service...
Mar 28 13:18:30 abubilla-bian bluetoothd[445]: Bluetooth daemon 5.43
Mar 28 13:18:30 abubilla-bian systemd[1]: Started Bluetooth service.
Mar 28 13:18:30 abubilla-bian bluetoothd[445]: Starting SDP server
Mar 28 13:18:30 abubilla-bian bluetoothd[445]: Bluetooth management interface 1.
Mar 28 13:18:30 abubilla-bian bluetoothd[445]: Failed to obtain handles for "Ser
Mar 28 13:18:30 abubilla-bian bluetoothd[445]: Sap driver initialization failed.
Mar 28 13:18:30 abubilla-bian bluetoothd[445]: sap-server: Operation not permitt
Mar 28 13:18:30 abubilla-bian bluetoothd[445]: Failed to set privacy: Rejected (
~
~
~
~
~
pi@abubilla-bian:~ $ hcitool dev
Devices: hci0 B8:27:EB:20:42:28
pi@abubilla-bian:~ $ hciconfig
hci0: Type: Primary Bus: UART BD Address: B8:27:EB:20:42:28 ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING PSCAN RX bytes:738 acl:0 sco:0 events:45 errors:0 TX bytes:1760 acl:0 sco:0 commands:45 errors:0
pi@abubilla-bian:~ $ bluetoothctl
[bluetooth]# quitt to bluetoothd...
pi@abubilla-bian:~ $ sudo bluetoothctl
[NEW] Controller B8:27:EB:20:42:28 abubilla-bian [default]
[NEW] Device 34:88:5D:62:F4:69 Keyboard K380
[bluetooth]# connect 34:88:5D:62:F4:69
Attempting to connect to 34:88:5D:62:F4:69
Failed to connect: org.bluez.Error.Failed
Display More