Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DA58C49EA5 for ; Fri, 25 Jun 2021 02:12:41 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 424E4613BD for ; Fri, 25 Jun 2021 02:12:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 424E4613BD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=b4.vu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id AC3171657; Fri, 25 Jun 2021 04:11:48 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz AC3171657 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1624587158; bh=WeDagUQyTub2wyjLODWe2w4SgWNZgNSSMjAPtFRFgj0=; h=Date:From:To:Subject:References:In-Reply-To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=gnVRphmD5YgtyMGZChC/XvD/VcNUsvkA0NBb8ECwxY1nlJkwxIr5fNatxsU+tzlly 0ONb2bGYF5mQJAkgNA5B3MOSLEWm6xm982oWybOqD7iS+FpT2Imv3uLn5AQgSfRxc7 +HoF84VcRGLRBbOTIDQgP1gVS5NMcQaNjvN1pPUg= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 550C1F8016D; Fri, 25 Jun 2021 04:11:48 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7AD20F80137; Fri, 25 Jun 2021 04:11:47 +0200 (CEST) Received: from m.b4.vu (m.b4.vu [203.16.231.148]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id BC5AFF80137 for ; Fri, 25 Jun 2021 04:11:44 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz BC5AFF80137 Received: by m.b4.vu (Postfix, from userid 1000) id 424EC61E5F2F; Fri, 25 Jun 2021 11:41:42 +0930 (ACST) Date: Fri, 25 Jun 2021 11:41:42 +0930 From: "Geoffrey D. Bennett" To: Takashi Iwai Subject: Re: ALSA: scarlett2: Default on? Message-ID: <20210625021142.GB21766@m.b4.vu> References: <20210624154739.GA20351@m.b4.vu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Cc: alsa-devel@alsa-project.org X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" On Thu, Jun 24, 2021 at 07:40:53PM +0200, Takashi Iwai wrote: > On Thu, 24 Jun 2021 17:47:39 +0200, > Geoffrey D. Bennett wrote: > > > > On Wed, Jun 23, 2021 at 08:39:24AM +0200, Takashi Iwai wrote: > > [...] > > > OK, now all patches have been merged. > > > > Thanks! > > > > I would next like to consider how we can enable this mixer driver by > > default. I originally added the device_setup=1 gate because there were > > reports of the driver making the interface hang. These were all traced > > back to the problem which was resolved with the commit "Fix device > > hang with ehci-pci". That commit fixed the issue for those who had > > reported it and since then there have been no more reports that the > > mixer driver causes any issues. > > > > Simply removing the device_setup=1 check would leave users with no way > > to disable the driver in case that turns out to be necessary for some > > reason though, so I don't think that's a good idea. > > They can blacklist snd-usb-audio, either the module itself (if it's > the only device), or with enable option of snd-usb-audio module, if > there are multiple devices bound with the driver. But wouldn't that disable audio for the device entirely? I am talking about only disabling the mixer part of the driver (the code in mixer_scarlett_gen2.c) which uses the proprietary USB messages. So that if there is some unseen so-far bug the user can revert to previous behaviour of audio working but no proprietary controls. > > What I think would be the best option would be to have the driver as > > its own loadable module. Does this sound like a good idea to you? > > I'm not against splitting, but that is no solution at all, per se. > > > Takashi