On Fri, 29 Nov 2002, Takashi Iwai wrote:

> At Fri, 29 Nov 2002 08:52:43 +0100 (MET),
> Clemens Ladisch wrote:
> > 
> > Takashi Iwai wrote:
> > > Martin Langer wrote:
> > > > usb hotplug works perfect if my usbmidi client isn't aconnected to another
> > > > midi client. But the aconnected usb midi device still remains in the clients
> > > > list, after hotpluging out.
> > >
> > > yep,  when the connection exists, the connected devices (on both
> > > sides) are regarded as active.
> > 
> > The sequencer design allows asynchronous removal of clients.
> 
> yes, but this may still try to send some bytes to the unplugged
> rawmidi device at the disconnection.  i'll change rawmidi code to
> ignore that.

Well, I'm trying to solve these "hotplug" problems. Unfortunately, it 
seems difficult to detect, if another task is in the middle of our 
callback. I think that we'll end up using mutexes.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to