2018-08-22 16:00:35作者:谖瓞稿源:linux站

如果你在Ubuntu 18.04操作系统中有蓝牙鼠标连接失败问题,那就参考下面的解决方法处理。

解决方法

首先在系统终端下输入:

bluetoothctl

然后输入:

list

看清除 Controller 的 mac 地址,我的是 AC:2B:6E:91:65:4E,在终端输入:

select AC:2B:6E:91:65:4E

然后输入:

show

此时确保你的鼠标配对已打开,处于可被发现状态,输入:

scan on

在输出信息中找到你的鼠标后,即可输入:

scan off

并记下你鼠标的mac地址,如果你的鼠标连接时要求 pin code,则输入以下命令,若不用则跳过这一条(当然不确定的话需不需要 pin code 就执行一下,也没什么影响的)。

agent on

接下来使用上一条记下的鼠标mac地址,输入:

pair DC:2C:26:AE:35:41

出现 Pairing successful,即配对成功,中间要求 pin code, 就输入对应 pin code即可。这时配对成功,但是鼠标还不能操作,依次输入:

connect DC:2C:26:AE:35:41

trust DC:2C:26:AE:35:41

鼠标即可正常使用了。

参考:Bluetooth Mouse Won't Connect after Reboot - Ubuntu 18.04 LTS

device: Bluetooth Mouse M336/M337/M535

problem: mouse won't pair after restarting computer

resolution:

I have also included them below along with the additional steps I needed to perform.

// open up a command prompt and use the bluetoothctl command

// list the available bluetooth controllers

# bluetoothctl

[bluetooth]# list

Controller 01:23:45:67:89:AB fzidpc73

// choose the controller to work with

[bluetooth]# select 01:23:45:67:89:AB

// show/display the controller details

bluetooth]# show

Controller 01:23:45:67:89:AB

Name: fzidpc73

Alias: fzidpc73-0

Class: 0x000000

Powered: no

Discoverable: no

Pairable: yes

UUID: PnP Information (00001200-0000-1000-8000-00805f9b34fb)

UUID: Generic Access Profile (00001800-0000-1000-8000-00805f9b34fb)

UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)

UUID: A/V Remote Control (0000110e-0000-1000-8000-00805f9b34fb)

UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)

Modalias: usb:v1D6Bp0246d0517

Discovering: no

[bluetooth]# power on

[CHG] Controller 01:23:45:67:89:AB Class: 0x000104

Changing power on succeeded

[CHG] Controller 01:23:45:67:89:AB Powered: yes

// scan for bluetooth devices (make sure your mouse is in discovery mode before running this command)

[bluetooth]# scan on

Discovery started

[CHG] Controller 01:23:45:67:89:AB Discovering: yes

[NEW] Device 34:88:5D:87:C0:A6 Bluetooth Mouse M336/M337/M535

[bluetooth]# scan off

Discovery stopped

[CHG] Controller 01:23:45:67:89:AB Discovering: no

// turn the agent on just incase you need to supply a pin code[bluetooth]# agent on

Agent registered

// note that the device might not ask you for a pin code

[bluetooth]# pair 34:88:5D:87:C0:A6

Attempting to pair with 34:88:5D:87:C0:A6

[CHG] Device 34:88:5D:87:C0:A6 Connected: yes

Request PIN code

[agent] Enter PIN code: 1234

[CHG] Device 34:88:5D:87:C0:A6 UUIDs:

00001101-0000-1000-8000-00805f9b34fb

[CHG] Device 34:88:5D:87:C0:A6 Paired: yes

Pairing successful

[CHG] Device 34:88:5D:87:C0:A6 Connected: no

// once you have done this use the following two commands to

// complete setup

[bluetooth]# connect 34:88:5D:87:C0:A6

...

[bluetooth]# trust 34:88:5D:87:C0:A6

...

// your mouse should now work properly even after the computer has been restarted.

在Ubuntu 18.04系统中蓝牙鼠标连接失败问题的解决的更多相关文章

  1. 记录在Ubuntu 18.04系统中安装Apache, MySQL和PHP环境

    虽然我们在Linux VPS.服务器安装WEB环境比较方便,可以选择面板或者一键包,但是有些我们需要深入学习的网友不会选择一键安装,而是会尝试编译安装.这样可以学到一些内在的技术.一般我们较为习惯选择 ...

  2. Ubuntu 18.04系统中不能ssh外网远程

    前言 今天我不小心动了电插板,导致服务器断电,用远程命令开机,居然很长时间没反应,索性就亲自按电源键重启.服务器正常开机启动,ssh可以内网访问,远程命令内网有效果,就是外网不行.经过分析排查,是不是 ...

  3. Spire.Cloud 私有化部署教程(二)- Ubuntu 18.04 系统

    本教程主要介绍如何在Ubuntu 18.04系统上实现Spire.Cloud私有化部署.CentOS 7系统部署请参考 这篇教程. 详细步骤如下: 一.环境配置 1.关闭防火墙 1)首先查看防火墙状态 ...

  4. 在Ubuntu 18.04系统上安装Systemback的方法(抄)

    在Ubuntu 18.04系统上安装Systemback的方法 2018-12-26 21:39:05作者:林莉稿源:云网牛站 本文介绍如何在Ubuntu 18.04或者Ubuntu 18.10系统上 ...

  5. 在Ubuntu 12.04系统中安装配置OpenCV 2.4.3的方法

    在Ubuntu 12.04系统中安装配置OpenCV 2.4.3的方法   对于,在Linux系统下做图像识别,不像在windows下面我们可以利用Matlab中的图像工具箱来实现,我们必须借助Ope ...

  6. Ubuntu 18.04系统下arm-linux-gcc交叉编译器安装

    Ubuntu 18.04系统: arm-linux-gcc 4.4.3版本. 安装arm-linux-gcc将压缩包arm-linux-gcc.tar.gz解压到arm-linux-gcc文件夹tar ...

  7. 在Ubuntu 18.04系统上安装Pydio Cells详细图文教程

    前言   基于云的协作工具Pydio cell提供了一系列灵活的特性,包括应用内消息传递.文件共享和版本控制.下面逐步介绍安装过程. Pydio cell最初是一个简单的基于云的文件共享系统,但经过升 ...

  8. Ubuntu 18.04 系统 Update 后内核升级到5.0 导致 VMware Workstation 不正常工作

    Ubuntu 18.04 系统升级后,发现内核从 4.18 升级到 5.0,从而导致 VMware Workstation 启动主动更新,但总会显示 vmmon 和 vmnet 俩模块编译失败. 感谢 ...

  9. 如何在 Ubuntu 15.04 系统中安装 Logwatch

    大家好,今天我们会讲述在 Ubuntu 15.04 操作系统上如何安装 Logwatch 软件,它也可以在各种 Linux 系统和类 Unix 系统上安装.Logwatch 是一款可定制的日志分析和日 ...

随机推荐

  1. PHP读取xml并写入数据库示例

    <?php $xml = simplexml_load_file('books.xml'); // print_r($xml); // echo "<br/>"; ...

  2. MyBatis学习存档(2)——核心配置文件

    一.xml节点结构 configuration为根节点 properties 可以配置在Java 属性配置文件中 settings 修改 MyBatis 在运行时的行为方式 typeAliases 为 ...

  3. 并不对劲的复健训练-p3674

    题目大意 给出序列$ a_1,...,a_n $ ( $ n\leq10^5,a\leq 10^5 $ ),有\(m\) ( \(m\leq 10^5\))个以下三类询问: (1)给出\(l,r,k\ ...

  4. leecode 刷题(32)-- 链表的中间节点

    leecode 刷题(32)-- 链表的中间节点 描述: 给定一个带有头结点 head 的非空单链表,返回链表的中间结点. 如果有两个中间结点,则返回第二个中间结点. 示例 1: 输入:[1,2,3, ...

  5. HTML——form表单中常用标签 form input (text hidden password radio checkbox reset submit ) select(option)总结

    <form action="" method="get"> <!-- placeholder="请输入文本" 显示提示 r ...

  6. JS基础_while的练习1

    <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title> ...

  7. Facebook团队合影

    今晚公司年会,晚上有些人不去,我晚上要带孩子,也不去,大家就说那我们中午照个合照吧.没啥子准备,大家都一副油腻的样子.除了要去party的化了妆.

  8. element-ui el-table表格排序sortable参数解析

    表格组件的排序功能,点击排序表头可以进行升序和降序进行排序 页面代码,基本上排序的参数都使用了 <el-table :data="tableData" style=" ...

  9. react+antd引入 阿里图标

    import iconfont from '../../../../assets/fonts/iconfont.js' const Iconfont = Icon.createFromIconfont ...

  10. 移动端h5+vue失焦搜索,ios和android兼容问题

    html部分: <input type="search" :placeholder="placeholder" v-model="searchN ...