Summary: | sys-fs/udev-216: Microsoft Wired Keyboard 600 create a spurious joystick device | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | farmboy0 |
Component: | Current packages | Assignee: | udev maintainers <udev-bugs> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | jstein, kernel |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | http://bugzilla.kernel.org/show_bug.cgi?id=37982 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
farmboy0
2014-08-16 12:50:08 UTC
Looks like the ID_INPUT_JOYSTICK=0 is something i did with a custom udev rule to test something. When this rule is removed ID_INPUT_JOYSTICK=1 is reported with the udevadm query. I am still not sure why this event interface is reported as joystick. Here is the info from lsusb -s 7:2 -v Bus 007 Device 002: ID 045e:0750 Microsoft Corp. Wired Keyboard 600 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x045e Microsoft Corp. idProduct 0x0750 Wired Keyboard 600 bcdDevice 1.10 iManufacturer 1 Microsoft iProduct 2 Wired Keyboard 600 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 59 bNumInterfaces 2 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 65 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 10 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 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 106 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 0x0008 1x 8 bytes bInterval 10 Device Status: 0x0000 (Bus Powered) Is this same with =sys-fs/udev-216? Can you explain are you experiencing some problems because it's identified as joystick, or is this "pure cosmetics"? https://bugzilla.kernel.org/show_bug.cgi?id=37982 Seems like a kernel issue? looks like it, yes, reassigning As far as I can remember my keyboard always had 2 event interfaces attached. But the second one didnt act like a joystick before. This has some implications for instance like this: http://steamcommunity.com/app/224760/discussions/0/558752450279895493/ I dont know when exactly this behaviour started as I just noticed it. I will try with some older udev versions to find out when it started. Booting an old kernel shows the same behaviour. I am mostly using vanilla or git-sources. This is not a kernel bug. Using the same kernel (3.16.0) I have switched to older stable sys-fs/udev versions. The bug happens with sys-fs/udev-212 but not with sys-fs/udev-208. Havent tried any other versions for now. sys-fs/udev-208 reports: P: /devices/pci0000:00/0000:00:16.0/usb7/7-1/7-1:1.1/0003:045E:0750.0002/input/input3/event3 N: input/event3 S: input/by-id/usb-Microsoft_Wired_Keyboard_600-if01-event-kbd S: input/by-path/pci-0000:00:16.0-usb-0:1:1.1-event-kbd E: DEVLINKS=/dev/input/by-id/usb-Microsoft_Wired_Keyboard_600-if01-event-kbd /dev/input/by-path/pci-0000:00:16.0-usb-0:1:1.1-event-kbd E: DEVNAME=/dev/input/event3 E: DEVPATH=/devices/pci0000:00/0000:00:16.0/usb7/7-1/7-1:1.1/0003:045E:0750.0002/input/input3/event3 E: ID_BUS=usb E: ID_INPUT=1 E: ID_INPUT_KEY=1 E: ID_INPUT_KEYBOARD=1 E: ID_MODEL=Wired_Keyboard_600 E: ID_MODEL_ENC=Wired\x20Keyboard\x20600 E: ID_MODEL_ID=0750 E: ID_PATH=pci-0000:00:16.0-usb-0:1:1.1 E: ID_PATH_TAG=pci-0000_00_16_0-usb-0_1_1_1 E: ID_REVISION=0110 E: ID_SERIAL=Microsoft_Wired_Keyboard_600 E: ID_TYPE=hid E: ID_USB_DRIVER=usbhid E: ID_USB_INTERFACES=:030101: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=67 E: SUBSYSTEM=input E: USEC_INITIALIZED=84084 Happens with sys-fs/udev-216 as well. udev maintainers, maybe this is yours as it looks like a regression between versions as per comment #6 ? Keeping kernel on CC. If the problem still occurs with modern kernels/udev, please report it upstream. |