[Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Mathieu Geli
Hello, I've got this 'big' problem for the hotplug feature: I'm trying to plug/unplug the midisport1x1 from M-Audio. The plug works like a charm, hotplug does its job, load the firmware (fxload) and snd-usb-audio, if not inserted, is auto-loaded. But sudo umount /proc/bus/usb $> lsusb $> sudo

Re: [Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Mathieu Geli
Thanks for your reply, 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

Re: [Alsa-devel] snd-usb-audio hang when rmmoding after unplugging midisport1x1

2004-03-11 Thread Mathieu Geli
sorry about my fuzzy observations, my bad, even with the last CVS I got those errors line when rmmoding snd-usb-audio, while the device is on. (I didn't redo the same actions than before) Is there any way to maybe unplug the device safely (usbfs point of view) ? I was guessing smtgh like a fxUNl

Re: [Alsa-devel] snd-usb-audio and midisport1x1 little hack fixes hotplug pb

2004-03-12 Thread Mathieu Geli
Ok, I applied your second patch, and get this dmesg output: drivers/usb/core/usb.c: deregistering driver snd-usb-audio ALSA /home/mathieu/alsa-driver/usb/usbaudio.c:2944: snd_usb_audio_disconnect called, refcount = 1 ALSA /home/mathieu/alsa-driver/usb/usbaudio.c:2944: snd_usb_audio_disconnect cal