All of lore.kernel.org
 help / color / mirror / Atom feed
* [alsa-devel] Implicit feedback solution for Boss GT-1 and maybe other devices
@ 2020-01-23 18:06 Mike Oliphant
  2020-02-20 11:24 ` Keith A. Milner
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Oliphant @ 2020-01-23 18:06 UTC (permalink / raw)
  To: alsa-devel

I received a very helpful email response to my previous thread about trying
to get the Boss GT-1 pedalboard working reliably, and as a result I now
have a working solution.

The issue seems to be that the GT-1 does not send any capture data until it
gets some playback data first.

This block in the "snd_usb_endpoint_start()" function in endpoint.c:

  "if (snd_usb_endpoint_implicit_feedback_sink(ep)) { ... }"

causes the system to wait to send output until some capture urbs are
received.

As a result, both sides end up waiting on the other, and nothing happens.

Simply commenting out that "if" block makes the GT-1 work perfectly with
implicit feedback enabled.

I plan to submit a patch for this after I do a bit of legwork to see if the
fix works for other recent Boss devices (Katana, other GT devices, etc.).
Perhaps making the relevant "if" block conditional on a flag, with a USB_ID
switch statement to set the flag? Any feedback would be welcome.

Thanks,

Mike
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-20 11:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-23 18:06 [alsa-devel] Implicit feedback solution for Boss GT-1 and maybe other devices Mike Oliphant
2020-02-20 11:24 ` Keith A. Milner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.