--- notion-id: 8b7c8442-b1bf-4d8d-9999-093988ff371c --- > [!note]+ 蓝牙驱动安装指令 > ```javascript > apt-get install blueman > > apt-get install pulseaudio pulseaudio-module-bluetooth pavucontrol bluez-firmware > ``` > > [!note]+ 蓝牙运行指令 > > [!note]+ 相关参考文献: > > [https://blog.csdn.net/peixiuhui/article/details/82738222](https://blog.csdn.net/peixiuhui/article/details/82738222) > > > 开启蓝牙 > ```shell > lsusb 查看usb设备 > > sudo service bluetooth start #启动蓝牙指令 > ``` > ```shell > sudo bluetoothctl #蓝牙管理进程 > ``` > ```shell > trust MAC地址(这里粘帖刚刚复制好的MAC地址) #蓝牙信任指令 > connect MAC地址(这里一样是刚刚复制好的MAC地址) #蓝牙连接指令 > ``` > 查看当前系统中全部的蓝牙设备信息: > ```plain text > hciconfig -a > > hciconfig dev > ``` > 开启指定名称的蓝牙设备: > ```plain text > hciconfig hci0 up > ``` > 关闭指定名称的蓝牙设备: > ```plain text > hciconfig hci0 down > ``` > 重置指定名称的蓝牙设备: > ```plain text > hciconfig hci0 reset > ``` > rfkill指令 > ```visual basic > rf kill 0 block #锁定 > > rf kill 0 unblock #解锁 > ``` > 扫描 > ```visual basic > hcitool scan > ``` >