On Tue, 23 May 2006 15:57:59 -0400 Lee Revell <[EMAIL PROTECTED]> wrote:
> On Tue, 2006-05-23 at 22:53 +0300, Sergei Steshenko wrote: > > On Tue, 23 May 2006 15:19:52 -0400 > > Lee Revell <[EMAIL PROTECTED]> wrote: > > > > > > > What kernel version? > > > > > > Bad things will happen if you disconnect a USB audio device during > > > playback. > > > > > > > USB was supposed to be hot-pluggable. > > > > Bug in the audio HW, kernel or ALSA ? > > > > No bad things (except for data corruption) should ever happen > > if a hot-pluggable device is disconnected. > > > > For example, my external hard drive sometimes incidentally powered > > of because of loose connector on the box, thus disconnected. > > I don't know. XMMS is not ideal for testing. > > What happens if you disconnect the device while "aplay" is playing a > file, then replug it and "aplay" the same file again? > > Lee > I don't know and I do not expect 'aplay' to continue as if nothing happened, however, restarting ALSA should should cure the problem, i.e. what is described here: On Tue, 23 May 2006 20:00:14 +0100 (BST) Taiyo Rawle <[EMAIL PROTECTED]> wrote: > Finally, I get weirdness when I unplug or re-plug the > iO|2 - XMMS won't play any more (I get the error box > telling me about misconfigured soundcards) and > restarting ALSA doesn't help. Other programs continue > to use the PCI card. should not happen. Better yet, it would be nice to see per device reinitialization in ALSA. I think this should be possible - in the end, hot plugging a device for the first time is device initialization when ALSA is already up and running, right ? If so, why it can be done any number of times ? ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user