Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2390740pxb; Tue, 12 Oct 2021 05:44:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6Bi6EtmbhW2t3ZnJsEQB39TXZH47/wt/AEQLc8hBY846ghHn5lmPZemwuCyZWjIyWN3OY X-Received: by 2002:a17:906:39d8:: with SMTP id i24mr33593642eje.49.1634042641478; Tue, 12 Oct 2021 05:44:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634042641; cv=none; d=google.com; s=arc-20160816; b=f9dxXRhUCtz48B10NO6U2iZ/qF863DzeYI7Bsvd0sFyiXuJsfHT2nJNesL4HpSezJO sKB89v57gyogQIhxlIz9UgO/xNifUX3obS8pBmzYHO1fCUykwsouDs1JKan3zAjySwv+ c+NDwqp5eSscGP45N/SUiRKIcBSEITp6GJTA8CYvMyx5+Il6r4zf/gkR1LaZO2tAs7rN AEzrbDdPtD9Hlyp6BUmINJR1cS2Og0Prg3b/p+I3qrz6CDcgHkr0qeAuJCBXG3AqywO7 +qpTwleGlzkZ95FGS7lY5jmMegPEAL1zNqqTVgCv0/J2qdRhNlSmBZhkVI8yB1G4zC3y odbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9LaOEFx7PeVuA7smqG6F5qzLdPY4GyY6RSA9fE6PZrY=; b=orBcYmCT5tZsuCQdBiypzaWx3VukdcNXqInc0jUxenGae7UU8cDVZH7R8sPT6f1XVD LwHkfVIfRDLUsBrefgIeYLLWFAZW8+fUPShcWfdKcX8zpI25RFnlkcDpIHFXObUTcfa/ xA9jBaqYZyu3Z4amI0fUcPRz+JaTPuQYqUCuH6z2FpF29dOhKvK742/yDNTwhGt7CoZZ Br5P546Le0TFe9CSssVeeM05znu6XJQfzeEJqW4RJzCfMP+FJE0JR/lgnf2wYsVkxnEl 3pS89vBME1+TLJM21mQJMlxSACL/M1EqU6BTh5JfCJw8V5lQ6IyJ3yLzUbE1M/nuxA8J Z+vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bQ9HfOz7; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v20si23690434edc.234.2021.10.12.05.43.36; Tue, 12 Oct 2021 05:44:01 -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=@linuxfoundation.org header.s=korg header.b=bQ9HfOz7; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236368AbhJLMnt (ORCPT + 99 others); Tue, 12 Oct 2021 08:43:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:33314 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232900AbhJLMns (ORCPT ); Tue, 12 Oct 2021 08:43:48 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id D517060E97; Tue, 12 Oct 2021 12:41:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1634042507; bh=sGn6oX7A/cABQ/SZVLhoSRBwTYLT5p/BpAYt7PeiP3Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bQ9HfOz7uy2lfWuiJiFxP6Pa5lGDOIqx3P9OAeW6hIh7NySdnIte7vFU7m8COMvRa Vy1ZlE/Zu2ipSuyfqcfWa6CVChucrz7z4o/MSDLogUWHP+rV+nNtPa6DGA0EvuFpIr CFaw1BtOzugdUiSitKs7+EFJcKQDchr2CtwVXjO8= Date: Tue, 12 Oct 2021 14:41:44 +0200 From: Greg Kroah-Hartman To: Takashi Iwai 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 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 12, 2021 at 09:35:16AM +0200, Takashi Iwai wrote: > On Mon, 11 Oct 2021 19:23:05 +0200, > Greg Kroah-Hartman wrote: > > > > On Mon, Oct 11, 2021 at 06:07:01PM +0200, Takashi Iwai wrote: > > > Could you also post the contents of /proc/asound/card*/usbmixer (only > > > for the corresponding device), too? > > > > Sure, here it is: > > > > USB Mixer: usb_id=0x30be0101, ctrlif=0, ctlerr=0 > > Card: Schiit Audio Schiit Hel at usb-0000:47:00.1-2.2, high speed > > Unit: 5 > > Control: name="Mic - Input Jack", index=0 > > Info: id=5, control=2, cmask=0x0, channels=1, type="BOOLEAN" > > Volume: min=0, max=1, dBmin=0, dBmax=0 > > Unit: 7 > > Control: name="Speaker - Output Jack", index=0 > > Info: id=7, control=2, cmask=0x0, channels=1, type="BOOLEAN" > > Volume: min=0, max=1, dBmin=0, dBmax=0 > > Unit: 13 > > Control: name="PCM Playback Switch", index=0 > > Info: id=13, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN" > > Volume: min=0, max=1, dBmin=0, dBmax=0 > > Unit: 17 > > Control: name="Mic Capture Switch", index=0 > > Info: id=17, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN" > > Volume: min=0, max=1, dBmin=0, dBmax=0 > > Unit: 18 > > Control: name="Clock Source 18 Validity", index=0 > > Info: id=18, control=2, cmask=0x0, channels=1, type="BOOLEAN" > > Volume: min=0, max=1, dBmin=0, dBmax=0 > > Unit: 22 > > Control: name="Clock Source 22 Validity", index=0 > > Info: id=22, control=2, cmask=0x0, channels=1, type="BOOLEAN" > > Volume: min=0, max=1, dBmin=0, dBmax=0 > > Hm, I expected more exotic control that failed, but it was Mic Capture > Switch, which should be treated normally. > > Could you try the patch below? This will still show other warning > messages, but it'll forcibly initialize the mixer elements at probe > time, and the rest should work. > > Once after it's confirmed to work, we may shut up the device warnings > with a quirk. Only one warning message shows up, here's the dmesg with this patch applied: [Oct12 14:39] usb 7-2.2: new high-speed USB device number 10 using xhci_hcd [ +0.123157] usb 7-2.2: New USB device found, idVendor=30be, idProduct=0101, bcdDevice= 1.02 [ +0.000009] usb 7-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ +0.000003] usb 7-2.2: Product: Schiit Hel [ +0.000002] usb 7-2.2: Manufacturer: Schiit Audio [ +0.339785] usb 7-2.2: 17:0: failed to get current value for ch 0 (-32) [ +0.020373] input: Schiit Audio Schiit Hel as /devices/pci0000:40/0000:40:01.1/0000:41:00.0/0000:42:08.0/0000:47:00.1/usb7/7-2/7-2.2/7-2.2:1.3/0003:30BE:0101.000B/input/input24 [ +0.056868] hid-generic 0003:30BE:0101.000B: input,hidraw6: USB HID v1.00 Device [Schiit Audio Schiit Hel] on usb-0000:47:00.1-2.2/input3 I don't see a "mic capture switch" on this device, but maybe it triggers when I plug a mic into the microphone port, which is currently empty? thanks, greg k-h