[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
Mon Jun 6 08:32:16 UTC 2011
I'd like to get this problem out of the way. What can I do to help?
Firstly, I think we must find out _why_ udev seems to ignore
/lib/udev/rules.d/62-bluez-hid2hci.rules (I may need some help to narrow
down what's going on).
# udevadm test /devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3
indicates it knows about 62-bluez-hid2hci.rules:
parse_file: reading '/lib/udev/rules.d/62-bluez-hid2hci.rules' as rules file
but does not run the rules in it. 'udevadm test' shows it uses:
/lib/udev/rules.d/45-libmtp8.rules
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 6' /lib/udev/rules.d/45-libmtp8.rules:701
/lib/udev/rules.d/50-udev-default.rules
udev_rules_apply_to_event: MODE 0664 /lib/udev/rules.d/50-udev-default.rules:53
/lib/udev/rules.d/50-udev-default.rules
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
/lib/udev/rules.d/90-hal.rules
udev_rules_apply_to_event: RUN 'socket:@/org/freedesktop/hal/udev_event' /lib/udev/rules.d/90-hal.rules:2
/lib/udev/rules.d/91-permissions.rules
udev_rules_apply_to_event: MODE 0664 /lib/udev/rules.d/91-permissions.rules:36
and finally:
UDEV_LOG=6
DEVPATH=/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3
MAJOR=189
MINOR=5
DEVNAME=/dev/bus/usb/001/006
DEVTYPE=usb_device
DRIVER=usb
DEVICE=/proc/bus/usb/001/006
PRODUCT=46d/c714/4900
TYPE=0/0/0
BUSNUM=001
DEVNUM=006
ACTION=add
SUBSYSTEM=usb
ID_VENDOR=Logitech
ID_VENDOR_ENC=Logitech
ID_VENDOR_ID=046d
ID_MODEL=Logitech_BT_Mini-Receiver
ID_MODEL_ENC=Logitech\x20BT\x20Mini-Receiver
ID_MODEL_ID=c714
ID_REVISION=4900
ID_SERIAL=Logitech_Logitech_BT_Mini-Receiver_001F20122175
ID_SERIAL_SHORT=001F20122175
ID_BUS=usb
ID_USB_INTERFACES=:030102:
UPOWER_VENDOR=Logitech, Inc.
run: 'socket:@/org/freedesktop/hal/udev_event'
Secondly, _why_ hid2hci fails:
error: switching device '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3' failed
strace shows this:
open("/dev/bus/usb/001/006", O_RDWR) = 3
ioctl(3, HIDIOCINITREPORT, 0) = -1 ENOTTY (Inappropriate ioctl for device)
close(3) = 0
write(2, "error: switching device '/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3/1-3.2/1-3.2.3' failed.\n",
94) = 94
exit_group(1) = ?
Cheers,
--
Cristian
More information about the Pkg-bluetooth-maintainers
mailing list