Skip to contentSkip to conversation

USB disconnect problem.

DISCUSSION James Courtier-Dutton 1 participant 1 message Jul 16, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I have been doing tests with the alsa snd-usb-audio module.
If I have an application that calls: -
wait_result = snd_pcm_wait(this->audio_fd, 1000000);
and I happen to unplug the usb device during this call, it never ever returns from the call, even after the timeout.

Does anyone have a patch to fix this, or shall I start looking into it. Cheers
James

-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0