2021年11月4日 星期四

Logitech M337 藍芽連線

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

device: Bluetooth Mouse M336/M337/M535

resolution:

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

# bluetoothctl

[bluetooth]# list

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

[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

...

Modalias: usb:v1D6Bp0246d0517

Discovering: no

[bluetooth]# power on

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

// 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

...

[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.

參考: 
https://www.cnblogs.com/mouseleo/p/10842191.html

沒有留言: