You are not logged in.

#1 2013-04-14 22:07:18

OakRaider4Life
Member
Registered: 2012-02-08
Posts: 98

Pulse Audio no longer detecting sound card; ALSA still detects

After a recent update, pulseaudio has stopped detecting my sound card. ALSA still detects my soundcard, and I was able to find the following in the verbose output of starting pulseaudio.

D: [pulseaudio] reserve-wrap.c: Successfully acquired reservation lock on device 'Audio0'
I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/HDA Intel/HDA Intel.conf
I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card HDA Intel
I: [pulseaudio] (alsa-lib)main.c: error: failed to import HDA Intel use case configuration -2
I: [pulseaudio] alsa-ucm.c: UCM not available for card HDA Intel

When I check out the ALSA directory mentioned, it turns out to indeed be the case that the entire ucm directory does not exist

[root@ArchSpiron james-arch]# ls -lah /usr/share/alsa/    
total 52K
drwxr-xr-x   2 root 4.0K Apr 14 14:56 pcm
drwxr-xr-x   7 root 4.0K Apr 14 14:56 .
-rw-r--r--   1 root 9.0K Apr 14 14:12 alsa.conf
drwxr-xr-x   2 root 4.0K Apr 14 14:12 alsa.conf.d
drwxr-xr-x 208 root 4.0K Apr 13 15:37 ..
drwxr-xr-x   2 root 4.0K Apr 11 07:20 init
drwxr-xr-x   2 root 4.0K Apr 11 07:20 speaker-test
drwxr-xr-x   3 root 4.0K Jan 23 21:21 cards
-rw-r--r--   1 root  523 Dec 29 21:33 bluetooth.conf
-rw-r--r--   1 root  155 Dec 18 22:34 smixer.conf
-rw-r--r--   1 root 3.2K Dec 18 22:34 sndo-mixer.alisp

Instead the configuration file it's looking for exists under the cards/ directory

