I'm trying to get the onboard Broadcom bluetooth working in a Buildroot 2017.08 built linux on the Raspberry Pi Zero W. It's not showing me the adapter. Bluetooth USB dongles do work.
Things I've already done:
After boot I'm manually starting bluetoothd followed by bluetoothctl. when I type "power on", "list" or "show" it does not give me any bluetooth controllers.
The hardware is working, on the same system I have Debian Jessie working fine with the bluetooth.
Also, given that USB bluetooth dongles work, I think the kernel is OK too.
Anything is welcome at this point! :)
UPDATE
I have it working by running hciattach /dev/ttyAMA0 bcm43xx 921600 flow -
at start-up. However, I have barely a clue what's going on here. Proper explanation will count as an answer.
I have also removed console=/dev/ttyAMA0 from the cmdline.txt, not sure though if that was necessary.
答案 0 :(得分:1)
hciattach
通过UART将串行HCI设备连接到Bluez堆栈https://www.systutorials.com/docs/linux/man/8-hciattach/。
在您的情况下,串行Broadcom HCI适配器位于/ dev / ttyAMA0,因此您的运行命令将其作为bcm43xx HCI适配器附加到Bluez。
它可能在你的Debian Jessie设置中也是如此。