[Mageia-dev] No sound after reboot.

Colin Guthrie mageia at colin.guthr.ie
Thu Dec 15 10:41:55 CET 2011


'Twas brillig, and Charles A Edwards at 15/12/11 02:02 did gyre and gimble:
> On Wed, 14 Dec 2011 10:27:55 +0000
> Colin Guthrie <mageia at colin.guthr.ie> wrote:
> 
>>> Sound card is c-media and is properly detected in both harddrake and
>>> alsaconf and uses the snd_cmipci driver and is set to use
>>> pulseaudio.
>>>
>>> Driver and modules are loaded
>>>
>>> [root at SuperSize ~]# lspcidrake -v |grep AUDIO
>>> snd_cmipci      : C-Media Electronics Inc|CM8738 [MULTIMEDIA_AUDIO]
>>> (vendor:13f6 device:0111 subv:584d subd:3731) (rev: 10)
>>> [root at SuperSize ~]# lsmod |grep snd 
>>> snd_cmipci             40460  0 
>>> gameport               14963  1 snd_cmipci
>>> snd_pcm                84041  1 snd_cmipci
>>> snd_page_alloc         18101  1 snd_pcm
>>> snd_opl3_lib           18620  1 snd_cmipci
>>> snd_timer              28855  2 snd_pcm,snd_opl3_lib
>>> snd_hwdep              13515  1 snd_opl3_lib
>>> snd_mpu401_uart        13992  1 snd_cmipci
>>> snd_rawmidi            29657  1 snd_mpu401_uart
>>> snd_seq_device         14136  2 snd_opl3_lib,snd_rawmidi
>>> snd                    70007  8
>>> snd_cmipci,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_rawmidi,snd_seq_device
>>> soundcore              14491  1 snd
>>>
>>> But the card is not detected by pulseaudio
>>> Running PulseAudio Volumne Control:
>>> Shows only for Dummy Output
>>> Configuration:
>>> Shows: No cards available for configuration  
>>
>> Generally this relates to a permissions issue (although it can also
>> indicate a problem with dbus)
>> getfacl
>> 1. cat /proc/asound/cards
>> 2. getfacl /dev/snd/pcm*
>> 3. sudo fuser -v /dev/snd/pcm*
> 
> [charles at SuperSize ~]$ cat /proc/asound/cards
>  0 [CMI8768        ]: CMI8738-MC8 - C-Media CMI8768
>                       C-Media CMI8768 at 0x9c00, irq 18
> 
> [charles at SuperSize ~]$ getfacl /dev/snd/pcm*
> : Removing leading '/' from absolute path names
> # file: dev/snd/pcmC0D0c
> # owner: root
> # group: audio
> user::rw-
> group::rw-
> other::---
> 
> # file: dev/snd/pcmC0D0p
> # owner: root
> # group: audio
> user::rw-
> group::rw-
> other::---
> 
> # file: dev/snd/pcmC0D1p
> # owner: root
> # group: audio
> user::rw-
> group::rw-
> other::---
> 
> # file: dev/snd/pcmC0D2c
> # owner: root
> # group: audio
> user::rw-
> group::rw-
> other::---
> 
> # file: dev/snd/pcmC0D2p
> # owner: root
> # group: audio
> user::rw-
> group::rw-
> other::---
> 
> I do not use sudo so there is no output for the 3rd query but from #2
> it would appear that it is indeed a permission issue as user charles
> is not listed as having access.
> 
> I've worked around the issue (a band-aid only) by adding user charles to
> the audio group and again have working sound.

Yeah this is a solution but it only fixes audio and this problem affects
way more than just audio... it's just that audio tends to be the first
thing people notice :)

So some follow-up questions for you:
 1) Is this a clean install?
 2) Did you upgrade from mga1?
 3) Are you using systemd?
 4) What is the output from "systemd-loginctl"
 5) Do you have a /etc/pam.d/system-auth.rpmnew?
 6) Have you properly fixed up system-auth.rpmnew to include the missing
stuff?

Cheers

Col



-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list