From nobody Mon Jun 15 13:42:05 2026 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEB3B3D4131 for ; Fri, 10 Apr 2026 14:34:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775831653; cv=none; b=RAIWGsFaWIPqASNrbE2MA//OcDl6TfbBMWCGUolzaF6Vrmtxo0fW0tltW5Fq91j+pPmt1QWXTkUq5ipLJcX5Wvljq3QRPBgbGV0FLqBLERqELB2WINE3PwaIKnt1E4uc0vxr2JUNwIw28vL2ogPqVeQTmMIx6aJj+kbvU3M+MA8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775831653; c=relaxed/simple; bh=QVJylg6dNpCExsYLETaTOtFkWCAXw7hILfTosqhB0/Y=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jnYccUV9uLhqnc/UvmZCghvQ7YA2w+CCK6xRsdKDBPE8LzVGLN2MUaLoe6bU9FdOxrIi8nHAAamIfY4lkwhoPeNhmqkC/0kPwl2TICnqepTu+k8XVdCPOMNi1+2xuaTpjXhBv1q4H7hfzG7erO/Qm5G7u4geOR+VX26QO7Tb6uw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=oltNrLiO; arc=none smtp.client-ip=209.85.215.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="oltNrLiO" Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-c7358a7a8d1so1467165a12.3 for ; Fri, 10 Apr 2026 07:34:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775831651; x=1776436451; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=fSFMISWQaX90d9anh/Vv99excJcD3WAzoIBbP7o0QE4=; b=oltNrLiOALyUg/WsqtqlECv8l8VkdLUqlVREZg9Gl8CK8GoGoDoKtw1tUXx2OJI4hi zD9keAKfrmkFj2UNTQO+OTsMeHb4AgBz+3LiYKq0pgJ9tvHHsKdNyyQdcLEbuS5Oe4wT v8NXDm1eL1RsXzdzbra0cF6Fql9rTib4zSy07hF8CObGN6g+sX6b8XbRnfL3ciC+FRID x2Z+B1C5reEDuEugz3SA3oHy55b7KPw824pqCE94lKlfYSXETpsGbM0xQM2AInoIJxBe F9qdjsbPEMqH4lktrcDrqDaDOuGuwYkWZT3DpGE4PlnTq8+/sHyYpj5QKXcjlKXFactD 4hsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775831651; x=1776436451; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fSFMISWQaX90d9anh/Vv99excJcD3WAzoIBbP7o0QE4=; b=CSRkHGNK0SfvCc78tFA3SJjxImb208LMnbpDW+eOAke5avxzc61qP7ze3zIyk3shG4 24EHNr1qvvcvdJ9iEyGy2JJvXff1VIOeG1IsvlymsvhhWSxrn3n/1w77KaUuPqljnMg8 bn1c3hM/ixJB583GCWqFhQ+rO4hTjflRNRwZl+tqDMDsqK4rjcap1l+BYswzljQoY3UF Zt+swyerKbkcrtqeD1Sap74E7gFey/Cf6sfdMPisEXFrKkzMmfjYW1N6XnDAoATH7BMY DCO8ulGn/f17rudogjuA++MOtvZoM9tH1K5q/jfxTtLEgWCK8KGB3Ill3mL0hjpoxGna 6NaQ== X-Forwarded-Encrypted: i=1; AJvYcCVGYZxTERQ3Lv8rNDWUuFh8fjMNooH+SCtvp5ZrD9cyhekfK/Smyhx3fiJXMyv288VDq5TMve62pEAWwjQ=@vger.kernel.org X-Gm-Message-State: AOJu0Yx0ayShXgd/Xsg/KYSdIfTiUUXywIDMWepfqnqVP9Wwhz6STB0v b55L6e6FiOm1mp/aPGfKQ6Zj5XHD/EyqUnj00Nm2/u7dIifZxtaW9sI8 X-Gm-Gg: AeBDievZvKO+i+PAVe520p7wZYcrvSGqzO59TIy936bgpwjJ0b4+wmBeZruEsrwTFk5 XWiNHVO21idP76B6e0N074iqP9bpgjV8g+bLrzUGZzQmYsTV7w/V2/xtZVbZPRofMmpNETwGNPX LUCkI2KVFzmBsAEYJ1DUwlNE4LkhTN0fiWAakm6rDC0Y3Wkplr3mAhGPTrxzAXOYVRj1hI3gpA1 iAXxfpWsAo0a8bAbKQPnmuNBGHVZvtGY9CbfVNljSSUR9Rxzixq19ZJPWGV0058cTsEifC+NYhN IE6lXetHCQXTKD/AhXLuSm+2HKEOW3bSFkUuABCH4fu2p2afFmbQK0rFDDfe9b8S4MZYhpsTE8R Vrfin4Jf46ik8U4jkUdJ6RCTiSCOhR8vluBb/ihpOpk2ZK+VvCH/s8p/GeGvF0hZ0Dje9pyZilB XeqLvE4KqWoKqnwShzdnjEsRzf3cVSDUliJ0m9CLY13P6DEtLq6ikVr6tqW6UBjqhnV4G1CcFom GeDRXrP8V0MyzUwn9uYFTuMlHxLy10YJLU3c6BcpqSq X-Received: by 2002:a05:6a20:6a23:b0:398:9b6e:339a with SMTP id adf61e73a8af0-39fe3c90fa2mr4454090637.6.1775831651074; Fri, 10 Apr 2026 07:34:11 -0700 (PDT) Received: from abhinav-victus.tailde2db8.ts.net ([2401:4900:882c:6ba9:ba24:2757:bc7a:6feb]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c79219c625esm2564472a12.20.2026.04.10.07.34.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Apr 2026 07:34:10 -0700 (PDT) From: Abhinav Mahadevan To: tiwai@suse.com Cc: perex@perex.cz, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, Abhinav Mahadevan Subject: [PATCH] ALSA: usb-audio: Add quirk for PreSonus AudioBox USB Date: Fri, 10 Apr 2026 20:03:35 +0530 Message-ID: <20260410143335.5974-1-abhi220204@gmail.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 --- 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 =3D "PreSonus", + .product_name =3D "AudioBox USB", + QUIRK_DATA_COMPOSITE { + { QUIRK_DATA_IGNORE(0) }, + { + QUIRK_DATA_AUDIOFORMAT(2) { + .formats =3D SNDRV_PCM_FMTBIT_S24_3LE, + .channels =3D 2, + .iface =3D 2, + .altsetting =3D 1, + .altset_idx =3D 1, + .attributes =3D 0, + .endpoint =3D 0x01, + .ep_attr =3D USB_ENDPOINT_XFER_ISOC, + .rates =3D SNDRV_PCM_RATE_44100 | + SNDRV_PCM_RATE_48000, + .rate_min =3D 44100, + .rate_max =3D 48000, + } + }, + { + QUIRK_DATA_AUDIOFORMAT(3) { + .formats =3D SNDRV_PCM_FMTBIT_S24_3LE, + .channels =3D 2, + .iface =3D 3, + .altsetting =3D 1, + .altset_idx =3D 1, + .attributes =3D 0, + .endpoint =3D 0x82, + .ep_attr =3D USB_ENDPOINT_XFER_ISOC, + .rates =3D SNDRV_PCM_RATE_44100 | + SNDRV_PCM_RATE_48000, + .rate_min =3D 44100, + .rate_max =3D 48000, + } + }, + QUIRK_COMPOSITE_END + } + } +}, #endif /* disabled */ =20 { --=20 2.43.0