USB ports stop functioning when snd-usb-audio gets initiated

Bug #310095 reported by Andrew G
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ubuntu PS3 Port
New
Undecided
Unassigned

Bug Description

when i have my playstation eye connected to my ps3, the usb ports don't work after i login, forcing me to restart the ps3.

Revision history for this message
Dan Munckton (munckfish) wrote :

Please create the problem then attach the following log files for us to examine:

/var/log/messages
/var/log/daemon.log
/var/log/kern.log

Revision history for this message
Ambricka (petter-ambricka) wrote :

I can confirm this too, and it seems to be audio related.
I don't have a playstation eye, but a couple of other devices with audio input.

With any of them plugged in I can login, then usb dies.
Without plugged in, I can login and still have usb.
Pluggin in after login instantly kills usb.

dmesg after plantronics headset plugin:
[ 146.511642] usb 2-2.1.1: new full speed USB device using ps3-ehci-driver and address 9
[ 146.610795] usb 2-2.1.1: configuration #1 chosen from 1 choice
[ 146.615090] input: Plantronics Plantronics Headset as /devices/ps3_system/sb_05/usb2/2-2/2-2.1/2-2.1.1/2-2.1.1:1.3/input/input6
[ 146.637969] generic-usb 0003:047F:0CA1.0006: input,hidraw5: USB HID v1.00 Device [Plantronics Plantronics Headset] on usb-sb_05-2.1.1/input3
[ 149.489874] usbcore: registered new interface driver snd-usb-audio
[ 159.956580] 9:2:3: usb_set_interface failed
[ 164.966070] 9:2:3: usb_set_interface failed
[ 169.975794] 9:2:3: usb_set_interface failed
[ 174.985065] 9:2:3: usb_set_interface failed
[ 180.030747] 9:2:3: usb_set_interface failed
[ 185.040056] 9:2:3: usb_set_interface failed
[ 190.049533] 9:2:3: usb_set_interface failed

same thing in /var/log/kern.log
a slight difference in /var/log/messages:
Feb 28 12:52:07 ps3 kernel: [ 146.511642] usb 2-2.1.1: new full speed USB device using ps3-ehci-driver and address 9
Feb 28 12:52:07 ps3 kernel: [ 146.610795] usb 2-2.1.1: configuration #1 chosen from 1 choice
Feb 28 12:52:07 ps3 kernel: [ 146.615090] input: Plantronics Plantronics Headset as /devices/ps3_system/sb_05/usb2/2-2/2-2.1/2-2.1.1/2-2.1.1:1.3/input/input6
Feb 28 12:52:07 ps3 kernel: [ 146.637969] generic-usb 0003:047F:0CA1.0006: input,hidraw5: USB HID v1.00 Device [Plantronics Plantronics Headset] on usb-sb_05-2.1.1/input3
Feb 28 12:52:10 ps3 kernel: [ 149.489874] usbcore: registered new interface driver snd-usb-audio
Feb 28 12:52:14 ps3 pulseaudio[4867]: alsa-util.c: Device front:1 doesn't support sample format s16be, changed to s16le.
Feb 28 12:52:15 ps3 pulseaudio[4867]: alsa-util.c: Unable to load mixer: Invalid argument

/var/log/messages after guitar hero world tour mic plugged in:
Feb 28 13:03:02 ps3 kernel: [ 193.020682] usb 2-2.1.2.2: new full speed USB device using ps3-ehci-driver and address 9
Feb 28 13:03:02 ps3 kernel: [ 193.117296] usb 2-2.1.2.2: configuration #1 chosen from 1 choice
Feb 28 13:03:04 ps3 kernel: [ 194.710494] usbcore: registered new interface driver snd-usb-audio
Feb 28 13:03:07 ps3 pulseaudio[4871]: alsa-util.c: Device hw:1 doesn't support 2 channels, changed to 1.
Feb 28 13:03:07 ps3 pulseaudio[4871]: alsa-util.c: Device hw:1 doesn't support sample format s16be, changed to s16le.

