Re: Is there a document for setting up Bluetooth on a Raspberry Pi 3B?

[email protected] (Michael van Elst)
Newsgroups gmane.os.netbsd.ports.arm
Organization Serpens User Group
Message-ID <[email protected]>
[email protected] (Rui-Xiang Guo) writes:

>Maybe try to dig RPI2 which is the kernel config file of earmv6hf, too? :)

Besides GENERIC64 lacking the driver (which can be easily fixed), there
are other issues. The dtb (or something else) needs to configure the
GPIO pins correctly, you need to decide between console and BT interface,
you need the correct firmware files for the RPI model and BT chip, and
there is no safe method yet to recover the interface when it ran into
a problem.

If it works, it looks like:

arnold# uname -srp
NetBSD 10.99.10 aarch64
arnold# sysctl hw.model
hw.model = raspberrypi,4-model-b
arnold# btconfig 
bthfive0: bdaddr dc:a6:32:03:8f:5b flags 0x403<UP,RUNNING,MASTER>
arnold% btconfig bthfive0 inquiry
Device Discovery from device: bthfive0 ... 2 responses
  1: bdaddr ec:55:f9:ee:39:3c
   : name "Broadcom Bluetooth Device"
   : class [0x000100] Computer
   : page scan rep mode 0x01
   : clock offset 406
   : rssi 0

  2: bdaddr d8:3a:dd:43:4d:a7
   : name "BCM43438A1 37.4MHz Raspberry Pi 3-0141"
   : class [0x000100] Computer
   : page scan rep mode 0x01
   : clock offset 7542
   : rssi 0

doodoo# uname -srp
NetBSD 10.99.10 earmv7hf
doodoo# sysctl hw.model
hw.model = raspberrypi,model-zero-2-w
doodoo# btconfig
bthfive0: bdaddr d8:3a:dd:43:4d:a7 flags 0x403<UP,RUNNING,MASTER>
doodoo# btconfig bthfive0 inquiry
Device Discovery from device: bthfive0 ... 2 responses
  1: bdaddr ec:55:f9:ee:39:3c
   : name "Broadcom Bluetooth Device"
   : class [0x000100] Computer
   : page scan rep mode 0x01
   : clock offset 25630
   : rssi 0

  2: bdaddr dc:a6:32:03:8f:5b
   : name "BCM43455 37.4MHz Raspberry Pi 3+-0190"
   : class [0x000100] Computer
   : page scan rep mode 0x01
   : clock offset 25223
   : rssi 0

The "name" is confusing, the substring "Raspberry Pi 3" does not
refer to a Raspberry Pi Model 3.

N.B. the "Broadcom Bluetooth Device" above is a ubt(4) device in
a Thinkpad T420.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.