From: Manuel Reinhardt Subject: Re: [PATCH] ALSA: usb-audio: Add quirk for MOTU MicroBook II Date: Thu, 28 Feb 2019 20:34:23 +0100 Message-ID: <549a5ba4dbb973d891cc5b08bf0281ff1e171f94.camel@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 8F7B4F896CE for ; Thu, 28 Feb 2019 20:34:25 +0100 (CET) Received: by mail-wm1-x344.google.com with SMTP id x10so9996816wmg.2 for ; Thu, 28 Feb 2019 11:34:25 -0800 (PST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: Takashi Iwai Cc: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org Thank you for your time and comments. Am Mittwoch, den 27.02.2019, 18:14 +0100 schrieb Takashi Iwai: > On Wed, 27 Feb 2019 15:26:01 +0100, > Manuel Reinhardt wrote: > > Add an entry to the quirks-table to for usb-audio to recognize the > > Microbook II (although it only exposes vendor interfaces). A simple > > boot > > quirk is also implemented to set up the sample rate and make sure > > that > > no audio urbs are sent before the device is ready. > > > > This patch only provides audio playback and capture at 96kHz sample > > rate. Notice the following shortcomings: > > > > - The sample rate is currently hardcoded to 96k although the device > > also > > supports 48k and 44.1k. > > > > - The various mixer controls of the MicroBook are not made > > available. > > > > - The keep-iface control should be on by default because the device > > shuts down whenever the altsetting is reset which is usually > > unwanted. > > (I don't know the best way to do this) > > Can be set either in the quirk callback you write. > Or it'd be not bad to create a white list, too. I will try to address that in a future patch. I have fixed the patch to address your remaining concerns.