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 D39FBC433E0 for ; Thu, 21 Jan 2021 19:05:20 +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 BE3C223A60 for ; Thu, 21 Jan 2021 19:05:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE3C223A60 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 430341913; Thu, 21 Jan 2021 20:04:28 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 430341913 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1611255918; bh=dM1pb+hMbhwKUZYUYqCjtWKXmtN9QxxVtoGu6P5MJv4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=OYXNaTrDAcil+F66hTsdc+dFVTOZS0XQztweHWzMWjlyI3uXELnusZWH+FsuhDEhR HypeVoA2UTXD3qfP1puNHsDni2TZs8KaRni8MakqiXtWv3XkEQvXUcEZn5l+5H/w/H BxC7ViJQowXAtJzNCisAFtGMSnGOjnDoGBPcWQmA= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C0EC4F80255; Thu, 21 Jan 2021 20:04:27 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id E107AF80257; Thu, 21 Jan 2021 20:04:26 +0100 (CET) Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (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 395A4F80164 for ; Thu, 21 Jan 2021 20:04:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 395A4F80164 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="p+QJx1MU" Received: by mail-yb1-xb2d.google.com with SMTP id y4so3098580ybn.3 for ; Thu, 21 Jan 2021 11:04:19 -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=VzMbmvBVtAxJ7cAWgSDzIW95eBIABf1FC/pR6q198XE=; b=p+QJx1MUTo12CD1SjAI2u4qnxzRu6mgeJKPqOCzan8AoZyCN5TfncKLEYP0LE1Gq9m mTv9NyrwlYgJMP5W8Bg2WRhEl92yCr+Gtme5a1yrQnield20jRes6CZ/nagS2oNQcKUf TBqX/AxJ2SBC2eER1Zjbtjdw40TnhNlkWwfSJraYgd79pJLqzqmu50jscdY74tI52HBL 3eYMtyNO7GQfrt2iQrdTdi9G3BTjk7Nn3EM/sM8Maqa5BWDJ/GETXryE83FWU+w59yda fpfQF8hYa7/g1Gft8Pyjqk4dJSQvTUzirC6W9HClvECsqcfAImi+oF0hVBtD81Q6zxyV wZnw== 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=VzMbmvBVtAxJ7cAWgSDzIW95eBIABf1FC/pR6q198XE=; b=oXK2lFuGd7RrKccraqJjKuBcoR+/k5iz0bq/7bdKTX5ZxmCFVKk3c1kz2WQh1TPYHj H/YMrZFHTGiTLQ0Yim8OWNqeH1+uJq27Xk7QxonbTSzuQ6KuZ4UDslcSVQEYEyZqxMLh QZ4LLZc2UNVVJPUuyG8HdiR3OfCZ5DJNTJgntFBza6WL9t7rJpZf2lEGFIKshNTuKZUa LuZz21nELVEoSaTDIynZHWU88s8D8hr+Ars0FCCz1doEdEh/Slo6Er0WlxyRxapfvFOQ apJg8qHFlIlWagJ1O0sSK9lTOLeAYpqsZfXa2VmHgqsdh1A1PychIme9mBaOVDz/zNY/ N72w== X-Gm-Message-State: AOAM532mpTSpm++Hx8JEj9w02t1kkuTodEMIQ3JzKts5wXmcGsgfbKGG Qvy9xtfN4jQGGkiZxwZP6EbCKAJxDYAZBdlaUfeju+1JHNzQ2g== X-Google-Smtp-Source: ABdhPJyEo2KfsbxKNTYuRv/70ALQ46BLGxQihHVE7reKunTPWGAn7XJVAHuTCL0SkM7NXPR6295rXU3djQ0g+emau98= X-Received: by 2002:a25:1002:: with SMTP id 2mr1133055ybq.410.1611255858086; Thu, 21 Jan 2021 11:04:18 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Mike Oliphant Date: Thu, 21 Jan 2021 11:04:07 -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" As a last ditch effort before returning the device, I tried the clock patch on a Raspberry Pi 4 running an older kernel, and... it works. The kernel version is "Linux raspberrypi 4.19.89-v7l+" and is from late February 2020. Maybe a change between then and now broke something? I know there have been a *lot* of changes since then, though... Mike On Wed, Jan 20, 2021 at 1:47 PM Mike Oliphant wrote: > Yeah, I tried every possible permutation of mute/volumes on the mixer > controls. > > Thanks for submitting the patches. Maybe someone else will have better > luck down the road. > > Mike > > On Wed, Jan 20, 2021 at 1:38 PM Takashi Iwai wrote: > >> On Wed, 20 Jan 2021 22:17:35 +0100, >> Mike Oliphant wrote: >> > >> > 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. >> >> So, even if you unmute and raise both mixers, it didn't help, right? >> I took a look at the lsusb output, but I couldn't find anything else >> suspicious. >> >> > 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. >> >> OK, I'll submit two fix patches. >> >> >> thanks, >> >> Takashi >> >