From mboxrd@z Thu Jan 1 00:00:00 1970 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=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 58BDDC433E0 for ; Wed, 20 Jan 2021 21:18:54 +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 6909E235DD for ; Wed, 20 Jan 2021 21:18:52 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6909E235DD Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=nostatic.org 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 E3BEB17C5; Wed, 20 Jan 2021 22:17:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz E3BEB17C5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1611177530; bh=h870dOnY0nmaUHjgYfOHn5UInNE3DZqxXIt6yf/D4Ms=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=bVt1iWFVq8hYpyHrqobE9+pTAwdnU1m+Y0YLOZnxjRumQjj4tEq1IVRoEe/EIXqWw 7y5dQBgMxzvcrIeSK5oTCjmPBa6r13FRh+F/4uIo4mMjh8HYkVnBaKWmjCyv5JMb/w RpukHdH7lUCqfxJ4CX0Ljc5qZyV66NfIuJ1D1mSs= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 620B1F80137; Wed, 20 Jan 2021 22:17:59 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 6536FF8016E; Wed, 20 Jan 2021 22:17:56 +0100 (CET) Received: from mail-yb1-xb34.google.com (mail-yb1-xb34.google.com [IPv6:2607:f8b0:4864:20::b34]) (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 EE0FFF80137 for ; Wed, 20 Jan 2021 22:17:49 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz EE0FFF80137 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=nostatic-org.20150623.gappssmtp.com header.i=@nostatic-org.20150623.gappssmtp.com header.b="ZOvI72OM" Received: by mail-yb1-xb34.google.com with SMTP id x6so37618ybr.1 for ; Wed, 20 Jan 2021 13:17:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nostatic-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IBjwGH28dTZFZ+0OPl+TZ2IqlpdR5VzAH0qANZWWi+M=; b=ZOvI72OM8rNwZK4BEp0xE4a4saeuRVR1EoDXC2vtVNCyvy3MR3GZnWE49ZK7E+QaHx r8OKTG/P6iQGIBzxaNYzrYFECbeARnd2pD7JeDRHsetxQ6n3hURSwLAHUnCpr9QeRhxU mfW0RA+2woTY9bAddGl9vaVDxrvv5vzXbEd26dWDjhM3SupmqXepxP2zB6oWZQX+9zrv L9yaz3CyIJMzxSQU5hikK4ezWYHPBJpB8ZEEAK19FoWi67oBgaRPNGfBoRw8mnrhsLQO iezlYb4C72CEiyQ1Ho9HAZj8VP3HyPm7ztDjJLbu6zaNwBhgF5j8WmLOby49RLOLLNk2 2u9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IBjwGH28dTZFZ+0OPl+TZ2IqlpdR5VzAH0qANZWWi+M=; b=hlSyOvjVrR9upIS6i3mzD1IVbi0+KbfeCRfTUGZdfDegPrF7Z6s4Vvf776Z5IZaO5B JRWEy55gwTllpws2ey10VZmr3eQK30XHsOMkLu9wz+abZJbitQnzVFkZqbwy9Ay4yG8M /QXUvNwZfgPnwgKACRbonfmYIQuEYlQVDaN3GWzaIZgmvQx8Y322R0ZAgiufS27sNf6q oVI5GJNSoGqVoxhdOI7v9Erv50HaMMwRfodCLLaSxpNOeDagWFGsfVV9YkVOIASbagm7 7cFARXujG44Jg9gQWpbZmehygqdcS6ibkVKOJM5frMZzS276xQn75xlCbjlf/Q77wTAY edHw== X-Gm-Message-State: AOAM533l1NYXGCvjIyOfBrHRHS3Qp3A5Bqe+t/Dsb62xxk2Mmh1AmBVc LvOWIDzFHnJDqKrcVmOqMLzl/779jxYTpqmhAcoWMg== X-Google-Smtp-Source: ABdhPJxb7TKV9mTIdVB+asWdgjy6hAI9Xpzqegb77nfD5o7zbzgJwVXBAsYs88DFSqjvn9AxtSFuNcZByWCXHWfwJZs= X-Received: by 2002:a5b:5ce:: with SMTP id w14mr16736389ybp.314.1611177466739; Wed, 20 Jan 2021 13:17:46 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Mike Oliphant Date: Wed, 20 Jan 2021 13:17:35 -0800 Message-ID: Subject: Re: Support for NUX MG-300 USB interface To: Takashi Iwai Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 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" I spent a fair bit of time debugging the code setting/getting mixer control values, and I can't see anything that seems to be operating incorrectly. Unless you have any other suggestions, I'm going to admit defeat and return the audio interface. It is probably worth committing the clock selector patch - it at least made capture work, and it may help with other audio interfaces. Thanks for your help, Mike On Wed, Jan 20, 2021 at 6:33 AM Takashi Iwai wrote: > On Tue, 19 Jan 2021 18:40:04 +0100, > Mike Oliphant wrote: > > > > Your mixer.c patch does get rid of the RANGE errors. No change to > behavior, > > though. > > > > I'd already tried setting "implicit_fb=1" even though I didn't expect it > to > > work, since there is a separate feedback endpoint. I just tried it again > - it > > doesn't seem to hurt anything, but it doesn't help either. > > > > Capture seems to be working perfectly with the clock patch - I'm not > sure why > > I was initially getting noisy input. > > > > I checked "/proc/asound/card*/pcm*/sub*/status" during playback, and the > > pointer seems to be moving forward as it should. All indications are > that the > > system thinks playback is working fine. > > > > One interesting piece of information - alsamixer shows two stereo outputs > > ("pcm" and "pcm1"). Not sure why there are two - maybe output is going > to the > > wrong one? > > You might need to unmute and increase both. The first one should be a > master volume/switch while the second one is for the stereo channels. > > Naming the mixer elements properly for USB-audio is a really tough > task. Many firmware don't set the right strings and a guess work > doesn't fit to all. But certainly there are some rooms for > improvements there. > > > Takashi >