* different user causes 'no such device'
@ 2007-10-03 19:55 william estrada
[not found] ` <s5h3awkve8l.wl%tiwai@suse.de>
0 siblings, 1 reply; 4+ messages in thread
From: william estrada @ 2007-10-03 19:55 UTC (permalink / raw)
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@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
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <s5h3awkve8l.wl%tiwai@suse.de>]
* Re: different user causes 'no such device' [not found] ` <s5h3awkve8l.wl%tiwai@suse.de> @ 2007-10-09 16:20 ` william estrada 2007-10-09 16:27 ` william estrada 1 sibling, 0 replies; 4+ messages in thread From: william estrada @ 2007-10-09 16:20 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel@alsa-project.org Thanks, I will try this. William Estrada MrUmunhum@popdial.com Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net ) Ymessenger: MrUmunhum Takashi Iwai wrote: > At Wed, 03 Oct 2007 12:55:27 -0700, > william estrada wrote: >> 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@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 > > ALSA-native apps access only ALSA device files, usually /dev/snd/*, > not /dev/dsp*, those for OSS. In this case, it should be > /dev/snd/controlC* files. Check the premission of these files. > > > Takashi > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: different user causes 'no such device' [not found] ` <s5h3awkve8l.wl%tiwai@suse.de> 2007-10-09 16:20 ` william estrada @ 2007-10-09 16:27 ` william estrada 2007-10-10 8:46 ` Takashi Iwai 1 sibling, 1 reply; 4+ messages in thread From: william estrada @ 2007-10-09 16:27 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel@alsa-project.org Thanks, I did a 'chmod -R 666 /dev/snd/' and it worked. Now how do I make the hot plugged USB sound device use these setting?? Thanks for your time. William Estrada MrUmunhum@popdial.com Mt-Umunhum-Wireless.net ( http://Mt-Umunhum-Wireless.net ) Ymessenger: MrUmunhum Takashi Iwai wrote: > At Wed, 03 Oct 2007 12:55:27 -0700, > william estrada wrote: >> 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@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 > > ALSA-native apps access only ALSA device files, usually /dev/snd/*, > not /dev/dsp*, those for OSS. In this case, it should be > /dev/snd/controlC* files. Check the premission of these files. > > > Takashi > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: different user causes 'no such device' 2007-10-09 16:27 ` william estrada @ 2007-10-10 8:46 ` Takashi Iwai 0 siblings, 0 replies; 4+ messages in thread From: Takashi Iwai @ 2007-10-10 8:46 UTC (permalink / raw) To: william estrada; +Cc: alsa-devel@alsa-project.org At Tue, 09 Oct 2007 09:27:04 -0700, william estrada wrote: > > Thanks, I did a 'chmod -R 666 /dev/snd/' and it worked. > > Now how do I make the hot plugged USB sound device use these setting?? Usually it's done via udev. But, how to set up depends pretty much on the distro and the version you are using... Takashi ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-10 8:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-03 19:55 different user causes 'no such device' william estrada
[not found] ` <s5h3awkve8l.wl%tiwai@suse.de>
2007-10-09 16:20 ` william estrada
2007-10-09 16:27 ` william estrada
2007-10-10 8:46 ` Takashi Iwai
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.