Re: 04d9:a055: Trust GXT 18 Gaming Keyboard: error -22

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/12/2011 05:28 PM, Jiri Kosina wrote:
On Mon, 12 Dec 2011, Alan Stern wrote:

[Ugh!  Please don't use gmane.org addresses.  I removed yours and fixed
Jiri's.]

Sorry. Will be careful next time. Also sorry for delay.

I got another PC and installed Debian testing with kernel 3.1.0-1-686-pae on it. In attachment you can also find lsusb -v output and usbmon output.

Sergey, could you please

	rmmod usbhid
	rmmod hid
	modprobe hid debug=1
	modprobe usbhid

and share the resulting dmesg?

Here it is:

[ 1573.373913] usbcore: deregistering interface driver usbhid
[ 1592.767987] hid: hid_debug is now used solely for parser and driver debugging. [ 1592.767994] debugfs is now used for inspecting the device (report descriptor, reports) [ 1607.076153] /build/buildd-linux-2.6_3.1.1-1-i386-6vi5gY/linux-2.6-3.1.1/debian/build/source_i386_none/drivers/hid/usbhid/hid-core.c: HID probe called for ifnum 0 [ 1607.138799] /build/buildd-linux-2.6_3.1.1-1-i386-6vi5gY/linux-2.6-3.1.1/debian/build/source_i386_none/drivers/hid/usbhid/hid-core.c: submitting ctrl urb: Set_Report wValue=0x0200 wIndex=0x0000 wLength=1 [ 1607.142851] input: KB USB Keyboard as /devices/pci0000:00/0000:00:0b.0/usb3/3-1/3-1:1.0/input/input6 [ 1607.143870] generic-usb 0003:04D9:A055.0001: input,hidraw0: USB HID v1.10 Keyboard [KB USB Keyboard] on usb-0000:00:0b.0-1/input0 [ 1607.143922] /build/buildd-linux-2.6_3.1.1-1-i386-6vi5gY/linux-2.6-3.1.1/debian/build/source_i386_none/drivers/hid/usbhid/hid-core.c: HID probe called for ifnum 1 [ 1607.222767] /build/buildd-linux-2.6_3.1.1-1-i386-6vi5gY/linux-2.6-3.1.1/debian/build/source_i386_none/drivers/hid/hid-core.c: usage index exceeded [ 1607.222782] /build/buildd-linux-2.6_3.1.1-1-i386-6vi5gY/linux-2.6-3.1.1/debian/build/source_i386_none/drivers/hid/hid-core.c: hid_add_usage failed [ 1607.222790] /build/buildd-linux-2.6_3.1.1-1-i386-6vi5gY/linux-2.6-3.1.1/debian/build/source_i386_none/drivers/hid/hid-core.c: item 0 2 2 2 parsing failed [ 1607.222844] /build/buildd-linux-2.6_3.1.1-1-i386-6vi5gY/linux-2.6-3.1.1/debian/build/source_i386_none/drivers/hid/usbhid/hid-core.c: parsing report descriptor failed [ 1607.222876] generic-usb: probe of 0003:04D9:A055.0002 failed with error -22
[ 1607.227359] usbcore: registered new interface driver usbhid
[ 1607.227373] usbhid: USB HID core driver

--
Best regards, Sergey Spiridonov
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.01
  iManufacturer           3 Linux 3.1.0-1-686-pae ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:0b.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.01
  iManufacturer           3 Linux 3.1.0-1-686-pae ohci_hcd
  iProduct                2 OHCI Host Controller
  iSerial                 1 0000:00:02.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             3
  wHubCharacteristic 0x0002
    No power switching (usb 1.0)
    Ganged overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.01
  iManufacturer           3 Linux 3.1.0-1-686-pae uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:0b.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0303 lowspeed power enable connect
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.01
  iManufacturer           3 Linux 3.1.0-1-686-pae uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:0b.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.01
  iManufacturer           3 Linux 3.1.0-1-686-pae ohci_hcd
  iProduct                2 OHCI Host Controller
  iSerial                 1 0000:00:02.3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             3
  wHubCharacteristic 0x0002
    No power switching (usb 1.0)
    Ganged overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 003 Device 002: ID 04d9:a055 Holtek Semiconductor, Inc. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x04d9 Holtek Semiconductor, Inc.
  idProduct          0xa055 
  bcdDevice            0.20
  iManufacturer           1 KB
  iProduct                2 USB Keyboard
  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.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      75
         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.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     108
         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)
f4fe09a0 127575768 S Ci:3:001:0 s a3 00 0000 0001 0004 4 <
f4fe09a0 127575803 C Ci:3:001:0 0 4 = 01030100
f4fe09a0 127575810 S Co:3:001:0 s 23 01 0010 0001 0000 0
f4fe09a0 127575813 C Co:3:001:0 0 0
f4fe09a0 127575815 S Ci:3:001:0 s a3 00 0000 0002 0004 4 <
f4fe09a0 127575817 C Ci:3:001:0 0 4 = 00010000
f4fe09a0 127647748 S Ci:1:001:0 s a3 00 0000 0001 0004 4 <
f4fe09a0 127647765 C Ci:1:001:0 0 4 = 00010000
f4fe09a0 127647772 S Ci:1:001:0 s a3 00 0000 0002 0004 4 <
f4fe09a0 127647773 C Ci:1:001:0 0 4 = 00010000
f4fe09a0 127647775 S Ci:1:001:0 s a3 00 0000 0003 0004 4 <
f4fe09a0 127647777 C Ci:1:001:0 0 4 = 00010000
f4fe09a0 127647778 S Ci:1:001:0 s a3 00 0000 0004 0004 4 <
f4fe09a0 127647780 C Ci:1:001:0 0 4 = 00010000
f70e6dc0 127647783 S Ii:1:001:1 -115:2048 4 <
f70f32e0 127679787 S Ii:3:001:1 -115:128 2 <
f4fe09a0 127679968 S Ci:3:001:0 s a3 00 0000 0001 0004 4 <
f4fe09a0 127679981 C Ci:3:001:0 0 4 = 01030000
f4fe09a0 127680013 S Co:3:001:0 s 23 03 0004 0001 0000 0
f4fe09a0 127680016 C Co:3:001:0 0 0
f70f32e0 127683762 C Ii:3:001:1 0:128 1 = 02
f70f32e0 127683786 S Ii:3:001:1 -115:128 2 <
f4fe09a0 127735789 S Ci:3:001:0 s a3 00 0000 0001 0004 4 <
f4fe09a0 127735822 C Ci:3:001:0 0 4 = 03030000
f4fe09a0 127791783 S Co:3:001:0 s 23 01 0014 0001 0000 0
f4fe09a0 127791800 C Co:3:001:0 0 0
f4fe09a0 127791850 S Ci:3:000:0 s 80 06 0100 0000 0040 64 <
f4fe09a0 127807770 C Ci:3:000:0 0 18 = 12011001 00000008 d90455a0 20000102 0001
f4fe09a0 127808026 S Co:3:001:0 s 23 03 0004 0001 0000 0
f4fe09a0 127808036 C Co:3:001:0 0 0
f4fe09a0 127863784 S Ci:3:001:0 s a3 00 0000 0001 0004 4 <
f4fe09a0 127863816 C Ci:3:001:0 0 4 = 03030000
f4fe09a0 127919719 S Co:3:001:0 s 23 01 0014 0001 0000 0
f4fe09a0 127919735 C Co:3:001:0 0 0
f4fe09a0 127919744 S Co:3:000:0 s 00 05 0003 0000 0000 0
f4fe09a0 127922797 C Co:3:000:0 0 0
f4fe09a0 127939790 S Ci:3:003:0 s 80 06 0100 0000 0012 18 <
f4fe09a0 127954795 C Ci:3:003:0 0 18 = 12011001 00000008 d90455a0 20000102 0001
f4fe09a0 127955496 S Ci:3:003:0 s 80 06 0200 0000 0009 9 <
f4fe09a0 127968800 C Ci:3:003:0 0 9 = 09023b00 020100a0 32
f4fe09a0 127969231 S Ci:3:003:0 s 80 06 0200 0000 003b 59 <
f4fe09a0 128012807 C Ci:3:003:0 0 59 = 09023b00 020100a0 32090400 00010301 01000921 10010001 224b0007 05810308
f4fe09a0 128013092 S Ci:3:003:0 s 80 06 0300 0000 00ff 255 <
f4fe09a0 128022798 C Ci:3:003:0 0 4 = 04030904
f4fe09a0 128023015 S Ci:3:003:0 s 80 06 0302 0409 00ff 255 <
f4fe09a0 128047799 C Ci:3:003:0 0 26 = 1a035500 53004200 20004b00 65007900 62006f00 61007200 6400
f4fe09a0 128048054 S Ci:3:003:0 s 80 06 0301 0409 00ff 255 <
f4fe09a0 128057792 C Ci:3:003:0 0 6 = 06034b00 4200
f4fdf560 128058418 S Co:3:003:0 s 00 09 0001 0000 0000 0
f4fdf560 128065803 C Co:3:003:0 0 0
f4fdf1e0 128066426 S Co:3:003:0 s 21 0a 0000 0000 0000 0
f4fdf1e0 128069793 C Co:3:003:0 0 0
f4fdf1e0 128069983 S Ci:3:003:0 s 81 06 2200 0000 004b 75 <
f4fdf1e0 128119810 C Ci:3:003:0 0 75 = 05010906 a1010507 19e029e7 15002501 75019508 81029501 75088101 95037501
f4fdf760 128120934 S Co:3:003:0 s 21 09 0200 0000 0001 1 = 00
f4fdf160 128122243 S Ii:3:003:1 -115:8 8 <
f54766a0 128125069 S Co:3:003:0 s 21 0a 0000 0001 0000 0
f4fdf760 128129821 C Co:3:003:0 0 1 >
f54766a0 128132819 C Co:3:003:0 -32 0
f54766a0 128133064 S Ci:3:003:0 s 81 06 2200 0001 006c 108 <
f54766a0 128202828 C Ci:3:003:0 0 108 = 05010980 a1018501 19812983 15002501 95037501 81029501 75058101 c0050c09
f7189ce0 128208690 S Ci:3:001:0 s a3 00 0000 0001 0004 4 <
f7189ce0 128208816 C Ci:3:001:0 0 4 = 03030000
f70e6dc0 130251756 C Ii:1:001:1 -2:2048 0

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux