Comments (11)
Similar problem on Ubuntu 15.10. The system just crashes when using the xpad version shipped with the kernel. Using the driver in this repository fixes the crash, but it is impossible to get any sort of input from the controller. I'm not familiar with kernel module development but I'm happy to help out with testing/capturing/etc, although I will not have access to a Windows PC until January.
It seems that the 360Controller guys have found a solution here:
360Controller/360Controller#120
from xpad.
seems that newer controllers need an extended initialization sequence instead of a single packet. related #12
so far we have these two sequences:
Drew Mills (360Controller)
{ 0x04, 0x20, 0x01, 0x00 };
{ 0x01, 0x20, 0x01, 0x09, 0x00, 0x04, 0x20, 0x3a, 0x00, 0x00, 0x00, 0x9c, 0x00 };
{ 0x01, 0x20, 0x02, 0x09, 0x00, 0x04, 0x20, 0xd6, 0x00, 0x00, 0x00, 0x00, 0x00 };
{ 0x05, 0x20, 0x02, 0x09, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x53 };
{ 0x05, 0x20, 0x03, 0x01, 0x00 };
{ 0x0a, 0x20, 0x04, 0x03, 0x00, 0x01, 0x14 };
{ 0x06, 0x20, 0x01, 0x02, 0x01, 0x00 }; # crash packet?
Ignacio Quezada (https://github.com/Fenisu/xbox)
( 0x04, 0x20, 0x01, 0x00)
( 0x01, 0x20, 0x01, 0x09, 0x00, 0x04, 0x20, 0x3a, 0x00, 0x00, 0x00, 0x80, 0x00)
( 0x01, 0x20, 0x01, 0x09, 0x00, 0x04, 0x20, 0xba, 0x00, 0x00, 0x00, 0x00, 0x00)
( 0x05, 0x20, 0x02, 0x09, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0x53)
( 0x05, 0x20, 0x03, 0x01, 0x00)
( 0x0a, 0x20, 0x04, 0x03, 0x00, 0x01, 0x14)
will add one of them to xpad as I have time
from xpad.
I've got the same issue with a former xbox one controller which has just been updated (using xbox accessories under windows 10). The pad is detected (the /dev/input/ device is created) but the xbox logo stays off - instead of on before the firmware update - and when I test it with jstest, it is recognized but nothing works.
from xpad.
@Toniob can you give me the dmesg line where your controller is identified? (or the output of lsusb)
from xpad.
at all:
I have implemented the extended initialization sequence in the xone2015 branch. Can you test and report back?
from xpad.
@paroj I'm going to test it now.
from xpad.
Going to give a shot too. I believe we all have the same firmware/hardware version.
from xpad.
I can confirm that the controller works again. All buttons, axes seems to work according to jstest-gtk.
[ 2930.089607] usb 1-2: new full-speed USB device number 3 using xhci_hcd
[ 2930.218910] usb 1-2: New USB device found, idVendor=045e, idProduct=02dd
[ 2930.218914] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2930.218915] usb 1-2: Product: Controller
[ 2930.218917] usb 1-2: Manufacturer: Microsoft
[ 2930.218918] usb 1-2: SerialNumber: 7EED835E32E8
[ 2930.756604] input: Microsoft X-Box One pad (Covert Forces) as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/input/input19
[ 2930.756856] usbcore: registered new interface driver xpad
[ 2930.757069] xpad 1-2:1.0: xpad_prepare_next_out_packet - found pending output packet 0: 0x01
[ 2930.761062] xpad 1-2:1.0: xpad_prepare_next_out_packet - found pending output packet 0: 0x01
[ 2930.765066] xpad 1-2:1.0: xpad_prepare_next_out_packet - found pending output packet 0: 0x05
[ 2930.769068] xpad 1-2:1.0: xpad_prepare_next_out_packet - found pending output packet 0: 0x05
[ 2930.773080] xpad 1-2:1.0: xpad_prepare_next_out_packet - found pending output packet 0: 0x0a
[ 2930.782497] xpad 1-2:1.0: xpad_irq_in - urb shutting down with status: -2
[ 2931.799516] xpad 1-2:1.0: xpad_irq_in - urb shutting down with status: -2
[ 2940.108737] xpad 1-2:1.0: xpad_irq_in - urb shutting down with status: -2
from xpad.
Yes working for me too.
Thank you!
[ 158.389855] usb 6-1.5.4: new full-speed USB device number 7 using ehci-pci
[ 158.517551] input: Microsoft X-Box One pad (Covert Forces) as /devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1.5/6-1.5.4/6-1.5.4:1.0/input/input28
[ 158.517639] usbcore: registered new interface driver xpad
[ 158.522850] xpad 6-1.5.4:1.0: xpad_prepare_next_out_packet - found pending output packet 0: 0x01
[ 158.526845] xpad 6-1.5.4:1.0: xpad_prepare_next_out_packet - found pending output packet 0: 0x01
[ 158.530846] xpad 6-1.5.4:1.0: xpad_prepare_next_out_packet - found pending output packet 0: 0x05
[ 158.534847] xpad 6-1.5.4:1.0: xpad_prepare_next_out_packet - found pending output packet 0: 0x05
[ 158.538845] xpad 6-1.5.4:1.0: xpad_prepare_next_out_packet - found pending output packet 0: 0x0a
[ 158.542007] xpad 6-1.5.4:1.0: xpad_irq_in - urb shutting down with status: -2
from xpad.
Thank you @paroj
from xpad.
while we got this one resolved, #20 needs to be solved too before we can send this upstream. So maybe someone here can help out. You will find instructions in #20.
from xpad.
Related Issues (20)
- xbox series elite 2 select button doesn't work on bluetooth - but does in xpadneo HOT 5
- empty HOT 1
- debug recognised but not responding 8bitdo ultimate / manjaro
- Razer Atrox Xboxone LT & RT not working
- Microsoft Xbox 360 USB controller does not
- Microsoft Xbox 360 USB controller does not get properly initialized, automatically reconnects and gets erroneously recognized as a PS3 controller HOT 1
- not a mtp device -- Using degraded feature set UDP instead of UDP+EDNS0 for DNS server xxx.xx.xxx.x
- xpad return error -19 in the 8bitDo controller HOT 3
- Upstream question HOT 1
- GameSir T4 Kaleid Support? HOT 1
- (Better) support for 8BitDo Ultimate Wired Controller [PC/Switch] HOT 3
- 8BitDo Pro 2 (wired) input not properly detected if plugged in at OS boot. HOT 1
- cannot detect multiple wired xbox 360 controllers
- Module not auto update after new kernel install? HOT 3
- Error! Bad return status for module build.... /tools/bpf/resolve_btfids/resolve_btfids: No such file or directory
- Fantech WGP13 isn't recognized as an xbox controller
- (support) Gameshark Green Ghost gamepad
- Problem with Fantech GP13 controller.
- Extra buttons support for Flydigi Vader 3 Pro
- PDP Wired Controller misidentified as an arcade stick
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xpad.