From nobody Mon Sep 28 11:40:54 2026 Received: from mail-vk1-f169.google.com (mail-vk1-f169.google.com [209.85.221.169]) (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 431423603E0 for ; Sun, 23 Aug 2026 15:27:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787498865; cv=none; b=DCKyhp23zEC/P0/PWm1AgCJfK/jspQYlj6i1+q07yaacMbl4q+xl0bR8Fr3plY7j7ikvyhkc25Od4omUAzDYV9ci6GeeAewREpet13LUWqanMd++R4KQxfn8dAnzsjqVyu/hDfXS8uSZIOmkwzbAo786sQeG75/dJ4iwJl58gEs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787498865; c=relaxed/simple; bh=LMl9wAqm8Z57R+Yo47/E993TV9DWpI9dPdn4287LYUw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=U98rvCgENQtCdkoSHkKri8EbDwBrQZgWWASpRnQ07DFfEEZwDa0xI+dneVLIYHj9zDpPdvM71Wh0J9EglBq1QT0u2dSurgFtSs+jvDrkLT510iD5PoUGtz3csLHUOUiGSm43A+FHdE3TSnXY7mkSyJ4/36YKsyHUtOvt8SuK/XU= 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=CmT48oJT; arc=none smtp.client-ip=209.85.221.169 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="CmT48oJT" Received: by mail-vk1-f169.google.com with SMTP id 71dfb90a1353d-5c2c96286f0so1146979e0c.3 for ; Sun, 23 Aug 2026 08:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=frba.utn.edu.ar; s=google; t=1787498862; x=1788103662; 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=w/ZXeh29AkcbxuiaNwGUL/zJsE+k5HftY2aBpQNKoEA=; b=CmT48oJT5W8obU0z4GZ79k2FcxBHsIbouj5jVqySQWvDD5rIIv0SKuQq32/LJ4r39r zVZhky+/cGaKgLR21Va4tqsrKGomlsekRmzrltmjNcpKfCOG71nFtPd9AxZkHoUAeOru IcwqdND3aB0UZbm+scz7qVwCqIE+IPqgzZVJ/w2xp3ZrP3esqg/J327wfTbb5qfebKtQ BsPHJGOgNH+AEQC7tCagYhq53F86kqINNnjaTEjAlHTxxFWpUAyQBfJGxZ0FlAKc8rZi F6mdjhEWLZbr+2M5ZHXP3XWssoZMc5SEiRgy63ApeJlt1kJ6xG55kF3Etf8pLjtr4ccV 6eIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787498862; x=1788103662; 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=w/ZXeh29AkcbxuiaNwGUL/zJsE+k5HftY2aBpQNKoEA=; b=eQwajw5K58JXPdIUFCwhf1s1SS+mDrNeMoO/nac9BzdAy3wNEJX/erhIGkEpdXBGiF y+4Duvbe8yGhjQ/6xAF1ApOgOTpC6yX+slf8rZy1PzIlRMlQQDYFVezXwrJuBiE8L0h0 zIt/NmvNSmAyFCgv/1zZDg68sVURYdpuPP2ifyuJ6vtvtNeO75T6oiiCkPYvpnWHoKXb oysHDhiXlVSArC+RleX/plMvapV8KPgM25xoQ/hqldVliGnQU0sErLKca6wCeOBZ6axH be7OUVGIsZrGDcx7XMuZ1M/zAFT73x1awRzT9cL8Zy3yNGdaGFC02LfxcVIrwoo8VxHD FCHw== X-Gm-Message-State: AFuF++kalFg/epElo6cbmzTxw4kekU13yNyw/Tw5G9XfdbVyvxTLAh4+ Ou3VseKeILG2/gBP3YJR/piJh4DooDWty2SAmySpCAFQiPiahg4oQZLh7VTCDVqXMnY= X-Gm-Gg: AR+sD13jGl4MBnSn+CSYXp9nwCABzde3tuoQzTasDMXUQM5Bdan3DudZUJ97TP08KZZ RFeCNYyVDsR9I/CuJKjqckCIco4reHz+8Ia3DSOVmLIZQeaEg9FJFLbQdYQi1leSIpcm+wJhnPf hM2iBerAVKg1hDFBRG8tnzqJHKeP8hCDu0rhwyjhtOy4QmtBWkxkpwdcb01DcOVoDRWe2uCUVrk z9EY1znmydYoe9GDU8rn2w5cVY0nZbidSJB04hIWY2tYF2L7C2aKrplYOzx79APJGcazB+ZIAKf tywcWTRlbwncDzCUj6tD71Q97+Dc/WWz0oLtnjIHec8urF9oymvlhtJ531g2sOT7eq2fCInpdpq Rn8DHZ7E+cIZ+yZ/7b6Eaw4flgUVAFww0L5s95xND0+7NVfCquwTr2zVbvku5QQQVxGNu5fRT47 Ks9ZZIfN9WB+s8G/TRdqbsVGH3lOV37yRPey1kk3FT5swXu9ImZ+vZ2YH2VuI0ODHq4MS5SBRVj sSfdO3SZ4YBJJJI84JUN123Gg== X-Received: by 2002:a05:6122:8c2:b0:5bf:a181:d46d with SMTP id 71dfb90a1353d-5c5ff7a081fmr9375243e0c.3.1787498862157; Sun, 23 Aug 2026 08:27:42 -0700 (PDT) Received: from localhost ([190.192.192.134]) by smtp.gmail.com with ESMTPSA id 71dfb90a1353d-5c623d30a93sm1447159e0c.7.2026.08.23.08.27.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Aug 2026 08:27: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?= , =?UTF-8?q?Federico=20Valent=C3=ADn=20Andrade?= Subject: [PATCH v2 1/2] ALSA: usb-audio: Skip reading sample rate on M-Audio Venom Date: Sun, 23 Aug 2026 12:27:32 -0300 Message-ID: <20260823152733.740731-2-fandrade@frba.utn.edu.ar> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260822043033.529424-1-fandrade@frba.utn.edu.ar> References: <20260822043033.529424-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 Signed-off-by: Federico Valent=C3=ADn Andrade 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 11:40:54 2026 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (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 5CF8E284B2F for ; Sat, 22 Aug 2026 04:30:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787373055; cv=none; b=iy2ulXdm5P8ZsD3RwiL9hIJaaERdb6zX8AwyOXKmaZMF/gzQGTXNHjDWMlFPuh34zRvx4QgjNrF7iph0bz6mnHE8WJDiXf88UZ4erQ5FXzx9b4+mF/s9iF78sJJWaC6c/OPJc+rz62FTn9Nchhg84qeTAdjt98MyNu3rPWK9Qas= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787373055; c=relaxed/simple; bh=rIEhMC6ocx+/cQC8F0UTEb4G1pz7eMu9LoZkrSeeeXQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ViDJODKzxdA758e65PnLDVG11xddnSuIfDBZFV85G77mWKR0CsswaPTC3JdEpKFzZT/j84FzKCTK5SC63R5j7Qu2jt7QvQclh5ekOcPYH0lNSvUSgUxylBV+KDllKX1SDu3Y0SnOxj3XwffudK01uMG4xVR0QDAlGc2W/hDrq9s= 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=QnACG6ag; arc=none smtp.client-ip=209.85.215.176 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="QnACG6ag" Received: by mail-pg1-f176.google.com with SMTP id 41be03b00d2f7-cc11a30a259so1728372a12.3 for ; Fri, 21 Aug 2026 21:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=frba.utn.edu.ar; s=google; t=1787373051; x=1787977851; 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=bDjZ9dUaDMx7+WWOVurUEdBAOnHYCOSOjgu8MtWZNJ4=; b=QnACG6agRsYcVN8ntqvNOfktl49qqJFIDbWHCy93mxcuUR+UOMB8f8fK+O37djnQzw IQ3cXG/WoII0ixBogv48iByw+jbZ1dN6VCg0laaIGetnYqPJ9gQ6D5uuxVd7ObyU5Xz2 tl55k0y5RjbRozzM83fZM2ymMMl3CzRi3Ze1Vayg02sT/JvDpcCo8x5taW7MpcVUcO5/ MTCyf6eBmu9IvBgsLzpjec8vRv0635uh/Pw7W1FtKuAKtcTtrpTmzpZDQ6plnS3epeVU RPnC8274wOLOk6L0BxaBrY41k4fWNXLttnxldP5rQ+58/ummjPOzXxlwt7Vd8yNSw2KM jbLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787373051; x=1787977851; 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=bDjZ9dUaDMx7+WWOVurUEdBAOnHYCOSOjgu8MtWZNJ4=; b=I1UPs32aUeITKdQlNi9T1zMvco1dWvIXDq++rOJNhKgXM8yAwD4kuGROAcrITDVu+6 5i44xWX7q2EEC/J6hgs8vDsGYffdjZ7YgRm2ND4WUWsNalLGW/4Dyqv6MIV3BzrgY1id CVrEBPstMgJdjXny1fQteDGcK4H20/yHixM1zu6DrOGbBtYNucaL2A8bvav0PHzglyQF Qm8utzpTWrFQB5+QfzeGvZp3P8H2XF+mdV7uQAkws5z0YrW9LOl+iUstdVtLPa6JJFLc aLzuwbu5HZwWi1PgUS46QpPdHCTd8kbAtxPy7FyJ3wxSQlWS5aL8wFZUz/VZLP+V+ZlG kPag== X-Gm-Message-State: AFuF++kD7JUAs3fE5oCUacaO18yLvSCFlKi9MIT/XZ6cxy2xnQwVb1Ws UUj+Shx9Qbf3/5nzx+7Nxa3yPxLW8aWoXirwKyBsCxs7l5Atl5RP2L4HUSsbL7tFMrU= X-Gm-Gg: AR+sD13r7EaZcGdrAVWHIve9bTafw30oUZvjppafGGrsQ/EoTKtOIw24UVMrKhu3hhl 3RxdRH1tBwLbwBUQU8nrNM0i/gIVrZ6nWuHlD1YPqkjDE6GVXWa7A5EZteHjS+waKSPcb/y+0/P UyvPnm8L8hEv4BAH7ILvQiG3ejASa5Bfw4/B13MRBCq1egHrTC+tCL8yqe1/Feb2mOy42a/AVJL 0TRv07vSV8vrTtm5eWdmcNod8CVUtTSp4tyEhCOzvVb+J9HHsR+hMT08EwVP1R9X5hcymERzFDV b5xBU1DHMmfAqtrPCE9JmSXU3zgZecdGGA2hGeyxP/+prDHRNaleehqpvLe64ir5XEbvXgUmpFJ CRJTNXy8ujJkIvZ+6dn72I6FS4zVKdlsqq9L5JeKz8qyS8qOUsK17l+3zwRKlTpZOxuw515xqwM VBbv4lehEXHbXTllxSaqiDZFtMFTBPPvGcainAbHj9JNZh1RtV1WVLkbiOFIO5oK3H/7zDRYe4a pXGgj2A4VbN5NWNkpW1DBwYRQ== X-Received: by 2002:a05:6a20:a11f:b0:3c3:89cf:f3a with SMTP id adf61e73a8af0-3cd4ba0546cmr6171255637.5.1787373051607; Fri, 21 Aug 2026 21:30:51 -0700 (PDT) Received: from localhost ([190.192.192.134]) by smtp.gmail.com with ESMTPSA id a92af1059eb24-1418619d6e1sm3776632c88.15.2026.08.21.21.30.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 21:30:51 -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 1/2] ALSA: usb-audio: Skip reading sample rate on M-Audio Venom Date: Sat, 22 Aug 2026 01:30:32 -0300 Message-ID: <20260822043033.529424-2-fandrade@frba.utn.edu.ar> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260822043033.529424-1-fandrade@frba.utn.edu.ar> References: <20260822043033.529424-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..caa80487f4 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_MIXER_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 11:40:54 2026 Received: from mail-vk1-f175.google.com (mail-vk1-f175.google.com [209.85.221.175]) (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 4687B3921F1 for ; Sun, 23 Aug 2026 15:27:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787498867; cv=none; b=G852u2rdSaQT4hItU8pIm1uVZ8YaUJcYHhNzE+JEbjYVNPgm9Erpg9hTBzJw/6TTgdZdAMBTXXuv3L80LdfiOta23Wv0QGVfKyrMBYLGYf3ah4Ynz2WsigPxE8MDXHuc3DN8UOPigjC8w7b/AKcj4oSRG3d1ZOKlMqLGwTYClwM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787498867; c=relaxed/simple; bh=guHXgb9DgUAuMfuYO8vyWkqWnK64NtzZ5dFFT8x2Dd4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=oLu5AxmPh0M1KwWeKDtiuKskb84CeGYza4A1Qv66+++QH1J3XxQwI72prYgzSd8+URXSfN+NdZ116ZoVxFvfXovAMVW97BwyvVmGWBzWbEcqldmWU5MNpC0gZYtzoHaYVH9pCNcX4qV5VCvrXDi8xmS4ujMww0hfsrczv+FGuIo= 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=cAljtyk9; arc=none smtp.client-ip=209.85.221.175 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="cAljtyk9" Received: by mail-vk1-f175.google.com with SMTP id 71dfb90a1353d-5c38568d9e1so1194947e0c.3 for ; Sun, 23 Aug 2026 08:27:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=frba.utn.edu.ar; s=google; t=1787498865; x=1788103665; 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=gROnjE6TVM17sAg7OSc5s6lR61HMOIDfT4CBGxGo8VM=; b=cAljtyk9u9MDkCyF9Ln0NSS2B/2TWrEHHSnMB114ZjgIyuM5DXprNGkoQR3UuGYQyf 4735ieswTB09VDFgNHbknvgAfmZsrRF/HkePR6Har3dKzXgGd9D+56scDfYVVrSZhlbQ aW+A02tluYK6opWaovRENZJl0NkvnBXahS4oRwPC4e2rM5fp+GWNoGTlWpnSqBcjaz9W /wSm7/ZCdGwmzQO+6AKAFd/MmDtPVbiXkYJzO4TFZVPNW3iZ/R9Q8qHnxcYaoBDCJZSC SBqtP8q3WDUbftgdROZ3f+qTJ65E32pniIXWvtfnd8IVl7KUiP0OVdKJHdRc2gglwxjt +cQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787498865; x=1788103665; 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=gROnjE6TVM17sAg7OSc5s6lR61HMOIDfT4CBGxGo8VM=; b=KxYRDYymBcZ1cNLagU7kPIoT3o7IHiDjqtvQX+KTqduPoRxS+1WDt2zQwXH3grrMPM 2gzKUxZvoGKRkepIghmZilRcZZ5XKNDkcrvUQ0SW1SngzVwAJTUo83JYc5e6HukiUxh8 G/LzDUeWyDPBJif+ZNK/ArJNdQdMjb8Wd9B3ixQt/Kbj9vRADRTJAJmi3+i271uovp6o TOTO+ivcjSy6FCGHGZH0NpGCpjI6YHTEVve+SoejC9NmQdLzVTT9hj03tU0JSv3ZIrJz qRWHTrZsYr4V3O87lWteEMl0vzKII8YhsABb+yubBGNfaym0ZsKfoxWy7QqkghWOIqlX ORSQ== X-Gm-Message-State: AFuF++l1pWDegJyueCI8KBzxWhossp2Tz42mFoYRPaHkSWujXf2eIwIX NyHkSfe4uSsq/sar5+dYIRr0c1QsXfMEN1HxkaT4tQ7oB+S5ZeHu8/eth0nyVzdYCYs= X-Gm-Gg: AR+sD131IhBLBUtk0Fd/73lXPBxQbqkoUen91hNuHReEvFH9mJ/9wwxHvk5M7TnE909 sc4zpJWvVBbq2evIPa9MyrRIH+AO42Ndcs15nNTD7Ssc9ZNIBz1DHtJKPNXmocf6IHnJHJ/S5Ms VW+D8LjtebMDuy2ivl6cGoZI4rr+4OtSlLLRl3T/AVaybnqR5dkjubvxMA7ml5hqFGBwLLUVYId DO404STOcNbrVKc5ikGctsiueTOCMpItHbx47nlmmg294qZZxBCO+JPsw4I5UYd0scfQG9h1HSA A84j/9zr6NoTve5OFb6vUkyVUF6pIygkikcMazhPwEhfvM/9aU23TQIvFO4OuzcO6n3vbGcW78u ot6JlRQvJ2jGf6T+CzMnEnGLvfdWCelb3V9EJRDHtr5v8JT7DYU0wTxLn+Ak89Dl/84CUnIZ09C rvcNJwXgHOIncxOMZChIAtoeKiBAf1EzQikykr4xzzjFYCQ7g0YkDyKdY1XajNULiJrEGXK/EYj ShlMaljnDnF/mXOrMr1WtJi/g== X-Received: by 2002:a05:6102:2912:b0:778:71e5:45d3 with SMTP id ada2fe7eead31-77a6434e104mr6026076137.9.1787498865229; Sun, 23 Aug 2026 08:27:45 -0700 (PDT) Received: from localhost ([190.192.192.134]) by smtp.gmail.com with ESMTPSA id a1e0cc1a2514c-97c836fb2d8sm5032841241.10.2026.08.23.08.27.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 Aug 2026 08:27:44 -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?= , =?UTF-8?q?Federico=20Valent=C3=ADn=20Andrade?= Subject: [PATCH v2 2/2] ALSA: usb-audio: Skip mixer creation on M-Audio Venom Date: Sun, 23 Aug 2026 12:27:33 -0300 Message-ID: <20260823152733.740731-3-fandrade@frba.utn.edu.ar> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260822043033.529424-1-fandrade@frba.utn.edu.ar> References: <20260822043033.529424-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 Signed-off-by: Federico Valent=C3=ADn Andrade 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 From nobody Mon Sep 28 11:40:54 2026 Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (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 6A7F82C0296 for ; Sat, 22 Aug 2026 04:30:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787373056; cv=none; b=ZkRhOft02h1JbMBDpFfk6UxO2FdgBJq3ZCdciZP52tWQkGnEWwTUu1b95nHmUOG2Dd5+mAepq1UcTtekdKXqxkzQJ8tIHXvVwgnZFTElk476y0Q4TdbyGTKY7e15f841Bad5QM93UGCj7exqZtjoSAYNajShX5iG1AM54JG6RyU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787373056; c=relaxed/simple; bh=TuPeNSioNGFNeBJIjxdGzbO0QXMYUhpncKOvygFo9fM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=T7Zlx7U8OPoQuHxSATqNN7d/dLseR26eM3i42rGFM+n+PzbMZ4lnmDHv+O8bIk+fW/TMtmrK8F2JXC3KhY6zQLJufVsQV73Rv+z28tE5XNOlVTiEZlWSpGw/Si4NcPetDsGBj0H/J/FVTvf5ZWiHBMjRiKoOb7eZf5GHBaWLtic= 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=PbtmK4sr; arc=none smtp.client-ip=209.85.214.172 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="PbtmK4sr" Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2cab973140bso22760015ad.3 for ; Fri, 21 Aug 2026 21:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=frba.utn.edu.ar; s=google; t=1787373055; x=1787977855; 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=Igex+Arq1dZAWYBu39qRLRTva7FBhoZf/h4nSlRMFfw=; b=PbtmK4srffWIkLUtFbh4k5QNpW2XWH9YBTLlj9spulkjnHyaEM5VJe1x3meZUzZsRE rnaZgh5/mtO6P7+4tqwCv7Db4zv/BataEJZo3hUjW8MJbNBay58TaAV+ghW+C2xFxpS9 GXXmrOJt6TRvemhkw4DEwj5Cff0nNHGi9IrbGf65OYiXIvqAqyKrY6l9Je2R/RjxlJyA 6roJMBcrEkBlaqWqI3AMBndfBpQYbH68oTnIgtJP1Jys/oTnLjuz7qhCY7PX19myLpTq 9INE8H8VaGxpdHtQ7LmG+nqYdMWD9cm8kS29MZ7KR3/uYGxYKJdJW8jQThATIilO4kb0 xHcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1787373055; x=1787977855; 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=Igex+Arq1dZAWYBu39qRLRTva7FBhoZf/h4nSlRMFfw=; b=CORUfZxTuVusjL1dRhdOp9cHTDolaKoSeF0Vmnoco3TtdsgGRYw67AtD4aIlLZhPb7 1oU75eNvaaPzW5baUsa2a+wVhPXI5HgvSBGNWpR2Z+m4aGRUt/D8WPr5c65K4ohUW9DZ 2dmGDr3DIUF4B7psbqBrLqVx37ZcDw+6siYbjdM/Xf3vdpZZBjFOrW9QNgtYfMHRYKJc tTxJcRxxstA3QnCeJWSS1XLp3pgZqEWY8r7u5srywCYE+WUqZIls1L9hwFAecoOXZJ28 F7eVwWv4glz7sIZ/bpLrjsDiXEUPnVJDqCBQ8hAwQfpjLd9cTa1k8qgbAfWerosdBCXk ksyg== X-Gm-Message-State: AFuF++nd+O3n6sC3rN1hvsYg8EY1tARXEU1mo7Vhwy5YlFXW7GXl+BNj FIWjJXuWOmtuz1+RafhVim5XgpbcmH2r1pYa16MXpC3mgEy5dV6/zk6gabEFl+0YMzymAds1XkQ UUvMltEB36g== X-Gm-Gg: AR+sD110F7m0GFLg+ejjUajFL5COuAifbH/60Mr20aGVVisckJfJVJsk5LnPMc3S6Ak 5n85jkEp1uPZJwWTR8jJLruWJCd2D3tEv4vznncAnqqLLOec4kZ72NOakF36hgk/xXheYz98LJo PVs7fZoxGckV4XE/r4+UqTvr1AHqOc4r+ciEvjJl8F0DWSUDf6FXWUETzSYSUuOw/NcT8KCJ0rw yzMP0qMUk5bhUFoV1IaEkMyhMsyrk3oJmzqdebpnTqMg0QSdhPCI1PZYcf8mFghUKHV2QMbvamw sj4imiADq3WHogM7DxtpBmMD1Ml0Hwg5YWjOaDJGcCrHe0a/iJ/UGT635pNCNxzOXI2nL+gJVX6 +sriZP+s3IVwEGKtJYJRUiYcnEyPWElmVVpW0HGarddwcli4Yovmkj02x3w7eTyIrgEBDYDwwJo VKAoYqx1whDWS62aayhnS13ubx2mkf15UJB/EkNpuBVOtq4ygimWXjAfYBC15jEP+ueAOcvMale QhWZkjeCWlJZmt/4Vt3zZeUow== X-Received: by 2002:a17:902:d48f:b0:2ce:faa6:7cbb with SMTP id d9443c01a7336-2d670b85236mr35467415ad.4.1787373054643; Fri, 21 Aug 2026 21:30:54 -0700 (PDT) Received: from localhost ([190.192.192.134]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-327f90cb8e3sm2600432eec.12.2026.08.21.21.30.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Aug 2026 21:30:54 -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 2/2] ALSA: usb-audio: Skip mixer creation on M-Audio Venom Date: Sat, 22 Aug 2026 01:30:33 -0300 Message-ID: <20260822043033.529424-3-fandrade@frba.utn.edu.ar> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260822043033.529424-1-fandrade@frba.utn.edu.ar> References: <20260822043033.529424-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 --- Tested on 7.1.8-arch1-3 xHCI (Intel PCH). alsa-info: https://pastebin.com/Kf4SCkyT 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