Skip to contentSkip to conversation

Bug report for changes in ucm2 with chtrt5645 card on Lenovo Miix 320

alsa-devel Tim Schumacher 2 participants 8 messages Jan 13, 2020 – Jan 15, 2020 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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.

- Tim
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw

Dne 09. 01. 20 v 23:10 Tim Schumacher napsal(a):

Quoted 13 lines

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:

Quoted 8 lines
     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

Signature · 6 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#2 lore raw

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?

- Tim

Quoted 23 lines · Jaroslav Kysela

Dne 09. 01. 20 v 23:10 Tim Schumacher napsal(a):

Quoted 13 lines

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:

Quoted 8 lines
     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

Quoted 11 lines

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

Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#3 lore raw

Dne 13. 01. 20 v 15:27 Tim Schumacher napsal(a):

Quoted 3 lines

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

Quoted 38 lines

- Tim

Quoted 34 lines · Jaroslav Kysela

Dne 09. 01. 20 v 23:10 Tim Schumacher napsal(a):

Quoted 13 lines

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:

Quoted 8 lines
      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

Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Signature · 6 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

A message that is not in the archive (sent off-list or not yet received): 20200113145904.GA30843@impa

#5 lore raw

Dne 13. 01. 20 v 15:59 Tim Schumacher napsal(a):

Quoted 8 lines

'alsaucm set _verb HiFi' gives

ALSA lib utils.c:261:(uc_mgr_config_load) could not open configuration file /usr/share/alsa/ucm2/HDA Intel PCH/HDA Intel PCH.conf
alsaucm: unable to obtain card list: No such file or directory

but that seems unrelated to the problem because it's the same output whether I delete LENOVO-80XF-LenovoMIIX320_10ICR-LNVNB161216.conf and the sound works or I try your patch.

Ok, try 'alsaucm -c hw:0 set _verb HiFi'.

Jaroslav

Quoted 58 lines

- Tim

Quoted 54 lines · Jaroslav Kysela

Dne 13. 01. 20 v 15:27 Tim Schumacher napsal(a):

Quoted 3 lines

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

Quoted 38 lines

- Tim

Quoted 34 lines · Jaroslav Kysela

Dne 09. 01. 20 v 23:10 Tim Schumacher napsal(a):

Quoted 13 lines

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:

Quoted 8 lines
       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

Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Signature · 6 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#6 lore raw
In reply to Jaroslav Kysela

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

- Tim

Quoted 40 lines · Jaroslav Kysela

Dne 13. 01. 20 v 15:27 Tim Schumacher napsal(a):

Quoted 3 lines

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

Quoted 30 lines

- Tim

Quoted 26 lines · Jaroslav Kysela

Dne 09. 01. 20 v 23:10 Tim Schumacher napsal(a):

Quoted 13 lines

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:

Quoted 8 lines
      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?

Quoted 14 lines
Quoted 8 lines
Quoted 8 lines

https://github.com/alsa-project/alsa-ucm-conf/commit/74f2a0f0884df7b9f2d08d07456a3bc37d1a512e

Jaroslav

Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#7 lore raw

Dne 14. 01. 20 v 18:38 Tim Schumacher napsal(a):

Quoted 9 lines

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

Quoted 58 lines

- Tim

Quoted 54 lines · Jaroslav Kysela

Dne 13. 01. 20 v 15:27 Tim Schumacher napsal(a):

Quoted 3 lines

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

Quoted 38 lines

- Tim

Quoted 34 lines · Jaroslav Kysela

Dne 09. 01. 20 v 23:10 Tim Schumacher napsal(a):

Quoted 13 lines

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:

Quoted 8 lines
       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

Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Signature · 6 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
#8 lore raw

Thanks for the fix. I don't want to compile ALSA myself so I can't test it unfortunately. I will see if it works after the next ALSA release and report back here in case it shouldn't work.

- Tim

Quoted 70 lines · Jaroslav Kysela

Dne 14. 01. 20 v 18:38 Tim Schumacher napsal(a):

Quoted 9 lines

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

Quoted 54 lines

- Tim

Quoted 50 lines · Jaroslav Kysela

Dne 13. 01. 20 v 15:27 Tim Schumacher napsal(a):

Quoted 3 lines

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

Quoted 38 lines

- Tim

Quoted 34 lines · Jaroslav Kysela

Dne 09. 01. 20 v 23:10 Tim Schumacher napsal(a):

Quoted 13 lines

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:

Quoted 8 lines
       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

Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Quoted 10 lines
Quoted 4 lines
Quoted 4 lines
Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Signature · 2 lines
Jaroslav Kysela <[email protected]>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.

_______________________________________________
Alsa-devel mailing list
[email protected]
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel