linux

Pairing a Logitech MX Master Mouse with Ubuntu 16.04 Using Bluetooth

Compared to when I used to download 3.5″ install images to set up Slackware on my machine, Linux has grown by leaps and bounds in terms of usability.  The majority of things seem to “just work” these days.  However, every once in awhile I run into some kind of weird issue.

In this case, I wanted to pair my MX Master Wireless Mouse with my Lenovo laptop running Ubuntu 16.04.  I don’t use the unifying receiver (which, to be honest, I don’t even know if I still have) because I generally just pair with Bluetooth so I have one less dongle to mess with.  That’s even more important in the case of a small laptop that doesn’t have a lot of USB ports to spare.

Adding a bluetooth device is theoretically pretty straightforward.  Go into the bluetooth settings and click ‘Add Device’ while the mouse is in pairing mode.  It actually finds the MX Master just fine, and even claims to complete the pairing process.

However, it still doesn’t recognize the mouse, and the led for the connection is still blinking instead of staying solid.  After a lot of googling, I finally found a solution that worked for me.  Once you have gone through the regular pairing procedure, enter the following commands (as root):

hciconfig hci0 sspmode 1
hciconfig hci0 down
hciconfig hci0 up

Voila, a working mouse!

16 Comments

  1. This solution doesn’t work for me. 🙁 The mouse pairs (I even tried the “do not pair” option under fixed pin), but it doesn’t do anything. Also, it will only show up under “all types” and won’t show up at all when I select “input devices”, e.g. mouse, etc..

  2. Thank you! 🙂
    This worked for me.
    I had to fiddle with turning bluetooth on and off.
    Lenovo X1 Carbon Gen 1 – Rubbish laptop & Logitech MX Master.

  3. Hi Eric! I just made the leap from Windows to Linux and am glad you were able to find a solution to this issue! The first couple of websites I visited said that there was no solution and I was almost resigned to having an expensive brick, but then I tried your solution and it worked! Thank you for posting this!

  4. I really thought I would have to be stuck with the trackpad everytime I boot into Ubuntu.
    This solved it!
    (although I ignored the simple pairing part (line 1))

  5. Hey Eric, my computer can’t find mice.. In device search always “searching for devices” but nothing found. my mouse is blinking. But nothin.. I tried your solution but again nothing…

    1. Sorry it didn’t work for you. I’m actually running Fedora now so I can’t really offer any other advice. Hope you find a solution that works for you!

  6. This worked for me- I was beginning to panic because I bought an MX Master just for linux machine at work. Thanks!

  7. I needed also command hcitool to find my Logitech M590 mac address.
    hcitool lescan
    Then gatttool to get mouse visible for blueman graphical tools.
    gatttool -i hci0 FE:25:8C:91:48:CB -I
    Just wanted to share my solution after trying days to get it work.

    1. Sorry. This describes what worked for me at the time. I’m actually not even running Ubuntu anymore so I’m afraid I don’t have any additional suggestions. Best of luck!

Leave a Reply

Your email address will not be published. Required fields are marked *