[Pkg-bluetooth-maintainers] Bug#626975: Bug#626975: bluez: getting a Logitech, Inc. diNovo Edge Keyboard working

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Wed Jun 1 10:03:45 UTC 2011


On Tue, 31 May 2011, Nobuhiro Iwamatsu wrote:
>
> Hi,
>
> By bluez 4.93-2,  I think that this problem was revised.
> Would you confirm it?
> # "--mode hci" may be necessary in 62-bluez-hid2hci.rules.
>
> /lib/udev/rules.d/62-bluez-hid2hci.rules:
>
> # 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"

/lib/udev/hid2hci is now in place, but the problem still exists.

And got worth.  hid2hci now refuses to switch the device to hci mode (that
works with package version 4.91-1), with or without '--mode hci'.  Here is
what I tried, after inserting the dongle and getting the devpath from
syslog:

kernel: [57370.905607] input: Logitech Logitech BT Mini-Receiver as /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3/1-3.2.3:1.0/input/input7

Checked that:

# cat /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3/1-3.2.3:1.0/input/input7/id/vendor
046d
# cat /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3/1-3.2.3:1.0/input/input7/id/product
c714

exactly what lsusb reports:

046d:c714 Logitech, Inc. diNovo Edge Keyboard
^^^^ ^^^^

# udevadm test /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3

doesn't show anything about 62-bluez-hid2hci.rules catching and executing
hid2hci.

udev_rules_apply_to_event: PROGRAM 'mtp-probe /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3 1 18' /lib/udev/rules.d/45-libmtp8.rules:701
udev_rules_apply_to_event: MODE 0664 /lib/udev/rules.d/50-udev-default.rules:53
udev_rules_apply_to_event: IMPORT 'usb_id --export /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3' /lib/udev/rules.d/50-udev-default.rules:64
udev_rules_apply_to_event: RUN 'socket:@/org/freedesktop/hal/udev_event' /lib/udev/rules.d/90-hal.rules:2
udev_rules_apply_to_event: MODE 0664 /lib/udev/rules.d/91-permissions.rules:36

and:

# /lib/udev/hid2hci --method=logitech-hid --devpath=/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3 --mode=hci
error: switching device '/sys//devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3' failed.


Cheers,

-- 
Cristian





More information about the Pkg-bluetooth-maintainers mailing list