* [PATCH] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB
@ 2026-04-10 14:33 Abhinav Mahadevan
2026-04-10 15:06 ` Takashi Iwai
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Abhinav Mahadevan @ 2026-04-10 14:33 UTC (permalink / raw)
To: tiwai; +Cc: perex, linux-sound, linux-kernel, Abhinav Mahadevan
The PreSonus AudioBox USB (0x194f:0x0301) only supports S24_3LE
format for both playback and capture. It does not support S16_LE
despite being a USB full-speed device. Add explicit format quirks
for both the playback (interface 2) and capture (interface 3)
interfaces to ensure correct format negotiation.
Signed-off-by: Abhinav Mahadevan <abhi220204@gmail.com>
---
sound/usb/quirks-table.h | 48 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index b6dfe3b63..803e03d4d 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -2652,6 +2652,54 @@ YAMAHA_DEVICE(0x7010, "UB99"),
}
}
},
+{
+ /*
+ * The AudioBox USB advertises S24_3LE as the only supported format
+ * for both playback and capture. It does not support S16_LE despite
+ * being a USB full-speed device.
+ */
+ USB_DEVICE(0x194f, 0x0301),
+ QUIRK_DRIVER_INFO {
+ .vendor_name = "PreSonus",
+ .product_name = "AudioBox USB",
+ QUIRK_DATA_COMPOSITE {
+ { QUIRK_DATA_IGNORE(0) },
+ {
+ QUIRK_DATA_AUDIOFORMAT(2) {
+ .formats = SNDRV_PCM_FMTBIT_S24_3LE,
+ .channels = 2,
+ .iface = 2,
+ .altsetting = 1,
+ .altset_idx = 1,
+ .attributes = 0,
+ .endpoint = 0x01,
+ .ep_attr = USB_ENDPOINT_XFER_ISOC,
+ .rates = SNDRV_PCM_RATE_44100 |
+ SNDRV_PCM_RATE_48000,
+ .rate_min = 44100,
+ .rate_max = 48000,
+ }
+ },
+ {
+ QUIRK_DATA_AUDIOFORMAT(3) {
+ .formats = SNDRV_PCM_FMTBIT_S24_3LE,
+ .channels = 2,
+ .iface = 3,
+ .altsetting = 1,
+ .altset_idx = 1,
+ .attributes = 0,
+ .endpoint = 0x82,
+ .ep_attr = USB_ENDPOINT_XFER_ISOC,
+ .rates = SNDRV_PCM_RATE_44100 |
+ SNDRV_PCM_RATE_48000,
+ .rate_min = 44100,
+ .rate_max = 48000,
+ }
+ },
+ QUIRK_COMPOSITE_END
+ }
+ }
+},
#endif /* disabled */
{
--
2.43.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB
2026-04-10 14:33 [PATCH] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB Abhinav Mahadevan
@ 2026-04-10 15:06 ` Takashi Iwai
2026-04-28 0:51 ` [PATCH v2] " Abhinav Mahadevan
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2026-04-10 15:06 UTC (permalink / raw)
To: Abhinav Mahadevan; +Cc: tiwai, perex, linux-sound, linux-kernel
On Fri, 10 Apr 2026 16:33:35 +0200,
Abhinav Mahadevan wrote:
>
> The PreSonus AudioBox USB (0x194f:0x0301) only supports S24_3LE
> format for both playback and capture. It does not support S16_LE
> despite being a USB full-speed device. Add explicit format quirks
> for both the playback (interface 2) and capture (interface 3)
> interfaces to ensure correct format negotiation.
>
> Signed-off-by: Abhinav Mahadevan <abhi220204@gmail.com>
Thanks, applied now.
Takashi
^ permalink raw reply [flat|nested] 8+ messages in thread* [PATCH v2] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB
2026-04-10 14:33 [PATCH] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB Abhinav Mahadevan
2026-04-10 15:06 ` Takashi Iwai
@ 2026-04-28 0:51 ` Abhinav Mahadevan
2026-04-28 6:04 ` Takashi Iwai
2026-04-28 14:33 ` [PATCH v3] " Abhinav Mahadevan
2026-04-28 15:50 ` [PATCH v4] ALSA: usb-audio: Fix quirk entry placement " Abhinav Mahadevan
3 siblings, 1 reply; 8+ messages in thread
From: Abhinav Mahadevan @ 2026-04-28 0:51 UTC (permalink / raw)
To: tiwai; +Cc: perex, linux-sound, linux-kernel, Abhinav Mahadevan
The PreSonus AudioBox USB (0x194f:0x0301) only supports S24_3LE
format for both playback and capture. It does not support S16_LE
despite being a USB full-speed device. Add explicit format quirks
for both the playback (interface 2) and capture (interface 3)
interfaces to ensure correct format negotiation.
Signed-off-by: Abhinav Mahadevan <abhi220204@gmail.com>
---
v2: Fix placement - entry was incorrectly inside a #if 0 disabled block.
Moved to after the #endif /* disabled */.
sound/usb/quirks-table.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index 803e03d4d..4e9cfff40 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -2652,6 +2652,9 @@ YAMAHA_DEVICE(0x7010, "UB99"),
}
}
},
+
+#endif /* disabled */
+
{
/*
* The AudioBox USB advertises S24_3LE as the only supported format
@@ -2700,7 +2703,6 @@ YAMAHA_DEVICE(0x7010, "UB99"),
}
}
},
-#endif /* disabled */
{
/*
--
2.43.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH v2] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB
2026-04-28 0:51 ` [PATCH v2] " Abhinav Mahadevan
@ 2026-04-28 6:04 ` Takashi Iwai
0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2026-04-28 6:04 UTC (permalink / raw)
To: Abhinav Mahadevan; +Cc: tiwai, perex, linux-sound, linux-kernel
On Tue, 28 Apr 2026 02:51:19 +0200,
Abhinav Mahadevan wrote:
>
> The PreSonus AudioBox USB (0x194f:0x0301) only supports S24_3LE
> format for both playback and capture. It does not support S16_LE
> despite being a USB full-speed device. Add explicit format quirks
> for both the playback (interface 2) and capture (interface 3)
> interfaces to ensure correct format negotiation.
>
> Signed-off-by: Abhinav Mahadevan <abhi220204@gmail.com>
> ---
>
> v2: Fix placement - entry was incorrectly inside a #if 0 disabled block.
> Moved to after the #endif /* disabled */.
The patch description doesn't match with what you actually change
here. Also, as it's a correction, it should have a Fixes tag.
Please update the description and resubmit.
thanks,
Takashi
>
> sound/usb/quirks-table.h | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
> index 803e03d4d..4e9cfff40 100644
> --- a/sound/usb/quirks-table.h
> +++ b/sound/usb/quirks-table.h
> @@ -2652,6 +2652,9 @@ YAMAHA_DEVICE(0x7010, "UB99"),
> }
> }
> },
> +
> +#endif /* disabled */
> +
> {
> /*
> * The AudioBox USB advertises S24_3LE as the only supported format
> @@ -2700,7 +2703,6 @@ YAMAHA_DEVICE(0x7010, "UB99"),
> }
> }
> },
> -#endif /* disabled */
>
> {
> /*
> --
> 2.43.0
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v3] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB
2026-04-10 14:33 [PATCH] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB Abhinav Mahadevan
2026-04-10 15:06 ` Takashi Iwai
2026-04-28 0:51 ` [PATCH v2] " Abhinav Mahadevan
@ 2026-04-28 14:33 ` Abhinav Mahadevan
2026-04-28 14:44 ` Takashi Iwai
2026-04-28 15:50 ` [PATCH v4] ALSA: usb-audio: Fix quirk entry placement " Abhinav Mahadevan
3 siblings, 1 reply; 8+ messages in thread
From: Abhinav Mahadevan @ 2026-04-28 14:33 UTC (permalink / raw)
To: tiwai; +Cc: perex, linux-sound, linux-kernel, Abhinav Mahadevan
The PreSonus AudioBox USB (0x194f:0x0301) only advertises S24_3LE
for both playback and capture interfaces. Add an explicit entry to
the quirks table to ensure correct format handling for this device.
Fixes: 099cce2b5 ("ALSA: usb-audio: Add quirk for PreSonus AudioBox USB")
Signed-off-by: Abhinav Mahadevan <abhi220204@gmail.com>
---
v3: Update patch description to accurately reflect the change
(adding a quirks table entry, not fixing format negotiation).
Add Fixes tag referencing the original commit.
v2: Fix placement - entry was incorrectly inside a #if 0 disabled
block. Moved to after the #endif /* disabled */.
sound/usb/quirks-table.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index 803e03d4d..4e9cfff40 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -2652,6 +2652,9 @@ YAMAHA_DEVICE(0x7010, "UB99"),
}
}
},
+
+#endif /* disabled */
+
{
/*
* The AudioBox USB advertises S24_3LE as the only supported format
@@ -2700,7 +2703,6 @@ YAMAHA_DEVICE(0x7010, "UB99"),
}
}
},
-#endif /* disabled */
{
/*
--
2.43.0
^ permalink raw reply related [flat|nested] 8+ messages in thread* Re: [PATCH v3] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB
2026-04-28 14:33 ` [PATCH v3] " Abhinav Mahadevan
@ 2026-04-28 14:44 ` Takashi Iwai
0 siblings, 0 replies; 8+ messages in thread
From: Takashi Iwai @ 2026-04-28 14:44 UTC (permalink / raw)
To: Abhinav Mahadevan; +Cc: tiwai, perex, linux-sound, linux-kernel
On Tue, 28 Apr 2026 16:33:38 +0200,
Abhinav Mahadevan wrote:
>
> The PreSonus AudioBox USB (0x194f:0x0301) only advertises S24_3LE
> for both playback and capture interfaces. Add an explicit entry to
> the quirks table to ensure correct format handling for this device.
>
> Fixes: 099cce2b5 ("ALSA: usb-audio: Add quirk for PreSonus AudioBox USB")
Non-existing commit ID for the upstream.
And, you'll have to put 12 letters SHA id here.
> Signed-off-by: Abhinav Mahadevan <abhi220204@gmail.com>
> ---
>
> v3: Update patch description to accurately reflect the change
> (adding a quirks table entry, not fixing format negotiation).
... and it's not exactly what *this* patch does!
You don't have to repeat the same text you already gave in the
original commit at all.
Basically this patch *corrects* the position of the quirk entry that
was mistakenly put into the disabled block in the previous commit.
Please resubmit with a proper patch description and Fixes tag again.
thanks,
Takashi
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v4] ALSA: usb-audio: Fix quirk entry placement for PreSonus AudioBox USB
2026-04-10 14:33 [PATCH] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB Abhinav Mahadevan
` (2 preceding siblings ...)
2026-04-28 14:33 ` [PATCH v3] " Abhinav Mahadevan
@ 2026-04-28 15:50 ` Abhinav Mahadevan
2026-04-29 5:48 ` Takashi Iwai
3 siblings, 1 reply; 8+ messages in thread
From: Abhinav Mahadevan @ 2026-04-28 15:50 UTC (permalink / raw)
To: tiwai; +Cc: perex, linux-sound, linux-kernel, Abhinav Mahadevan
The quirk entry for PreSonus AudioBox USB was mistakenly placed inside
a disabled #if 0 block. Move it to the correct position after the
Fixes: 34fe4a9df247 ("ALSA: usb-audio: Add quirk for PreSonus AudioBox USB")
Signed-off-by: Abhinav Mahadevan <abhi220204@gmail.com>
---
v4: Use correct upstream commit hash in Fixes tag (12 characters).
Rewrite patch description to accurately describe this patch - correcting
the position of the entry from inside a disabled #if 0 block to after the
#endif /* disabled */.
sound/usb/quirks-table.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h
index 803e03d4d..4e9cfff40 100644
--- a/sound/usb/quirks-table.h
+++ b/sound/usb/quirks-table.h
@@ -2652,6 +2652,9 @@ YAMAHA_DEVICE(0x7010, "UB99"),
}
}
},
+
+#endif /* disabled */
+
{
/*
* The AudioBox USB advertises S24_3LE as the only supported format
@@ -2700,7 +2703,6 @@ YAMAHA_DEVICE(0x7010, "UB99"),
}
}
},
-#endif /* disabled */
{
/*
--
2.43.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-04-29 5:48 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-10 14:33 [PATCH] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB Abhinav Mahadevan
2026-04-10 15:06 ` Takashi Iwai
2026-04-28 0:51 ` [PATCH v2] " Abhinav Mahadevan
2026-04-28 6:04 ` Takashi Iwai
2026-04-28 14:33 ` [PATCH v3] " Abhinav Mahadevan
2026-04-28 14:44 ` Takashi Iwai
2026-04-28 15:50 ` [PATCH v4] ALSA: usb-audio: Fix quirk entry placement " Abhinav Mahadevan
2026-04-29 5:48 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox