-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
xpad error and gamepad connects as Shanwan PC/PS3 android gamepad #286
Comments
Since no respond yet I wanted to add that the device doesn't even appear in lsusb as xbox 360 controller with the id 0x45e:0x28e. Appears only as Shanwan android controller with the id 2563:0526. Any help on what can I do to provide more info? |
I have a similar controller that exhibits the same issue. However, I've managed to get it working using the following method:
This process suggests that the controller only detects the Linux machine during the initial connection and switches to "Android mode" as a result. I've attached USB packet captures and
|
I tried to disconnect/reconnect on VM a dozen times, but it doesn't work. I also tried to reset controller before reconnect, unload xpad module but never connects as xbox controller. |
This is a wireless controller with a usb dongle 2.4GHz adapter. The device fails to connect as Microsoft X-Box 360 pad because of xpad error and falls back to this android gamepad mode. Here is the dmesg output with the error:
[ 1085.887036] kernel: usb 3-2.3: new full-speed USB device number 15 using xhci_hcd [ 1086.003005] kernel: usb 3-2.3: New USB device found, idVendor=045e, idProduct=028e, bcdDevice= 1.10 [ 1086.079412] kernel: usb 3-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1086.079550] kernel: usb 3-2.3: Product: Xbox360 For Windows [ 1086.079665] kernel: usb 3-2.3: Manufacturer: ShanWan [ 1086.079780] kernel: usb 3-2.3: SerialNumber: 8A2D1ED91803 [ 1086.079891] kernel: input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:08.1/0000:07:00.3/usb3/3-2/3-2.3/3-2.3:1.0/input/input52 [ 1086.720247] kernel: usb 3-2.3: USB disconnect, device number 15 [ 1086.750223] kernel: xpad 3-2.3:1.0: xpad_try_sending_next_out_packet - usb_submit_urb failed with result -19 [ 1086.941041] kernel: usb 3-2.3: new full-speed USB device number 16 using xhci_hcd [ 1087.054063] kernel: usb 3-2.3: New USB device found, idVendor=2563, idProduct=0526, bcdDevice= 1.00 [ 1087.140447] kernel: usb 3-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1087.140585] kernel: usb 3-2.3: Product: PC/PS3/Android GamePad [ 1087.140715] kernel: usb 3-2.3: Manufacturer: ShanWan [ 1087.140826] kernel: input: ShanWan PC/PS3/Android GamePad as /devices/pci0000:00/0000:00:08.1/0000:07:00.3/usb3/3-2/3-2.3/3-2.3:1.0/0003:2563:0526.0010/input/input53 [ 1087.140839] kernel: hid-generic 0003:2563:0526.0010: input,hidraw9: USB HID v1.11 Gamepad [ShanWan PC/PS3/Android GamePad] on usb-0000:07:00.3-2.3/input0
Is this a bug? I'm using the kernel module for xpad(kernel 6.10) and I also tried to install this with git clone, but doesn't proceed because I have the exact same version.
EDIT:
I tried some suggestions from other issues and nothing worked. I also tried the fix-controller python script but it didn't work either. It finds the device if is unpluged and I pluged in after run the script, but I get the exact same error in dmesg.
The text was updated successfully, but these errors were encountered: