xpad icon indicating copy to clipboard operation
xpad copied to clipboard

GAMEWare Xbox One Pad, no input from jstest

Open t1lde opened this issue 7 years ago • 2 comments

The device appears to be recognised, but jstest does respond to any button pressses.

I have tried adding the following line to the driver: { 0x0e6f, 0x02b5, "GAMEware Wired Controller for Xbox One", 0, XTYPE_XBOXONE},

Dmesg Output, unplugging and replugging, then running jstest:

[12710.412768] xpad 2-1.2:1.0: xpad_irq_in - urb shutting down with status: -2
[12718.535081] xpad-dbg: 00000000: 02 20 01 1c dd dd 3f b1 1c 0c 00 00 6f 0e b5 02 01 00 00 00 3e 00 00 00 01 00 01 00 01 00 01 00
[12718.535087] xpad-dbg: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[12718.539084] xpad-dbg: 00000000: 03 20 03 04 80 00 00 00 1c 0c 00 00 6f 0e b5 02 01 00 00 00 3e 00 00 00 01 00 01 00 01 00 01 00
[12718.539089] xpad-dbg: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[12718.559327] xpad 2-1.2:1.0: xpad_irq_in - urb shutting down with status: -2
[12732.050824] xpad-dbg: 00000000: 03 20 04 04 80 00 00 00 1c 0c 00 00 6f 0e b5 02 01 00 00 00 3e 00 00 00 01 00 01 00 01 00 01 00
[12732.050831] xpad-dbg: 00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[12741.535128] xpad 2-1.2:1.0: xpad_irq_in - urb shutting down with status: -2

lsusb -v output:

Bus 002 Device 013: ID 0e6f:02b5 Logic3 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass        71 
  bDeviceProtocol       208 
  bMaxPacketSize0        64
  idVendor           0x0e6f Logic3
  idProduct          0x02b5 
  bcdDevice            1.0f
  iManufacturer           1 Performance Designed Products
  iProduct                2 GAMEware Wired Controller for Xbox One
  iSerial                 3 00000C1CB13FDDDD
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           64
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     71 
      bInterfaceProtocol    208 
      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     0x0040  1x 64 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               4
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     71 
      bInterfaceProtocol    208 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     71 
      bInterfaceProtocol    208 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00e0  1x 224 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 bytes
        bInterval               1
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0002
  (Bus Powered)
  Remote Wakeup Enabled

t1lde avatar Jun 24 '18 21:06 t1lde

Try "sudo nano /sys/bus/usb/drivers/xpad/new_id" Add "0e6f 02b5" (not 100% sure if thats the correct ID but looks like the controller is by Logic 3) Then reboot system

Arranmc182 avatar Aug 18 '18 02:08 Arranmc182

Look at this PR for example of adding

https://github.com/paroj/xpad/pull/109/files

There are 3 lines to add. After you add, remove, reinstall as in instructions for upgrading then reboot.

drice avatar Sep 25 '18 13:09 drice