Playstation 3 gamepad does not get a device created

Bug #1328673 reported by steve smith
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

The newer Ubuntu kernel 3.13.0.27-generic breaks my Sony Playstation 3 gamepad. A device entry does not get created for it. I had to migrate back to the older 3.13.0.24-generic kernel. Note that the extra packages are installed for both of these kernels so it has nothing to do with the omission of the extras kernel package. This problem happens at boot time with the newer kernel installed. The kernel log claims that the operational mode cannot be set for the controller. I believe the following is the most informative. Also the entry for the gamepad is omitted when running lsusb probably because no device exists for it either. This also happens on the 3.13.0.29-generic kernel.

Ouput from lsb_release -rd: Ubuntu 14.04 LTS

This is dmesg on a good kernel:
---------------------------- Using Ubuntu kernel 3.13.0.24-generic ------------------------------------------------
Jun 2 09:36:58 localhost kernel: [ 4.123307] usb 1-3.1.3: new full-speed USB device number 7 using ehci-pci
Jun 2 09:36:58 localhost kernel: [ 4.234026] usb 1-3.1.3: New USB device found, idVendor=054c, idProduct=0268
Jun 2 09:36:58 localhost kernel: [ 4.234094] usb 1-3.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Jun 2 09:36:58 localhost kernel: [ 4.234171] usb 1-3.1.3: Product: PLAYSTATION(R)3 Controller
Jun 2 09:36:58 localhost kernel: [ 4.234237] usb 1-3.1.3: Manufacturer: Sony
Jun 2 09:36:58 localhost kernel: [ 4.242847] sony 0003:054C:0268.0003: Fixing up Sony Sixaxis report descriptor
Jun 2 09:36:58 localhost kernel: [ 4.268720] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:13.5/usb1/1-3/1-3.1/1-3.1.3/1-3.1.3:1.0/input/input6
Jun 2 09:36:58 localhost kernel: [ 4.268971] sony 0003:054C:0268.0003: input,hiddev0,hidraw1: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:13.5-3.1.3/input0

This is dmesg on the newer kernel:
---------------------------- Using Ubuntu kernel 3.13.0.27-generic ------------------------------------------------
May 29 09:20:58 localhost kernel: [ 4.123491] usb 1-3.1.3: new full-speed USB device number 7 using ehci-pci
May 29 09:20:58 localhost kernel: [ 4.234206] usb 1-3.1.3: New USB device found, idVendor=054c, idProduct=0268
May 29 09:20:58 localhost kernel: [ 4.234275] usb 1-3.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
May 29 09:20:58 localhost kernel: [ 4.234352] usb 1-3.1.3: Product: PLAYSTATION(R)3 Controller
May 29 09:20:58 localhost kernel: [ 4.234418] usb 1-3.1.3: Manufacturer: Sony
May 29 09:20:58 localhost kernel: [ 4.243617] sony 0003:054C:0268.0003: Fixing up Sony Sixaxis report descriptor
May 29 09:20:58 localhost kernel: [ 4.269540] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:13.5/usb1/1-3/1-3.1/1-3.1.3/1-3.1.3:1.0/input/input6
May 29 09:20:58 localhost kernel: [ 4.269779] sony 0003:054C:0268.0003: input,hiddev0,hidraw1: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:13.5-3.1.3/input0
May 29 09:20:58 localhost kernel: [ 4.269863] sony 0003:054C:0268.0003: can't set operational mode
May 29 09:20:58 localhost kernel: [ 4.275222] sony: probe of 0003:054C:0268.0003 failed with error -38

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-27-generic 3.13.0-27.50
ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
Uname: Linux 3.13.0-27-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: smitty 3101 F.... pulseaudio
CurrentDesktop: KDE
Date: Tue Jun 10 15:54:02 2014
HibernationDevice: RESUME=UUID=4001960a-c07d-4731-af22-47abce9408b6
InstallationDate: Installed on 2014-04-17 (53 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
IwConfig:
 eth0 no wireless extensions.

 lo no wireless extensions.
MachineType: MICRO-STAR INTERNATIONAL CO.,LTD MS-7388
ProcFB:

ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-27-generic root=UUID=b1e4a07d-688e-472b-a067-aa7e1045e057 ro
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-27-generic N/A
 linux-backports-modules-3.13.0-27-generic N/A
 linux-firmware 1.127.2
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/12/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: V1.7
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: MS-7388
dmi.board.vendor: MICRO-STAR INTERNATIONAL CO.,LTD
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrV1.7:bd06/12/2008:svnMICRO-STARINTERNATIONALCO.,LTD:pnMS-7388:pvr1.0:rvnMICRO-STARINTERNATIONALCO.,LTD:rnMS-7388:rvr1.0:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: MS-7388
dmi.product.version: 1.0
dmi.sys.vendor: MICRO-STAR INTERNATIONAL CO.,LTD

Revision history for this message
steve smith (smitty7523-deactivatedaccount) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream stable kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.13 stable kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] kernel.ubuntu.com/~kernel-ppa/mainline/v3.13.11.2-trusty/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Based on the test results of that kernel, we can decide if a kernel bisect is needed.

