From: "Keith A. Milner" <maillist@superlative.org>
To: alsa-devel@alsa-project.org
Subject: Re: Boss GT-001 MIDI
Date: Sat, 10 Oct 2015 14:16:56 +0100 [thread overview]
Message-ID: <1787556.aGiPR74l1T@kamdesktop> (raw)
In-Reply-To: <1481883.Y22cmGKEIB@kamdesktop>
Forking this thread to focus on MIDI issues
This device has a single USB MIDI Interface on Interface 3, with 2 alternate
settings, each with 2 endpoints as follows:
Interface 3
- Setting 0
- Endpoint 3 OUT Bulk Data
- Endpoint 4 IN Bulk Data
- Setting 1
- Endpoint 3 OUT Interrupt data
- Endpoint 5 IN Interrupt data
My evaluation is that this is a new style of MIDI Interface from others
previously encountered. Comparing, for instance, with the Roland V Synth GT
which seems to have the following Interface layout:
Interface 2
- Setting 0
- Endpoint 3 OUT Bulk Data
- Endpoint 4 IN Bulk Data
- Setting 1
- Endpoint 3 OUT Bulk data
- Endpoint 4 IN Interrupt data
The major difference is that the GT.001 has Interrupt Transfer modes for both
IN and OUT.
Looking at snd_usbmidi_switch_roland_altsetting this sets the alternate
setting so that the interrupt input endpoint is used. This routine looks for a
pair of endpoints where the OUT endpoint is Bulk transfer, and the input is
Interrupt transfer, and sets the mode accordingly. I've modified this to
support Interrupt Xfer in both directions, and this seems to work (although my
changes aren't read for publication yet as they are rather experimental and
messy, and probably break the existing detection.
I'll try to fix this code and submit a patch.
Cheers,
Keith
prev parent reply other threads:[~2015-10-10 13:16 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-18 20:03 Boss GT-001 maillist
2015-09-21 10:22 ` maillist
2015-10-05 13:43 ` maillist
2015-10-05 14:38 ` Ricard Wanderlof
2015-10-05 14:46 ` maillist
2015-10-06 19:58 ` Keith A. Milner
2015-10-06 20:57 ` Keith A. Milner
2015-10-07 8:09 ` Ricard Wanderlof
2015-10-07 9:41 ` Keith A. Milner
2015-10-07 15:20 ` Ricard Wanderlof
2015-10-07 16:31 ` Keith A. Milner
2015-10-08 0:51 ` Keith A. Milner
2015-10-08 0:54 ` Keith A. Milner
2015-10-08 7:02 ` Ricard Wanderlof
2015-10-08 11:51 ` Keith A. Milner
2015-10-08 14:03 ` Keith A. Milner
2015-10-08 13:54 ` Clemens Ladisch
2015-10-08 14:10 ` Keith A. Milner
2015-10-08 14:34 ` Keith A. Milner
2015-10-10 13:16 ` Keith A. Milner [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1787556.aGiPR74l1T@kamdesktop \
--to=maillist@superlative.org \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).