From nobody Mon Sep 28 10:47:19 2026 Received: from mail-oi1-f181.google.com (mail-oi1-f181.google.com [209.85.167.181]) (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 5516240801D for ; Mon, 24 Aug 2026 14:02:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.181 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787580162; cv=none; b=KTfhfOV4nZAWQ6c7TRy8JXL8cKc5EGHGW7yFOBQnzfkaI9Myj/g7VeznFcf2AlvjaWAMRYpXaKYRvXnNj8UaNcFYz7ig+YSdVsrzU9wfhIQW4Vgds9xS1qosxblKfcpigV5J2MF0FDGZDUEACBD2p14+7HD8Pds/rsmp5hUrRro= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787580162; c=relaxed/simple; bh=WZih380QWS3yy4TNP3jgKidUGIFatTqh4aTa3U5fqk8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=jvTKmB44jEZdEBcUy0Y/WAUjBSx+I4UY2norPOvZiJlUbBKj/fUkF/USDXGEevjE5EjPXHnDmesh/MovLvLUcYJ6mBqjUyIUEj5sE4TnZRCtRiPY5p6xKIV5pzq7nUye7xBa4TZ3NkgdU+CncXoy4vnsCiG9HgbBRyjnjgHPcHs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=frba.utn.edu.ar; spf=pass smtp.mailfrom=frba.utn.edu.ar; dkim=pass (2048-bit key) header.d=frba.utn.edu.ar header.i=@frba.utn.edu.ar header.b=hPcxYzwa; arc=none smtp.client-ip=209.85.167.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=frba.utn.edu.ar Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=frba.utn.edu.ar Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=frba.utn.edu.ar header.i=@frba.utn.edu.ar header.b="hPcxYzwa" Received: by mail-oi1-f181.google.com with SMTP id 5614622812f47-4af7283bf83so2261643b6e.3 for ; Mon, 24 Aug 2026 07:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=frba.utn.edu.ar; s=google; t=1787580158; x=1788184958; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=Y8EwYYLS09GIhm6U1PJjcViid6oXS1cSdnZ7YM7NQqE=; b=hPcxYzwagC7eraBoNltWQHcsU7QdGrowkODq8p4KHYr1DmzuamUaKPHdaMI4ibunz1 m1wncU85gERkb+//L0ty/aINMPEGOPdNjE6+Y1AcxLCtxdOztysMNAkw5AT3mfM/8a+5 wRFm6ouIQqTy7sU6c2yLPh6HEzuKzy9Wrn98RSIuwizUAftl4QiIYJOxzfd0P3UurIBD 3INi+6pJWvsV6hKrEwctZMI6J6adT6pI9ibpMmjgHyNvK0hufyWsJ403TxrnQyVTuGP9 LyZ3DbUXTYbwUU8MpJCgtIR8iZgHpCMlG1yvhPhXda8TieF6bmtSbrILDhQfovDF65X0 2h5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787580158; x=1788184958; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=Y8EwYYLS09GIhm6U1PJjcViid6oXS1cSdnZ7YM7NQqE=; b=TlRxLQm/lwNeRv3LGr1kVh9Mw2JDTmh76m+QfRuxmcKGiknVrAl2BzrSy4VZFg769c +BHlLm0rxkmcAClkXMrb1PQqJXTbuyIRhaT4tbdmgaCcpavERopUvzxbLs1KV07180lp pws4dZ4UhIi7MpHnwFirVlRrfAljjfzFvLmRJPEWQ4zSmt0Kcl5lPXN6d8Gka79+BGjN KrRC3kcX9lOuIPxSOJAG9mibFjb6BQHi7x/Bplu9E42kR3npj6tKFw1DoVltovNjTDvE vyeQ7uPsU4KOB8nBiUmA6Jm0yRACGLUq1eIE59XxxeyxBlvMucNfGSlaZvkOtoJMb9oq g8jA== X-Gm-Message-State: AFuF++k7+Z5QslhwjwgUJWaR5KXicndgmcF+rPA7AO6ymyqJ2pKKWHKq w4DPqsTI+yEYolic05or2zlowIRac6RYfScuJ42vNM5OAoEY4yV8j4/zmw8ld0T5Xos= X-Gm-Gg: AR+sD10nyj74oowyWdJBL7ez9gAbcshHNGhiOUN/SNvt98uamg2g2FCMOT0PldmhYIV y0GnLXkd3elU/vayzxuojtm4YDmGe+s2sWIf8VJMPm8gKE2XVq/1fPixb9jKoQT3dEex1HurxW3 BFQHMxpP21ZNyMfUHpo82cVIkE33G/78EShLapQXg7ljJr+DPXhGJdF09JA7rnC18d+HrliM6mI OrGW2HzoXZslEqOsgJFGjSFbpVFgdBJwQ/zWdClH2R6deQlhRroXp1YtbVXXXeXncQp/LzIqGvQ hpHt2g50F8c4kWN88qd37H34+3RJKKRkoI+73y6+Te/baK0U77S8ZBp00nk+AHdWdN1oNeuyYJj UToa6qihIIsEyUoVFYESAMQa7KLiQCsj9+tCHkye+mxZ9wlgEn2p6LRS3KcX7BKIF6u0Pp7jIBa nseQZUR7+GZOGYLY4n+6btgjrmVmIWVtGDUdQnepDa1dT47+C6GOtpftecoxtuzaT8AI6YyGqNb rhcI5UpMoXq+uYOzF0EBCTqmLsGwY800Pe7 X-Received: by 2002:a05:6820:e027:b0:6b1:4e37:41c0 with SMTP id 006d021491bc7-6b16b399d5dmr10406307eaf.19.1787580156448; Mon, 24 Aug 2026 07:02:36 -0700 (PDT) Received: from localhost ([190.192.192.134]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327f8e2a730sm28383095eec.0.2026.08.24.07.02.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2026 07:02:36 -0700 (PDT) From: =?UTF-8?q?Federico=20Valent=C3=ADn=20Andrade?= To: linux-sound@vger.kernel.org Cc: linux-kernel@vger.kernel.org, perex@perex.cz, tiwai@suse.com, kuba@kernel.org, alexander.deucher@amd.com, =?UTF-8?q?Federico=20Valent=C3=ADn=20Andrade?= Subject: [PATCH v3 1/2] ALSA: usb-audio: Skip reading sample rate on M-Audio Venom Date: Mon, 24 Aug 2026 11:02:10 -0300 Message-ID: <20260824140211.17003-2-fandrade@frba.utn.edu.ar> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260823152733.740731-1-fandrade@frba.utn.edu.ar> References: <20260823152733.740731-1-fandrade@frba.utn.edu.ar> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The M-Audio Venom (0763:2084) is an USB Audio Class 1 compliant synth with an integrated audio interface, it does not implement GET_CUR on SAMPLING_FREQ_CONTROL, hanging up if requested on endpoint 0. The first class request issued by the driver after enumeration is a GET_CUR on endpoint 0x02, freezing the device's USB microcontroller. Timing out on every transfer afterwards with -ETIMEDOUT, such as SET_INTERFACE, so neither the mixer nor any streaming interface is set up. Analyzing a USBPcap capture of the Windows driver I found it never requests the sampling frequency, as the synth exposes a single discrete of 44100Hz on both streaming interfaces, thus asking for it is unnecessary. So I applied get_sample_rate to avoid this check, and disable_autosuspend because the synth doesn't come back from being suspended. Signed-off-by: Federico Valent=C3=ADn Andrade --- sound/usb/quirks.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index f4e1eac639..64c802bef0 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -2334,6 +2334,8 @@ static const struct usb_audio_quirk_flags_table quirk= _flags_table[] =3D { QUIRK_FLAG_MIXER_GET_CUR_BROKEN | QUIRK_FLAG_GENERIC_IMPLICIT_FB), DEVICE_FLG(0x0763, 0x2081, /* M-Audio Fast Track Ultra */ QUIRK_FLAG_MIXER_GET_CUR_BROKEN | QUIRK_FLAG_GENERIC_IMPLICIT_FB), + DEVICE_FLG(0x0763, 0x2084, /* M-Audio Venom */ + QUIRK_FLAG_GET_SAMPLE_RATE | QUIRK_FLAG_DISABLE_AUTOSUSPEND), DEVICE_FLG(0x07fd, 0x000b, /* MOTU M Series 2nd hardware revision */ QUIRK_FLAG_CTL_MSG_DELAY_1M), DEVICE_FLG(0x08bb, 0x2702, /* LineX FM Transmitter */ --=20 2.55.0 From nobody Mon Sep 28 10:47:19 2026 Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com [209.85.160.44]) (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 99AC443802F for ; Mon, 24 Aug 2026 14:02:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.44 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787580165; cv=none; b=Bd6s2RDg1t7h/FoiVmkyCF2PECQ3BqgiOOUPiFhBwvBfcOYBwq4zDnXu6wgUkaG1YfWojXYkbP2A+8uKbRzBP6FPAIXWoWP0yKRXukBJGWkfuWYDCWl5DbD344iQWoJHfkNZLUr5p6K8HSy/gQwXPubJF3gwsCqFPwlhVag71tE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787580165; c=relaxed/simple; bh=gFwUUntQodYhgeddVFOYBo7Qp9VpQc9z4h43g2XDIMs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FpKjBMBwybhIntviSWBfl0gBVp4vRyI38kCkZcjwD7J5FQsX9SIW/xx7nOFk9Mf2KBzbmFem6YvnBmsZxTTSo/vNizbYSYq4+YZrPAMasDQU0fHs1Y0wXdrLIdJV4fLDQZ/bdguHyoHQGhuCB33Nl8hE2dtcxmgC7oSh0U57Im8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=frba.utn.edu.ar; spf=pass smtp.mailfrom=frba.utn.edu.ar; dkim=pass (2048-bit key) header.d=frba.utn.edu.ar header.i=@frba.utn.edu.ar header.b=kRuscPHO; arc=none smtp.client-ip=209.85.160.44 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=frba.utn.edu.ar Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=frba.utn.edu.ar Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=frba.utn.edu.ar header.i=@frba.utn.edu.ar header.b="kRuscPHO" Received: by mail-oa1-f44.google.com with SMTP id 586e51a60fabf-448b0ff4a57so4815439fac.2 for ; Mon, 24 Aug 2026 07:02:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=frba.utn.edu.ar; s=google; t=1787580162; x=1788184962; darn=vger.kernel.org; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:from:to:cc:subject :date:message-id:reply-to:content-type; bh=y9u+aARNWADXwd90+pDUTDjttmTqr1vQNgiDbZgD+K8=; b=kRuscPHOVW2QsbFOlnq6TlZNROjxKJSM0m9jr4CHL9WFeeY49gpwPDumvGO8JkMtMr GubtCpVA2ry8PzPOd4DneY3kFTE5fUULnhwxUVy4gvKvmlOP/mZOsCQOTVNi3mnwR+o4 G+Fx9tjDAeDVW0bIb/Tlf/8aXmpO/dtO95/fIqrIAjWjewwDhtVL8B6MOkS49OateJLH blJZEbHd5W3hUTcxLGOrAf95dybGi2RCvLobyGPPp2bzikvw47Fh4krsx+zy5nRAwpIr NyeLgIZU18Gfbu0PO4fVWL3mXtgxHSkmvI+3OhDIk7S2kF5qnm4OmKnpkL0ZeUjICh4V 6Fqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787580162; x=1788184962; h=content-transfer-encoding:content-type:mime-version:references :in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=y9u+aARNWADXwd90+pDUTDjttmTqr1vQNgiDbZgD+K8=; b=GGc0mij6DZfVEMuHvI93TTWV2MoQ9en/QWaJ9VwTtsKRE5q2Tatv+mroe6Xg9Vtt0f Q1yXV8ByLUpU8Lkb6eSjOsGEU23/3ebJuPlDDPFQXgwceLazLeQDkrdA0U7WdXpQ9KaA 93F5Bbq2eOj1urnPaB+IgKaPN9ryUyHPsXPV5V/m9iFwadqyM3iysLaK5rNZc1MXimXF k+Q1xcfSADyCE8ilnt4d5RheNpQQ2T1tp3FYXWNPdvwBYYxZygNz8spredpcTRybxjRd SF52mld2/xh4Xr48DlUbjQ4Fc2tDNwer+k93733QsYQMAnRDz1G4Mz8OROm+B2qLebKz 8AYw== X-Gm-Message-State: AFuF++nxYcYz8LcI4aIutso8JO3XC+qbuXtWM/Mi1mov1jrw4R9VhFDM OUfIbdiSn6qSRrNL3k7DDUfK+QlxFL9yKBZCRCuyXw0myGGbmMultjmy9aJ+pk3JOhM= X-Gm-Gg: AR+sD10qfRVDSn6iMUVj1Djn3++6wE3EddQVk9JaksZIEqcFWiTSq1Ihorm3ee09P5R 0VBppPTYYeQzYA9dDJONksMAamLOjGxXpNX8/q+A28fZQwTmeHSpEFDnv4tF3XOOQxMsx8cVqIj rThXWse1gU+/gZzNzm9NCCz5fJo1mJt1nKnOcdjTfjgCFwqelp7tWLPacn4yFwdfa5c9mdTmLsG 1lrw80K1zyf6IqnjG4JefsoHO2MszLTCAne+6El1dubnOA4q2P2Wyr0F5EkpLGvcrlIe/HtLKdM gG3ZJ74cOAqaZ8bD4c2mXN3W4ckzuHGRAzIcTEsPXHyBHvUTy2Uy9zndH++RBWC42VknJyiFNnC Zm10putfkJQCIZ4r+r3Rz9Hb6z1iVyRpBRpH7GLF94qrSi7G/RIMptdvEhSdKvgeoKuBkhrsZB0 qZb7C9JGYOFmh+PQu9pTOa5FxINS+WzeBj+7EUPrHBxQGlfBI8yoG0AM7NZdFUIKEKbD/5I4UHU C9/yLJ5PDfn01NicRQO3JGHyg== X-Received: by 2002:a05:6820:81d4:b0:6b1:5a78:b0f0 with SMTP id 006d021491bc7-6b15a78b190mr29057680eaf.6.1787580162155; Mon, 24 Aug 2026 07:02:42 -0700 (PDT) Received: from localhost ([190.192.192.134]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327f90c0de2sm28152062eec.8.2026.08.24.07.02.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Aug 2026 07:02:41 -0700 (PDT) From: =?UTF-8?q?Federico=20Valent=C3=ADn=20Andrade?= To: linux-sound@vger.kernel.org Cc: linux-kernel@vger.kernel.org, perex@perex.cz, tiwai@suse.com, kuba@kernel.org, alexander.deucher@amd.com, =?UTF-8?q?Federico=20Valent=C3=ADn=20Andrade?= Subject: [PATCH v3 2/2] ALSA: usb-audio: Skip mixer creation on M-Audio Venom Date: Mon, 24 Aug 2026 11:02:11 -0300 Message-ID: <20260824140211.17003-3-fandrade@frba.utn.edu.ar> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260823152733.740731-1-fandrade@frba.utn.edu.ar> References: <20260823152733.740731-1-fandrade@frba.utn.edu.ar> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The M-Audio Venom (0763:2084) does not answer any GET_CUR request of its feature units, hanging up the USB microcontroller and "responding" with timeouts. So the mixer building lasts around 47 seconds, and the device does not stream at all. The same GET_CUR requests issued through libusb (with no kernel driver bound) complete correctly and blazingly fast. So it seems to only happen during the initial probe. I defined an explicit composite quirk to bypass the mixer creation, as it is not needed (the synth already comes with volume controls). With both this and the device flag applied, the synth works flawlessly. Signed-off-by: Federico Valent=C3=ADn Andrade --- sound/usb/quirks-table.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/sound/usb/quirks-table.h b/sound/usb/quirks-table.h index 0a3d39b838..dd02c6294e 100644 --- a/sound/usb/quirks-table.h +++ b/sound/usb/quirks-table.h @@ -1814,6 +1814,28 @@ YAMAHA_DEVICE(0x7010, "UB99"), } } }, +{ + /* + * M-Audio Venom + * + * The AudioControl interface times out on every GET_CUR request, + * which adds around 47 seconds to the card registration and + * freezes the device, blocking streaming. + * Using an explicit composite quirk to skip the mixer entirely. + */ + USB_DEVICE_VENDOR_SPEC(0x0763, 0x2084), + QUIRK_DRIVER_INFO { + .vendor_name =3D "M-Audio", + .product_name =3D "Venom", + QUIRK_DATA_COMPOSITE { + { QUIRK_DATA_IGNORE(0) }, + { QUIRK_DATA_STANDARD_AUDIO(1) }, + { QUIRK_DATA_STANDARD_AUDIO(2) }, + { QUIRK_DATA_STANDARD_MIDI(3) }, + QUIRK_COMPOSITE_END + } + } +}, =20 /* Casio devices */ { --=20 2.55.0