and /var/log/kern.log at the same event:
Feb 28 13:03:02 ps3 kernel: [ 193.020682] usb 2-2.1.2.2: new full speed USB device using ps3-ehci-driver and address 9
Feb 28 13:03:02 ps3 kernel: [ 193.117296] usb 2-2.1.2.2: configuration #1 chosen from 1 choice
Feb 28 13:03:04 ps3 kernel: [ 194.710494] usbcore: registered new interface driver snd-usb-audio

..and usb is killed.

Revision history for this message
Ambricka (petter-ambricka) wrote :

Nothing new on this?
This happens with every usb audio device I try to connect.
USB doesn't die until the device is opened.
Test with gdm stopped in console, I plugged in a guitar hero mic, I could still type on my usb keyboard, so I typed 'arecord -l', it showed the mic, and then keyboard was dead.
The mic works fine on a i386 ubuntu jaunty...

Seems like we have a couple of strange bugs in the PS3 port, and some of them seem to be powerpc related, not ps3 specific, but I don't know about this show stopper yet, if it's present on mac too for example...

summary: - USB ports stop functioning on login when a PLAYSTATION Eye is connected.
+ USB ports stop functioning when snd-usb-audio gets initiated
Revision history for this message
Andrew G (andrewwg94) wrote :

this also happened to me when i started ubuntu when i had my Rock Band plugged in. seems to be an audio problem. glad to know it has been fixed for jaunty however.

Revision history for this message
Ambricka (petter-ambricka) wrote :

No, it's not fixed at all. :(
i386 jaunty has never been a problem, however ps3 jaunty is as broken as always.
It's definitely an audio problem, that's why I changed the description.
Any usb audio device triggers this bug.

Revision history for this message
jeanseb (jeanseb-valette) wrote :
Download full text (7.3 KiB)

Got the problème each time i plug my edirol UA-25EX.
The card work very fine on amd64 arch.
I'm on jaunty for the two test.

Here from kern.log
---------
Apr 18 19:31:28 ps3 kernel: [ 261.729085] ioctl32(synaptic:3425): Unknown cmd fd(52) cmd(0000530b){t:'S';sz:0} arg(0f234d48) on /dev/pts/1
Apr 18 19:52:42 ps3 kernel: [ 1535.496786] usb 1-2.2.1: new full speed USB device using ps3-ehci-driver and address 6
Apr 18 19:52:42 ps3 kernel: [ 1535.604460] usb 1-2.2.1: configuration #1 chosen from 1 choice
Apr 18 19:52:44 ps3 kernel: [ 1537.896640] usbcore: registered new interface driver snd-usb-audio
Apr 18 19:53:29 ps3 kernel: [ 1582.892536] timeout: still 2 active urbs..
Apr 18 19:53:43 ps3 kernel: [ 1596.984809] 6:2:1: usb_set_interface failed
Apr 18 19:53:48 ps3 kernel: [ 1601.996596] 6:2:1: usb_set_interface failed
Apr 18 19:53:53 ps3 kernel: [ 1607.008598] 6:2:1: usb_set_interface failed
Apr 18 19:53:58 ps3 kernel: [ 1612.020597] 6:2:1: usb_set_interface failed
Apr 18 19:54:03 ps3 kernel: [ 1617.068643] 6:2:1: usb_set_interface failed
Apr 18 19:54:08 ps3 kernel: [ 1622.080590] 6:2:1: usb_set_interface failed
Apr 18 19:54:13 ps3 kernel: [ 1627.092594] 6:2:1: usb_set_interface failed
Apr 18 19:54:18 ps3 kernel: [ 1632.104594] 6:2:1: usb_set_interface failed
Apr 18 19:54:23 ps3 kernel: [ 1637.152643] 6:1:1: usb_set_interface failed
Apr 18 19:54:28 ps3 kernel: [ 1642.164601] 6:1:1: usb_set_interface failed
Apr 18 19:54:33 ps3 kernel: [ 1647.176597] 6:1:1: usb_set_interface failed
Apr 18 19:54:38 ps3 kernel: [ 1652.188596] 6:1:1: usb_set_interface failed
Apr 18 19:54:43 ps3 kernel: [ 1657.236641] 6:1:1: usb_set_interface failed
Apr 18 19:54:48 ps3 kernel: [ 1662.248598] 6:1:1: usb_set_interface failed
Apr 18 19:54:53 ps3 kernel: [ 1667.260597] 6:1:1: usb_set_interface failed
Apr 18 19:54:58 ps3 kernel: [ 1672.272598] 6:1:1: usb_set_interface failed

