List Info

Thread: Re: MIDI input/output interaction w/snd-serial-u16550 (resolved)




Re: MIDI input/output interaction w/snd-serial-u16550 (resolved)
country flaguser name
United States
2007-04-11 09:25:01
For the benefit of others that might come later...

1) The interaction was tighter than I previously
believed...aseqdump was 
only reporting incoming data when data was actually going
out the port.  
Playing a sequence that only had MIDI data at the beginning
and end of the 
file resulted in a aseqdump that only produced data at the
beginning and end 
of the playback, even though the data being sent to aseqdump
was a constant 
stream.

That piece of information led me to re-examine the serial
ports...sure 
enough, if I put the serial driver on a different port, it
worked fine.  
Digging into the configuration of the non-working port, I
found that the 
system was now reporting it as being on IRQ 16, not IRQ 169
as it had 
previously.  Not sure what changed to cause this.  I changed
the options 
line of the snd-serial-u16550 driver to IRQ 16, and it now
appears to work 
properly.

John


>From: "r10 kindsofpeople"
<r10kindsofpeoplehotmail.com>
>To: alsa-userlists.sourceforge.net
>Subject: Re: [Alsa-user] MIDI input/output interaction
w/snd-serial-u16550
>Date: Thu, 05 Apr 2007 15:30:15 -0500
>
>For what it's worth, I've isolated the problem a bit
more, and wonder if 
>I'm looking at a bug in the snd-serial-u16550 driver.
>
>1) It only affects the snd-serial-u16550 driver...I
tried a USB midi 
>device, and aseqdump works fine.
>
>2) It is the snd_seq_connect_to() call within aplaymidi
that works the 
>magic on the already running aseqdump.  Comment out the
call, and aplaymidi 
>has no effect on aseqdump.  Put it back in, even wth the
playfile() and 
>create_queue() functions commented out, and aseqdump
works (while aplaymidi 
>is running).
>
>3) The incoming data to aseqdump() is being queued
somewhere, but somehow 
>aseqdump doesn't know it.  That is, with aseqdump
running, if I send a 
>'note on' to the input port, I see nothing, but if I
then run aplaymidi, 
>then aseqdump shows the 'note on' I sent several seconds
before.
>
>John
>
>
>>From: "r10 kindsofpeople"
<r10kindsofpeoplehotmail.com>
>>To: alsa-userlists.sourceforge.net
>>Subject: [Alsa-user] MIDI input/output interaction
w/snd-serial-u16550
>>Date: Wed, 04 Apr 2007 15:52:20 -0500
>>
>>I'm seeing a strange interaction within ALSA that I
assume is due to 
>>improper configuration on my part.
>>
>>I'm using alsa 1.0.14rc1 under Fedora Core 6 with
the snd-serial-u16550 
>>driver, adaptor 4 (generic).
>>
>>MIDI playback works fine with programs like
aplaymidi.
>>
>>Incoming MIDI data doesn't seem to get noticed by
Alsa UNLESS aplaymidi is 
>>running on another stream.
>>
>>That is, with a continuous stream of data going to
port 20:0, in one 
>>terminal:
>>aseqdump -p 20:0
>>(no output)
>>
>>then, in another terminal:
>>aplaymidi -p 20:1 01.MID
>>at which point, aseqdump starts showing MIDI data
from the original stream 
>>(not 01.MID) until aplaymidi finishes, at which
point output from aseqdump 
>>stops.
>>
>>This behavior is repeatable...I can start aplaymidi
again, and aseqdump 
>>output starts up again.  I can stop the original
stream while 01.MID is 
>>playing, and aseqdump output stops until I restart
the stream.
>>
>>I've tried to eliminate problems past the DB9
connector (handshaking 
>>lines, etc) and as far as I can tell, everything is
working up to the 
>>serial port of the PC.
>>
>>Any ideas?
>>
>>John
>>
>>____________________________________________________
_____________
>>Can’t afford to quit your job? – Earn your AS, BS,
or MS degree online in 
>>1 year. 
>>http://www
.classesusa.com/clickcount.cfm?id=866145&goto=http%3A%2F
%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2F
form-dyn1.html%3Fsplovr%3D866143
>>
>>
>
>
>>----------------------------------------------------
---------------------
>>Take Surveys. Earn Cash. Influence the Future of IT
>>Join SourceForge.net's Techsay panel and you'll get
the chance to share 
>>your
>>opinions on IT & business topics through brief
surveys-and earn cash
>>http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
>
>
>>_______________________________________________
>>Alsa-user mailing list
>>Alsa-userlists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/alsa-user

>
>________________________________________________________
_________
>Exercise your brain! Try Flexicon. 
>http://games.msn.com/en/flexicon
/default.htm?icid=flexicon_hmemailtaglineapril07
>
>


>--------------------------------------------------------
-----------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the
chance to share 
>your
>opinions on IT & business topics through brief
surveys-and earn cash
>http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV


>_______________________________________________
>Alsa-user mailing list
>Alsa-userlists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/alsa-user


____________________________________________________________
_____
Can’t afford to quit your job? – Earn your AS, BS, or MS
degree online in 1 
year. 
http://www
.classesusa.com/clickcount.cfm?id=866145&goto=http%3A%2F
%2Fwww.classesusa.com%2Ffeaturedschools%2Fonlinedegreesmp%2F
form-dyn1.html%3Fsplovr%3D866143



------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-userlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )