Re: [pulseaudio-tickets] [PulseAudio] #926: usb soundcard does not work reliably in pulseaudio, but works otherwise

2011-03-27 Thread PulseAudio
#926: usb soundcard does not work reliably in pulseaudio, but works otherwise
-+--
  Reporter:  martin  |   Owner:  lennart
  Type:  defect  |  Status:  new
 Milestone:  |   Component:  daemon 
Resolution:  |Keywords: 
-+--

Old description:

> I have a ThinkPad T23 with a M-Audio Sonica Theater sound card that
> doesn't work reliably with KDE 4.4.3 and Phonon Xine, while without
> PulseAudio it works. It happens at times, I did not make out a pattern,
> also after a hibernation cycle that the USB soundcard is greyed out in
> KDE multimedia system settings (for Phonon) and sound is switched to
> internal audio.
>
> And I have this in the syslog:
>
> Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
> Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
> Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
> Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
> Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
> Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
> Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
> Mar 27 12:27:44 localhost kernel: 2:1:3: usb_set_interface failed
> Mar 27 12:27:44 localhost kernel: 2:1:3: usb_set_interface failed
> Mar 27 12:27:44 localhost kernel: 2:1:3: usb_set_interface failed
> Mar 27 12:27:44 localhost kernel: 2:1:3: usb_set_interface failed
>
> (lots more, strangely no feedback from pulseaudio daemon itself)
>
> But when I apt-get purge pulseaudio, replug the sound card I just get:
>
> {{{
> Mar 27 12:30:32 localhost kernel: usb 1-1: USB disconnect, address 2
> Mar 27 12:30:38 localhost kernel: usb 1-1: new full speed USB device
> using uhci_hcd and address 3
> Mar 27 12:30:39 localhost kernel: usb 1-1: New USB device found,
> idVendor=0763, idProduct=2007
> Mar 27 12:30:39 localhost kernel: usb 1-1: New USB device strings: Mfr=1,
> Product=2, SerialNumber=0
> Mar 27 12:30:39 localhost kernel: usb 1-1: Product: Sonica Theater
> Mar 27 12:30:39 localhost kernel: usb 1-1: Manufacturer: M-Audio
> }}}
>
> and everything works as expected. No errors regarding usb_set_interface
> failed at all.
>
> {{{
> martin@deepdance:~> lsusb
> Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 002: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse
> Plus]
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 003: ID 0763:2007 Midiman M-Audio Sonica Theater
> Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> }}}
>
> martin@deepdance:~> cat /proc/version
> Linux version 2.6.38.1-tp23 (martin@deepdance) (gcc version 4.4.5 (Debian
> 4.4.5-8) ) #2 PREEMPT Fri Mar 25 18:39:36 CET 2011
>
> Package versions:
>
> {{{
> martin@deepdance:~> cat /proc/version
> Linux version 2.6.38.1-tp23 (martin@deepdance) (gcc version 4.4.5 (Debian
> 4.4.5-8) ) #2 PREEMPT Fri Mar 25 18:39:36 CET 2011
> martin@deepdance:~> apt-show-versions | egrep
> "(pulseaudio|xine|phonon|alsa)"
> alsa-base/squeeze uptodate 1.0.23+dfsg-2
> alsa-oss/squeeze uptodate 1.0.17-4
> alsa-utils/squeeze uptodate 1.0.23-3
> gstreamer0.10-alsa/squeeze uptodate 0.10.30-1
> gstreamer0.10-pulseaudio/squeeze uptodate 0.10.24-1
> kde-config-phonon-xine/squeeze uptodate 4:4.4.5-1
> libphonon4/sid uptodate 4:4.6.0really4.4.4-3
> libsmokephonon3/squeeze uptodate 4:4.4.5-3
> libsox-fmt-alsa/squeeze uptodate 14.3.1-1
> libxine1/squeeze uptodate 1.1.19-2
> libxine1-bin/squeeze uptodate 1.1.19-2
> libxine1-console/squeeze uptodate 1.1.19-2
> libxine1-ffmpeg/squeeze uptodate 1.1.19-2
> libxine1-misc-plugins/squeeze uptodate 1.1.19-2
> libxine1-plugins/squeeze uptodate 1.1.19-2
> libxine1-x/squeeze uptodate 1.1.19-2
> libxinerama1/squeeze uptodate 2:1.1-3
> phonon/sid uptodate 4:4.6.0really4.4.4-3
> phonon-backend-gstreamer/sid uptodate 4:4.6.0really4.4.4-3
> phonon-backend-vlc/sid uptodate 0.3.2-3
> phonon-backend-vlc-dbg/sid uptodate 0.3.2-3
> phonon-backend-xine/sid uptodate 4:4.6.0really4.4.4-3
> pulseaudio-utils/sid uptodate 0.9.21-4
> xine-ui/squeeze uptodate 0.99.6-1
> }}}
>
> (pulseaudio was completely installed at version 0.9.21-4, above output is
> with purged pulseaudio, cause I just wanted to listen to music instead of
> fiddling around with things.)
>
> BTW replugging the sound card does not help when Pulseaudio is installed.
> But without pulseaudio playback is fine.
>
> I also have rtkit 10 installed which did seem to do what it should by
> giving out nice -11 for pulseaudio and RT 5 for its audio playback
> threads.
>
> I have a ThinkPad T42 where the M-Audio Sonica Theater worked to fa

[pulseaudio-tickets] [PulseAudio] #926: usb soundcard does not work reliably in pulseaudio, but works otherwise