----
from syslog :
Apr 18 19:52:42 ps3 kernel: [ 1535.496786] usb 1-2.2.1: new full speed USB device using ps3-ehci-driver and address 6
Apr 18 19:52:42 ps3 kernel: [ 1535.604460] usb 1-2.2.1: configuration #1 chosen from 1 choice
Apr 18 19:52:44 ps3 kernel: [ 1537.896640] usbcore: registered new interface driver snd-usb-audio
Apr 18 19:53:21 ps3 pulseaudio[4074]: main.c: Called SUID root and real-time and/or high-priority scheduling was requested in the configuration. However, we lack the necessary priv
ileges:
Apr 18 19:53:21 ps3 pulseaudio[4074]: main.c: We are not in group 'pulse-rt', PolicyKit refuse to grant us the requested privileges and we have no increase RLIMIT_NICE/RLIMIT_RTPRIO resource limits.
Apr 18 19:53:21 ps3 pulseaudio[4074]: main.c: For enabling real-time/high-priority scheduling please acquire the appropriate PolicyKit privileges, or become a member of 'pulse-rt', or increase the RLIMIT_NICE/RLIMIT_RTPRIO resource limits for this user.
Apr 18 19:53:22 ps3 pulseaudio[4077]: alsa-util.c: Device front:1 doesn't support sample format s16be, changed to s16le.
Apr 18 19:53:22 ps3 pulseaudio[4077]: alsa-util.c: Cannot find fallback mixer control "Mic" or mixer control is no combination of switch/volume.
Apr 18 19:53:22 ps3 pulseaudio[4077]: alsa-util.c: Device front:1 doesn't support sa...

Read more...

Revision history for this message
jeanseb (jeanseb-valette) wrote :

i tried 2.6.29 with same config as 2.6.28 official kernel.

USB still works at pluging but running jackd form qjackctrl freeze usb again.

dmesg only show the folling messages :

[ 184.941224] timeout: still 8 active urbs..
[ 194.840243] timeout: still 3 active urbs..
[ 200.852220] timeout: still 8 active urbs..

Revision history for this message
jeanseb (jeanseb-valette) wrote :

with ubunut .config file and 2.6.30-rc4 the message from dmesg is :
---
[ 3271.870017] cannot submit datapipe for urb 0, error -28: not enough bandwidth
---

but still hanging usb at running jackd

Revision history for this message
jamey0824 (jamesforyst) wrote :

usb_set_interface failed
I get this to running jaunty x64, it works for a while then my computer starts running at a snails pace and i see this message

Revision history for this message
zasq (zasq) wrote :

Hello,
I stumbled upon this bug because I have problems with usb-2.0-devices too - a regression after installing the 2.6.28-13-generic kernel. We found out that for many the problem was the alsa-driver, more specific, the snd-hda-intel module. In some versions it breaks the usage of usb2. Has anyone experienced this too? Has anyone gone into this?

Revision history for this message
Pinger_45 (pinger-45) wrote :

Hi zasq, i can say i'm experiencing the same problem right now. When i plug my usb microphone in and turn it on, it shows something like "timeout: still 8 active urbs.." in a console and then the usb devices don't work anymore. I have to reboot my system after it. I do hate this problem. I wanted to move to Linux, but as i can't even use my usb microphone and i absolutely need it, i can't do the move at all.

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.