LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware 12.2 +snd-hda-intel (https://www.linuxquestions.org/questions/slackware-14/slackware-12-2-snd-hda-intel-746296/)

g.85 08-09-2009 05:21 PM

Slackware 12.2 +snd-hda-intel
 
Greetings all,

I am using slackware 12.2 with a generic kernel and am having issues with my nVidia MCP51 built-in sound interface using ALSA.
While physically at the machine, everything works as expected. I'm able to load up alsamixer, play music with mplayer, etc. My issue rears it's ugly head when I log in remotely e.g. ssh or vnc. As my regular user when I run alsamixer I receive the following:

alsamixer

alsamixer: function snd_ctl_open failed for default: No such file or directory

However if I run sudo /usr/bin/alsamixer I have no problems.

Similar story if I run mplayer. As a regular user I see:
Code:

[AO OSS] audio_setup: Can't open audio device /dev/dsp: Permission denied
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
mcop warning: user defined signal handler found for SIG_PIPE, overriding
[AO ARTS] can't connect to aRts soundserver
[AO ESD] esd_open_sound failed: No such file or directory
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:3513:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:3985:(snd_config_expand) Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2184:(snd_pcm_open_noupdate) Unknown PCM default
mcop warning: user defined signal handler found for SIG_PIPE, overriding
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:  6.2 (06.2) of 196.0 (03:16.0)  0.3%

Whereas if I do sudo /usr/local/bin/mplayer I have no troubles.

I can live with doing this, but does anyone have any ideas? It's saying my user doesn't have permissions to use the device, but again if I'm physically at the machine my regular user has no problems with this.

Any input would be much appreciated!

Cheers,

g85

willysr 08-09-2009 07:29 PM

have you put your username into audio group?

g.85 08-09-2009 08:05 PM

Heh, that did it. Pardon my newbness ;) Though I have set up slack a few times with various sound cards... never had this issue before. Weird, but oh well.

Thanks for your reply!


All times are GMT -5. The time now is 10:22 AM.