XMMS, ALSA, and CD Sound (or lack thereof)

Brett I. Holcomb brettholcomb
Mon May 17 11:42:58 PDT 2004


I've installed Alsa 0.9.0_rc6 on my Gentoo system.  All appears to work in that I've unmuted and set volumes with amixer. Aplay works on wav files and I can play some streaming music with mplayer as well as play CDs with mplayer.  XMMS will play a wave file.  However, I can not play CDs with XMMS.  XMMS evidently uses the oss mixer for CD volume and no matter what volume I put XMMS at I get no sound.

I've checked /proc/asound/CMMI8638MC6/oss_mixer and get this which implies the volume is not set.  How do I set it - amixer/alsamixer don't work on it.  I've included my modules.conf portions, too.

Thanks.

oss_mixer (partial)

Audio devices:
0: C-Media PCI DAC/ADC (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG
VOLUME "Master" 0
BASS "" 0
TREBLE "" 0
SYNTH "Synth" 0
PCM "PCM" 0
SPEAKER "PC Speaker" 0
LINE "Line" 0
MIC "Mic" 0
CD "CD" 0

modules.conf

### modules-update: start processing /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: /home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.c
onf-rc,v 1.1 2002/12/21 06:31:52 agenkin Exp $
#
# ALSA portion
#
alias char-major-116 snd
alias snd-card-0 snd-interwave
alias snd-card-0 snd-cmipci
#
# OSS/Free portion
#
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
#
# Card 1
#
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd major=116 cards_limit=1

### modules-update: end processing /etc/modules.d/alsa


More information about the Linux-users mailing list