I now have everything working except for my sound. I had been using alsamixer as my sound control panel, mostly just as a volume control. I run it in a xterm. After emerging alsamixer, I am able to run it as root, but not as a user. Seems the perms on my sound device are not allowing write to a general user. My suspicion is that I need to make my username belong to some groupt to allow me to access the sound hardware.
But even when I run alsamixer successfully as root, I cnnot get mpg123 to play a *.mpg sound track. I even tried running mpg123 as root, and it still won't work.
Here is the sound hardware:
Code: Select all
onesimus ~ # ls -l /dev/audio1
crw-rw-r-- 1 root audio 14, 20 Mar 30 19:47 /dev/audio1
onesimus ~ #
Code: Select all
rj@onesimus ~/KJV $ mpg123 19Psa150.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.32.3; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
Terminal control enabled, press 'h' for listing of keys and functions.
Playing MPEG stream 1 of 1: 19Psa150.mp3 ...
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src/confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src/conf.c:5204:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src/confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src/conf.c:5204:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src/confmisc.c:1342:(snd_func_refer) error evaluating name
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src/conf.c:5204:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src/conf.c:5727:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.2.10-r2/work/alsa-lib-1.2.10/src/pcm/pcm.c:2675:(snd_pcm_open_noupdate) Unknown PCM default
[src/libout123/modules/sdl.c:open_sdl():122] error: Couldn't open SDL audio: ALSA: Couldn't open audio device: No such file or directory
main: [/var/tmp/portage/media-sound/mpg123-base-1.32.3/work/mpg123-1.32.3/src/mpg123.c:check_fatal_output():337] error: out123 error 7: failed to open device
rj@onesimus ~/KJV $
Code: Select all
onesimus /home/rj/KJV # mpg123 19Psa150.mp3
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.32.3; written and copyright by Michael Hipp and others
free software (LGPL) without any warranty but with best wishes
Segmentation fault
onesimus /home/rj/KJV #



