[ety001@docker ~]$ sudo systemctl status brcm43438.service [sudo] password for ety001: * brcm43438.service - Broadcom BCM43438 bluetooth HCI Loaded: loaded (/usr/lib/systemd/system/brcm43438.service; enabled; vendor pr Active: active (running) since Wed 2016-05-11 15:53:51 UTC; 1min 9s ago Main PID: 273 (hciattach-rpi3) Tasks: 1 (limit: 512) CGroup: /system.slice/brcm43438.service `-273 /usr/bin/hciattach-rpi3 -n /dev/ttyAMA0 bcm43xx 921600 noflow -
May 11 15:53:51 docker systemd[1]: Started Broadcom BCM43438 bluetooth HCI.
接下来安装管理工具
1
$ sudo pacman -S bluez bluez-utils
加载mod
1
[root@docker ~]# modprobe btusb
启动设备
1
[root@docker ~]# hciconfig hci0 up
增加配置,可以让设备开机自启动
1 2 3
[root@docker ~]# cat /etc/udev/rules.d/10-local.rules # Set bluetooth power up ACTION=="add", KERNEL=="hci0", RUN+="/usr/bin/hciconfig hci0 up"
1 2 3 4 5 6 7 8 9 10 11 12
cat /etc/systemd/system/[email protected] [Unit] Description=Bluetooth auto power on After=bluetooth.service sys-subsystem-bluetooth-devices-%i.device suspend.target