Drivers

藍牙滑鼠

  • November 25, 2018

為什麼我無法連接以下滑鼠:

# lsusb
...
Bus 001 Device 002: ID 19ff:0239 Dynex
...

設備 2,控制器,在使用 Hex ID 進行Google搜尋後工作正常(請參閱答案:韌體更新以了解我是如何工作的,以防你好奇。這就是我難過的地方。使用Gentoo 藍牙 WikiArch 藍牙滑鼠頁面,以下是我得到的輸出blutoothctl

# bluetoothctl
Agent registered
[bluetooth]# list
Controller BC:14:EF:65:E9:62 bedroom-gentoo [default]
[bluetooth]# show  BC:14:EF:65:E9:62
Controller BC:14:EF:65:E9:62 (public)
   Name: bedroom-gentoo
   Alias: bedroom-gentoo
   Class: 0x001c0104
   Powered: yes
   Discoverable: yes
   Pairable: yes
   UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
   UUID: A/V Remote Control        (0000110e-0000-1000-8000-00805f9b34fb)
   UUID: OBEX File Transfer        (00001106-0000-1000-8000-00805f9b34fb)
   UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
   UUID: OBEX Object Push          (00001105-0000-1000-8000-00805f9b34fb)
   UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
   UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
   UUID: IrMC Sync                 (00001104-0000-1000-8000-00805f9b34fb)
   UUID: Audio Source              (0000110a-0000-1000-8000-00805f9b34fb)
   UUID: Audio Sink                (0000110b-0000-1000-8000-00805f9b34fb)
   UUID: Message Notification Se.. (00001133-0000-1000-8000-00805f9b34fb)
   UUID: Phonebook Access Server   (0000112f-0000-1000-8000-00805f9b34fb)
   UUID: Message Access Server     (00001132-0000-1000-8000-00805f9b34fb)
   Modalias: usb:v1D6Bp0246d0531
   Discovering: yes
[bluetooth]# select  BC:14:EF:65:E9:62
[bluetooth]# power off
Changing power off succeeded
[CHG] Controller BC:14:EF:65:E9:62 Powered: no
[CHG] Controller BC:14:EF:65:E9:62 Discovering: no
[CHG] Controller BC:14:EF:65:E9:62 Class: 0x00000000
[bluetooth]# power on
[CHG] Controller BC:14:EF:65:E9:62 Class: 0x001c0104
Changing power on succeeded
[CHG] Controller BC:14:EF:65:E9:62 Powered: yes
[CHG] Controller BC:14:EF:65:E9:62 Discovering: yes
[CHG] Controller BC:14:EF:65:E9:62 DiscoverableTimeout: 0x00000000
[CHG] Controller BC:14:EF:65:E9:62 DiscoverableTimeout: 0x00000000
[bluetooth]# agent on
Agent is already registered
[bluetooth]# default-agent
Default agent request successful
[bluetooth]# discoverable on
Changing discoverable on succeeded
[bluetooth]# pairable on
Changing pairable on succeeded
[bluetooth]# scan on
Discovery started
[NEW] Device 34:88:5D:87:C7:CE Bluetooth Mouse M336/M337/M535
[CHG] Device 34:88:5D:87:C7:CE Connected: no
[DEL] Device 34:88:5D:87:C7:CE Bluetooth Mouse M336/M337/M535
[NEW] Device 34:88:5D:87:C7:CE Bluetooth Mouse M336/M337/M535
[CHG] Device 34:88:5D:87:C7:CE Connected: no
[DEL] Device 34:88:5D:87:C7:CE Bluetooth Mouse M336/M337/M535

請注意藍牙滑鼠 M336/M337/M535 的 NEW、CHG 和 DEL 線(我僅在按下配對按鈕時才會收到 NEW、CHG 和 DEL 線)。每次我嘗試連接信任或配對項目時,我都會收到:

[bluetooth]# pair 34:88:5D:87:C7:CE
Device 34:88:5D:87:C7:CE not available

我正在嘗試將我的外圍設備轉換為藍牙以節省我的前端 USB 埠。在我有一個工作滑鼠之前,我不敢嘗試我的新耳機。

今天看包裝,滑鼠正式包裝為羅技M535藍牙滑鼠

問題解決了,我錯過了藍牙 Wiki 中的一步。將我的使用者添加到 plugdev 組:

usermod -a -G plugdev ecyoung

引用自:https://unix.stackexchange.com/questions/439219