[PATCH 0/4] ALSA: usb-audio: support Roland Capture sample rates

Jonathan Seth Mainguy posted 4 patches 4 weeks ago
sound/usb/quirks-table.h | 206 +++++++++++++++++++++++++++++++++++++--
sound/usb/quirks.c       |  74 ++++++++++++++
2 files changed, 273 insertions(+), 7 deletions(-)
[PATCH 0/4] ALSA: usb-audio: support Roland Capture sample rates
Posted by Jonathan Seth Mainguy 4 weeks ago
The fixed quirks for these devices currently describe 44.1 kHz:

  0582:0120  Roland OCTA-CAPTURE
  0582:012f  Roland QUAD-CAPTURE

Add their 48, 96 and 192 kHz alternate settings. The OCTA-CAPTURE's existing
S32_LE format description causes the white-noise playback reported by Niklas
Aldervall and other users. Change it to the packed S24_3LE format used by the
device.

Expose the OCTA-CAPTURE control MIDI cables and synchronize the hardware clock
with the selected endpoint rate during stream preparation.

Tested on physical OCTA-CAPTURE and QUAD-CAPTURE units. Rate changes followed
by full-duplex streaming succeeded at 44.1, 48, 96 and 192 kHz on both models.
External digital clocking on the OCTA-CAPTURE was tested at all supported
rates: 44.1, 48 and 96 kHz. The OCTA-CAPTURE disables its digital input and
output at 192 kHz, so external clocking is unavailable at that rate.

Reported-by: Niklas Aldervall <niklas@aldervall.se>
Closes: https://lore.kernel.org/alsa-devel/6b623cb6-3a9b-4fe4-a57c-9a165d261692@aldervall.se/
Signed-off-by: Jonathan Seth Mainguy <jon@soh.re>

Jonathan Seth Mainguy (4):
  ALSA: usb-audio: add Roland OCTA-CAPTURE multirate support
  ALSA: usb-audio: expose OCTA-CAPTURE control MIDI cables
  ALSA: usb-audio: add Roland QUAD-CAPTURE multirate support
  ALSA: usb-audio: set Roland Capture rate during stream preparation

 sound/usb/quirks-table.h | 206 +++++++++++++++++++++++++++++++++++++--
 sound/usb/quirks.c       |  74 ++++++++++++++
 2 files changed, 273 insertions(+), 7 deletions(-)


base-commit: 548e7bcd0c5460ddcbca9600cea603ebeebf4da7
-- 
2.55.0
Re: [PATCH 0/4] ALSA: usb-audio: support Roland Capture sample rates
Posted by Takashi Iwai 3 weeks, 5 days ago
On Sat, 29 Aug 2026 02:49:57 +0200,
Jonathan Seth Mainguy wrote:
> 
> The fixed quirks for these devices currently describe 44.1 kHz:
> 
>   0582:0120  Roland OCTA-CAPTURE
>   0582:012f  Roland QUAD-CAPTURE
> 
> Add their 48, 96 and 192 kHz alternate settings. The OCTA-CAPTURE's existing
> S32_LE format description causes the white-noise playback reported by Niklas
> Aldervall and other users. Change it to the packed S24_3LE format used by the
> device.
> 
> Expose the OCTA-CAPTURE control MIDI cables and synchronize the hardware clock
> with the selected endpoint rate during stream preparation.
> 
> Tested on physical OCTA-CAPTURE and QUAD-CAPTURE units. Rate changes followed
> by full-duplex streaming succeeded at 44.1, 48, 96 and 192 kHz on both models.
> External digital clocking on the OCTA-CAPTURE was tested at all supported
> rates: 44.1, 48 and 96 kHz. The OCTA-CAPTURE disables its digital input and
> output at 192 kHz, so external clocking is unavailable at that rate.
> 
> Reported-by: Niklas Aldervall <niklas@aldervall.se>
> Closes: https://lore.kernel.org/alsa-devel/6b623cb6-3a9b-4fe4-a57c-9a165d261692@aldervall.se/
> Signed-off-by: Jonathan Seth Mainguy <jon@soh.re>
> 
> Jonathan Seth Mainguy (4):
>   ALSA: usb-audio: add Roland OCTA-CAPTURE multirate support
>   ALSA: usb-audio: expose OCTA-CAPTURE control MIDI cables
>   ALSA: usb-audio: add Roland QUAD-CAPTURE multirate support
>   ALSA: usb-audio: set Roland Capture rate during stream preparation

Applied to for-next branch.  Thanks.


Takashi