Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp870467pxb; Sun, 10 Oct 2021 13:48:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeVr+S/RRTog1FiK2T2pypweiL+DsB2MJZoe3dIw9onen1vb4V6hSm7nbsVefDrck40hie X-Received: by 2002:a63:ac1a:: with SMTP id v26mr15055723pge.105.1633898901847; Sun, 10 Oct 2021 13:48:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633898901; cv=none; d=google.com; s=arc-20160816; b=vtzdzm6Gpn5eU05RYxQI5O+N/XhuYzEncrnWTaI5dZnhLyUupqUYII0Z87zX3pcjo0 JvfUBJgrxle7fh8u4zD5Eg08vfo1l91X5cTFasP8jSFN7XrOZFp79uV0wK1ssqm94fmg +l7pZNa4mdgHctEcRTYRmB7TSY1MapxH689QVGE/fMAzMlI7s4DaFRFHbO/L1Kaqh8nY GtqpbwxLFEyGYDTksroJoxGZCOcN/lLDqm64RrM7fPYWUHOCYIsU1telcCzl7s+30hTx NP7r1s6HquTFqUsxlMeGmd/RdD1B0lDKNITNeaw43eYvyXsDto+x0g8ojhQopWeylr8n 968A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=GEQcDzhZ8Ka5CSVQvfxwlWYWOhU/3/GhrODN3V13RPI=; b=V2G+4V4HKEm3rR7Ag6Figo5RaxW/wGOkxxQTh59S7DGypK1U1FDTMG3nkQje+M43Ox zv3N8yjZcRFGqAC7tg8xZ2pp+op9401etxUXmM+ltCkSP+FCK53gYHfLOriAQkiPHaEn 7TpGaN219KkMIJRm/ZmxL/1uGii8lGb3OD2e5bJaH1Hx+V0qYHYn2W0vmIhsI3Hh3c6P De7b09GcGLdqwKoKcUhtCfqM5b4Luv573TNUYTEnJmV1+D+KcmzbyC4VpusYS2WBTook RN4Fh7tWbOtt81nPAQqhmJINfe7N+uynhu765PpRQHvgkkdPASSh9OY5bbB/JvzGwlNV cAlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="u/T4QtmO"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=eipG8Dou; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a10si7736725pll.352.2021.10.10.13.48.09; Sun, 10 Oct 2021 13:48:21 -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; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="u/T4QtmO"; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=eipG8Dou; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232115AbhJJU1K (ORCPT + 99 others); Sun, 10 Oct 2021 16:27:10 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:44476 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230352AbhJJU1J (ORCPT ); Sun, 10 Oct 2021 16:27:09 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 1A18421FE1; Sun, 10 Oct 2021 20:25:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1633897510; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GEQcDzhZ8Ka5CSVQvfxwlWYWOhU/3/GhrODN3V13RPI=; b=u/T4QtmO4zjpWP4G6PpsJYj8evddBVP5dABrjZMZ8CqJbfZUoqzHgHzZlDxk080ekTJTOR FnVqbL2/kEtp1nAvWgB3vmPw6WtaIe54m+Xj94yu8dxg9fQjsG1yUPxVx+R5+HaCXwLwz2 YMIg25qOhHH+4FFj6i8tkiQ55eRU83k= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1633897510; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GEQcDzhZ8Ka5CSVQvfxwlWYWOhU/3/GhrODN3V13RPI=; b=eipG8Doua46nR7vEC1XNGKPBUEGveXX7uStsTSmBb2NhhNFJd9GuLwtCB/FluGSb1yeZgu XcZpQvh5ZrswNlAg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id F3877A3B83; Sun, 10 Oct 2021 20:25:09 +0000 (UTC) Date: Sun, 10 Oct 2021 22:25:09 +0200 Message-ID: From: Takashi Iwai To: Greg Kroah-Hartman Cc: Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: usb-audio: allow -EPIPE errors for some v2 messages In-Reply-To: References: 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=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 10 Oct 2021 14:22:41 +0200, Greg Kroah-Hartman wrote: > > The Schiit Hel device does not like to respond to all get_ctl_value_v2() > requests for some reason. This used to work in older kernels, but now > with more strict checking, this failure causes the device to fail to > work. > > Cc: Jaroslav Kysela > Cc: Takashi Iwai > Signed-off-by: Greg Kroah-Hartman > --- > > This fixes the Shiit Hel device that I have. It used to work on older > kernels (a year ago?), but stopped working for some reason and I didn't > take the time to track it down. This change fixes the issue for me, but > feels wrong for some reason. At least now I can use the device as a > headphone driver, much better than the built-in one for my current > machine... > > If needed, I can take the time to do bisection to track down the real > issue here, it might be due to stricter endpoint checking in the USB > core, but that feels wrong somehow. > > Here's the debugfs USB output for this device, showing the endpoints: > > T: Bus=07 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 5 Spd=480 MxCh= 0 > D: Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=30be ProdID=0101 Rev=01.02 > S: Manufacturer=Schiit Audio > S: Product=Schiit Hel > C: #Ifs= 4 Cfg#= 1 Atr=c0 MxPwr=0mA > I: If#= 0 Alt= 0 #EPs= 1 Cls=01(audio) Sub=01 Prot=20 Driver=snd-usb-audio > E: Ad=8f(I) Atr=03(Int.) MxPS= 6 Ivl=1ms > I: If#= 1 Alt= 1 #EPs= 2 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio > E: Ad=05(O) Atr=05(Isoc) MxPS= 104 Ivl=125us > E: Ad=85(I) Atr=11(Isoc) MxPS= 4 Ivl=1ms > I: If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=20 Driver=snd-usb-audio > E: Ad=88(I) Atr=05(Isoc) MxPS= 156 Ivl=125us > I: If#= 3 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=00 Prot=00 Driver=usbhid > E: Ad=84(I) Atr=03(Int.) MxPS= 16 Ivl=1ms > > Any other suggestions to fix this are welcome. Could you show the exact error messages and lsusb -v output? We may paper over only the problematic node instead. thanks, Takashi