linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Logitech bluetooth Dinovo keyboard problem
@ 2011-10-15 11:17 Martin G. Miller
  2011-10-15 14:36 ` Alexander Holler
  0 siblings, 1 reply; 2+ messages in thread
From: Martin G. Miller @ 2011-10-15 11:17 UTC (permalink / raw)
  To: linux-bluetooth

Dear sirs;

I am writing at the request of the Ubuntu bug team for a recurrent
problem with this device.

Martin Pitt at Ubuntu.com suggested:

Can someone who is affected by this please mail this problem to
linux-bluetooth kernel at vger kernel org with the proposed rule change?
We have patched
this at least four times, and evertime we do it, some other device
stopped working. Instead of keeping to fiddle with this at the distro
level, it would be a lot better if this could be fixed/applied upstream,
and affected people could then try out potential other solutions
suggested by the bluez developers.

Here is the problem and my current work around:

First as entered  at a continuation of an older launchpad.net bug #
123920   

Total regression with this issue in 11.10 32 bit

I had this dinovo edge bluetooth keyboard/trackpad working perfectly in
11.04.  Since the upgrade to 11.10 "Oneiric"  I am back to not being
able to use it.  It refuses to pair and the old entry (changing hiddraw
to hidraw)  in lib/udev/rules.d/70-hid2hic.rules  is gone.  If I put it
in it still does not work.   The bluetooth pairing apple just goes
around in circles, asking to enter a code number that appears on screen,
followed by a failed to pair.  If you just try to use the keyboard
without running the bluetooth applet, it pops up a dialog asking to
grant permission, but checking the box and telling it grant does not
work.   Also, my Apple magic track pad, which worked perfectly in 11.04
also fails to pair in 11.10.  It now asks for a key which does not
exist.  In 11.04 it just asked to pair and then worked.

Finally, I created a new bug report because the problem had been sorted
with the older code and has reappeared in the latest code.
see launchpad.net bug # 872940 
Public bug reported:

Ubuntu 11.10 32 bit upgraded from 11.04 on 12 Oct. 2011

What is expected to happen:  The Logitech dinovo bluetooth
keyboard/trackpad should continue to work as before.
What happened instead:  The keyboard now fails to connect and cannot be
paired with the bluetooth dialog.

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*".  
This is now missing in 11.10
I edited /lib/udev/rules.d/62-bluez-hid2hic.rules and changed the hiddev
to hidraw, saved the file and rebooted.
The keyboard and trackpad now work as expected.

The file as it exists now is less complex then the one in 11.04 as there
were several items listed in the Logitech section.  I suspect that the
11.04 version allowed other logitech devices to work in hiddev mode.
Someone more knowledgeable then me needs to compare the 2 versions of
the file to ensure total compatibility.

The Logitech section from 11.04 looks like this:
# Logitech devices
KERNEL=="hiddev*", ATTRS{idVendor}=="046d",
ATTRS{idProduct}=="c70[35e]", \
  RUN+="hid2hci --method=logitech-hid --devpath=%p"
KERNEL=="hidraw*", ATTRS{idVendor}=="046d",
ATTRS{idProduct}=="c70[4abc]|c71[34bc]", \
  RUN+="hid2hci --method=logitech-hid --devpath=%p"

The Logitech section from 11.10 looks like this before modification:
# Logitech devices
KERNEL=="hiddev*", ATTRS{idVendor}=="046d",
ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
  RUN+="hid2hci --method=logitech-hid --devpath=%p"

This is what I changed it to:
# Logitech devices
KERNEL=="hidraw*", ATTRS{idVendor}=="046d",
ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
  RUN+="hid2hci --method=logitech-hid --devpath=%p"


-- 
        
"Don't fear the penguin"
    Dr. Martin G. Miller
mgmiller@optonline.net


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Logitech bluetooth Dinovo keyboard problem
  2011-10-15 11:17 Logitech bluetooth Dinovo keyboard problem Martin G. Miller
@ 2011-10-15 14:36 ` Alexander Holler
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Holler @ 2011-10-15 14:36 UTC (permalink / raw)
  To: Martin G. Miller; +Cc: linux-bluetooth

Am 15.10.2011 13:17, schrieb Martin G. Miller:
> Dear sirs;
>
> I am writing at the request of the Ubuntu bug team for a recurrent
> problem with this device.
>
> Martin Pitt at Ubuntu.com suggested:
>
> Can someone who is affected by this please mail this problem to
> linux-bluetooth kernel at vger kernel org with the proposed rule change?

See https://bugzilla.redhat.com/show_bug.cgi?id=635244

I've also asked here some days ago

http://article.gmane.org/gmane.linux.bluez.kernel/16718

without having received an answer.

But since Fedora has fixed it and Marcel Holtmann is in the CC list of 
the above bug report, chances are high, that a fix might be on his way 
to some upstream repository.

I'm not sure which repository, but because the rule is distributed 
through udev, I assume asking someone from udev might make sense (I 
haven't asked in some udev-related ml, just here).

Regards,

Alexander

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-15 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-15 11:17 Logitech bluetooth Dinovo keyboard problem Martin G. Miller
2011-10-15 14:36 ` Alexander Holler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).