On Mon, 2002-07-22 at 22:38, Florin Andrei wrote:
> > > 
> > > ###############################################
> > > [florin@rivendell florin]$ alsamixer 
> > > ALSA lib control.c:601:(snd_ctl_open_noupdate) Invalid CTL default
> > > 
> > > alsamixer: function snd_ctl_open failed for default: No such file or
> > > directory
> > > [florin@rivendell florin]$
> > > ###############################################

Ok, so i chmod +s /usr/bin/alsamixer and of course i was able to run it
as non-root.
But then other applications that use the ALSA driver can be run only as
root. If i try to run them as non-root, i get a similar error:

##################################################
[florin@rivendell florin]$ xine -A alsa09
This is xine (X11 gui) - a free video player v0.9.12
(c) 2000-2002 by G. Bartsch and the xine project team.
Built with xine library 0.9.12 [Sun 21 Jul 2002 22:16:17]-[gcc version
2.96 20000731 (Red Hat Linux 7.3 2.96-110)]-[Linux 2.4.18-5 i686].
Found xine library version: 0.9.12 (0.9.12).
XServer Vendor: The XFree86 Project, Inc. Release: 40200000,
        Protocol Version: 11, Revision: 0,
        Available Screen(s): 1, using 0
        Depth: 24.
tvmode: cannot connect to nvtvd - no TV mode switching available
Display is not using Xinerama.
tvmode: not connected to nvtvd for switching
video_out_xv: using Xv port 85 from adaptor NV10 Video Overlay for
hardware colorspace conversion and scaling.
video_out_xv: double buffering mode = 1
video_out_xv: port attribute XV_COLORKEY value is 66046
video_out_xv: port attribute XV_AUTOPAINT_COLORKEY value is 1
video_out_xv: port attribute XV_BRIGHTNESS value is 0
video_out_xv: port attribute XV_CONTRAST value is 4096
video_out_xv: port attribute XV_SATURATION value is 4096
video_out_xv: port attribute XV_HUE value is 0
video_out_xv: this adaptor supports the yuy2 format.
video_out_xv: this adaptor supports the yv12 format.
load_plugins: video output plugin Xv successfully loaded.
ALSA lib pcm.c:1711:(snd_pcm_open_noupdate) Unknown PCM default
XINE lib audio_alsa_out.c:961:(init_audio_out_plugin) snd_pcm_open()
failed: -2
XINE lib audio_alsa_out.c:962:(init_audio_out_plugin) >>> Check if
another program don't already use PCM <<<
load_plugins: audio output plugin
/usr/lib/xine/plugins/xineplug_ao_out_alsa.so: init_audio_out_plugin
failed.
main: the specified audio driver 'alsa09' failed
[florin@rivendell florin]$
###################################################

If i run the same command as root, it works fine.

-- 
Florin Andrei

http://florin.myip.org/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to