I recently bought the new Logitech MX Anywhere 2 mouse and have gotten it to work on my windows machines and but when I try to use it on my Dell M3800 running Ubuntu 14.04 it doesn't work at all. I can pair the device with no problem and it even displays the name of the device as "MX Anywhere 2" but it doesn't seem to actually identify the actual device as anything. Using blueman it shows as an "unknown" type and within the system bluetooth manager it displays the type as "unknown" as well. Any suggestions?
Ubuntu – Logitech MX Anywhere 2 mouse pairs but doesn’t do anything
bluetoothlogitechmouseunknown-device
Related Solutions
So since people still seem to come around here looking for an answer (I don't blame you, it's a good mouse), I decided to do some copy-pasting from my MX Anywhere 2 answer. Anyway, enjoy:
UPDATE FOR >15.10:
In my original answer I said that the problem would most likely be fixed when 15.10 comes around. While 15.10 does indeed have bluez 5, there is still some problem with pairing. Honestly, it was quite a while since I fixed this problem myself, but if I remember correctly, the MX Master (MX Anywhere 2) uses a PIN-less pairing method which isn't quite properly implemented yet in Ubuntu. Here are some commands which you can use as a quick fix:
hciconfig hci0 sspmode 1
hciconfig hci0 down
hciconfig hci0 up
If you're using another Bluetooth device than hci0, you obviously have to change that part of the commands, otherwise, they should be good to go.
ORIGINAL ANSWER (for < 15.10):
I had this problem a while back. Basically what's happening is that the MX Master requires Bluetooth Smart and Ubuntu ships with bluez (the Bluetooth driver) 4 which does not have support for Bluetooth Smart. Bluez 5, which adds support for Bluetooth Smart, is supposed to start shipping with 15.10, but for now, you'll have to install bluez 5 manually if you want to use it.
Just a heads up, if you want to have a stable system, DON'T DO THIS. First of all, this will break the built in Bluetooth control in the settings panel. This method that I'm about to describe adds a PPA too, which is supposed to be bad for your system when upgrading and stuff. Only do this if you know how to remove a PPA and revert to bluez 4 or if you just don't care and want to get it working. ;P
First, you need to add a PPA with bluez 5. I would recommend the bluez 5 PPA made by Austin since that's the one I have used before. Add it with this command:
sudo add-apt-repository ppa:vidplace7/bluez5
Then refresh apt-get:
sudo apt-get update
After that you can install bluez 5 with this command:
sudo apt-get install bluez
Now that you have bluez 5, you need a way of controlling Bluetooth since, as stated earlier, the built in control panel will not work anymore.
There are two ways which I have tried for this. If you want to have a GUI then Blueman is your best option. You can install it simply with:
sudo apt-get install blueman
This will install the Blueman Bluetooth interface which you can open for your app launcher. It should be straight forward to use and not require any in depth explanation.
The method I recommend however is to use the command line. I found this to be much more stable (worked on login screen while Blueman didn't) and actually surprisingly intuitive to use for being a command line.
The way it works is that you type bluetoothctl
in to the command line where you'll now have a command interface to interact with Bluetooth devices. You can type help
to get a list of commands and what they do. The command that you'll want to use first for pairing the MX Master is the scan
command. If you type scan on
, your computer will start searching for Bluetooth devices. While in this mode, put your MX Master in to pairing mode and wait for it to show up in the console. It will show up something like this:
[NEW] Device XX:XX:XX:XX:XX:XX MX Master
The "XX:XX:XX:XX:XX:XX" string is the MAC address of your MX Master. To pair it and connect it, type:
pair XX:XX:XX:XX:XX:XX
connect XX:XX:XX:XX:XX:XX
Make sure to change all the "XX:XX:XX:XX:XX:XX" to the MAC address you got when scanning.
And that should about do it. Hope it works for you!
My device is a Surface Edition Bluetooth LE Arc Touch Mouse made by Microsoft.
I couldn't get it to connect with any distro I've tried over the past year, until OpenSuse Leap. Then I knew it was possible! But I like Ubuntu (I know I know)
Came across this thread and had everything looking exactly like your read out shows:
Name: Arc Touch Mouse SE
Alias: Arc Touch Mouse SE
Appearance: 0x03c2
Icon: input-mouse
Paired: yes
Trusted: yes
Blocked: no
Connected: yes
LegacyPairing: no
And Still NOTHING! No movement even though its clearly listed as paired, trusted, unblocked, and connected! I was about to give up for good but decided to try one last thing..
I deleted the device using "remove" and issued the following commands in this exact order which resulted in my device working! After a year of trying to find a way.
[bluetooth]# power off
[bluetooth]# power on
[bluetooth]# scan on
[bluetooth]# connect XX:XX:XX:XX:XX:XX
[Arc Touch Mouse SE]# trust
[Arc Touch Mouse SE]# connect XX:XX:XX:XX:XX:XX
[Arc Touch Mouse SE]# pair
[Arc Touch Mouse SE]# unblock
[Arc Touch Mouse SE]# power off
[bluetooth]# power on
So I can confirm that Ubuntu 16.04 does indeed support Bluetooth LE devices
Best Answer
UPDATE FOR >15.10:
In my original answer I said that the problem would most likely be fixed when 15.10 comes around. While 15.10 does indeed have bluez 5, there is still some problem with pairing. Honestly, it was quite a while since I fixed this problem myself, but if I remember correctly, the MX Master (MX Anywhere 2) uses a PIN-less pairing method which isn't quite properly implemented yet in Ubuntu. Here are some commands which you can use as a quick fix:
If you're using another Bluetooth device than
hci0
, you obviously have to change that part of the commands, otherwise, they should be good to go. You'll also have to run them each time you restart and therefore I recommend you either have them in an accessible script or that you add them to startup applications. I should also note that I have since been able to get the mouse working even without running these commands after rebooting, so only use them if you have to.ORIGINAL ANSWER (for < 15.10)
Answer taken from here: https://askubuntu.com/a/660666/256078
What's happening is that the MX Anywhere 2 requires Bluetooth Smart and Ubuntu ships with bluez (the Bluetooth driver) 4 which does not have support for Bluetooth Smart. Bluez 5, which adds support for Bluetooth Smart, is supposed to start shipping with 15.10, but for now, you'll have to install bluez 5 manually if you want to use it.
Just a heads up, if you want to have a stable system, DON'T DO THIS. First of all, this will break the built in Bluetooth control in the settings panel. This method that I'm about to describe adds a PPA too, which is supposed to be bad for your system when upgrading and stuff. Only do this if you know how to remove a PPA and revert to bluez 4 or if you just don't care and want to get it working. ;P
First, you need to add a PPA with bluez 5. I would recommend the bluez 5 PPA made by Austin since that's the one I have used before. Add it with this command:
Then refresh apt-get:
After that you can install bluez 5 with this command:
Now that you have bluez 5, you need a way of controlling Bluetooth since, as stated earlier, the built in control panel will not work anymore.
There are two ways which I have tried for this. If you want to have a GUI then Blueman is your best option. You can install it simply with:
This will install the Blueman Bluetooth interface which you can open for your app launcher. It should be straight forward to use and not require any in depth explanation.
The method I recommend however is to use the command line. I found this to be much more stable (worked on login screen while Blueman didn't) and actually surprisingly intuitive to use for being a command line.
The way it works is that you type
bluetoothctl
in to the command line where you'll now have a command interface to interact with Bluetooth devices. You can typehelp
to get a list of commands and what they do. The command that you'll want to use first for pairing the MX Anywhere 2 is thescan
command. If you typescan on
, your computer will start searching for Bluetooth devices. While in this mode, put your MX Anywhere 2 in to pairing mode and wait for it to show up in the console. It will show up something like this:The "XX:XX:XX:XX:XX:XX" string is the MAC address of your MX Anywhere 2. To pair it and connect it, type:
Make sure to change all the "XX:XX:XX:XX:XX:XX" to the MAC address you got when scanning.
Done.