Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-09 Thread Werner Schweer
On Thursday 07 November 2002 09:10, Clemens Ladisch wrote: > Fernando Pablo Lopez-Lezcano wrote: > > OSS emulation (raw midi interface): > > Midi input and output works fine on the first port, > > ALSA: > > input does not seem to work at all. > > Werner Schweer wrote: > > same on my Roland/Edir

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-08 Thread Martin Langer
On Fri, Nov 08, 2002 at 09:17:45AM +0100, Clemens Ladisch wrote: > Martin Langer wrote: > > BTW: Does input through the sequencer work? yes it's working with the same keyboard using classical MIDI OUT jack, not USB. I have done this: tuba:~# aconnect 64:0 73:0/* using classical midi jack wor

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-08 Thread Clemens Ladisch
Fernando Pablo Lopez-Lezcano wrote: > > OSS: rawmidi -v -I /dev/midix > > ./rawmidi -v -I /dev/midi1 --> works fine > > > ALSA direct: rawmidi -v -I /dev/snd/midiCxD0 > > ./rawmidi -v -I /dev/snd/midiC1D0 --> works fine These two tests access the driver directly, without going through

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-08 Thread Clemens Ladisch
Martin Langer wrote: > So, if my client is aconnected (aconnect 80:0 73:0) I can't catch an error > with rawmidi trying all four possibilties. When the sequencer has opened the port, others cannot access it, so that's OK. BTW: Does input through the sequencer work? > If I disconnect (aconnect -x

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Martin Langer
On Thu, Nov 07, 2002 at 10:54:10AM -0800, Fernando Pablo Lopez-Lezcano wrote: > > ./rawmidi -v -i hw:1,0 > Using: > Input: device hw:1,0 > Output: NONE > ALSA lib rawmidi.c:247:(snd_rawmidi_open_conf) symbol _snd_rawmidi_hw_open > is not defined inside (null) > snd_rawmidi_open hw:1,0 failed: -6

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Fernando Pablo Lopez-Lezcano
> > OSS emulation (raw midi interface): > > Midi input and output works fine on the first port, > > ALSA: > > input does not seem to work at all. > > Werner Schweer wrote: > > same on my Roland/Edirol UA100 (audio + 2 midi ports). > > Martin Langer wrote: > > last but not least: same on my Ev

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Martin Langer
On Thu, Nov 07, 2002 at 05:35:48PM +0100, Clemens Ladisch wrote: > Martin Langer wrote: > > On Thu, Nov 07, 2002 at 01:50:29PM +0100, Clemens Ladisch wrote: > > > Did anybody test with a non-USB device? > > > > my keyboard has an additional classical MIDI OUT jack. Using this instead of > > USB is

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Clemens Ladisch
Martin Langer wrote: > On Thu, Nov 07, 2002 at 01:50:29PM +0100, Clemens Ladisch wrote: > > Did anybody test with a non-USB device? > > my keyboard has an additional classical MIDI OUT jack. Using this instead of > USB is running fine with OPL3 and amSynth. No problem occured. What device did you

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Martin Langer
On Thu, Nov 07, 2002 at 01:50:29PM +0100, Clemens Ladisch wrote: > > > Did anybody test with a non-USB device? > my keyboard has an additional classical MIDI OUT jack. Using this instead of USB is running fine with OPL3 and amSynth. No problem occured. martin -- "2b|!2b"

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Clemens Ladisch
Martin Langer wrote: > On Thu, Nov 07, 2002 at 01:50:29PM +0100, Clemens Ladisch wrote: > > Apparently, the bug only occurs if a rawmidi port is used through the > > alsa-lib functions. (The subdevice checking code in rawmidi_hw.c did > > change, but that was a bugfix. Hmmm...) > > commenting out t

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Martin Langer
On Thu, Nov 07, 2002 at 01:50:29PM +0100, Clemens Ladisch wrote: > > So ALSA rawmidi works, too. > > Apparently, the bug only occurs if a rawmidi port is used through the > alsa-lib functions. (The subdevice checking code in rawmidi_hw.c did > change, but that was a bugfix. Hmmm...) commenting o

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Clemens Ladisch
Martin Langer wrote: > tuba:/usr/local/src/alsa-cvs/alsa-lib/test# ./rawmidi -v -I /dev/midi2 > Using: > Input: /dev/midi2 > Output: NONE > Read midi in > Press ctrl-c to stop > read fe > read fe > ... > tuba:/usr/local/src/alsa-cvs/alsa-lib/test# ./rawmidi -v -I /dev/snd/midiC2D0 > Using: > Input

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Martin Langer
On Thu, Nov 07, 2002 at 11:34:02AM +0100, Martin Langer wrote: > On Thu, Nov 07, 2002 at 11:21:36AM +0100, Martin Langer wrote: > > > > > tuba:/usr/local/src/alsa-cvs/alsa-lib/test# ./rawmidi -v -I /dev/snd/midi2 > Using: > Input: /dev/snd/midi2 > Output: NONE > open /dev/snd/midi2 for inpu

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Martin Langer
On Thu, Nov 07, 2002 at 11:21:36AM +0100, Martin Langer wrote: > > > tuba:/usr/local/src/alsa-cvs/alsa-lib/test# ./rawmidi -v -i /dev/midi2 > Using: > Input: device /dev/midi2 > Output: NONE > ALSA lib rawmidi.c:278:(snd_rawmidi_open_noupdate) Unknown RawMidi /dev/midi2 > snd_rawmidi_open /dev/m

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Martin Langer
On Thu, Nov 07, 2002 at 09:10:33AM +0100, Clemens Ladisch wrote: > > I don't think the bug is in the snd-usb-audio driver because OSS input > seems to be working. > > Please try the following with the rawmidi program in alsa-lib/test: > OSS: rawmidi -v -I /dev/midix > ALSA direct: rawmidi

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Martin Langer
On Thu, Nov 07, 2002 at 11:09:51AM +0100, Clemens Ladisch wrote: > Martin Langer wrote: > > On Thu, Nov 07, 2002 at 09:10:33AM +0100, Clemens Ladisch wrote: > > > Please try the following with the rawmidi program in alsa-lib/test: > > > OSS: rawmidi -v -I /dev/midix > > > ALSA direct: rawmi

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Clemens Ladisch
Martin Langer wrote: > On Thu, Nov 07, 2002 at 09:10:33AM +0100, Clemens Ladisch wrote: > > Please try the following with the rawmidi program in alsa-lib/test: > > OSS: rawmidi -v -I /dev/midix > > ALSA direct: rawmidi -v -I /dev/snd/midiCxD0 > > ALSA Lib:rawmidi -v -i hw:x,0 > > ALSA L

Re: [Alsa-devel] bugs in usb midi alsa code

2002-11-07 Thread Clemens Ladisch
Fernando Pablo Lopez-Lezcano wrote: > > > i'm with fernando on this one. if consistency is the goal, and i think > > > it should be, then multiport MIDI devices should appear as multiple > > > ports, not subdevices. BTW: The old driver had one (emulated) rawmidi device per sequencer port, each hav

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-07 Thread Clemens Ladisch
Fernando Pablo Lopez-Lezcano wrote: > OSS emulation (raw midi interface): > Midi input and output works fine on the first port, > ALSA: > input does not seem to work at all. Werner Schweer wrote: > same on my Roland/Edirol UA100 (audio + 2 midi ports). Martin Langer wrote: > last but not leas

Re: [Alsa-devel] bugs in usb midi alsa code

2002-11-06 Thread Fernando Pablo Lopez-Lezcano
> > >> > ALSA: > > >> > cat /proc/asound/devices shows only one raw midi interface. This is on > > >> > a two port device (but Muse lets me select either port). On the older > > >> > alsa two devices show up on the listing. > > >> > > >> For multiport interfaces, the additional ports are ava

Re: [Alsa-devel] bugs in usb midi alsa code

2002-11-06 Thread Jaroslav Kysela
On Wed, 6 Nov 2002, Paul Davis wrote: > >> > ALSA: > >> > cat /proc/asound/devices shows only one raw midi interface. This is on > >> > a two port device (but Muse lets me select either port). On the older > >> > alsa two devices show up on the listing. > >> > >> For multiport interfaces, t

Re: [Alsa-devel] bugs in usb midi alsa code

2002-11-06 Thread Paul Davis
>> > ALSA: >> > cat /proc/asound/devices shows only one raw midi interface. This is on >> > a two port device (but Muse lets me select either port). On the older >> > alsa two devices show up on the listing. >> >> For multiport interfaces, the additional ports are available as subdevices >>

Re: [Alsa-devel] bugs in usb midi alsa code

2002-11-06 Thread Fernando Pablo Lopez-Lezcano
> > > ALSA: > > > cat /proc/asound/devices shows only one raw midi interface. This is on > > > a two port device (but Muse lets me select either port). On the older > > > alsa two devices show up on the listing. > > > > For multiport interfaces, the additional ports are available as subdevic

Re: [Alsa-devel] bugs in usb midi alsa code

2002-11-06 Thread Fernando Pablo Lopez-Lezcano
> > ALSA: > > cat /proc/asound/devices shows only one raw midi interface. This is on > > a two port device (but Muse lets me select either port). On the older > > alsa two devices show up on the listing. > > For multiport interfaces, the additional ports are available as subdevices > of the

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-06 Thread Martin Langer
On Wed, Nov 06, 2002 at 11:52:05AM +0100, Werner Schweer wrote: > > On Tuesday 05 November 2002 21:22, Fernando Pablo Lopez-Lezcano wrote: > > The MIDI interface I'm using is a Midisport 2x2 (same results with a 1x1). > > > > It works fine with alsa cvs of 2002-08-20, has problems with alsa cvs of

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-06 Thread Clemens Ladisch
Fernando Pablo Lopez-Lezcano wrote: > The MIDI interface I'm using is a Midisport 2x2 (same results with a 1x1). > > It works fine with alsa cvs of 2002-08-20, has problems with alsa cvs of > 2002-10-28. The driver has been changed to use rawmidi ports. > ALSA: > cat /proc/asound/devices shows

Re: [Alsa-devel] bugs in usb midi alsa code?

2002-11-06 Thread Werner Schweer
On Tuesday 05 November 2002 21:22, Fernando Pablo Lopez-Lezcano wrote: > The MIDI interface I'm using is a Midisport 2x2 (same results with a 1x1). > > It works fine with alsa cvs of 2002-08-20, has problems with alsa cvs of > 2002-10-28. > > This is a summary of what I have found so far. ... > AL