Mathieu Geli wrote:
> ok, what I did, is first to apply your patch to my source tree
> (1.0.3rc2), clean, compile, install, and even reboot. That doesn't
> output anymore the two lines "urb status -104", and
> "usb_submit_urb: -32" but still hang after printing:
> "drivers/usb/core/usb.c: deregistering driver snd-usb-audio"

It seems to work fine on my 2.4.25 kernel.

Can you unload the snd-usb-audio module?  If not, please apply the
patch below to see whether the driver or the USB core is the culprit.


Regards,
Clemens

-- 
--- alsa-kernel/usb/usbaudio.c  8 Mar 2004 09:29:51 -0000       1.87
+++ alsa-kernel/usb/usbaudio.c  12 Mar 2004 12:05:22 -0000
@@ -2928,6 +2928,7 @@
                return;

        chip = snd_magic_cast(snd_usb_audio_t, ptr, return);
+       snd_printk(KERN_INFO "snd_usb_audio_disconnect called, refcount = %d\n", 
chip->num_interfaces);
        card = chip->card;
        down(&register_mutex);
        chip->shutdown = 1;
@@ -2947,6 +2948,7 @@
        } else {
                up(&register_mutex);
        }
+       snd_printk(KERN_INFO "snd_usb_audio_disconnect finished!\n");
 }

 /*




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to