Package: joystick Version: 1:1.5.1-2 Severity: important Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Dear Maintainer, Installing this package generates udev rules in /lib/udev/51-these-are-not- joysticks-rm.rules which cause the media keys of the Microsoft Wired Keyboard 600 (045e-0750) to stop functioning. Changing the two following lines as such fixes the problem: - --- this: SUBSYSTEM=="input", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0750", ENV{ID_INPUT_JOYSTICK}=="?*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}="" SUBSYSTEM=="input", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0750", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}="" - --- to: SUBSYSTEM=="input", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0750", ENV{ID_INPUT_JOYSTICK}=="?*", ENV{ID_INPUT_JOYSTICK}="" SUBSYSTEM=="input", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="0750", KERNEL=="js[0-9]*", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}="" - --- The solution was suggested on GitHub here: https://github.com/ValveSoftware /steam-for-linux/issues/3384#issuecomment-196996980 - -- Package-specific info: 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:14.0/usb1/1-13/1-13:1.1/0003:045E:0750.0003/input/input4/js0': KERNEL=="js0" SUBSYSTEM=="input" DRIVER=="" looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.1/0003:045E:0750.0003/input/input4': KERNELS=="input4" SUBSYSTEMS=="input" DRIVERS=="" ATTRS{name}=="Microsoft Wired Keyboard 600" ATTRS{phys}=="usb-0000:00:14.0-13/input1" ATTRS{properties}=="0" ATTRS{uniq}=="" looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.1/0003:045E:0750.0003': KERNELS=="0003:045E:0750.0003" SUBSYSTEMS=="hid" DRIVERS=="hid-generic" ATTRS{country}=="00" looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-13/1-13:1.1': KERNELS=="1-13:1.1" SUBSYSTEMS=="usb" DRIVERS=="usbhid" ATTRS{authorized}=="1" ATTRS{bAlternateSetting}==" 0" ATTRS{bInterfaceClass}=="03" ATTRS{bInterfaceNumber}=="01" ATTRS{bInterfaceProtocol}=="00" ATTRS{bInterfaceSubClass}=="00" ATTRS{bNumEndpoints}=="01" ATTRS{supports_autosuspend}=="1" looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-13': KERNELS=="1-13" SUBSYSTEMS=="usb" DRIVERS=="usb" ATTRS{authorized}=="1" ATTRS{avoid_reset_quirk}=="0" ATTRS{bConfigurationValue}=="1" ATTRS{bDeviceClass}=="00" ATTRS{bDeviceProtocol}=="00" ATTRS{bDeviceSubClass}=="00" ATTRS{bMaxPacketSize0}=="8" ATTRS{bMaxPower}=="100mA" ATTRS{bNumConfigurations}=="1" ATTRS{bNumInterfaces}==" 2" ATTRS{bcdDevice}=="0110" ATTRS{bmAttributes}=="a0" ATTRS{busnum}=="1" ATTRS{configuration}=="" ATTRS{devnum}=="4" ATTRS{devpath}=="13" ATTRS{idProduct}=="0750" ATTRS{idVendor}=="045e" ATTRS{ltm_capable}=="no" ATTRS{manufacturer}=="Microsoft" ATTRS{maxchild}=="0" ATTRS{product}=="Wired Keyboard 600" ATTRS{quirks}=="0x0" ATTRS{removable}=="unknown" ATTRS{speed}=="1.5" ATTRS{urbnum}=="28585" ATTRS{version}==" 1.10" looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1': KERNELS=="usb1" SUBSYSTEMS=="usb" DRIVERS=="usb" ATTRS{authorized}=="1" ATTRS{authorized_default}=="1" ATTRS{avoid_reset_quirk}=="0" ATTRS{bConfigurationValue}=="1" ATTRS{bDeviceClass}=="09" ATTRS{bDeviceProtocol}=="01" ATTRS{bDeviceSubClass}=="00" ATTRS{bMaxPacketSize0}=="64" ATTRS{bMaxPower}=="0mA" ATTRS{bNumConfigurations}=="1" ATTRS{bNumInterfaces}==" 1" ATTRS{bcdDevice}=="0405" ATTRS{bmAttributes}=="e0" ATTRS{busnum}=="1" ATTRS{configuration}=="" ATTRS{devnum}=="1" ATTRS{devpath}=="0" ATTRS{idProduct}=="0002" ATTRS{idVendor}=="1d6b" ATTRS{interface_authorized_default}=="1" ATTRS{ltm_capable}=="no" ATTRS{manufacturer}=="Linux 4.5.0-2-amd64 xhci-hcd" ATTRS{maxchild}=="16" ATTRS{product}=="xHCI Host Controller" ATTRS{quirks}=="0x0" ATTRS{removable}=="unknown" ATTRS{serial}=="0000:00:14.0" ATTRS{speed}=="480" ATTRS{urbnum}=="162" ATTRS{version}==" 2.00" looking at parent device '/devices/pci0000:00/0000:00:14.0': KERNELS=="0000:00:14.0" SUBSYSTEMS=="pci" DRIVERS=="xhci_hcd" ATTRS{broken_parity_status}=="0" ATTRS{class}=="0x0c0330" ATTRS{consistent_dma_mask_bits}=="64" ATTRS{d3cold_allowed}=="1" ATTRS{device}=="0xa12f" ATTRS{dma_mask_bits}=="64" ATTRS{driver_override}=="(null)" ATTRS{enable}=="1" ATTRS{irq}=="123" ATTRS{local_cpulist}=="0-3" ATTRS{local_cpus}=="f" ATTRS{msi_bus}=="1" ATTRS{numa_node}=="-1" ATTRS{subsystem_device}=="0x8694" ATTRS{subsystem_vendor}=="0x1043" ATTRS{vendor}=="0x8086" looking at parent device '/devices/pci0000:00': KERNELS=="pci0000:00" SUBSYSTEMS=="" DRIVERS=="" - -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (900, 'testing'), (100, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_CA.utf8, LC_CTYPE=fr_CA.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages joystick depends on: ii libc6 2.22-9 ii libsdl1.2debian 1.2.15+dfsg1-4 Versions of packages joystick recommends: ii evtest 1:1.33-1 ii inputattach 1:1.5.1-2 joystick suggests no packages. - -- no debconf information - -- debsums errors found: debsums: missing file /lib/udev/rules.d/51-these-are-not-joysticks-rm.rules (from joystick package) -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJXSfc3AAoJEK/ZGpI6kvtMzLsH/A3GwAj5RwC6e18qctqvLRfi Przo8MjBmqSaYsMn8gf5drJ2cK/UMt446O/b98proYU097zlDBFXfDeNK4Wgfkvh VPGYTx4Qr8fyYyOfHfpIOAjNg9VTF6RvPGx6mCIPWwZwPe10VAZ1a8ibvm68OGgW cY/QB1ebwq7AUmIw8e3kx39vXY2pnXG8RD58Gt26sF4Z85FxuxuUdAXthYbJICqg dEBunlKbHijtHewwst5tmE/n6NdnFcdnqlIPS0kuOTsts/J8SFQfhtOeFIlWONnI KL/lFfY3nwEn3JUFLqIhcUQdzjO059TO5txpM1odOWO0y12dg+LBsDEnxBWCyvo= =7GA1 -----END PGP SIGNATURE-----