Re: [alsa-devel] different user causes 'no such device'
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
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
participants (2)
-
Takashi Iwai
-
william estrada