Your message dated Wed, 6 Aug 2014 12:46:43 +0200
with message-id <[email protected]>
and subject line Re: Bug#668296: udev: Fails to load keymap rules for Logitech 
Wave Pro keyboard
has caused the Debian Bug report #668296,
regarding udev: Fails to load keymap rules for Logitech Wave Pro keyboard
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
668296: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668296
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---

Subject: udev: Fails to load keymap rules for Logitech Wave Pro keyboard
Package: udev
Version: 175-3.1
Severity: normal
Dear Maintainer,

Upon installing Wheezy, I noticed that some internet keys on my Logitech Wave Pro Cordless keyboard failed to work (notably the Zoom key). This is a link to my exact keyboard/mouse combination (which matches manufacturer model number Y-RBN90: http://www.logitech.com/en-us/433/4677 This keyboard has a wireless receiver connecting a mouse and keyboard.

penguin@Guernsey:~$ dmesg | grep Logitech

shows three devices :


logitech-djreceiver USB HID v1.11 Device [Logitech USB Receiver]
logitech-djdevice USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:1025] logitech-djdevice USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:200a]


penguin@Guernsey:~$ dmesg | grep 200a
[ 5.958709] input: Logitech Unifying Device. Wireless PID:200a as /devices/pci0000:00/0000:00:0b.0/usb2/2-6/2-6:1.2/0003:046D:C52B.0003/input/input4 [ 5.960538] logitech-djdevice 0003:046D:C52B.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:200a] on usb-0000:00:0b.0-6:2


Noting the above input, when I ran the udev information tool to see the keyboard's information, I got the following:


penguin@Guernsey:~$ sudo udevadm info --query=property --path=/devices/pci0000:00/0000:00:0b.0/usb2/2-6/2-6:1.2/0003:046D:C52B.0003/input/input4 --attribute-walk

Udevadm info starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.

looking at device '/devices/pci0000:00/0000:00:0b.0/usb2/2-6/2-6:1.2/0003:046D:C52B.0003/input/input4':
    KERNEL=="input4"
    SUBSYSTEM=="input"
    DRIVER==""
    ATTR{name}=="Logitech Unifying Device. Wireless PID:200a"
    ATTR{phys}=="usb-0000:00:0b.0-6:2"
    ATTR{uniq}==""
    ATTR{properties}=="0"

looking at parent device '/devices/pci0000:00/0000:00:0b.0/usb2/2-6/2-6:1.2/0003:046D:C52B.0003':
    KERNELS=="0003:046D:C52B.0003"
    SUBSYSTEMS=="hid"
    DRIVERS=="logitech-djreceiver"

looking at parent device '/devices/pci0000:00/0000:00:0b.0/usb2/2-6/2-6:1.2':
    KERNELS=="2-6:1.2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usbhid"
    ATTRS{bInterfaceNumber}=="02"
    ATTRS{bAlternateSetting}==" 0"
    ATTRS{bNumEndpoints}=="01"
    ATTRS{bInterfaceClass}=="03"
    ATTRS{bInterfaceSubClass}=="00"
    ATTRS{bInterfaceProtocol}=="00"
    ATTRS{supports_autosuspend}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:0b.0/usb2/2-6':
    KERNELS=="2-6"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}=="RQR12.01_B0019"
    ATTRS{bNumInterfaces}==" 3"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="a0"
    ATTRS{bMaxPower}==" 98mA"
    ATTRS{urbnum}=="177346"
    ATTRS{idVendor}=="046d"
    ATTRS{idProduct}=="c52b"
    ATTRS{bcdDevice}=="1201"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="8"
    ATTRS{speed}=="12"
    ATTRS{busnum}=="2"
    ATTRS{devnum}=="3"
    ATTRS{devpath}=="6"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Logitech"
    ATTRS{product}=="USB Receiver"

  looking at parent device '/devices/pci0000:00/0000:00:0b.0/usb2':
    KERNELS=="usb2"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{urbnum}=="61"
    ATTRS{idVendor}=="1d6b"
    ATTRS{idProduct}=="0001"
    ATTRS{bcdDevice}=="0302"
    ATTRS{bDeviceClass}=="09"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="12"
    ATTRS{busnum}=="2"
    ATTRS{devnum}=="1"
    ATTRS{devpath}=="0"
    ATTRS{version}==" 1.10"
    ATTRS{maxchild}=="8"
    ATTRS{quirks}=="0x0"
    ATTRS{avoid_reset_quirk}=="0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Linux 3.2.0-2-amd64 ohci_hcd"
    ATTRS{product}=="OHCI Host Controller"
    ATTRS{serial}=="0000:00:0b.0"
    ATTRS{authorized_default}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:0b.0':
    KERNELS=="0000:00:0b.0"
    SUBSYSTEMS=="pci"
    DRIVERS=="ohci_hcd"
    ATTRS{vendor}=="0x10de"
    ATTRS{device}=="0x026d"
    ATTRS{subsystem_vendor}=="0x1043"
    ATTRS{subsystem_device}=="0x81bc"
    ATTRS{class}=="0x0c0310"
    ATTRS{irq}=="23"

ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000003"
    ATTRS{local_cpulist}=="0-1"
    ATTRS{numa_node}=="-1"
    ATTRS{dma_mask_bits}=="32"
    ATTRS{consistent_dma_mask_bits}=="32"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""

  looking at parent device '/devices/pci0000:00':
    KERNELS=="pci0000:00"
    SUBSYSTEMS==""
    DRIVERS==""


