Re: [linux-audio-dev] USB-MIDI Transfer rate

From: Jens M Andreasen <jens.andreasen@email-addr-hidden>
Date: Thu Sep 22 2005 - 08:29:56 EEST

On Wed, 2005-09-21 at 18:31 +0200, Jens M Andreasen wrote:
> On Wed, 2005-09-21 at 09:54 +0200, Clemens Ladisch wrote:
>
> > It seems the usb-midi driver grabbed the device first. Disable it in
> > the kernel configuration, or put the line
> >
> > usb-midi
> >
> > into the /etc/hotplug/blacklist file.
> >
>
> Thankyou!
>
> Now to get back to the subject. By changing
>
> ep->max_transfer = usb_maxpacket(umidi->chip->dev, pipe, 1);
>
> in the snd_usbmidi_out_endpoint_create function in usbmidi.c to:
>
> ep->max_transfer = 512;
>
> .. I get a 16 fold increase in thruput.
>
> Test data was a SysEx dump for upgrading the firmware which used take
> ~25 sec, now ~1.6 sec. The cute little LCD progress animation isn't
> really visible anymore, but the update appears to be intact.
>
>
>
> mvh // Jens M Andreasen
>
> >
> > HTH
> > Clemens
> >

-- 
Received on Thu Sep 22 12:15:05 2005

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 12:15:05 EEST