[alsa-devel] different user causes 'no such device'

william estrada MrUmunhum at popdial.com
Wed Oct 3 21:55:27 CEST 2007

Hi guys,

   I have what seams like a interesting problem.  I have written an ALSA app
to record wav files and it runs while I am logged in an terminal as the
logged in Gnome user or root.  But when I su to another user, it can't
find the default sound card.

   I am running FC6.  I tried changing own of /dev/dsp to 'nobody', that did
not work.

   Anyone know of this problem and a fix for it.

   Thanks for your time.

William Estrada
MrUmunhum at popdial.com
Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net )
Ymessenger: MrUmunhum

> MSGrec - Version 1.1, Mt-Umunhum-Wireless.net
> WavMSG: Paused: enter 'q' to stop, <ENTER> to start.
> ALSA lib confmisc.c:848:(snd_func_card_driver) cannot find card '0'
> ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_card_driver returned error: No such device
> ALSA lib confmisc.c:397:(snd_func_concat) error evaluating strings
> ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_concat returned error: No such device
> ALSA lib confmisc.c:1248:(snd_func_refer) error evaluating name
> ALSA lib conf.c:3500:(_snd_config_evaluate) function snd_func_refer returned error: No such device
> ALSA lib conf.c:3972:(snd_config_expand) Evaluate error: No such device
> ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM default

More information about the Alsa-devel mailing list