Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501120 - net-wireless/bluez-5.14 - 97-hid2hci.rules hid2hci breaks Logitech DiNovo Edge keyboard
Summary: net-wireless/bluez-5.14 - 97-hid2hci.rules hid2hci breaks Logitech DiNovo Edg...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-12 22:05 UTC by manwe
Modified: 2014-02-16 19:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description manwe 2014-02-12 22:05:02 UTC
This happens since bluez 5.12. After installing bluez, file /lib64/udev/rules.d/97-hid2hci.rules is places, with line:

# Logitech devices
KERNEL=="hiddev*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c70[345abce]|c71[34bc]", \
  RUN+="hid2hci --method=logitech-hid --devpath=%p"

This command makes my Logitech DiNovo Edge (keyboard with mouse pad) unable to connect to the USB dongle. Keyboard has bluetooth mode but I'm using dongle instead (simpler). All i get is bluetooth LED blinking red (unable to connect). After removing this line everything works fine, keyboard finds dongle instantly. 

I wanted to see if there's any difference in dmesg with and without this, but looks like, there isn't:

with hid2hci:
[  392.104057] usb 2-1.4.3: new full-speed USB device number 16 using ehci-pci
[  392.180949] usb 2-1.4.3: New USB device found, idVendor=046d, idProduct=0b04
[  392.180952] usb 2-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  392.180955] usb 2-1.4.3: Product: Logitech BT Mini-Receiver
[  392.180957] usb 2-1.4.3: Manufacturer: Logitech
[  392.181350] hub 2-1.4.3:1.0: USB hub found
[  392.181554] hub 2-1.4.3:1.0: 3 ports detected
[  392.455556] usb 2-1.4.3.2: new full-speed USB device number 17 using ehci-pci
[  392.549164] usb 2-1.4.3.2: New USB device found, idVendor=046d, idProduct=c713
[  392.549168] usb 2-1.4.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  392.549170] usb 2-1.4.3.2: Product: Logitech BT Mini-Receiver
[  392.549172] usb 2-1.4.3.2: Manufacturer: Logitech
[  392.549174] usb 2-1.4.3.2: SerialNumber: 000761930203
[  392.553249] input: Logitech Logitech BT Mini-Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4.3/2-1.4.3.2/2-1.4.3.2:1.0/input/input23
[  392.553457] hid-generic 0003:046D:C713.0009: input,hidraw2: USB HID v1.11 Keyboard [Logitech Logitech BT Mini-Receiver] on usb-0000:00:1d.0-1.4.3.2/input0
[  392.626574] usb 2-1.4.3.3: new full-speed USB device number 18 using ehci-pci
[  392.719660] usb 2-1.4.3.3: New USB device found, idVendor=046d, idProduct=c714
[  392.719670] usb 2-1.4.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  392.719676] usb 2-1.4.3.3: Product: Logitech BT Mini-Receiver
[  392.719681] usb 2-1.4.3.3: Manufacturer: Logitech
[  392.719686] usb 2-1.4.3.3: SerialNumber: 000761930203
[  392.729662] input: Logitech Logitech BT Mini-Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4.3/2-1.4.3.3/2-1.4.3.3:1.0/input/input24
[  392.730022] logitech 0003:046D:C714.000A: input,hiddev0,hidraw4: USB HID v1.11 Mouse [Logitech Logitech BT Mini-Receiver] on usb-0000:00:1d.0-1.4.3.3/input0


without:
[  565.363124] usb 2-1.4.3: new full-speed USB device number 28 using ehci-pci
[  565.450709] usb 2-1.4.3: New USB device found, idVendor=046d, idProduct=0b04
[  565.450718] usb 2-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  565.450725] usb 2-1.4.3: Product: Logitech BT Mini-Receiver
[  565.450730] usb 2-1.4.3: Manufacturer: Logitech
[  565.451232] hub 2-1.4.3:1.0: USB hub found
[  565.451415] hub 2-1.4.3:1.0: 3 ports detected
[  565.714906] usb 2-1.4.3.2: new full-speed USB device number 29 using ehci-pci
[  565.796780] usb 2-1.4.3.2: New USB device found, idVendor=046d, idProduct=c713
[  565.796785] usb 2-1.4.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  565.796789] usb 2-1.4.3.2: Product: Logitech BT Mini-Receiver
[  565.796792] usb 2-1.4.3.2: Manufacturer: Logitech
[  565.796795] usb 2-1.4.3.2: SerialNumber: 000761930203
[  565.801052] input: Logitech Logitech BT Mini-Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4.3/2-1.4.3.2/2-1.4.3.2:1.0/input/input30
[  565.801202] hid-generic 0003:046D:C713.0011: input,hidraw4: USB HID v1.11 Keyboard [Logitech Logitech BT Mini-Receiver] on usb-0000:00:1d.0-1.4.3.2/input0
[  565.873788] usb 2-1.4.3.3: new full-speed USB device number 30 using ehci-pci
[  565.967162] usb 2-1.4.3.3: New USB device found, idVendor=046d, idProduct=c714
[  565.967171] usb 2-1.4.3.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  565.967178] usb 2-1.4.3.3: Product: Logitech BT Mini-Receiver
[  565.967183] usb 2-1.4.3.3: Manufacturer: Logitech
[  565.967188] usb 2-1.4.3.3: SerialNumber: 000761930203
[  565.977007] input: Logitech Logitech BT Mini-Receiver as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4.3/2-1.4.3.3/2-1.4.3.3:1.0/input/input31
[  565.977459] logitech 0003:046D:C714.0012: input,hiddev0,hidraw5: USB HID v1.11 Mouse [Logitech Logitech BT Mini-Receiver] on usb-0000:00:1d.0-1.4.3.3/input0


Reproducible: Always

Steps to Reproduce:
1. emerge bluez
2. connect keyboard's dongle
Comment 2 manwe 2014-02-16 18:47:29 UTC
No it works :)
Comment 3 manwe 2014-02-16 18:47:49 UTC
Sorry for the typo, should be "noW it works".
Comment 4 Pacho Ramos gentoo-dev 2014-02-16 19:17:44 UTC
+*bluez-5.14-r1 (16 Feb 2014)
+
+  16 Feb 2014; Pacho Ramos <pacho@gentoo.org> +bluez-5.14-r1.ebuild,
+  +files/0001-obex-Use-GLib-helper-function-to-manipulate-paths.patch,
+  +files/0001-work-around-Logitech-diNovo-Edge-keyboard-firmware-i.patch,
+  +files/0002-autopair-Don-t-handle-the-iCade.patch,
+  +files/0004-agent-Assert-possible-infinite-loop.patch, -bluez-5.14.ebuild:
+  Apply some Fedora patches that also fix Logitech DiNovo Edge keyboard (#501120
+  by manwe)
+