From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Interesting problem with hotplug and Midisport 2x2 on Mdk 9.0 Date: Thu, 27 Feb 2003 19:14:51 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <000201c2de8a$1237dfe0$aa1f830a@ICO> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <000201c2de8a$1237dfe0$aa1f830a@ICO> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Ivica Bukvic Cc: alsa-devel@lists.sourceforge.net, alsa-user@lists.sourceforge.net, mandrakeexpert@mandrakesoft.com, 'Fernando Pablo Lopez-Lezcano' List-Id: alsa-devel@alsa-project.org At Thu, 27 Feb 2003 13:00:10 -0500, Ivica Bukvic wrote: > > Hi all, > > This is my latest finding. Thanks to the script I got from Jaroslav, I > am now able to hotplug my midisport 2x2 whenever I wish to do so. > However, there is an interesting problem surrounding Mdk9.0. > > If I use the planet ccrma's hotplug ver. 2002_8_26 (by forcing upgrade > of the mdk's), I get the fxload and all the goodies making the midisport > work right out-of-the-box. However, with one huge flaw: > > When I unplug the midisport (after having the alsasound hotplug script > installed), my kernel oops and system freezes telling me something about > "disabling interrupt handler." (if someone tells me where I can track > this information log I will be happy to forward it). So, I am simply not > allowed to unplug the device. > > In addition my /var/log/messages relatively often spits out the > following message: > kernel: usb-uhci.c: interrupt, status 3, frame# > > > I've tracked down the problem to the /sbin/modprobe -r snd-usb-midi (and > snd-usb-audio). If I move this thing somewhere else in the alsasound > hotplug script (like purging it at load-time and then reloading the > driver, rather than on disconnect) then the freeze occurs at that point. > When I comment it out, no freezes occur. So, I am pretty sure that is > the culprit. hmm, the hot unplugging of ALSA usb devices was improved in the recent version - basically i didn't see problems with the devices i have. but i've not tested with midi devices, so this might be a problem. just make sure that you unload snd-usb-audio (snd-usb-midi doesn't exist any longer) before unplugging the device. Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf