ALSA: usb-audio: Skip sample-rate read-back on PreSonus AudioBox USB
Subsystems (2)
PATCH 1/1 ALSA: usb-audio: Skip sample-rate read-back on PreSonus AudioBox USB
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.
--- sound/usb/quirks.c | 2 ++ 1 file changed, 2 insertions(+)
sound/usb/quirks.c +2 -0
@@ -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+ */
Signature · 1 line
2.56.0
Quoted 8 lines · Thomas Nemer
The AudioBox USB stalls the UAC1
GET_CURSAMPLING_FREQrequest on both streaming endpoints. After the sample rate is set, the read-back verification inset_sample_rate_v1()fails and logsusb 1-3.1.2: 2:1: cannot get freq at ep
0x1
usb 1-3.1.2: 3:1: cannot get freq at ep0x82
Quoted 8 lines
on each endpoint configuration until the
sample_rate_read_errorcounter gives up. SetQUIRK_FLAG_GET_SAMPLE_RATEto skip the read-back on this device.Fixes 1869c47e5d59 ("ALSA: usb-audio: Fix missing sample-rate control for PreSonus AudioBox USB")Signed-off-by Thomas Nemer <[email protected]>
Applied now. Thanks.
Takashi