Ubuntu – Connecting Ubuntu Gnome 16.04 to Microsoft Designer Mouse via Bluetooth

bluetoothgnomemouse

Using Ubuntu Gnome 16.04 on an Intel NUC NUC6i5SYK. (New thread cos previous threads on the designer mouse are for previous versions of Ubuntu/slightly different issues.) Dual booting with Win 10, where the mouse works fine.

Blueman wasn't working so I researched a little and got instructions for bluetoothctl. The results:

:~$ bluetoothctl
[NEW] Controller 00:C2:C6:CB:E5:CA matthew-desktop [default]
[NEW] Device CA:FA:3A:7B:F8:8D Designer Mouse
[NEW] Device 88:C6:26:9C:F6:D4 UE BOOM 2
[bluetooth]# agent on
Agent registered
[bluetooth]# scan on
Discovery started
[CHG] Controller 00:C2:C6:CB:E5:CA Discovering: yes
[NEW] Device 64:27:37:83:35:CD TOM-PC
[CHG] Device CA:FA:3A:7B:F8:8D Connected: yes
[Designer Mouse]# trust CA:FA:3A:7B:F8:8D
Changing CA:FA:3A:7B:F8:8D trust succeeded
[Designer Mouse]# pair CA:FA:3A:7B:F8:8D
Attempting to pair with CA:FA:3A:7B:F8:8D
[CHG] Device CA:FA:3A:7B:F8:8D Paired: yes
Pairing successful
[Designer Mouse]# connect CA:FA:3A:7B:F8:8D
Attempting to connect to CA:FA:3A:7B:F8:8D
Connection successful
[NEW] Device 5D:4D:A6:FB:F4:62 5D-4D-A6-FB-F4-62
[Designer Mouse]# 

Which looks good – but moving the mouse doesn't move the cursor, and clicks aren't registered. Otherwise using a Logitech T650, which works fine.

Any ideas what the next step might be in getting this working? Thanks!

Best Answer

I too have the MS designer KB and mouse and have been struggling to get them working until I found this nugget which led me to my solution:

You can use /usr/bin/btmon to observe bluetooth traffic in a terminal" $ sudo /usr/bin/btmon

The settings in my /var/lib/bluetooth/0C:8B:FD:A3:A7:81/C9:DE:3D:0B:5D:AA/info file did not correlate to the info given above so I wondered why? Both devices work fine with a Win10 installation so it cannot be hardware.

Playing with /etc/bluetooth/main.conf I have ended up with these changes to the supplied default settings:

ControllerMode = dual
FastConnectable = true
AutoEnable=true

I believe it was the "FastConnectable" set to true that did the trick.

Restart the bluetooth daemon:

$ sudo systemctl restart bluetooth

Then launch the bluetooth settings window from the panel and I was able to pair and connect first the mouse and then the keyboard.

Both of which are finally now working as I type this.

Here are the settings for the controller:

# cat /var/lib/bluetooth/0C:8B:FD:A3:A7:81/settings
[General]
Discoverable=true
DiscoverableTimeout=0

Here are the settings from the device info files:

# cat /var/lib/bluetooth/0C:8B:FD:A3:A7:81/C9:DE:3D:0B:5D:AA/info
Name=Designer Mouse
Appearance=0x03c2
AddressType=static
SupportedTechnologies=LE;
Trusted=true
Blocked=false
Services=00001800-0000-1000-8000-00805f9b34fb;00001801-0000-1000-8000-00805f9b34fb;0000180a-0000-1000-8000-00805f9b34fb;0000180f-0000-1000-8000-00805f9b34fb;00001812-0000-1000-8000-00805f9b34fb;

[IdentityResolvingKey]
Key=FD8B335D5C060F854D176DB83B8D30C2

[LocalSignatureKey]
Key=46E81FBAC8BF9D08E2D0EB4E2B18BDD9
Counter=0
Authenticated=false

[LongTermKey]
Key=4654312509FC03FE50E4F4733939F465
Authenticated=0
EncSize=16
EDiv=48958
Rand=16834402867800600456

[DeviceID]
Source=2
Vendor=1118
Product=2053
Version=272

[ConnectionParameters]
MinInterval=6
MaxInterval=6
Latency=60
Timeout=300

# cat /var/lib/bluetooth/0C:8B:FD:A3:A7:81/F6:E0:5B:DF:78:BC/info
[General]
Name=Designer Keyboard
Appearance=0x03c1
AddressType=static
SupportedTechnologies=LE;
Trusted=true
Blocked=false
Services=00001800-0000-1000-8000-00805f9b34fb;00001801-0000-1000-8000-00805f9b34fb;0000180a-0000-1000-8000-00805f9b34fb;0000180f-0000-1000-8000-00805f9b34fb;00001812-0000-1000-8000-00805f9b34fb;

[ConnectionParameters]
MinInterval=12
MaxInterval=12
Latency=30
Timeout=300

[IdentityResolvingKey]
Key=4F6C4BBD104ADD361420130F8EDAC946

[LocalSignatureKey]
Key=0EC3A10834025CD3297D8E45EAD7EB00
Counter=0
Authenticated=true

[LongTermKey]
Key=AF3871A1D67F898120814603BF8C77D3
Authenticated=1
EncSize=16
EDiv=16328
Rand=4879611362371170586

Thanks everyone!

Related Question