蓝牙设备需要配对

蓝牙设备需要配对

我刚刚安装了 Ubuntu 16.04,到目前为止我只遇到了这个问题。蓝牙正在运行;事实上,我的蓝牙耳机已连接并正常工作。

我的蓝牙鼠标找不到,一直显示“正在搜索设备”。我知道它与 Ubuntu 兼容,因为我在工作中试过,没有问题。

很奇怪吧?

我认为这与固件有关,但这有点超出我的能力范围。如能得到任何指导,我将不胜感激。

我尝试了谷歌中弹出的许多建议:(,我更新了所有内容。

帮助同胞。

通过查看/var/log/syslog我得到了以下信息:

Feb 20 19:38:06 Uthred kernel: [    0.000000] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later)
Feb 20 19:38:06 Uthred kernel: [    0.143961] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
Feb 20 19:38:06 Uthred kernel: [    1.882708] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2
Feb 20 19:38:06 Uthred kernel: [    1.882709] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/downloads/firmware], disabling runtime power management.
Feb 20 19:38:06 Uthred kernel: [    8.356777] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
Feb 20 19:38:07 Uthred NetworkManager[844]: <info>  [1519173487.1039] manager[0xa11200]: monitoring kernel firmware directory '/lib/firmware'.
Feb 20 19:50:30 Uthred kernel: [    0.000000] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later)
Feb 20 19:50:30 Uthred kernel: [    0.137387] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
Feb 20 19:50:30 Uthred kernel: [    1.872620] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2
Feb 20 19:50:30 Uthred kernel: [    1.872622] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/downloads/firmware], disabling runtime power management.
Feb 20 19:50:30 Uthred kernel: [    8.312739] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
Feb 20 19:50:30 Uthred NetworkManager[809]: <info>  [1519174230.4601] manager[0x237c200]: monitoring kernel firmware directory '/lib/firmware'.
Feb 20 20:23:52 Uthred kernel: [    0.000000] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later)
Feb 20 20:23:52 Uthred kernel: [    0.140260] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
Feb 20 20:23:52 Uthred kernel: [    1.876657] i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2
Feb 20 20:23:52 Uthred kernel: [    1.876658] i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/downloads/firmware], disabling runtime power management.
Feb 20 20:23:52 Uthred kernel: [    8.316400] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.2.0-00180-QCARMSWPZ-1 api 4 features wowlan,ignore-otp,no-4addr-pad crc32 75dee6c5
Feb 20 20:23:52 Uthred NetworkManager[885]: <info>  [1519176232.4860] manager[0xd7b200]: monitoring kernel firmware directory '/lib/firmware'.
Feb 20 22:41:57 Uthred NetworkManager[885]: <info>  [1519184517.8840] manager: kernel firmware directory '/lib/firmware' changed
Feb 20 22:42:01 Uthred NetworkManager[885]: <info>  [1519184521.8409] manager: kernel firmware directory '/lib/firmware' changed
Feb 20 22:45:01 Uthred kernel: [    0.000000] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version: 0x52 (or later)
Feb 20 22:45:01 Uthred kernel: [    0.144178] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
Feb 20 22:45:01 Uthred kernel: [    2.047062] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_01.bin (v1.1)
Feb 20 22:45:01 Uthred kernel: [    8.563973] ath10k_pci 0000:01:00.0: firmware ver WLAN.RM.4.4.1-00051-QCARMSWP-1 api 6 features wowlan,ignore-otp crc32 c3fd4411
Feb 20 22:45:01 Uthred NetworkManager[863]: <info>  [1519184701.4353] manager[0x1356200]: monitoring kernel firmware directory '/lib/firmware'.
Feb 20 22:45:49 Uthred ureadahead[317]: ureadahead:/home/alberto/.cache/gnome-software/3.20/firmware/firmware.xml.gz.asc: Error retrieving chunk extents: Operation not supported

通过运行systemctl status bluetooth我得到以下信息:

● bluetooth.service - Bluetooth service
   Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2018-02-20 22:49:07 EST; 12min ago
     Docs: man:bluetoothd(8)
 Main PID: 27733 (bluetoothd)
   Status: "Running"
   CGroup: /system.slice/bluetooth.service
           └─27733 /usr/lib/bluetooth/bluetoothd

Feb 20 22:49:07 Uthred bluetoothd[27733]: Current Time Service could not be registered
Feb 20 22:49:07 Uthred bluetoothd[27733]: gatt-time-server: Input/output error (5)
Feb 20 22:49:07 Uthred bluetoothd[27733]: Not enough free handles to register service
Feb 20 22:49:07 Uthred bluetoothd[27733]: Not enough free handles to register service
Feb 20 22:49:07 Uthred bluetoothd[27733]: Sap driver initialization failed.
Feb 20 22:49:07 Uthred bluetoothd[27733]: sap-server: Operation not permitted (1)
Feb 20 22:49:07 Uthred systemd[1]: Started Bluetooth service.
Feb 20 22:49:07 Uthred bluetoothd[27733]: Endpoint registered: sender=:1.72 path=/MediaEndpoint/A2DPSource
Feb 20 22:49:07 Uthred bluetoothd[27733]: Endpoint registered: sender=:1.72 path=/MediaEndpoint/A2DPSink
Feb 20 22:49:34 Uthred bluetoothd[27733]: /org/bluez/hci0/dev_00_02_5B_B2_47_F1/fd0: fd(23) ready

答案1

蓝牙设备需要配对

在使用蓝牙设备之前,需要将其与 Atheros WiFi 卡配对。这些说明给出详细步骤。

你还需要交出你的8.16 美元蓝牙鼠标来自中国。有一个看起来像摇杆开关和一个按钮的东西。使用其中一个(网页没有说明哪一个)来激活配对功能。

另外,请确保tlp不会关闭蓝牙以节省电量:连接蓝牙鼠标

官方/技术说明但在这里,但不如我提供的第一个链接那么容易使用。

许多用户发现蓝牙设置令人沮丧且耗时。对于无线鼠标和键盘(在我看来)来说,最好的方法是使用 Logitech、Microsoft 和其他知名品牌制造商的 IR 技术。

答案2

如果您有蓝牙鼠标、键盘或耳机,您将需要查看设备操作手册以了解如何将其置于可发现或配对模式。

如果您有另一台计算机、平板电脑或智能手机,则 Ubuntu 计算机或其他设备需要可见(可发现),然后您可以在扫描设备时找到它。

还可以在终端中使您的 Ubuntu 机器可见并进行扫描。

代码:

bluetoothctl

这将通过终端提供蓝牙控制,并将列出计算机蓝牙设备 [控制器] 的 MAC 地址及其蓝牙名称,并可能列出已配对的设备及其 MAC 地址。

代码:

scan on

要启用扫描,应该找到任何可见/可发现的设备

代码:

discoverable on

使计算机可被其他设备发现。如果您在打开扫描后找到要配对的设备,则

代码:

pair

然后输入 MAC 地址的前 2 位数字(区分大小写),按 TAB 键自动完成 MAC 地址输入,按 Enter 键,对

代码:

trust

命令,然后使用 connect 命令完成,然后使用 CTRL + d 退出 bluetoothctl。

如果你的桌面环境使用 gnome-bluetooth,蓝牙管理器可能看起来像

在此处输入图片描述

您可以使用滑块使计算机可见,然后使用设备窗口下的 + 进行扫描,如果找到设备,请单击它,它会为您提供配对选项

相关内容