2011-03-27 Thread PulseAudio
#926: usb soundcard does not work reliably in pulseaudio, but works otherwise
+---
 Reporter:  martin  |   Owner:  lennart
 Type:  defect  |  Status:  new
Milestone:  |   Component:  daemon 
 Keywords:  |  
+---
 I have a ThinkPad T23 with a M-Audio Sonica Theater sound card that
 doesn't work reliably with KDE 4.4.3 and Phonon Xine, while without
 PulseAudio it works. It happens at times, I did not make out a pattern,
 also after a hibernation cycle that the USB soundcard is greyed out in KDE
 multimedia system settings (for Phonon) and sound is switched to internal
 audio.

 And I have this in the syslog:

 Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
 Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
 Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
 Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
 Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
 Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
 Mar 27 12:27:44 localhost kernel: 2:2:4: usb_set_interface failed
 Mar 27 12:27:44 localhost kernel: 2:1:3: usb_set_interface failed
 Mar 27 12:27:44 localhost kernel: 2:1:3: usb_set_interface failed
 Mar 27 12:27:44 localhost kernel: 2:1:3: usb_set_interface failed
 Mar 27 12:27:44 localhost kernel: 2:1:3: usb_set_interface failed

 (lots more, strangely no feedback from pulseaudio daemon itself)

 But when I apt-get purge pulseaudio, replug the sound card I just get:

 {{{
 Mar 27 12:30:32 localhost kernel: usb 1-1: USB disconnect, address 2
 Mar 27 12:30:38 localhost kernel: usb 1-1: new full speed USB device using
 uhci_hcd and address 3
 Mar 27 12:30:39 localhost kernel: usb 1-1: New USB device found,
 idVendor=0763, idProduct=2007
 Mar 27 12:30:39 localhost kernel: usb 1-1: New USB device strings: Mfr=1,
 Product=2, SerialNumber=0
 Mar 27 12:30:39 localhost kernel: usb 1-1: Product: Sonica Theater
 Mar 27 12:30:39 localhost kernel: usb 1-1: Manufacturer: M-Audio
 }}}

 and everything works as expected. No errors regarding usb_set_interface
 failed at all.

 {{{
 martin@deepdance:~> lsusb
 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 005 Device 002: ID 046d:c001 Logitech, Inc. N48/M-BB48 [FirstMouse
 Plus]
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 003: ID 0763:2007 Midiman M-Audio Sonica Theater
 Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 }}}

 martin@deepdance:~> cat /proc/version
 Linux version 2.6.38.1-tp23 (martin@deepdance) (gcc version 4.4.5 (Debian
 4.4.5-8) ) #2 PREEMPT Fri Mar 25 18:39:36 CET 2011

 Package versions:

 {{{
 martin@deepdance:~> cat /proc/version
 Linux version 2.6.38.1-tp23 (martin@deepdance) (gcc version 4.4.5 (Debian
 4.4.5-8) ) #2 PREEMPT Fri Mar 25 18:39:36 CET 2011
 martin@deepdance:~> apt-show-versions | egrep
 "(pulseaudio|xine|phonon|alsa)"
 alsa-base/squeeze uptodate 1.0.23+dfsg-2
 alsa-oss/squeeze uptodate 1.0.17-4
 alsa-utils/squeeze uptodate 1.0.23-3
 gstreamer0.10-alsa/squeeze uptodate 0.10.30-1
 gstreamer0.10-pulseaudio/squeeze uptodate 0.10.24-1
 kde-config-phonon-xine/squeeze uptodate 4:4.4.5-1
 libphonon4/sid uptodate 4:4.6.0really4.4.4-3
 libsmokephonon3/squeeze uptodate 4:4.4.5-3
 libsox-fmt-alsa/squeeze uptodate 14.3.1-1
 libxine1/squeeze uptodate 1.1.19-2
 libxine1-bin/squeeze uptodate 1.1.19-2
 libxine1-console/squeeze uptodate 1.1.19-2
 libxine1-ffmpeg/squeeze uptodate 1.1.19-2
 libxine1-misc-plugins/squeeze uptodate 1.1.19-2
 libxine1-plugins/squeeze uptodate 1.1.19-2
 libxine1-x/squeeze uptodate 1.1.19-2
 libxinerama1/squeeze uptodate 2:1.1-3
 phonon/sid uptodate 4:4.6.0really4.4.4-3
 phonon-backend-gstreamer/sid uptodate 4:4.6.0really4.4.4-3
 phonon-backend-vlc/sid uptodate 0.3.2-3
 phonon-backend-vlc-dbg/sid uptodate 0.3.2-3
 phonon-backend-xine/sid uptodate 4:4.6.0really4.4.4-3
 pulseaudio-utils/sid uptodate 0.9.21-4
 xine-ui/squeeze uptodate 0.99.6-1
 }}}

 (pulseaudio was completely installed at version 0.9.21-4, above output is
 with purged pulseaudio, cause I just wanted to listen to music instead of
 fiddling around with things.)

 BTW replugging the sound card does not help when Pulseaudio is installed.
 But without pulseaudio playback is fine.

 I also have rtkit 10 installed which did seem to do what it should by
 giving out nice -11 for pulseaudio and RT 5 for its audio playback
 threads.

 I have a ThinkPad T42 where the M-Audio Sonica Theater worked to far. Also
 with Pulseaudio. I really want to use that soundcard, cause quality is so
 much better. I also tried with gstreamer backend, but also the