Linux Sound subsystem development
 help / color / mirror / Atom feed
* [PATCH] ALSA: usb-audio: Skip sample-rate read-back on PreSonus AudioBox USB
@ 2026-10-19 20:49 Thomas Nemer
  2026-10-20  8:40 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Nemer @ 2026-10-19 20:49 UTC (permalink / raw)
  To: tiwai, perex; +Cc: linux-sound, linux-kernel, Thomas Nemer, stable

The AudioBox USB stalls the UAC1 GET_CUR SAMPLING_FREQ request on both
streaming endpoints. After the sample rate is set, the read-back
verification in set_sample_rate_v1() fails and logs

  usb 1-3.1.2: 2:1: cannot get freq at ep 0x1
  usb 1-3.1.2: 3:1: cannot get freq at ep 0x82

on each endpoint configuration until the sample_rate_read_error counter
gives up. Set QUIRK_FLAG_GET_SAMPLE_RATE to skip the read-back on this
device.

Fixes: 1869c47e5d59 ("ALSA: usb-audio: Fix missing sample-rate control for PreSonus AudioBox USB")

Cc: stable@vger.kernel.org
Signed-off-by: Thomas Nemer <thomas.nemer@fortytwo.fr>
---
 sound/usb/quirks.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c
index 4ac4aef47d..43eea72477 100644
--- a/sound/usb/quirks.c
+++ b/sound/usb/quirks.c
@@ -2731,6 +2731,8 @@ static const struct usb_audio_quirk_flags_table quirk_flags_table[] = {
 		   QUIRK_FLAG_ITF_USB_DSD_DAC | QUIRK_FLAG_CTL_MSG_DELAY),
 	DEVICE_FLG(0x1901, 0x0191, /* GE B850V3 CP2114 audio interface */
 		   QUIRK_FLAG_GET_SAMPLE_RATE),
+	DEVICE_FLG(0x194f, 0x0301, /* PreSonus AudioBox USB */
+		   QUIRK_FLAG_GET_SAMPLE_RATE),
 	DEVICE_FLG(0x19f7, 0x0003, /* RODE NT-USB */
 		   QUIRK_FLAG_MIXER_PLAYBACK_MIN_MUTE),
 	DEVICE_FLG(0x19f7, 0x0035, /* RODE NT-USB+ */
-- 
2.56.0


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

* Re: [PATCH] ALSA: usb-audio: Skip sample-rate read-back on PreSonus AudioBox USB
  2026-10-19 20:49 [PATCH] ALSA: usb-audio: Skip sample-rate read-back on PreSonus AudioBox USB Thomas Nemer
@ 2026-10-20  8:40 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2026-10-20  8:40 UTC (permalink / raw)
  To: Thomas Nemer; +Cc: tiwai, perex, linux-sound, linux-kernel, stable

On Mon, 19 Oct 2026 22:49:44 +0200,
Thomas Nemer wrote:
> 
> The AudioBox USB stalls the UAC1 GET_CUR SAMPLING_FREQ request on both
> streaming endpoints. After the sample rate is set, the read-back
> verification in set_sample_rate_v1() fails and logs
> 
>   usb 1-3.1.2: 2:1: cannot get freq at ep 0x1
>   usb 1-3.1.2: 3:1: cannot get freq at ep 0x82
> 
> on each endpoint configuration until the sample_rate_read_error counter
> gives up. Set QUIRK_FLAG_GET_SAMPLE_RATE to skip the read-back on this
> device.
> 
> Fixes: 1869c47e5d59 ("ALSA: usb-audio: Fix missing sample-rate control for PreSonus AudioBox USB")
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Thomas Nemer <thomas.nemer@fortytwo.fr>

Applied now.  Thanks.


Takashi

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

end of thread, other threads:[~2026-10-20  8:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-19 20:49 [PATCH] ALSA: usb-audio: Skip sample-rate read-back on PreSonus AudioBox USB Thomas Nemer
2026-10-20  8:40 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox