I cannot seem to find any details of how to set this up. The NetBSD Wiki implies that it can work, but I could not find any example config. I found an old post the mentioned adding a config line and downloading some firmware files.
The config line was already in /etc/bluetooth/btattach.conf and was commented out. I added an uncommented version then later added a "d" for debugging. I also found some firmware files on Github
# Raspberry Pi 3 Bluetooth UART
#bcm43xx-3wire /dev/dplcom0 921600 -FPi 115200
bcm43xx-3wire /dev/dplcom0 921600 -dFPi 115200
arm64# ls -l /libdata/firmware/bcm43xx/
total 280
-rw-r--r-- 1 root wheel 30049 May 15 14:41 BCM43430A1.hcd
-rw-r--r-- 1 root wheel 44376 May 15 14:41 BCM43430B0.hcd
-rw-r--r-- 1 root wheel 38630 May 15 14:41 BCM43438A0.hcd
-rw-r--r-- 1 root wheel 33376 May 15 14:41 BCM43438A1.hcd
-rw-r--r-- 1 root wheel 63806 May 15 14:41 BCM4345C0.hcd
-rw-r--r-- 1 root wheel 55676 May 15 14:41 BCM4345C5.hcd
Looking at the debug output: I see some hex strings: (which I converted to ASCII)
…42 43 4d 34 33 34 33 30 41 31…
BCM43430A1
…42 43 4d 34 33 34 33 38 41 31 20 33 37 2e 34 4d 48 7a 20 52 61 73 70 62 65 72 72 79 20 50 69 20 33 2d 30 30 34 33 4f…
BCM43438A1 37.4MHz Raspberry Pi 3-0043O
so I think the bcm43xx/BCM43430A1.hcd should be the right firmware, though I do not see any indication if it was loaded.
But the boot up just shows:
attaching Bluetooth controller to dplcom0
…hex code here…
btattach: bth5: Device not configured
configuring Bluetooth controllers:.
starting Bluetooth Link Key/PIN Code manager
attaching Bluetooth HSET service from "speaker"
btdevctl: sbt0: Device not configured
attaching Bluetooth HSET service from "speaker"
btdevctl: ubt0: Device not configured
starting Bluetooth Service Discovery server
the btconfig
command does not list any devices.
Does anyone have any suggestions?