Connecting bluetooth device on Gentoo OS

Word

Posted by JXLIU on February 4, 2020

Enable bluetooth on Gentoo OS

1
2
3
4
5
6
7
bluetoothctl
[bluetooth]# list
Controller 8C:88:2B:44:3C:18 BlueZ 5.66 [default]
[bluetooth]# show 8C:88:2B:44:3C:18
[bluetooth]# power on
[bluetooth]# agent on
[bluetooth]# discoverable on

如果遇到

1
Failed to set discoverable on: org.bluez.Error.Busy

或者类似的错误,可以尝试先停掉蓝牙服务,再打开

1
2
rc-service bluetooth stop
rc-service bluetooth start