[Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Martin Langer
Hi, 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. The next hotplug in of my usb device needs an aconnect -x before or I won't see my card in /proc/asound/cards aga

Re: [Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Takashi Iwai
At Thu, 28 Nov 2002 01:27:02 +0100, Martin Langer wrote: > > > Hi, > > 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. The next hotplug in of my usb device need

Re: [Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Clemens Ladisch
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

Re: [Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Jaroslav Kysela
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

Re: [Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Takashi Iwai
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 ho

Re: [Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Takashi Iwai
At Fri, 29 Nov 2002 10:39:22 +0100 (CET), Jaroslav wrote: > > 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

Re: [Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Takashi Iwai
At Fri, 29 Nov 2002 12:24:50 +0100 (CET), Jaroslav wrote: > > On Fri, 29 Nov 2002, Takashi Iwai wrote: > > > At Fri, 29 Nov 2002 10:39:22 +0100 (CET), > > Jaroslav wrote: > > > > > > On Fri, 29 Nov 2002, Takashi Iwai wrote: > > > > > > > At Fri, 29 Nov 2002 08:52:43 +0100 (MET), > > > > Clemens

Re: [Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Jaroslav Kysela
On Fri, 29 Nov 2002, Takashi Iwai wrote: > At Fri, 29 Nov 2002 10:39:22 +0100 (CET), > Jaroslav wrote: > > > > 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 wr

Re: [Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Takashi Iwai
Hi, the attached is my latest patch. could you check it? thanks, Takashi disconnect-fix.dif Description: Binary data

Re: [Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Takashi Iwai
At Fri, 29 Nov 2002 15:05:21 +0100 (CET), Jaroslav wrote: > > On Fri, 29 Nov 2002, Takashi Iwai wrote: > > > Hi, > > > > the attached is my latest patch. > > could you check it? > > Let's go and make things more complicated (like in my tree on disc): > > 1) waiting for time when all disconnect

Re: [Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Jaroslav Kysela
On Fri, 29 Nov 2002, Takashi Iwai wrote: > Hi, > > the attached is my latest patch. > could you check it? Let's go and make things more complicated (like in my tree on disc): 1) waiting for time when all disconnected applications have closed all file descriptors is a bit problem, because no

Re: [Alsa-devel] trying out usb hotplugs

2002-11-29 Thread Takashi Iwai
At Fri, 29 Nov 2002 15:14:28 +0100, I wrote: > > > Please, remove from your code any checks from ioctl(), poll(), read() / > > write(). Then commit and I'll merge my tree with yours. > > ok. done. please merge your tree. ciao, Takashi --