2

Purchased a new Logitech MX mouse. This mouse requires Bluetooth Smart which is only available in BlueZ 5. Everything I have read in upgrading the packages breaks the current Bluetooth Manager

PPA Here: https://launchpad.net/~vidplace7/+archive/ubuntu/bluez5

Any suggestions on how to upgrade?

  • So Daniel, has anyone had success using that PPA? I just restored my system (Backintime to the rescue!) and a little weary of trying again...might just put up with the dongle for now. – Joao Aug 25 '15 at 16:08
1

A few days ago I was able successfully get bluez5 working on my Freya laptop so I could use my new Microsoft Arc bluetooth mouse on it. Here is what I did:

Grab the bluez package named 5.23-1ubuntu1~mtrudel1 and indicator-bluetooth from the following PPA.

You need to modify the bluez package and remove the dependencies init-system-helpers and lsb-base, otherwise you're going to have some dependency issues the next time you perform a system update.

dpkg-deb -x bluez_5.23-1ubuntu1-mtrudel1_amd64.deb dir_tmp

dpkg-deb --control bluez_5.23-1ubuntu1-mtrudel1_amd64.deb dir_tmp/DEBIAN

Go into the dir_tmp/DEBIAN folder and you open the control file. Delete the dependencies from the "Depends" line. Then you can repackage the modified deb file with the following command:

dpkg -b dir_tmp/ modded_bluez_package.deb

Manually install the modified bluez5 package as well as indicator-bluetooth.

Download and install the 2.0.1 version of blueman from here. If it gives you an dependency problems then remove them from the package in the same manner you used to modify the bluez package.

After these 3 packages are installed, reboot your system. You should then see the new bluetooth indicator icon in the panel. Open it up and setup your Arc Touch mouse. It should pair and connect without any problem.

To solve some auto reconnect issues I was having, I had to install the 14.04.3 LTS stack that was recently released.

  • Ali, thanks for the info, could you elaborate on how to "remove the dependencies init-system-helpers and lsb-base"? – Joao Aug 16 '15 at 22:59
  • @Joao Sure, I updated the answer with a more detailed explanation of how to accomplish this. – Ali Aug 16 '15 at 23:17
  • Worked like a Charm! My new Logitech MX Master works great, with thumb scroll, thumb front/back etc! – Joao Aug 17 '15 at 0:11
  • Update, this eventually crashed my system due to update hang ups... – Joao Aug 25 '15 at 14:38
0

After many trials of upgrading to Bluez5 I would strongly recommend not upgrading yet, there are too many issues for a stable system. Still having said that, here is what you will get at present if you will to upgrade.

Install the above PPA from vidplace7 and perform the usual process;

 sudo apt-add-repository ppa:vidplace7/bluez

then update the software lists:

sudo apt update

Then upgrade your installed software:

sudo apt upgrade

At this point, apt will probably hang on unpacking the new Bluez5 package. There is nothing you can do at this point, hard shutdown the computer and reboot. After rebooting, you will need to run:

sudo dpkg --configure -a

This will unlock apt... Then you will need to open the file manager as root and navigate to /var/lib/dpkg/info/, then delete every file that starts with bluez. Once you do that, open the terminal and run the upgrade command again.

sudo apt upgrade

This time it should install the new Bluez5 packages. Note: because the ppa is update very often, every time you upgrade your software it will hang at the unpacking of the new Bluez5 package. So you will need to delete all of the bluez files in /var/lib/dpkg/info/ again. To avoid this issue, just type Software & Update in Slingshot, find the ppa and un-check the ppa to disable it. You can then run it every once and a while or as needed.

Now, the Bluetooth indicator will no longer function so you will need to install Blueman version 2.0> , if you are on a 64Bit system, use this one: http://ftp.us.debian.org/debian/pool/main/b/blueman/blueman_2.0-1_amd64.deb Once this is all setup, you should be able to pair and use the latest "Smart" bluetooth mice using Blueman to set them up.

All Bluetooth A2DP (Audio sync) capabilities will be lost, because Pulse Audio for Bluez5 is not yet available.

If you go through all fo this and it does not work for you, just delete the ppa and type:

sudo apt-get purge bluez

If the system hangs again, jsut delete the files in /var/lib/dpkg/info that start with "bluez" and try again. once that is done, run: sudo apt update & sudo apt upgrade just to make sure everything is working.

Then reinstall bluez and indicator using the following commands:

sudo apt install bluez

sudo apt install indicator-bluetooth

This should restore your system to previous state.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.