Bug 2031566 - No audio output and missing input audio device after upgrade to alsa 1.2.6.1-2
Summary: No audio output and missing input audio device after upgrade to alsa 1.2.6.1-2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: alsa-lib
Version: 35
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Kysela
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-12 23:05 UTC by noudanieltw
Modified: 2021-12-19 01:11 UTC (History)
3 users (show)

Fixed In Version: alsa-lib-1.2.6.1-3.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-19 01:11:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
requested by perex (42.50 KB, text/plain)
2021-12-12 23:05 UTC, noudanieltw
no flags Details
alsaucm -c hw:0 dump text when sound is working (1.2.5.1 installed) (2.00 KB, text/plain)
2021-12-13 09:19 UTC, noudanieltw
no flags Details

Description noudanieltw 2021-12-12 23:05:28 UTC
Created attachment 1845983 [details]
requested by perex

Description of problem:
After upgrading to alsa-lib-1.2.6.1-2, alsa-ucm-1.2.6.1-2, alsa-utils-1.2.6.1-1, the output audio device of my laptop (built in speakers) do not produce sound. 

Furthermore, the input device (built in microphone) that was previously there disappears entirely.

Version-Release number of selected component (if applicable):
alsa-lib-1.2.6.1-2.fc35
alsa-ucm-1.2.6.1-2.fc35
alsa-utils-1.2.6.1-1.fc35

How reproducible:
Always reproducible

Steps to Reproduce:
1. Upgrade alsa packages
2. Reboot computer
3. Audio issues manifests

Actual results:
Audio output device does not produce sound, audio input device goes missing

Expected results:
Audio output and input device are present, sound is produced from speakers, microphone detects sound

Additional info:
Device is Intel NUC M15 LAPBC710 laptop

alsaucm -c hw:0 dump text
resulted in:

ALSA lib utils.c:364:(uc_mgr_config_load_into) could not open configuration file /usr/share/alsa/ucm2/conf.d/sof-soundwire/HiFi.conf
ALSA lib parser.c:77:(uc_mgr_config_load_file) error: failed to open file /usr/share/alsa/ucm2/conf.d/sof-soundwire/HiFi.conf: -2
ALSA lib main.c:1412:(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

Comment 1 noudanieltw 2021-12-13 09:19:44 UTC
Created attachment 1846022 [details]
alsaucm -c hw:0 dump text when sound is working (1.2.5.1 installed)

Comment 2 Jaroslav Kysela 2021-12-13 09:33:24 UTC
Could you test this change (in /usr/share/alsa/ucm2 tree?):

  diff --git a/ucm2/sof-soundwire/sof-soundwire.conf b/ucm2/sof-soundwire/sof-soundwire.conf
  index 1040c93..2442854 100644
  --- a/ucm2/sof-soundwire/sof-soundwire.conf
  +++ b/ucm2/sof-soundwire/sof-soundwire.conf
  @@ -1,7 +1,7 @@
   Syntax 4
 
   SectionUseCase."HiFi" {
  -       File "HiFi.conf"
  +       File "/sof-soundwire/HiFi.conf"
          Comment "Play HiFi quality Music"
   }

Comment 3 noudanieltw 2021-12-13 12:25:20 UTC
Great! Changing that line seems to have fixed the issue. I have working audio output and input now.

Comment 4 Richard Schwarting 2021-12-17 11:23:43 UTC
Confirming that that also fixes the same apparent problem on a HP Spectre x360 Convertible 13-aw2xxx with a Tiger Lake-LP Smart Sound Technology Audio Controller using sof-soundwire running Fedora 35.

I see that you (Jaroslav) have already committed this change to the alsa-ucm-conf git repository.  Is there anything I can do to help get it packaged and available for other Fedora/Redhat users?  I have a little experience building RPMs with patches (for personal use) but am happy to learn the proper community process. :)

Thanks!

Comment 5 Jaroslav Kysela 2021-12-17 12:29:37 UTC
I'll release the update soon.

Comment 6 Fedora Update System 2021-12-17 18:40:58 UTC
FEDORA-2021-0483662db4 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-0483662db4

Comment 7 Fedora Update System 2021-12-18 02:21:22 UTC
FEDORA-2021-0483662db4 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-0483662db4`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-0483662db4

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-12-19 01:11:00 UTC
FEDORA-2021-0483662db4 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.