
I had this same problem (in my case, on Ubuntu 20.04 and up) for months and finally found a solution that works permanently.

Maybe somebody has more insight in what's the diff between pairing via GNOME system settings and with the "bluetoothctl" command line tool.

Works like a charm on reboot / sleep / manually "disconnect" in "bluetoothctl" Device xx:yy:zz.:www HP Bluetooth Mouse Z5000Įverythings fine - even without hacking /etc/bluetooth/nf

After move mouse tries to connect, falls back immediately.Īfter following the procedure described above: Could also reproduce behaviour with manually disconnecting mouse in "bluetoothctl".Mouse works, however, as soon as the laptop falls asleep/reboots or even sporadically mouse does not work any more - re-animated by pressing the connect button and hitting the "System Settings -> Bluetooth -> HP Bluetooth Mouse Z500 -> Connection" button, one to several times.Paired using graphical interface yields the following: Ubuntu 18.04.2 (to be complete Dell Latitude 5290 2-in-1 - I think/from other postings irrelevant)īluetooth Mouse (to be complete HP Z5000 - also irrelevant what I saw so far) Same problem here - fixed as described below: The following links contain more details about the bugs in bluez 4.48 and potential solutions: bluez bug description and bluez bug solution. Add the following repository to get the last version of bluez (5.50 as of Sept 28, 2018): sudo add-apt-repository ppa:bluetooth/bluezĪfter running the command you should be able to update to bluez 5.50 via: sudo apt upgrade In my case, I received version: 4.48-0ubuntu0ppa. Restart your computer, your mouse should now connect automatically after sleep or restart.īefore all of that, I also updated bluez from 5.48 to 5.50, it is known to bring some fixes, I have no idea if it's needed but it certainly can't hurt:įirst of all, open the terminal and check the current bluez version in your system with the following command: dpkg -status bluez | grep '^Version:' You might also want to trust the device with trust

run pair (within bluetoothctl which paired the device).run bluetoothctl (list the MAC address, of your mouse, a number like 00:1F:28:FE:04:82).Pairing it differently, via terminal, is what resolved it for me: I had the same problem with a Logitech M535 under 18.04.
