Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp310865pxf; Wed, 24 Mar 2021 05:51:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXRfmtPBcj5yalnhv4KrBrI1dAYomgkHjxO4j2t1PpPqZ101ZPwIzA/t0cJ0qSASG+JpAr X-Received: by 2002:a17:906:1b42:: with SMTP id p2mr3520754ejg.236.1616590314349; Wed, 24 Mar 2021 05:51:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616590314; cv=none; d=google.com; s=arc-20160816; b=BwhH5YNT9RH9bTyK/HmhlqRVft+SNqd0rIvLd/juL1mBUXbJ4ZJIJNSY685oYpYQlo 1zokYzZVRK+z70D9EWeKXmLWj53+HmY48cuJTxbx9lclRHwMjIh0VZDaqatS4OfPYv+P h/SFL9RGOsuWF8dGq8QWrZuKCu+vn+EwRVhVA7q7YkDN8ijoa2Prpf8W6QzwFbAvwJmR HldnrrRk5WuLfDiETxH9IW0aWR7ajbC2C1DnhBf/2OMQrcpo4lpAzDEgUlLQymTmacb9 dR3iYMRoNtB9w269cs6k4ctPmB3c7mVDA2329z+JDqX11pC3nVk7BzRcdFipK8X+8JRf yuCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:subject:cc:to:from:message-id :date; bh=L7rfyPN8HHYHA4fQTLeAaLibffoq0EF4BzhNvOPLuLY=; b=eqk4Qm5A0Txv0W+TcNnhC2/6u6JBZhHmS1JGGZboNbcNsyChLmBR95a/8DDTKwi8cY 6mNxoXZdx23bZS+UlZDmZmh6zPSAY5N5zDjgWUPe9murWQuCfvc5Uz/YRdmvqA8unFe1 oLWmY7eug1Xw92SoQhJthCXfREiOhkS1dqgzUhOTeY+AlxUt/cj54DdFwVM7hocbkMH2 CeB7DzO+NCEvJ9sAjAhQxaXQkG+OV0tdGMPKlC0Bu3Ad3P4iDxMFHq/buSK+Kcwz8T+k MyVpz/3812VIfb32/VoyaOdOqLUXO0WgbYWwlFRxisLFpNxxSIiEIY4wZewHYS0DYn5S y9Pw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b18si1591977edr.358.2021.03.24.05.51.31; Wed, 24 Mar 2021 05:51:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233860AbhCXMuC (ORCPT + 99 others); Wed, 24 Mar 2021 08:50:02 -0400 Received: from mx2.suse.de ([195.135.220.15]:39580 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232501AbhCXMtZ (ORCPT ); Wed, 24 Mar 2021 08:49:25 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 0C421AD71; Wed, 24 Mar 2021 12:49:24 +0000 (UTC) Date: Wed, 24 Mar 2021 13:49:23 +0100 Message-ID: From: Takashi Iwai To: Ikjoon Jang Cc: Joakim Tjernlund , Jaroslav Kysela , alsa-devel@alsa-project.org, Takashi Iwai , Gregor Pintar , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Dylan Robinson , Kai-Heng Feng , Olivia Mackintosh , Alexander Tsoy , open list Subject: Re: [PATCH] ALSA: usb-audio: Apply sample rate quirk to Logitech Connect In-Reply-To: References: <20210324105153.2322881-1-ikjn@chromium.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Mar 2021 13:03:14 +0100, Ikjoon Jang wrote: > > On Wed, Mar 24, 2021, 7:16 PM Joakim Tjernlund > wrote: > > On Wed, 2021-03-24 at 18:51 +0800, Ikjoon Jang wrote: > > Logitech ConferenceCam Connect is a compound USB device with UVC and > > UAC. Not 100% reproducible but sometimes it keeps responding STALL to > > every control transfer once it receives get_freq request. > > > > This patch adds 046d:0x084c to a snd_usb_get_sample_rate_quirk list. > > > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=203419 > > Signed-off-by: Ikjoon Jang > > Most Logitech USB headset I got needs a delay in snd_usb_ctl_msg_quirk() > Have you tried to add say 20 ms delay in there? > > I didn't try that. But it sounds reasonable to me. > > let me try that quirk here. If that is the case, HID might need that delay > also. Logitech Group webcam had a similar problem on control xfer of > get_report from an another interface for HID. The Logitech devices with 046d:* should be covered generally in snd_usb_ctl_msg_quirk(), so I guess it's a different problem. But please check it first. > And 20ms can be too long if it's applied to every control transfer. I will > test the device with shorter delay if you didn't try it before. Actually the delay applied to Logitech devices is from 1 to 2ms, not 20ms. The 20ms delay is applied for some other devices. But if extending the delay fixes the problem, we need to reconsider the delay length. Takashi