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=-7.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 0FB9AC33CB1 for ; Wed, 15 Jan 2020 10:06:12 +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 86D2E214AF for ; Wed, 15 Jan 2020 10:06:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="c9c+jrQf"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=perex.cz header.i=@perex.cz header.b="WHAc6d0r" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 86D2E214AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=perex.cz 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 C33DC17A8; Wed, 15 Jan 2020 11:05:19 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz C33DC17A8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1579082769; bh=ieYLvG4DFryd7RJaxOgFaKfKvRGcc00gfdFSC4loHcM=; h=To:References:From:Date:In-Reply-To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=c9c+jrQf+121DVgRJ4Gaqc0J2OgnlM68RAx7VHlQH03DqzCAo+TeirLlJ1sEv6VKb +STeRkWiRwt93n/2inRP3fA+qqgt7LJtR0Tg9rR3P7ljDp3pv09aOgHi3hlliXR9XG zWuqJbrF4mnSzwJRInCNmZl9bx0kZQxL+ivNZLMk= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 3F2C4F800B9; Wed, 15 Jan 2020 11:05:19 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 88B5CF801EB; Wed, 15 Jan 2020 11:05:17 +0100 (CET) Received: from mail1.perex.cz (mail1.perex.cz [77.48.224.245]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id EF935F800B9 for ; Wed, 15 Jan 2020 11:05:14 +0100 (CET) Received: from mail1.perex.cz (localhost [127.0.0.1]) by smtp1.perex.cz (Perex's E-mail Delivery System) with ESMTP id EFC3AA0046; Wed, 15 Jan 2020 11:05:13 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.perex.cz EFC3AA0046 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=perex.cz; s=default; t=1579082714; bh=o1Wc7ln0eiARg+fputiNfgbMzsDasJLfcyC+91TolAo=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=WHAc6d0ryqwajKynL7ufiv1az5Txq6N8ECHFfzIek4ATLk0DgHYonbUMmvSf2q/IU i++NsnFa+al80N/GnNtErMTn46rK5Qor+YlwrtoX4AWJhvpxDLGy2g5eLgIfE6Ep/3 QvQ0EemFeYkcvfTHk3wW7feK5Nj7s5fTR2tCbv9M= Received: from p50.perex-int.cz (unknown [192.168.100.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: perex) by mail1.perex.cz (Perex's E-mail Delivery System) with ESMTPSA; Wed, 15 Jan 2020 11:05:11 +0100 (CET) To: Tim Schumacher References: <20200114173848.GA28085@impa> From: Jaroslav Kysela Message-ID: Date: Wed, 15 Jan 2020 11:05:11 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <20200114173848.GA28085@impa> Content-Language: en-US Cc: alsa-devel@alsa-project.org Subject: Re: [alsa-devel] Bug report for changes in ucm2 with chtrt5645 card on Lenovo Miix 320 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" Dne 14. 01. 20 v 18:38 Tim Schumacher napsal(a): > Hi, > > sending the mail CC to the mailing list again because I messed this up > last time. This is the output from 'alsaucm -c hw:0 set _verb HiFi'. > > ALSA lib utils.c:261:(uc_mgr_config_load) could not open configuration file /usr/share/alsa/ucm2/LENOVO-80XF-LenovoMIIX320_10ICR-LNVNB161216/HiFi-dmic2.conf > ALSA lib parser.c:1190:(parse_verb_file) error: failed to open verb file /usr/share/alsa/ucm2/LENOVO-80XF-LenovoMIIX320_10ICR-LNVNB161216/HiFi-dmic2.conf : -2 > ALSA lib main.c:960:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2 > alsaucm: error failed to open sound card hw:0: No such file or directory Thanks. This commit for alsa-lib should fix this issue: https://github.com/alsa-project/alsa-lib/commit/b34715004f4a1aabb85c5b9f03ba9f200638ee97 Jaroslav > > - Tim > > On 2020-01-13, Jaroslav Kysela wrote: >> Dne 13. 01. 20 v 15:27 Tim Schumacher napsal(a): >>> The patch doesn't help unfortunately. Deleting >>> LENOVO-80XF-LenovoMIIX320_10ICR-LNVNB161216.conf still works with the >>> patch installed. Can I help debug this somehow? >> >> If you have latest alsa-utils, the command 'alsaucm dump text' should work, >> otherwise try 'alsaucm set _verb HiFi'. >> >> Jaroslav >> >>> >>> - Tim >>> >>> On 2020-01-13, Jaroslav Kysela wrote: >>>> Dne 09. 01. 20 v 23:10 Tim Schumacher napsal(a): >>>>> Hi alsa devs, >>>>> >>>>> I'm on Arch Linux on a rather uncommon laptop (Lenovo Miix 320) and my sound >>>>> stopped working on the upgrade from alsa-lib 1.1.9 to 1.2.1. wabbits on >>>>> IRC helped me track down the problem to a change in the >>>>> /usr/share/alsa/ucm (now /usr/share/alsa/ucm2) files. It seems like >>>>> /usr/share/alsa/ucm2/chtrt5645/HiFi-dmic2.conf and a symlink at >>>>> /usr/share/alsa/ucm2/chtrt5645/LENOVO-80XF-LenovoMIIX320_10ICR-LNVNB161216.conf >>>>> were specifically added for this laptop but in the contrary they break the >>>>> sound for me. >>>>> >>>>> After the upgrade to alsa-lib 1.2.1 the sound is not working. The commands play no sound: >>>>> >>>>> pasuspender -- speaker-test --nloops=1 --channels=2 --test=wav --device=hw:0,0 >>>>> pasuspender -- speaker-test --nloops=1 --channels=2 --test=wav --device=hw:0,1 >>>>> >>>>> And this is the alsa-info.sh output http://alsa-project.org/db/?f=f883910a5c5101b4b1ea4202d1fe84ccd139f796 >>>>> >>>>> After deleting the /usr/share/alsa/ucm2/chtrt5645/LENOVO-80XF-LenovoMIIX320_10ICR-LNVNB161216.conf >>>>> symlink both commands from above play sound and this is the alsa-info.sh >>>>> output http://alsa-project.org/db/?f=e759eb9118a191b6c3b8c021fed58abc9cf95076 >>>> >>>> Thanks. I forgot to fix the file path in chtrt5645/chtrt5645-dmic2.conf . >>>> Could you test this patch? >>>> >>>> https://github.com/alsa-project/alsa-ucm-conf/commit/74f2a0f0884df7b9f2d08d07456a3bc37d1a512e >>>> >>>> Jaroslav >>>> >>>> -- >>>> Jaroslav Kysela >>>> Linux Sound Maintainer; ALSA Project; Red Hat, Inc. >>>> >> >> >> -- >> Jaroslav Kysela >> Linux Sound Maintainer; ALSA Project; Red Hat, Inc. >> -- Jaroslav Kysela Linux Sound Maintainer; ALSA Project; Red Hat, Inc. _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel