[ 3825.605043] usb 1-2: new full-speed USB device number 30 using xhci_hcd
[ 3825.747303] usb 1-2: New USB device found, idVendor=2563, idProduct=0575, bcdDevice= 2.00
[ 3825.747311] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3825.747314] usb 1-2: Product: PS3/PC Gamepad
[ 3825.747317] usb 1-2: Manufacturer: SHANWAN
[ 3825.778984] hid-generic 0003:2563:0575.0029: unbalanced collection at end of report description
[ 3825.779001] hid-generic 0003:2563:0575.0029: probe with driver hid-generic failed with error -22
[ 3825.785106] usb 1-2: USB disconnect, device number 30
[ 3826.379009] usb 1-2: new full-speed USB device number 31 using xhci_hcd
[ 3826.520290] usb 1-2: New USB device found, idVendor=20bc, idProduct=5500, bcdDevice= 2.00
[ 3826.520296] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3826.520299] usb 1-2: Product: Android Gamepad
[ 3826.520301] usb 1-2: Manufacturer: SHANWAN
[ 3826.554637] input: SHANWAN Android Gamepad as /devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb1/1-2/1-2:1.0/0003:20BC:5500.002A/input/input47
[ 3826.554776] betop 0003:20BC:5500.002A: input,hidraw1: USB HID v1.11 Gamepad [SHANWAN Android Gamepad] on usb-0000:06:00.3-2/input0
[ 3826.554789] betop 0003:20BC:5500.002A: Force feedback for betop devices by huangbo <huangbobupt@163.com>
[ 3826.559412] input: SHANWAN Android Gamepad as /devices/pci0000:00/0000:00:08.1/0000:06:00.3/usb1/1-2/1-2:1.1/0003:20BC:5500.002B/input/input48
[ 3826.610110] betop 0003:20BC:5500.002B: input,hidraw2: USB HID v1.11 Device [SHANWAN Android Gamepad] on usb-0000:06:00.3-2/input1
[ 3826.610115] betop 0003:20BC:5500.002B: no output reports found
It first connects as a Shanwan 2563:0575 controller and then falls back to Android mode.
However it works fine on windows.
when I analysed using wireshark, I found that it also connets first as Shanwan 2563:0575 controller and then is switched to XBOX mode, 045e:0x28e by windows.
I have attached the usb captures for both windows and linux.
caoture.zip
It first connects as a Shanwan
2563:0575controller and then falls back to Android mode.However it works fine on windows.
when I analysed using wireshark, I found that it also connets first as Shanwan
2563:0575controller and then is switched to XBOX mode,045e:0x28eby windows.I have attached the usb captures for both windows and linux.
caoture.zip