On Thu, 2014-11-20 at 22:22 +0100, Marco d'Itri wrote: > Please report the output of: > > udevadm info -q all /sys/devices/... > > (Whatever the $DEVPATH of your keyboard is.)
udevadm info for all the input devices exported by my keyboard below.
The first one is the main path that shows up in /sys when I plug it in
and the rest are from /dev/input/by-id. I also added the lsusb output,
as you can see the keyboard has two HIDs, one is a keyboard and the
other has None as the protocol.
pabs@chianamo ~ $ sudo udevadm info -q all
/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2
P: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2
N: bus/usb/002/009
E: BUSNUM=002
E: DEVNAME=/dev/bus/usb/002/009
E: DEVNUM=009
E: DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_MODEL=Wired_Keyboard_600
E: ID_MODEL_ENC=Wired\x20Keyboard\x20600
E: ID_MODEL_FROM_DATABASE=Wired Keyboard 600
E: ID_MODEL_ID=0750
E: ID_REVISION=0110
E: ID_SERIAL=Microsoft_Wired_Keyboard_600
E: ID_USB_INTERFACES=:030101:030000:
E: ID_VENDOR=Microsoft
E: ID_VENDOR_ENC=Microsoft
E: ID_VENDOR_FROM_DATABASE=Microsoft Corp.
E: ID_VENDOR_ID=045e
E: MAJOR=189
E: MINOR=136
E: PRODUCT=45e/750/110
E: SUBSYSTEM=usb
E: TYPE=0/0/0
E: USEC_INITIALIZED=79136479
pabs@chianamo ~ $ sudo udevadm info -q all
/dev/input/by-id/usb-Microsoft_Wired_Keyboard_600-event-kbd
P:
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:045E:0750.000B/input/input29/event5
N: input/event5
S: input/by-id/usb-Microsoft_Wired_Keyboard_600-event-kbd
S: input/by-path/pci-0000:00:1d.0-usb-0:1.2:1.0-event-kbd
E: BACKSPACE=guess
E: DEVLINKS=/dev/input/by-id/usb-Microsoft_Wired_Keyboard_600-event-kbd
/dev/input/by-path/pci-0000:00:1d.0-usb-0:1.2:1.0-event-kbd
E: DEVNAME=/dev/input/event5
E:
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/0003:045E:0750.000B/input/input29/event5
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:1d.0-usb-0:1.2:1.0
E: ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_1_0
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=00
E: ID_VENDOR=Microsoft
E: ID_VENDOR_ENC=Microsoft
E: ID_VENDOR_ID=045e
E: MAJOR=13
E: MINOR=69
E: SUBSYSTEM=input
E: USEC_INITIALIZED=79140795
E: XKBLAYOUT=us
E: XKBMODEL=pc105
pabs@chianamo ~ $ sudo udevadm info -q all
/dev/input/by-id/usb-Microsoft_Wired_Keyboard_600-if01-event-joystick
P:
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:045E:0750.000C/input/input30/event6
N: input/event6
S: input/by-id/usb-Microsoft_Wired_Keyboard_600-if01-event-joystick
S: input/by-path/pci-0000:00:1d.0-usb-0:1.2:1.1-event-joystick
E: BACKSPACE=guess
E:
DEVLINKS=/dev/input/by-id/usb-Microsoft_Wired_Keyboard_600-if01-event-joystick
/dev/input/by-path/pci-0000:00:1d.0-usb-0:1.2:1.1-event-joystick
E: DEVNAME=/dev/input/event6
E:
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:045E:0750.000C/input/input30/event6
E: ID_BUS=usb
E: ID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_2_1_1
E: ID_INPUT=1
E: ID_INPUT_JOYSTICK=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:1d.0-usb-0:1.2:1.1
E: ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_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=70
E: SUBSYSTEM=input
E: TAGS=:seat:uaccess:
E: USEC_INITIALIZED=79147242
E: XKBLAYOUT=us
E: XKBMODEL=pc105
pabs@chianamo ~ $ sudo udevadm info -q all
/dev/input/by-id/usb-Microsoft_Wired_Keyboard_600-if01-joystick
P:
/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:045E:0750.000C/input/input30/js0
N: input/js0
S: input/by-id/usb-Microsoft_Wired_Keyboard_600-if01-joystick
S: input/by-path/pci-0000:00:1d.0-usb-0:1.2:1.1-joystick
E: DEVLINKS=/dev/input/by-id/usb-Microsoft_Wired_Keyboard_600-if01-joystick
/dev/input/by-path/pci-0000:00:1d.0-usb-0:1.2:1.1-joystick
E: DEVNAME=/dev/input/js0
E:
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/0003:045E:0750.000C/input/input30/js0
E: ID_BUS=usb
E: ID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_2_1_1
E: ID_INPUT=1
E: ID_INPUT_JOYSTICK=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:1d.0-usb-0:1.2:1.1
E: ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2_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=0
E: SUBSYSTEM=input
E: TAGS=:seat:uaccess:
E: USEC_INITIALIZED=79147346
$ sudo lsusb -vvvvvvvvvvvvvvvvvvvvvvd 045e:0750
Bus 002 Device 009: 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)
--
bye,
pabs
https://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part

