Bug 10249

Summary: xpad - Xbox360 Controller does not work, led related issue
Product: Drivers Reporter: MG (lists.mg)
Component: Input DevicesAssignee: drivers_input-devices
Status: CLOSED CODE_FIX    
Severity: normal CC: sarrazip
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.24.3 Subsystem:
Regression: --- Bisected commit-id:
Attachments: lsusb

Description MG 2008-03-15 07:27:56 UTC
Distribution: Debian Testing
Hardware Environment: http://www.fujitsu-siemens.com/Resources/59/562938810.pdf
Software Environment: jstest



Problem Description:
I have an official Microsoft Xbox360 Controller (wired). When I plug it in it is recognized by the driver:

dmesg:
usb 3-2: new full speed USB device using uhci_hcd and address 3
usb 3-2: configuration #1 chosen from 1 choice
Registered led device: xpad0
input: Microsoft X-Box 360 pad as /class/input/input7
usbcore: registered new interface driver xpad
drivers/input/joystick/xpad.c: X-Box pad driver:v0.0.6

But it does not work, jstest gives the following initial output, but nothing changes when I press any buttons:

jstest /dev/input/js0:
Driver version is 2.1.0.
Joystick (Microsoft X-Box 360 pad) has 8 axes (X, Y, Z, Rx, Ry, Rz, Hat0X, Hat0Y)
and 13 buttons (BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnThumbR, ?, ?, ?, BackBtn).
Testing ... (interrupt to exit)
Axes:  0:     0  1:     0  2:-32767  3:     0  4:     0  5:-32767  6:     0  7:     0 Buttons:  0:off  1:off  2:off  3:off  4:off  5:off  6:off  7:off  8:off  9:off 10:off 11:off 12:off



Workaround:
If I comment out the line "usb_submit_urb(xpad->irq_out, GFP_KERNEL);" inside of  "xpad_send_led_command" in xpad.c the controller works fine but the leds are blinking all the time and drive me crazy.
Comment 1 MG 2008-03-15 07:30:58 UTC
Created attachment 15276 [details]
lsusb
Comment 2 Charles Joseph Christie II 2008-07-15 20:37:44 UTC
I have the same problem. Is it possible to fix this soon?