alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Jaroslav Kysela <perex@perex.cz>
To: Tim Schumacher <tim@timakro.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: [alsa-devel] Bug report for changes in ucm2 with chtrt5645 card on Lenovo Miix 320
Date: Wed, 15 Jan 2020 11:05:11 +0100	[thread overview]
Message-ID: <f9eed39a-a433-e46c-d878-6191f547bd06@perex.cz> (raw)
In-Reply-To: <20200114173848.GA28085@impa>

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 <perex@perex.cz>
>>>> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
>>>>
>>
>>
>> -- 
>> Jaroslav Kysela <perex@perex.cz>
>> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
>>


-- 
Jaroslav Kysela <perex@perex.cz>
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

  reply	other threads:[~2020-01-15 10:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-09 22:10 [alsa-devel] Bug report for changes in ucm2 with chtrt5645 card on Lenovo Miix 320 Tim Schumacher
2020-01-13 12:39 ` Jaroslav Kysela
2020-01-13 14:27   ` Tim Schumacher
2020-01-13 14:34     ` Jaroslav Kysela
     [not found]       ` <20200113145904.GA30843@impa>
2020-01-13 15:22         ` Jaroslav Kysela
2020-01-14 17:38       ` Tim Schumacher
2020-01-15 10:05         ` Jaroslav Kysela [this message]
2020-01-15 10:41           ` Tim Schumacher
2020-01-10 10:25 Tim Schumacher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f9eed39a-a433-e46c-d878-6191f547bd06@perex.cz \
    --to=perex@perex.cz \
    --cc=alsa-devel@alsa-project.org \
    --cc=tim@timakro.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).