Fight for the Internet 1!

Sunday, October 23, 2011

Ubuntu Logitech diNovo Edge Bluetooth Wireless Keyboard (Part 2)

I reported on problems with Ubuntu Logitech diNovo Edge Bluetooth Wireless Keyboard, and now in Ubuntu 11.10 Oneiric and Ubuntu 12.04 Precise the problem resurfaces each time you do a fresh install or Distribution Upgrade. But the solution is slightly different than before.

Update: The problem appears in Ubuntu/Kubuntu 12.04 Precise also, but the solution is the same.

This solution is using for the Logitech diNovo Edge in Ubuntu/Kubuntu. Symptoms are the bluetooth-device-manager kept prompting me to connect to the device but nothing I did ever worked.

Here is the solution / fix for getting the keyword to work. The source for this information is here.

The problem is in the udev rules. In 11.04 there was a special line in '/lib/udev/rules.d/70-hid2hci.rules' for Logitech devices that started with KERNEL=="hidraw*".
These seem to be missing in default configurations. This fix adds this line into another file instead which makes things work.

Edit the file: /lib/udev/rules.d/##-bluez-hid2hci.rules (where the ## is the number on your system. Just search for the keywords 'bluez-hid2hci.rules' in the /lib/udev/rules.d/ directory. For example, on my system in Ubuntu 11.10 it was number 62 and on Ubuntu 12.04 is was 97.)

(If you need help editing a file, see bottom section.)

Change this line:
# Logitech devices
KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
RUN+="hid2hci --method=logitech-hid --devpath=%p"
to
KERNEL=="hidraw*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
RUN+="hid2hci --method=logitech-hid --devpath=%p"
I have made the changed sections BOLD. Save the changes to the file. I also turned bluetooth off from the icon in the system tray.
After making this change, I turned on my wireless keyboard, unplugged it's bluetooth dongle, plugged it back in, paired the keyword with the dongle, and a few seconds later it worked. I did not even have to reboot.
IF YOU NEED HELP EDITING CONFIGURATION FILES UNDER LINUX, please see this link: http://awesomelinux.blogspot.com/2010/09/how-to-edit-configuration-file.html

8 comments:

  1. Excellent post! It worked like a charm. Thanks!

    ReplyDelete
  2. Thanks, man. Exactly what I needed!

    ReplyDelete
  3. I tried this, but after that change the system won't even recognize that my bluetooth dongle is connected anymore (I mean after disconnecting and connecting again and reboot doesn't help either). I'm using the dongle that came with the keyboard.

    ReplyDelete
  4. Thank you very much for sharing this info it really made my day how easily this problem was solved!

    @Unknown: With this change it did not show up as a Bluetooth device for me, either. However, by simply pressing the connect buttons on the dongle and device, it managed to connect and well.. I'm typing this message on my diNovo Edge.

    ReplyDelete
  5. Thanks for discovering this. I just saved me for a lot of trouble.

    ReplyDelete
  6. If you are upgrading to 12.04 then you need to edit 97-bluetooth-hid2hci.rules as described in this article.

    ReplyDelete
  7. confirmed working for the "old" logited dinovo sets as well on 12.04

    ReplyDelete
  8. This is a decent post. This post give really quality data. I'm certainly likely to investigate it. Truly exceptionally valuable tips are given here. much obliged for you to this extent. Keep up the acts of kindness.fortnite

    ReplyDelete