Re: [LAU] midi triggering delay

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: andy baxter <andy@...>
Cc: linux-audio-user <linux-audio-user@...>
Date: Tuesday, September 8, 2009 - 9:54 am

On Tue, Sep 08, 2009 at 10:14:24AM +0100, andy baxter wrote:

Interesting. Let's consider that data path further.

1. flow from keyboard USB device to USB controller,

2. an interrupt,

3. flow from USB controller to processor.

Perhaps another device on the system is preventing the USB interrupt
from being processed in a timely fashion. See if you can quieten
devices one by one and see if the problem changes. For example you can
quieten a graphics driver by switching to the text console and then
resume playing the MIDI keyboard.

General suggestions for a USB flow rate problem ... try different USB
sockets, remove as many USB devices as possible, ensure the cable is
as short as possible, ensure the cable is standards compliant, and if
there is a way to power the device differently (e.g. a DC input socket),
then try it. I've even had particularly strange devices behave better
on a powered hub.

Your lsusb shows the device is attached to a USB 1.1 hub. There is a
Freecom Technologies device attached to a USB 2.0 hub. This might be
because the keyboard is only USB 1.1 complaint, I don't know.

Watch /proc/interrupts while trying to play, and see what counters
increment in the matrix. Here's a fun way ... run this in a terminal
window while playing keys on the MIDI keyboard ...

watch -d --interval=0.1 cat /proc/interrupts

What is the kernel version? You mentioned Debian Testing and Ubuntu
Jaunty.

I've looked at the 2.6.30 sources (latest stable), and the USB device
you showed us in lspci "0582:0033 Roland Corp. EDIROL PCR" is listed in
sound/usb/usbmidi.c and also in sound/usb/usbquirks.h . There was
nothing funny about the quirks.

I've looked at the Ubuntu Jaunty 2.6.28 sources, and usbquirks.h for
this device is no different. usbmidi.c *does* have differences, in that
there have been several fixes in 2.6.30 that might be relevant. Nothing
about the changes looked like an exact match to your problem, but that
could be my inexperience.

I suggest you try downloading and booting from the Ubuntu Karmic Alpha
CD images that are available now. The newer kernel in those images may
change the timing problem for you.

--
James Cameron
http://quozl.linux.org.au/
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAU] midi triggering delay, andy baxter, (Tue Sep 8, 1:02 am)
Re: [LAU] midi triggering delay, andy baxter, (Sat Sep 12, 9:38 am)
Re: [LAU] midi triggering delay, Clemens Ladisch, (Tue Sep 15, 11:44 am)
Re: [LAU] midi triggering delay, andy baxter, (Thu Sep 17, 6:17 pm)
Re: [LAU] midi triggering delay, Clemens Ladisch, (Tue Sep 22, 8:45 am)
Re: [LAU] [Alsa-user] midi triggering delay, andy baxter, (Sat Sep 19, 3:43 pm)
Re: [LAU] midi triggering delay, , (Fri Sep 18, 11:08 am)
Re: [LAU] midi triggering delay, andy baxter, (Wed Sep 9, 4:28 pm)
Re: [LAU] midi triggering delay, andy baxter, (Wed Sep 9, 5:42 pm)
Re: [LAU] midi triggering delay, James Cameron, (Thu Sep 10, 4:17 am)
Re: [LAU] midi triggering delay, andy baxter, (Tue Sep 8, 4:15 pm)
Re: [LAU] midi triggering delay, Norval Watson, (Tue Sep 8, 11:49 pm)
Re: [LAU] midi triggering delay, Paul Remmers, (Tue Sep 8, 6:00 pm)
Re: [LAU] midi triggering delay, andy baxter, (Tue Sep 8, 6:37 pm)
Re: [LAU] midi triggering delay, andy baxter, (Tue Sep 8, 7:00 pm)
Re: [LAU] midi triggering delay, andy baxter, (Tue Sep 8, 9:18 am)
Re: [LAU] midi triggering delay, James Cameron, (Tue Sep 8, 9:54 am)
Re: [LAU] midi triggering delay, david, (Tue Sep 8, 6:30 pm)
Re: [LAU] midi triggering delay, andy baxter, (Tue Sep 8, 6:38 pm)
Re: [LAU] midi triggering delay, david, (Wed Sep 9, 5:17 am)
Re: [LAU] midi triggering delay, James Cameron, (Wed Sep 9, 5:25 am)
Re: [LAU] midi triggering delay, andy baxter, (Wed Sep 9, 8:28 am)
Re: [LAU] midi triggering delay, david, (Wed Sep 9, 9:19 am)
Re: [LAU] midi triggering delay, andy baxter, (Wed Sep 9, 10:54 am)
Re: [LAU] midi triggering delay, david, (Thu Sep 10, 7:45 pm)
Re: [LAU] midi triggering delay, Clemens Ladisch, (Fri Sep 11, 8:01 am)
Re: [LAU] midi triggering delay, Rui Nuno Capela, (Wed Sep 9, 11:13 am)
Re: [LAU] midi triggering delay, andy baxter, (Wed Sep 9, 11:26 am)
Re: [LAU] midi triggering delay, Philippe Hezaine, (Tue Sep 8, 6:59 pm)
Re: [LAU] midi triggering delay, david, (Wed Sep 9, 5:18 am)
Re: [LAU] midi triggering delay, andy baxter, (Tue Sep 8, 7:06 pm)
Re: [LAU] midi triggering delay, andy baxter, (Tue Sep 8, 4:55 pm)
Re: [LAU] midi triggering delay, , (Tue Sep 8, 7:14 pm)
Re: [LAU] midi triggering delay, andy baxter, (Tue Sep 8, 1:48 pm)
Re: [LAU] midi triggering delay, , (Tue Sep 8, 2:14 pm)
Re: [LAU] midi triggering delay, andy baxter, (Tue Sep 8, 3:20 pm)
Re: [LAU] midi triggering delay, James Cameron, (Tue Sep 8, 2:20 am)
Re: [LAU] midi triggering delay, andy baxter, (Tue Sep 8, 7:00 am)