[root@ArchSpiron james-arch]# ls -lah /usr/share/alsa/cards/       
total 264K
drwxr-xr-x 3 root 4.0K Apr 14 14:59 .
drwxr-xr-x 7 root 4.0K Apr 14 14:56 ..
-rw-r--r-- 1 root 4.6K Apr 13 16:20 HDA-Intel.conf
-rw-r--r-- 1 root 1.4K Apr 13 16:20 aliases.conf
-rw-r--r-- 1 root 7.0K Apr 12 08:10 USB-Audio.conf
drwxr-xr-x 2 root 4.0K Jan 23 21:21 SI7018
-rw-r--r-- 1 root  669 Dec 18 22:34 AACI.conf
-rw-r--r-- 1 root  302 Dec 18 22:34 ATIIXP-MODEM.conf
-rw-r--r-- 1 root 2.2K Dec 18 22:34 ATIIXP-SPDMA.conf
-rw-r--r-- 1 root 2.4K Dec 18 22:34 ATIIXP.conf
-rw-r--r-- 1 root  437 Dec 18 22:34 AU8810.conf
-rw-r--r-- 1 root  159 Dec 18 22:34 AU8820.conf
-rw-r--r-- 1 root  520 Dec 18 22:34 AU8830.conf
-rw-r--r-- 1 root 5.7K Dec 18 22:34 Audigy.conf
-rw-r--r-- 1 root 7.5K Dec 18 22:34 Audigy2.conf
-rw-r--r-- 1 root 2.3K Dec 18 22:34 Aureon51.conf
-rw-r--r-- 1 root 2.5K Dec 18 22:34 Aureon71.conf
-rw-r--r-- 1 root 3.8K Dec 18 22:34 CA0106.conf
-rw-r--r-- 1 root 1.8K Dec 18 22:34 CMI8338-SWIEC.conf
-rw-r--r-- 1 root 1.9K Dec 18 22:34 CMI8338.conf
-rw-r--r-- 1 root 2.1K Dec 18 22:34 CMI8738-MC6.conf
-rw-r--r-- 1 root 2.9K Dec 18 22:34 CMI8738-MC8.conf
-rw-r--r-- 1 root 1.6K Dec 18 22:34 CMI8788.conf
-rw-r--r-- 1 root 2.9K Dec 18 22:34 CS46xx.conf
-rw-r--r-- 1 root 5.5K Dec 18 22:34 EMU10K1.conf
-rw-r--r-- 1 root 2.7K Dec 18 22:34 EMU10K1X.conf
-rw-r--r-- 1 root 1.4K Dec 18 22:34 ENS1370.conf
-rw-r--r-- 1 root 1.8K Dec 18 22:34 ENS1371.conf
-rw-r--r-- 1 root  152 Dec 18 22:34 ES1968.conf
-rw-r--r-- 1 root 4.3K Dec 18 22:34 Echo_Echo3G.conf
-rw-r--r-- 1 root 1.2K Dec 18 22:34 FM801.conf
-rw-r--r-- 1 root  333 Dec 18 22:34 FWSpeakers.conf
-rw-r--r-- 1 root  672 Dec 18 22:34 FireWave.conf
-rw-r--r-- 1 root  217 Dec 18 22:34 GUS.conf
-rw-r--r-- 1 root 2.1K Dec 18 22:34 ICE1712.conf
-rw-r--r-- 1 root 2.8K Dec 18 22:34 ICE1724.conf
-rw-r--r-- 1 root  192 Dec 18 22:34 ICH-MODEM.conf
-rw-r--r-- 1 root 3.0K Dec 18 22:34 ICH.conf
-rw-r--r-- 1 root 2.8K Dec 18 22:34 ICH4.conf
-rw-r--r-- 1 root  558 Dec 18 22:34 Maestro3.conf
-rw-r--r-- 1 root 4.7K Dec 18 22:34 NFORCE.conf
-rw-r--r-- 1 root  657 Dec 18 22:34 PC-Speaker.conf
-rw-r--r-- 1 root  486 Dec 18 22:34 PMac.conf
-rw-r--r-- 1 root  705 Dec 18 22:34 PMacToonie.conf
-rw-r--r-- 1 root 1.2K Dec 18 22:34 PS3.conf
-rw-r--r-- 1 root  780 Dec 18 22:34 RME9636.conf
-rw-r--r-- 1 root  780 Dec 18 22:34 RME9652.conf
-rw-r--r-- 1 root 1.5K Dec 18 22:34 SB-XFi.conf
-rw-r--r-- 1 root 2.2K Dec 18 22:34 SI7018.conf
-rw-r--r-- 1 root 1.7K Dec 18 22:34 TRID4DWAVENX.conf
-rw-r--r-- 1 root 1.2K Dec 18 22:34 VIA686A.conf
-rw-r--r-- 1 root 2.7K Dec 18 22:34 VIA8233.conf
-rw-r--r-- 1 root 2.8K Dec 18 22:34 VIA8233A.conf
-rw-r--r-- 1 root 2.5K Dec 18 22:34 VIA8237.conf
-rw-r--r-- 1 root  830 Dec 18 22:34 VX222.conf
-rw-r--r-- 1 root  839 Dec 18 22:34 VXPocket.conf
-rw-r--r-- 1 root 1.5K Dec 18 22:34 VXPocket440.conf
-rw-r--r-- 1 root 1.4K Dec 18 22:34 YMF744.conf
-rw-r--r-- 1 root  687 Dec 18 22:34 aliases.alisp

I'm not at all familiar with pulseaudio configuration. Does anyone know of a good way for me to resolve this issue? Have I even identified the correct issue?

UPDATE:

I was able to work around my problem for the moment by symlinking the configuration file to the location that pulseaudio was actually looking for it

# mkdir -p /usr/share/alsa/ucm/HDA\ Intel
# ln -s /usr/share/alsa/cards/HDA-Intel.conf /usr/share/alsa/ucm/HDA\ Intel/HDA\ Intel.conf

Although this does get my sound back, it is a hacky work-around and obviously not ideal. Anyone who knows a bit about pulse configuration, I welcome your input here smile

Last edited by OakRaider4Life (2013-04-14 22:14:34)

Offline

#2 2013-04-24 11:59:29

numkem
Member
Registered: 2013-04-24
Posts: 2

Re: Pulse Audio no longer detecting sound card; ALSA still detects

Thank you so much for posting your solution!

I was having the same problem. The funny part was it started happening (and not always) after KDE says that the Intel HDA device is "gone" and asking me to remove it from my configuration. Even by saying no it wouldn't work. Killing pulseaudio with

pulseaudio -k 

would have everything fallback to Alsa but starting pulseaudio again wouldn't work.

Rebooting right away doesn't take care of the issue either but after a while the problem would go away...

Any inputs would be appreaciated!

Offline

#3 2013-04-30 03:16:57

ub1quit33
Member
Registered: 2013-04-30
Posts: 58

Re: Pulse Audio no longer detecting sound card; ALSA still detects

Wait so is your sound now working or not working?

Offline

Board footer

Powered by FluxBB