tags: added: performing-bisect
Revision history for this message
steve smith (smitty7523-deactivatedaccount) wrote :

I tested the upstream kernel linux-image-3.13.11-03131102-generic_3.13.11-03131102.201405081435_amd64.deb and found the device does get created for the Playstation 3 gamepad and it works as it should. I hope this kernel was the one you wanted me to test. It seems old as it is dated May 8th.

I would like to tag it "kernel-fixed-upstream" but could not find a mechanism on the site to do that.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

That is good news. This bug should be fixed when Trusty picks up the upstream 3.13.11.2 updates for the next release.

Changed in linux (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

 Would it be possible for you to test the latest kernel in the proposed repository and post back if it resolves this bug?
See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed.

Thank you in advance!

Revision history for this message
steve smith (smitty7523-deactivatedaccount) wrote :

I followed the instructions @ https://wiki.ubuntu.com/Testing/EnableProposed and installed the 3.13.0.30-generic kernel. The problem with the ps3 gamepad still exists on that kernel and outputs the same error messages. Please feel free to count on me to test the latest kernels for this bug as I would like to see it fixed.
Thank you,
Steve

Changed in linux (Ubuntu):
status: Fix Committed → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can you confirm that you in fact booted the 3.13.11.2 kernel you tested in comment #5 and it did fix the bug?

Can you also confirm that you booted the 3.13.0.30-generic kernel in comment #8 and that the bug still existed?

You can run uname -a from a terminal to confirm the booted kernel.

The 3.13.0.30-generic kernel has all of the stable updates from upstream 3.13.11.2, so it should fix this bug. If it does not, then we will need to dig deeper.

After the previous two tests, if 3.13.11.2 still fixes the bug and 3.13.0.30-generic still exhibits the bug, we may want to test 3.13.0-29.54, since there was a few SAUCE patches added between 3.13.0-28 and 3.13.0-30.

The 3.13.0-29.54 can be downloaded from:
https://launchpad.net/~canonical-kernel-team/+archive/ppa/+build/6069996

Thanks in advance!

Revision history for this message
steve smith (smitty7523-deactivatedaccount) wrote :

I went ahead and tested the kernels again as you wish using uname- r to confirm. These are the results:
3.13.0-24-generic - works!!!
3.13.0-27-generic - broken
3.13.0-29-generic - broken
3.13.0-30-generic - broken
3.13.11-03131102-generic - works!!!
3.13.11-03131103-generic - works!!!

As you can see I checked for the latest mainline kernel and it also works.

After installing the linux-image-3.13.0-29-generic_3.13.0-29.53_amd64.deb file that you told me to do I yielded the same results as before. I noticed the boot loader did not list the kernel however, so I uninstalled the stock 3.13.0-29-generic kernel and reinstalled the kernel you asked me to. It freezes at the login screen though. I inspected dmesg and have confirmed the following:
It is the correct kernel "Linux version 3.13.0-29-generic (buildd@toyol) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #53-Ubuntu SMP Wed Jun 4 21:00:20 UTC 2014 (Ubuntu 3.13.0-29.53-generic 3.13.11.2)" and it has fixed the problem with the PS3 gamepad.

I don't really understand what is going on here. The kernel versions seem out of whack to me, but hey you're the expert. How can the stock 27, 29, and 30 kernels be broken while the non-stock 29.53 is not?

Hope this helps rather than confuses you more, Steve

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Can you apply the latest updates and see if the bug still exists?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
steve smith (smitty7523-deactivatedaccount) wrote :

The problem still exists with the latest ubuntu kernel (3.13.0.34) but then again you already know that as per bug #1326725. That bug report is more than active than the one that I filed, so I suggest you use that one, however I am still willing to allow you to double check using me if you want.

I apologize for the elapsed time, it seems as if your email messages go directly to bulk mail on my Yahoo account. I don't usually look at them but a popup from Kmail alerted me to it. I will be more expedient next time.

P.S. Your email is the only one that is not spam that goes to my bulk mail folder which I apparently have no control over. It seems that Yahoo has flagged your mails for some reason.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.