From: Pierre-Louis Bossart Subject: Re: [alsa-devel] ALSA:usb audio Higher sample rates on usb audio no longer working. Date: Fri, 4 Jan 2019 11:13:29 -0600 Message-ID: <51872184-3de0-6e69-60e3-c3b4898dcdfa@linux.intel.com> References: <5c7b2c6b-5dcc-7170-f6e1-bf6021bbb72a@linux.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: "Gopal, Saranya" , Takashi Iwai , Con Kolivas Cc: "alsa-devel@alsa-project.org" , "linux-usb@vger.kernel.org" , linux-kernel , "felipe.balbi@linux.intel.com" List-Id: alsa-devel@alsa-project.org On 1/4/19 10:52 AM, Gopal, Saranya wrote: >>> [ Adding linux-usb ML to Cc, as it's a core USB issue ] >>> >>> So the device seems incorrectly advertising as if it were supporting >>> UAC3 -- assuming the device is still not UAC3-capable. >>> >>> IOW, it's a buggy firmware. We need some blacklisting, or revert the >>> commit for now, unless any real UAC3 device comes up to the market. >> IIRC an UAC3-capable device is required to expose a backwards-compatible >> configuration (either UAC1 or UAC2). Maybe an additional test can be >> done to harden the detection so that UAC3 is only chosen if indeed a >> second audio configuration is present as well. >> >> I also vaguely recall there was talk about adding information in the BOS >> descriptor, but I don't know if this was ever published. >> >> -Pierre > The current detection logic is that UAC3 configuration is chosen only when a device has a configuration with audio interface supporting UAC3 protocol. > Additionally, it already makes sure that UAC3 is selected only when there is more than one configuration. What I meant if that the other configurations are not checked for UAC1 or UAC2 capabilities, you only check that there is more than one configuration