Bug 768695

Summary: PS3 Sixaxis controller in USB mode is recognized, but not configured properly
Product: [Fedora] Fedora Reporter: Scott Baker <scott>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: blakerohde, gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-13 12:49:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Scott Baker 2011-12-18 02:30:50 UTC
Description of problem:
Plugging in a PS3 controller via USB doesn't create a joystick in /dev/input/jsX

Version-Release number of selected component (if applicable):
3.1.5-2.fc16.x86_64

How reproducible:
Easy

Steps to Reproduce:
1. Plug-in PS3 Sixaxis controller via USB
2. Examine /var/log/messages
3. Check for /dev/input/jsX
  
Actual results:
No /dev/input/jsX entry is created

Expected results:
/dev/input/jsX entry is created, and joystick is usable as normal USB joystick.

Additional info:
Dec 17 18:23:04 thebrick kernel: [  284.013210] usb 2-1.1: USB disconnect, device number 5
Dec 17 18:23:09 thebrick kernel: [  289.053210] usb 2-1.1: new full speed USB device number 6 using ehci_hcd
Dec 17 18:23:09 thebrick kernel: [  289.278564] usb 2-1.1: New USB device found, idVendor=054c, idProduct=0268
Dec 17 18:23:09 thebrick kernel: [  289.278573] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Dec 17 18:23:09 thebrick kernel: [  289.278581] usb 2-1.1: Product: PLAYSTATION(R)3 Controller
Dec 17 18:23:09 thebrick kernel: [  289.278586] usb 2-1.1: Manufacturer: Sony
Dec 17 18:23:14 thebrick kernel: [  294.303784] sony 0003:054C:0268.0005: Fixing up Sony Sixaxis report descriptor
Dec 17 18:23:24 thebrick kernel: [  304.304200] sony 0003:054C:0268.0005: usb_submit_urb(ctrl) failed
Dec 17 18:23:24 thebrick kernel: [  304.304232] sony 0003:054C:0268.0005: timeout initializing reports
Dec 17 18:23:24 thebrick kernel: [  304.304467] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:13.2/usb2/2-1/2-1.1/2-1.1:1.0/input/input8
Dec 17 18:23:24 thebrick kernel: [  304.305430] sony 0003:054C:0268.0005: input,hiddev0,hidraw2: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:13.2-1.1/input0
Dec 17 18:23:29 thebrick kernel: [  309.305187] sony 0003:054C:0268.0005: can't set operational mode
Dec 17 18:23:29 thebrick kernel: [  309.333430] sony: probe of 0003:054C:0268.0005 failed with error -110
Dec 17 18:23:29 thebrick mtp-probe: checking bus 2, device 6: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-1/2-1.1"
Dec 17 18:23:30 thebrick mtp-probe: bus: 2, device: 6 was not an MTP device

Comment 1 Scott Baker 2012-01-11 16:03:33 UTC
Anything I do to help test this issue?

Comment 2 Dave Jones 2012-03-22 17:10:36 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 3 Dave Jones 2012-03-22 17:13:12 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 4 Dave Jones 2012-03-22 17:22:38 UTC
[mass update]
kernel-3.3.0-4.fc16 has been pushed to the Fedora 16 stable repository.
Please retest with this update.

Comment 5 Blake R 2012-06-10 01:59:47 UTC
This problem is still persisting with kernel 3.4.0-1.fc17.x86_64

Comment 6 Blake R 2012-06-11 22:18:19 UTC
As a follow up to my previous note stating this problem is still persisting:

It seems the device is properly being recognized as a joystick, however, the /dev/input/jsX node is still not being created as expected.


Here is some debug information from /var/log/messages for when I plug the PS3 controller into my system via USB:

Jun 11 16:42:55 localhost kernel: [33798.748063] usb 2-1.3: new full-speed USB device number 9 using ehci_hcd
Jun 11 16:42:55 localhost kernel: [33798.841400] usb 2-1.3: New USB device found, idVendor=054c, idProduct=0268
Jun 11 16:42:55 localhost kernel: [33798.841408] usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jun 11 16:42:55 localhost kernel: [33798.841414] usb 2-1.3: Product: PLAYSTATION(R)3 Controller
Jun 11 16:42:55 localhost kernel: [33798.841418] usb 2-1.3: Manufacturer: Sony
Jun 11 16:42:55 localhost kernel: [33798.854144] sony 0003:054C:0268.000F: Fixing up Sony Sixaxis report descriptor
Jun 11 16:42:55 localhost kernel: [33798.879992] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/input/input27
Jun 11 16:42:55 localhost kernel: [33798.880840] sony 0003:054C:0268.000F: input,hiddev0,hidraw4: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1d.0-1.3/input0
Jun 11 16:42:55 localhost mtp-probe: checking bus 2, device 9: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3"
Jun 11 16:42:55 localhost mtp-probe: bus: 2, device: 9 was not an MTP device
Jun 11 16:42:56 localhost kernel: [33800.118623] sony 0003:054C:0268.0010: Fixing up Sony Sixaxis report descriptor
Jun 11 16:42:56 localhost kernel: [33800.144533] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/input/input28
Jun 11 16:42:56 localhost kernel: [33800.145351] sony 0003:054C:0268.0010: input,hiddev0,hidraw4: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:1d.0-1.3/input0
Jun 11 16:43:11 localhost dbus-daemon[740]: ** Message: No devices in use, exit


Here is more information about my system:

Fedora release 17 (Beefy Miracle)
3.4.0-1.fc17.x86_64

Comment 7 Blake R 2012-06-13 05:37:59 UTC
After further troubleshooting, I found this closed bug ticket: https://bugzilla.redhat.com/show_bug.cgi?id=815168 . Per that ticket Fedora 17 does not defaultly include the needed joydev kernel module for successful gamepad/joystick operation. Installing the 'kernel-modules-extra' package via yum provides this needed module. After installation the /dev/input/jsX device path is being created as expected. I have tested using my PS3 controller and everything is now working as expected.

This ticket can now be closed!