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