Package: udev
Version: 175-7
Severity: normal

Dear Maintainer,

The 60-persistent-input.rules rules create identical by-id symlinks for two
separate event devices, rendering the first unaccesible by-id. The "winning"
symlink seems to be random, with a strong preference for event11 (which is
not hte most usefull interface)

The /dev/input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-event-kbd
is created for both /dev/input/event2 and /dev/input/event11.

Below is the output from udevadm info --query=all for all devices created
when plugging in the hardware. Note the duplicated entry:
S: input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-event-kbd



# udevadm info --query=all --path=/sys/class/input/event2
P: /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/input/input24/event2
N: input/event2
S: input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-event-kbd
S: input/by-path/pci-0000:00:1d.2-usb-0:1:1.0-event-kbd
E: BACKSPACE=guess
E: 
DEVLINKS=/dev/input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-event-kbd
 /dev/input/by-path/pci-0000:00:1d.2-usb-0:1:1.0-event-kbd
E: DEVNAME=/dev/input/event2
E: 
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.0/input/input24/event2
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_MODEL=Microsoft®_2.4GHz_Transceiver_v7.0
E: ID_MODEL_ENC=Microsoft®\x202.4GHz\x20Transceiver\x20v7.0
E: ID_MODEL_ID=0745
E: ID_PATH=pci-0000:00:1d.2-usb-0:1:1.0
E: ID_PATH_TAG=pci-0000_00_1d_2-usb-0_1_1_0
E: ID_REVISION=0663
E: ID_SERIAL=Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030101:030102:030000:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=Microsoft
E: ID_VENDOR_ENC=Microsoft
E: ID_VENDOR_ID=045e
E: MAJOR=13
E: MINOR=66
E: SUBSYSTEM=input
E: UDEV_LOG=3
E: USEC_INITIALIZED=6181708095776
E: XKBLAYOUT=us
E: XKBMODEL=logicd
E: XKBOPTIONS=compose:ralt


# udevadm info --query=all --path=/sys/class/input/event10
P: /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.1/input/input25/event10
N: input/event10
S: input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-event-mouse
S: input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-if01-event-mouse
S: input/by-path/pci-0000:00:1d.2-usb-0:1:1.1-event-mouse
E: BACKSPACE=guess
E: 
DEVLINKS=/dev/input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-event-mouse
 
/dev/input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-if01-event-mouse
 /dev/input/by-path/pci-0000:00:1d.2-usb-0:1:1.1-event-mouse
E: DEVNAME=/dev/input/event10
E: 
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.1/input/input25/event10
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_MOUSE=1
E: ID_MODEL=Microsoft®_2.4GHz_Transceiver_v7.0
E: ID_MODEL_ENC=Microsoft®\x202.4GHz\x20Transceiver\x20v7.0
E: ID_MODEL_ID=0745
E: ID_PATH=pci-0000:00:1d.2-usb-0:1:1.1
E: ID_PATH_TAG=pci-0000_00_1d_2-usb-0_1_1_1
E: ID_REVISION=0663
E: ID_SERIAL=Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030101:030102:030000:
E: ID_USB_INTERFACE_NUM=01
E: ID_VENDOR=Microsoft
E: ID_VENDOR_ENC=Microsoft
E: ID_VENDOR_ID=045e
E: MAJOR=13
E: MINOR=74
E: SUBSYSTEM=input
E: UDEV_LOG=3
E: USEC_INITIALIZED=6181707845578
E: XKBLAYOUT=us
E: XKBMODEL=logicd
E: XKBOPTIONS=compose:ralt


# udevadm info --query=all --path=/sys/class/input/event11
P: /devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.2/input/input26/event11
N: input/event11
S: input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-event-kbd
S: input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-if02-event-kbd
S: input/by-path/pci-0000:00:1d.2-usb-0:1:1.2-event-kbd
E: BACKSPACE=guess
E: 
DEVLINKS=/dev/input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-event-kbd
 
/dev/input/by-id/usb-Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0-if02-event-kbd
 /dev/input/by-path/pci-0000:00:1d.2-usb-0:1:1.2-event-kbd
E: DEVNAME=/dev/input/event11
E: 
DEVPATH=/devices/pci0000:00/0000:00:1d.2/usb8/8-1/8-1:1.2/input/input26/event11
E: ID_BUS=usb
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_MODEL=Microsoft®_2.4GHz_Transceiver_v7.0
E: ID_MODEL_ENC=Microsoft®\x202.4GHz\x20Transceiver\x20v7.0
E: ID_MODEL_ID=0745
E: ID_PATH=pci-0000:00:1d.2-usb-0:1:1.2
E: ID_PATH_TAG=pci-0000_00_1d_2-usb-0_1_1_2
E: ID_REVISION=0663
E: ID_SERIAL=Microsoft_Microsoft®_2.4GHz_Transceiver_v7.0
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030101:030102:030000:
E: ID_USB_INTERFACE_NUM=02
E: ID_VENDOR=Microsoft
E: ID_VENDOR_ENC=Microsoft
E: ID_VENDOR_ID=045e
E: MAJOR=13
E: MINOR=75
E: SUBSYSTEM=input
E: UDEV_LOG=3
E: USEC_INITIALIZED=6181708099533
E: XKBLAYOUT=us
E: XKBMODEL=logicd
E: XKBOPTIONS=compose:ralt


lsusb -v output:

Bus 008 Device 007: ID 045e:0745 Microsoft Corp. Nano Transceiver v1.0 for 
Bluetooth
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x045e Microsoft Corp.
  idProduct          0x0745 Nano Transceiver v1.0 for Bluetooth
  bcdDevice            6.63
  iManufacturer           1 Microsoft
  iProduct                2 Microsoft� 2.4GHz Transceiver v7.0
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           84
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      57
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     295
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x000a  1x 10 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     319
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0020  1x 32 bytes
        bInterval               1
Device Status:     0x0000
  (Bus Powered)


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (400, 'experimental'), (200, 
'testing'), (70, 'oneiric')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.4-trunk-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/bash

Versions of packages udev depends on:
ii  debconf [debconf-2.0]  1.5.46
ii  libc6                  2.13-35
ii  libselinux1            2.1.9-5
ii  libudev0               175-7
ii  lsb-base               4.1+Debian7
ii  procps                 1:3.3.3-2
ii  util-linux             2.20.1-5.2

Versions of packages udev recommends:
ii  pciutils  1:3.1.9-5
ii  usbutils  1:005-3

udev suggests no packages.

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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to