by keithspg » Mon May 31, 2021 6:14 pm
Still looking for some help, here.
I re-rtraced my steps and was wrong about 5.58 and my headphones. Do not know why, but now it works. I conclude that 5.55 and 5.58 have the same problem regardless of the firmware-raspberrypi that is installed. The problem is that I cannot pair a BT keyboard.
I was trying to see if it had something to do with the brcm firmware and built a few firmware-raspberrypi by using git to grab old versions. I tried firmware-raspberrypi 6-1 from 2019 and it will connect to my BT headphones and will connect to my phone as an audio source as will the latest firmware-raspberrypi, but will not pair a keyboard. It cannot accept a 6 digit code typed in from a BT keyboard when attempting to pair. This is with with bluez 5.55 and bluez 5.58. Every attempt looks like this:
$this->bbcode_second_pass_code('', '[NEW] Device A4:9A:58:6C:BE:7A Samsung Bluetooth Keyboard EJ-CT800
[bluetooth]# pair A4:9A:58:6C:BE:7A
Attempting to pair with A4:9A:58:6C:BE:7A
[CHG] Device A4:9A:58:6C:BE:7A Connected: yes
[agent] Passkey: 542669
[agent] Passkey: 542669
[agent] Passkey: 542669
[agent] Passkey: 542669
[agent] Passkey: 542669
[agent] Passkey: 542669
[agent] Passkey: 542669
Failed to pair: org.bluez.Error.AuthenticationFailed
[CHG] Device A4:9A:58:6C:BE:7A Connected: no')
I will reset my firmware and try older bluez versions. Next stop bluez 5.51. I'll see if that works.
edit - I cannot build 5.50 with the current ell version. I was able to build 5.51, though. Will try that.