首页 > 技术文章 > 解决ubuntu18.04重启后蓝牙鼠标需要重新配对的问题

rainymemory 2018-09-09 22:06 原文

  • 打开bash,运行bluetoothctl命令
    # bluetoothctl
  • 列出可用的蓝牙控制器
    [bluetooth]# list
  • 选择使用的蓝牙控制器
    [bluetooth]# select 01:23:45:67:89:AB
  • 显示蓝牙控制器的详细信息
    bluetooth]# show
  • 打开蓝牙
    [bluetooth]# power on
  • 开始扫描
    [bluetooth]# scan on
  • 结束扫描
    [bluetooth]# scan off
  • 选择蓝牙设备配对
    [bluetooth]# pair 34:88:5D:87:C0:A6(你的蓝牙设备)
  • 连接到蓝牙设备
    [bluetooth]# connect 34:88:5D:87:C0:A6
  • 信任设备
    [bluetooth]# trust 34:88:5D:87:C0:A6

推荐阅读