From: "Keith A. Milner" <maillist@superlative.org>
To: alsa-devel@alsa-project.org
Subject: Re: Boss GT-001
Date: Thu, 08 Oct 2015 01:51:20 +0100 [thread overview]
Message-ID: <4797815.2qQzYzeTe7@kamdesktop> (raw)
In-Reply-To: <4761108.z7lHdDqPTH@kamdesktop>
On Tuesday 06 Oct 2015 20:58:01 Keith A. Milner wrote:
> OK, so it seems that this hardware is substantially the same as the GT-100
> which has previously (and recently) been raised as a problem on ALSA.
I'm getting somewhere...
With the following quirk I am getting audio playback with aplay. I have what
seems like correct MIDI interfaces working (although not fully tested).
However, recording does not seem to work.
{
/* Boss GT-001 Guitar Interface */
USB_DEVICE(0x0582, 0x0187),
.driver_info = (unsigned long) & (const struct snd_usb_audio_quirk) {
.vendor_name = "Boss",
.product_name = "GT-001",
.ifnum = QUIRK_ANY_INTERFACE,
.type = QUIRK_COMPOSITE,
.data = (const struct snd_usb_audio_quirk[]) {
{
.ifnum = 0,
.type = QUIRK_IGNORE_INTERFACE
},
{
.ifnum = 1,
.type = QUIRK_AUDIO_FIXED_ENDPOINT,
.data = & (const struct audioformat) {
.formats = SNDRV_PCM_FMTBIT_S32_LE,
.channels = 4,
.iface = 1,
.altsetting = 1,
.altset_idx = 1,
.endpoint = 0x0d,
.ep_attr = 0x05,
.rates = SNDRV_PCM_RATE_44100,
.rate_min = 44100,
.rate_max = 44100,
.nr_rates = 1,
.rate_table = (unsigned int[]) { 44100 }
}
},
{
.ifnum = 2,
.type = QUIRK_AUDIO_FIXED_ENDPOINT,
.data = & (const struct audioformat) {
.formats = SNDRV_PCM_FMTBIT_S32_LE,
.channels = 4,
.iface = 2,
.altsetting = 1,
.altset_idx = 1,
.endpoint = 0x8e,
.ep_attr = 0x25,
.rates = SNDRV_PCM_RATE_44100,
.rate_min = 44100,
.rate_max = 44100,
.nr_rates = 1,
.rate_table = (unsigned int[]) { 44100 }
}
},
{
.ifnum = 3,
.type = QUIRK_MIDI_ROLAND
},
{
.ifnum = 4,
.type = QUIRK_IGNORE_INTERFACE
},
{
.ifnum = -1
}
}
}
},
Cheers,
Keith
next prev parent reply other threads:[~2015-10-08 0:51 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 [this message]
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 ` Boss GT-001 MIDI Keith A. Milner
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=4797815.2qQzYzeTe7@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).