I notice that ATTR{name}=="Logitech Unifying Device. Wireless PID:200a" which does not match what is in the udev rules file for this keyboard. I assume this must be a change due to the newer kernel in Wheezy vs. Squeeze but I am not certain.


In order to make this keyboard work for me I applied the following change to /lib/udev/rules.d/95-keymap.rules

Original:
< ENV{ID_VENDOR_ID}=="046d", ENV{ID_MODEL_ID}=="c52[9b]", ATTRS{name}=="Logitech USB Receiver", RUN+="keymap $name logitech-wave-pro-cordless"

New:
> ENV{ID_VENDOR_ID}=="046d", ENV{ID_MODEL_ID}=="c52[9b]", ATTRS{name}=="Logitech Unifying Device. Wireless PID:200a", RUN+="keymap $name logitech-wave-pro-cordless"


The other change I applied is to update /lib/udev/keymaps/logitech-wave-pro-cordless in order to trigger the key on release rather than keypress. This seems to make zoomin/zoomout work for me:


Original:

< 0xC0184 wordprocessor
< 0xC0186 spreadsheet
< 0xC018E calendar
< 0xC0223 homepage
< 0xC01BC messenger
< 0xC018A mail
< 0xC0221 search
< 0xC00B8 ejectcd
< 0xC022D zoomin
< 0xC022E zoomout

New:
> 0xC0184 0x94 wordprocessor
> 0xC0186 0x95 spreadsheet
> 0xC018E 0xCA calendar
> 0xC0223 0x96 homepage
> 0xC01BC 0xDA messenger
> 0xC018A 0xD7 mail
> 0xC0221 0xD9 search
> 0xC00B8 0xA1 ejectcd
> 0xC022D 0xE1 zoomin
> 0xC022E 0xE0 zoomout

I ran sudo dpkg-reconfigure keyboard-configuration and made sure Logitech Cordless Desktop Pro (alternate option 2) was selected for good measure.


The result is (at least for me) a keyboard with Zoom and several other of the "blue" function keys working.
Hopefully these patches can make it in for Wheezy's release.

Other information:

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages udev depends on:
ii  debconf [debconf-2.0]  1.5.42
ii  libc6                  2.13-27
ii  libselinux1            2.1.9-2
ii  libudev0               175-3.1
ii  lsb-base               4.1+Debian0
ii  util-linux             2.20.1-4

Versions of packages udev recommends:
ii  pciutils  1:3.1.8-2
ii  usbutils  1:005-2

udev suggests no packages.

-- debconf information:
  udev/new_kernel_needed: false
  udev/title/upgrade:
  udev/reboot_needed:
  udev/sysfs_deprecated_incompatibility:
--
Regards,

Craig Prevallet



--- End Message ---
--- Begin Message ---
Version: 208-1

Craig Prevallet [2012-04-10 13:04 -0500]:
> Upon installing Wheezy, I noticed that some internet keys on my Logitech
> Wave Pro Cordless keyboard failed to work (notably the Zoom key).

This is fixed in udev/systemd 208, which is in unstable/testing now.

Thanks,

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

--- End Message ---

Reply via email to