Re: Is there a document for setting up Bluetooth on a Raspberry Pi 3B?
Rui-Xiang Guo <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Message-ID | <Zkxg1PJf-C4wvVkC@picohive> |
On Sun, May 19, 2024 at 03:48:40PM +0800, Christopher Hall wrote: > Hello port-arm, > > So far I have not found much information about this. > > I see a commented out line in /etc/bluetooth/btattach.conf referencing > /dev/dplcom0, which I have uncommented. I also added a device "speaker" > along with its address for testing. This config file is for setting a bluetooth device as a serial device. > I did find a reference to needing the file > /libdata/firmware/bcm43xx/BCM43430A1.hcd which I found and have > installed. On my rpi3b+, the device is BCM43455 and firmware is brcmfmac43455-sdio.bin which is shared with bwfm wireless driver. [ 5.059198] bwfm0: Found Firmware file: brcmfmac43455-sdio.bin [ 5.099202] bwfm0: NVRAM file default: brcmfmac43455-sdio.txt [ 5.099202] bwfm0: NVRAM file model-spec: brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt [ 5.099202] bwfm0: Found NVRAM file: brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt [ 5.099202] bwfm0: CLM file default: brcmfmac43455-sdio.clm_blob [ 5.099202] bwfm0: CLM file model-spec: brcmfmac43455-sdio.raspberrypi,3-model-b-plus.clm_blob [ 7.159408] bwfm0: CHIPACTIVE > The Gentoo wiki also suggested adding dtparam=krnbt=on to > /boot/config.txt but this had no effect. > > This is NetBSD 10.0 arm64 image, a few boot message lines: > simplebus0 at armfdt0: Raspberry Pi 3 Model B Rev 1.2 > plcom0 at simplebus1: ARM PL011 UART > plcom0: txfifo disabled > plcom0: interrupting on icu irq 57 > > When the rc.d/bluetooth runs, it shows: > attaching Bluetooth controller to dplcom0 > 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 > > > I find man pages for ubt and sbt, but nothing about bth. > also "btconfig" command returns nothing, I think there is no suitable bluetooth driver for bultin BCM43455/BCM43438. However, you may try the bluetooth usb dongle, such as: [ 3.990736] ubt0 at uhub2 port 2 [ 3.990736] ubt0: i.Tech Dynamic (0x13dd) BlueCON U2 (0x0001), rev 2.00/19.58, addr 4 Then see the guide: https://www.netbsd.org/docs/guide/en/chap-bluetooth.html -rxg