From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: problems with external MIDI port Date: Thu, 19 Sep 2002 17:49:22 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20020918211019.55831.qmail@web13408.mail.yahoo.com> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20020918211019.55831.qmail@web13408.mail.yahoo.com> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: ivan_middleton@yahoo.com Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Hi, At Wed, 18 Sep 2002 14:10:19 -0700 (PDT), Ivan Middleton wrote: > > Hi all, > > I'm having a problem with the ALSA sequencer. First I was using > 0.9.0rc2, and then I switched to cvs, hoping that things would be fixed > there. But alas, the problems occur in both. I was going to try the > 0.5 release, but it didn't want to compile for me. > > The problem is as follows: I am running a program (called Linux Pipe > Organ) which reads from the external MIDI port (64:0) via an ALSA > sequencer connection, and which also starts a TiMidity process and > sends events to it via ALSA sequencer connections. (Basically, the > program is just relaying MIDI events, after some modifications.) This > works fine for a few minutes, and then suddenly... nothing. The ALSA > sequencer stops relaying events from the external MIDI port. Now, my > digital piano is connected to the MIDI port, and it sends something > like 30 MIDI events per second (I don't know exactly what these are) > even when no keys are being pressed. The problem I just described > occurs even if I never press any keys on the piano; I can tell by > watching /proc/asound/seq/clients, looking at the following lines > > Client 132 : "Linux Organ" [User] > Port 0 : "Linux Organ" (rWe-) > Connected From: 64:0 > Input pool : > Pool size : 200 > Cells in use : 0 > Peak cells in use : 30 > Alloc success : 27513 > Alloc failures : 0 > > and noticing that after a while the "Alloc success" number stops > changing (when everything is working it goes up by about 30 every > second). this could be due to the timer routine. could you check /proc/asound/seq/queue and /proc/asound/seq/timer whether the timer and queue are still running correctly in such a situation? thanks, Takashi ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf