Re: Is there a document for setting up Bluetooth on a Raspberry Pi 3B?
Christopher Hall <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Message-ID | <20240525191033.07fc888e@e495> |
Hello Rui-Xiang, On Sat, 25 May 2024 16:37:27 +0800, Rui-Xiang Guo <[email protected]> wrote: > > pseudo-device bthfive # Bluetooth HCI UART (H5) > > > > so I am wondering if the "bth5" reference in btattach.c needs to be > > changed to "bthfive". I tried to see if any bt pseudo device is > > currently configured by: config -x /netbsd | grep bt > > but nothing shows up. > > Hi, > Here are my simple test steps on 9.4 earmv6hf/earmv7hf and > 10.0 earmv6hf/earmv7hf: > 1. download BCM4345C0.hcd(for rpi3b+) from > https://github.com/RPi-Distro/bluez-firmware/tree/master/broadcom > to /libdata/firmware/bcm43xx/ > 2. # btattach -FPi 115200 bcm43xx-3wire /dev/dplcom0 921600 > Only on 9.4 earmv6hf then bthfive0 is attached: > [ 288.270347] bthfive0 at tty major 93 minor 524288 > Thanks for the test, I checked GENERIC against GENERIC64 and the bluetooth items are missing from the the 64 version and I think GENERIC is only for building 32 bit versions. So, I have created a GENERIC64BT adding in those missing bt items and started a build, but RPi3 is slow to build tools and kernel, and it will take many hours to compile everything. If I get a kernel, I will try to boot it. > In the other three environments, it gets no response with the same > btattach command. > > -rxg > -- Best Regards. Christopher Hall.