[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: alsaplayer does not work as normal user



Jose Roberto B. de A. Monteiro wrote:
steef wrote:
Jose Roberto B. de A. Monteiro wrote:
Hello list,

I was with my sound (alsa) work perfectly on my laptop, but for an
unremembered reason I ran alsoconf as root. It causes the strange
behavior of alsplayer, aplay, etc., to stop working for normal users.
They only run for root. I checked groups and permissions, and it seems
ok. All users are in group audio, as well as related devices and proc
files. I do not want to install all the system again, so I wonder if
anyone has any idea of what is happening... If I run aplay, for example,
I get the following error message:

~ $ aplay wavs/scieh.wav
ALSA lib confmisc.c:769:(parse_card) cannot find card ''
ALSA lib conf.c:3510:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_concat
returned error: No such device
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:3510:(_snd_config_evaluate) function snd_func_refer
returned error: No such device
ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such device
ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM default
aplay: main:545: audio open error: No such device

The wierd thing is that as root, I get no error and the sound is played
perfectly.

Also, sound in skype was ok, but now, it does not work too.

My lspci | grep -i audio:

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
Definition Audio Controller (rev 02)

# lsmod | grep snd
snd_hda_intel         239160  1
snd_pcm_oss            39200  0
snd_mixer_oss          15424  1 snd_pcm_oss
snd_pcm                72324  2 snd_hda_intel,snd_pcm_oss
snd_timer              21028  1 snd_pcm
snd                    48324  8
snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore               7520  1 snd
snd_page_alloc          9512  2 snd_hda_intel,snd_pcm

Any idea?


did you register yourself as audio_user in /etc/group?

steef


I am in audio group, following /etc/group:

audio:x:29:jordeam

Is that ok? Or the correct group is audio_user? I believe the line
knit  <......>

yes

steef



Reply to: