Re: [Alsa-devel] Re: [PATCH] USB MIDI driver

2002-07-04 Thread Clemens Ladisch
Takashi Iwai wrote: > i changed virmidi codes for easier use, and added > snd_virmidi_receive() to usbmidi.c. > could you check the updated driver? It is obvious that you have not been able to check it. :-) My snd_usbmidi_port_input() function actually does the _output_ (I named it 'input' beca

Re: [Alsa-devel] Re: [PATCH] USB MIDI driver

2002-07-04 Thread Takashi Iwai
At Wed, 03 Jul 2002 16:42:43 +0200, Clemens Ladisch wrote: > > Takashi Iwai wrote: > > Clemens Ladisch wrote: > > > and virmidi with SNDRV_VIRMIDI_SEQ_ATTACH doesn't support input anyway, > > > > hmm, this mode wasn't tested, too. usb-midi is the first case. > > doesn't rawmidi read work at all

Re: [Alsa-devel] Re: [PATCH] USB MIDI driver

2002-07-03 Thread Clemens Ladisch
Takashi Iwai wrote: > Clemens Ladisch wrote: > > and virmidi with SNDRV_VIRMIDI_SEQ_ATTACH doesn't support input anyway, > > hmm, this mode wasn't tested, too. usb-midi is the first case. > doesn't rawmidi read work at all? The driver calls snd_seq_kernel_client_dispatch() to get rid of an even

Re: [Alsa-devel] Re: [PATCH] USB MIDI driver

2002-07-03 Thread Takashi Iwai
At Wed, 03 Jul 2002 14:52:13 +0200, Clemens Ladisch wrote: > > Takashi Iwai wrote: > > - newly added virmidi registrations. > > that means, snd-usb-midi will have its own rawmidi devices > > automatically as /dev/snd/midiCxDx. > > this will be good for applications which speak only with > >

Re: [Alsa-devel] Re: [PATCH] USB MIDI driver

2002-07-03 Thread Clemens Ladisch
Takashi Iwai wrote: > - newly added virmidi registrations. > that means, snd-usb-midi will have its own rawmidi devices > automatically as /dev/snd/midiCxDx. > this will be good for applications which speak only with > rawmidi. > > the latter one was not tested. > can anyone update the cv

Re: [Alsa-devel] Re: [PATCH] USB MIDI driver

2002-07-02 Thread Pedro Lopez-Cabanillas
Me wrote: > > I can't compile current CVS usb drivers: > Sorry, It had been fixed 4 hours ago. I have compiled it succesfully now. And also works! (only preliminary tests). $ cat /proc/asound/seq/clients Client info cur clients : 5 peak clients : 6 max clients : 192 Client 0 : "Syste

Re: [Alsa-devel] Re: [PATCH] USB MIDI driver

2002-07-02 Thread Pedro Lopez-Cabanillas
> - usb compatibility hack was moved to wrapper.h, so that it can be > shared with usbuadio.c > > - newly added virmidi registrations. > that means, snd-usb-midi will have its own rawmidi devices > automatically as /dev/snd/midiCxDx. > this will be good for applications which speak only wi

Re: [Alsa-devel] Re: [PATCH] USB MIDI driver

2002-07-02 Thread Takashi Iwai
At Tue, 02 Jul 2002 12:36:55 +0200, I wrote: > > At Mon, 01 Jul 2002 19:07:40 +0200, > Clemens Ladisch wrote: > > > > Attached is a patch for a USB MIDI driver. > > Essentially, it does the same as my USB MIDI daemon. > > > > The source is put into the alsa-kernel tree, not into alsa-driver lik

[Alsa-devel] Re: [PATCH] USB MIDI driver

2002-07-02 Thread Takashi Iwai
Hi, At Mon, 01 Jul 2002 19:07:40 +0200, Clemens Ladisch wrote: > > Attached is a patch for a USB MIDI driver. > Essentially, it does the same as my USB MIDI daemon. > > The source is put into the alsa-kernel tree, not into alsa-driver like > the usb-audio driver. i prefer putting it onto alsa-