Christopher Montgomery wrote:
> On 7/22/06, Ian Stirling <[EMAIL PROTECTED]> wrote:
> > Basically - playing sound with
> > mplayer -ao alsa:device=hw=1 or whatever - and then unplugging the
> > soundcard completely wedges lsusb/usb configuration, until the
> > mplayer process is killed.
>
> This sounds like the well known EPIPE problem in usb-audio and one I
> intended to fix after dealing with the ehci scheduler.
>
> It boils down to this: although the low-level usb code is properly
> reporting and distinguishing error conditions, usb-audio translates
> just about everything that goes wrong into 'EPIPE'.  Because an
> application has no way to distinguish temporary from permanent errors

The PCM device must be reinitialized (snd_pcm_prepare()) before
playback can continue.  If this reinitialization fails, the error is
permanent.

> it immediately retries and gets another EPIPE.

This is a bug in mplayer, its internal audio output interface has no
way to signal a permanent error.


Regards,
Clemens


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to