Bug 10249 - xpad - Xbox360 Controller does not work, led related issue
Summary: xpad - Xbox360 Controller does not work, led related issue
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: Input Devices (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_input-devices
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-15 07:27 UTC by MG
Modified: 2008-07-16 08:13 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.24.3
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
lsusb (5.92 KB, application/octet-stream)
2008-03-15 07:30 UTC, MG
Details

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?

Note You need to log in before you can comment on or make changes to this bug.