Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp1031306rwe; Thu, 25 Aug 2022 14:03:26 -0700 (PDT) X-Google-Smtp-Source: AA6agR63zcj39lURHrMsXdyfPCCoLwTjlT3TfXgjC+JMbessDc/AwqFnR+FUX5gx8qziAW8TV3yb X-Received: by 2002:a17:907:a061:b0:73d:5429:b5ad with SMTP id ia1-20020a170907a06100b0073d5429b5admr3526767ejc.612.1661461405599; Thu, 25 Aug 2022 14:03:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661461405; cv=none; d=google.com; s=arc-20160816; b=Vh3HNpb/cBZLiQ6eJoWgAKVpqo3u4yhYk7OUzmUzd7AWYOU8F3xUlZERlE/JG78h5F /jGK6DjK9VrrI0znULZYNEFrWnKGZ3n9f64Lb69H/kWisVYuxawzYzlYIo0GbYFBd9/n tPqIlHSkZT3JcSiTju3ySxvjGLt3ZZlv+Th5v+cU+znawEzch4T4x7x1uqUgoeJgqLXm n9mgq5/oib0CCKIeo3IaNK/ug/xpEBx2WF+OIB0C7UcrHZ02tfEKKcICWMBNAE+QjfzN STRIOrpWU2/PqgHxc2ZFVaR4OV0/b5l4R7NKXv45S0EyYGtUzWoaJ2pajSpllZVeP9Gg y2zQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:feedback-id:references:in-reply-to :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=n7LQAGiY5NM03/JZWggg58dlXKvE1IQG0IRk2kHR7KI=; b=ZfK1amPkp96sX4WTylXBu+Zq+5/n/nu05NF6JU6Mkyh9nMZOXcHb8Q9fD3XxeiPF5e 27GZScqp+OWZicYJJqCg4S1+/MHwH247PBDwuFpDxKAbepjLFSskZco4AUWlW+6tdTvY +rHOCFGzROjzjeFRRYIBkt/NowX3nFyLu5ulayRsfd+UKAMziozWIetOusDOiMouVm6e NZ38d1a6vJY0OoUVmZtJRXtxRGCh2ZrBlhiEWQY9LuLr8j+id04Oz5ypCA9TvNZVcC27 uoxyRMO2m32d+MkDPuyzbJR/jyrx/OSu+6rptb883RY38jCX9LrGOME6CVmcGlwG3ZGD pmIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vanalboom.org header.s=protonmail3 header.b=oh21KNba; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=vanalboom.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a056402350d00b0043b52adbf6esi308536edd.557.2022.08.25.14.02.56; Thu, 25 Aug 2022 14:03:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@vanalboom.org header.s=protonmail3 header.b=oh21KNba; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=vanalboom.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241973AbiHYUwM (ORCPT + 99 others); Thu, 25 Aug 2022 16:52:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbiHYUwL (ORCPT ); Thu, 25 Aug 2022 16:52:11 -0400 X-Greylist: delayed 36388 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 25 Aug 2022 13:52:09 PDT Received: from mail-4018.proton.ch (mail-4018.proton.ch [185.70.40.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F08A47B80 for ; Thu, 25 Aug 2022 13:52:09 -0700 (PDT) Date: Thu, 25 Aug 2022 20:52:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vanalboom.org; s=protonmail3; t=1661460726; x=1661719926; bh=n7LQAGiY5NM03/JZWggg58dlXKvE1IQG0IRk2kHR7KI=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:Feedback-ID:From:To:Cc:Date:Subject:Reply-To: Feedback-ID:Message-ID; b=oh21KNbaEb/ZLC9XkncbOn1FUdzkagOftobyIaSzXQqbICSbktgqR81PXZhSeILGp XLd7QE+BjJTgkD78rW+yDLMxynADiLwCeKBXskzABOlzu5J9//U0h93lZ/oPWCfpKv M/mFxjoy57viFzKFb2ISVVpv3IiGNxayVcXVYup3pD2xob+dSuyXpWsgrZgdwCilTl TxOAG8+EUJ4IRTv/9Sf/XlZq0DfNG14z3KHHcKw4DbGhQquVIc86EQ0yhMrvIUmSfe +sh07MJo1wNeVmOXrOA8ROzWBVXTounV5U1224uzywmFT4a8Tuntdhes/F1Fl55gUq TA/PsQAouhpFg== To: Takashi Iwai From: Lennert Van Alboom Cc: Jaroslav Kysela , Takashi Iwai , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" Reply-To: Lennert Van Alboom Subject: Re: USB DAC broken since commit bf6313a0ff766925462e97b4e733d5952de02367 (5.10.0-rc5) Message-ID: In-Reply-To: <874jy0mvwv.wl-tiwai@suse.de> References: <874jy0mvwv.wl-tiwai@suse.de> Feedback-ID: 20549952:user:proton MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------4335f303f65c68eca3e0f08532a8b61bb7072bbe4d5a915d252d9d9d70b44e24"; charset=utf-8 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------4335f303f65c68eca3e0f08532a8b61bb7072bbe4d5a915d252d9d9d70b44e24 Content-Type: multipart/mixed;boundary=---------------------76f807876e088460dc4f4074efee6b26 -----------------------76f807876e088460dc4f4074efee6b26 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain;charset=utf-8 ------- Original Message ------- On Thursday, August 25th, 2022 at 12:58, Takashi Iwai wrot= e: > = > There are lots of workarounds for the buggy USB audio firmware, and > the latest kernel allows to enable the quirks via quirk_flags module > option of snd-usb-audio driver. See > Documentation/sound/alsa-configuration.rst. > You can try the bit 16 at first, for example. > = > = > Takashi Thanks. I tried fiddling around with it for a bit but so far limited succe= ss. I wasn't sure about the arguments or counting order of quirk_flags (so= me tidbits show it as hex, others as an array of booleans (?)) so tried a = few different things. I have no other USB audio devices so didn't see a ne= ed to specify vendor or product ID while testing. = # modprobe snd_usb_audio quirk_flags=3D0x10000 # modprobe snd_usb_audio quirk_flags=3D0x1 # modprobe snd_usb_audio quirk_flags=3D0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1 No success with any, so far. Is there a way to make the process more verbo= se? I can see from the lights on the DAC that the initialisation works dif= ferently if I mess with the different quirks but that's not visible in sys= log or outcome. Thanks, Lennert -----------------------76f807876e088460dc4f4074efee6b26 Content-Type: application/pgp-keys; filename="publickey - lennert@vanalboom.org - 0x0320C886.asc"; name="publickey - lennert@vanalboom.org - 0x0320C886.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - lennert@vanalboom.org - 0x0320C886.asc"; name="publickey - lennert@vanalboom.org - 0x0320C886.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgp4ak1FWHBHZWNoWUpLd1lCQkFI YVJ3OEJBUWRBSFBRaWM5VER0TURQaDgwclllNFlDRHh5aEFTdkhMcUcKb1NTQWMwRGNaVGJOTFd4 bGJtNWxjblJBZG1GdVlXeGliMjl0TG05eVp5QThiR1Z1Ym1WeWRFQjJZVzVoCmJHSnZiMjB1YjNK blBzSjRCQkFXQ2dBZ0JRSmVrWjV5QmdzSkJ3Z0RBZ1FWQ0FvQ0JCWUNBUUFDR1FFQwpHd01DSGdF QUNna1FmdENYYy9pU21tNE5IZ0QrTUdVQ2hkZHdRckw4R3hGZVlmVFRLSVJiQ2huVTgvK1MKVU8z SE1ZdmlnUDRBLzFFdVRhU1RQMU5jVUJkRllvU2pqU2gzQWE2Zis3dFRISXN2TWl0TGF5NEx6amdF ClhwR2VjaElLS3dZQkJBR1hWUUVGQVFFSFFOTlR3dG11TGpqOXJNZnhOaUtUZ0JyWVNmY3lEVDRX U1grdQpZY1l3RWdCQUF3RUlCOEpoQkJnV0NBQUpCUUpla1o1eUFoc01BQW9KRUg3UWwzUDRrcHB1 TUlJQkFLMEQKc2g3alVsUHBWTUlzTVdZRDZETkhmaVFEZXcwQVh1WjJhd0JvWEtjRkFQOWJZZkpR M29ENTNpelNLYkpFCmlLQkh1Y2pDOWJmRzlOcjdsdFA3OHNZN0NnPT0KPXpraXYKLS0tLS1FTkQg UEdQIFBVQkxJQyBLRVkgQkxPQ0stLS0tLQo= -----------------------76f807876e088460dc4f4074efee6b26-- --------4335f303f65c68eca3e0f08532a8b61bb7072bbe4d5a915d252d9d9d70b44e24 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYKAAYFAmMH4OAAIQkQftCXc/iSmm4WIQQDIMiGf8zUXWpveld+0Jdz +JKabvDxAQDPhEi0uDbGJTno+jrqi3mOn+iklUu/d9KA82FlfgXGOAD8Cz4E k1lNOeUqKKyDbVkZ9tzHSJZVlGpWsV4slXQkHwY= =D4ie -----END PGP SIGNATURE----- --------4335f303f65c68eca3e0f08532a8b61bb7072bbe4d5a915d252d9d9d70b44e24--