re alsa sound and xmms

Richard E Miles r.godzilla at comcast.net
Sun May 30 20:52:42 UTC 2004


On Sat, 29 May 2004 12:11:20 -0700, Richard E Miles wrote:

>> Ive been having abit of difficulty getting sound to work in FC2. I did 
>> not have these problems in FC1.
>> While invoking xmms to play a wav file. the following pop-up window was 
>> observed:
>> couldn't open audio
>> Please check that
>> your soundcard is configured properly
>> you have the correct output plugin selected
>> no sound program is blocking the soundcard
>> 
>> I also noticed the following when starting the system with startx:
>> a series of messages saying audio_alsa: no cards found.
>> 
>> I ran system-config soundcard and it detected my ens1371 sound card and 
>> was able to play the test sound.
>> I tried to play the wav file again with the same popup window message 
>> occuring. I did a ctrl-alt-F1 to see what messages occured. The same 
>> "audio_alsa: no cards found" message (2 times) was seen.
>> 
>> I also do not have gnome sound events even after installing the libgnome 
>> update.
>  
>

Is this an upgrade or a fresh install?

An upgrade.

What do you find in /etc/modprobe.conf (and /etc/modules.conf)?

This is modprobe.conf:
# Note: for use under 2.4, changes must also be made to modules.conf!
alias parport_lowlevel parport_pc
alias eth0 8139too
alias usb-controller uhci-hcd
options ide-cd ignore=hdc
alias char-major-116-* snd
alias char-major-14-* soundcore
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 snd-card-0 snd-ens1371
install char-major-13-0 /bin/true
install char-major-188 /bin/true
install char-major-81 /bin/true
install sg { modprobe ide-scsi; } ; /sbin/modprobe --first-time --ignore-install sg
install snd-card-0 /sbin/modprobe --first-time --ignore-install snd-card-0 && {
/usr/sbin/alsactl restore >/dev/null 2>&1 || :; }
remove snd-card-0 { /usr/sbin/alsactl store >/dev/null 2>&1 || :; } ; /sbin/modprobe -r --first-time --ignore-remove snd-card-0
alias char-major-195* nvidia

This is modules.conf:
alias parport_lowlevel parport_pc
alias eth0 8139too
alias usb-controller usb-uhci
alias char-major-188 off
alias char-major-81 off
alias char-major-13-0 off
 
options ide-cd ignore=hdc
pre-install sg modprobe ide-scsi
# --- Save and restores the ALSA mixer settings. ---
post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.4 ---
alias char-major-116 snd
alias char-major-14 soundcore
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 snd-card-0 snd-ens1371
alias sound-slot-0 salias char-major-81 off
alias char-major-13-0 off
 
options ide-cd ignore=hdc
pre-install sg modprobe ide-scsi
# --- Save and restores the ALSA mixer settings. ---
post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.4 ---
alias char-major-116 snd
alias char-major-14 soundcore
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 snd-card-0 snd-ens1371
alias sound-slot-0 snd-ens1371
# --- END: Generated by ALSACONF, do not edit. ---
 
alias char-major-195 nvidia
# Note: for use under 2.6, changes must also be made to modprobe.conf!
(END)


What output driver is configured in XMMS preferences? If you choose
"OSS Driver" just for testing, does that work?

output plugin is eSound Output Plugin 1.2.10
Don't know about OSS Driver output (see running under root below)

What kernel modules are loaded when you try XMMS? Run /sbin/lsmod
Here is /sbin/lsmod:
Module                  Size  Used by
snd_pcm_oss            41636  0
snd_mixer_oss          14336  3 snd_pcm_oss
nvidia               2073448  12
binfmt_misc             7176  1
parport_pc             19392  1
lp                      8236  0
parport                29640  2 parport_pc,lp
snd_seq_midi            5792  0
snd_seq_midi_event      5504  1 snd_seq_midi
snd_seq                39568  2 snd_seq_midi,snd_seq_midi_event
snd_ens1371            17120  2
snd_rawmidi            17184  2 snd_seq_midi,snd_ens1371
snd_seq_device          6152  3 snd_seq_midi,snd_seq,snd_rawmidi
snd_pcm                69256  2 snd_pcm_oss,snd_ens1371
snd_page_alloc          7940  1 snd_pcm
snd_timer              17284  2 snd_seq,snd_pcm
snd_ac97_codec         50436  1 snd_ens1371
snd                    38500  11 snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_seq_midi_event,snd_seq,snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_ac97_codec
soundcore               6112  3 snd
gameport                3328  1 snd_ens1371
ipv6                  184544  19
autofs4                10752  0
sunrpc                101320  1
iptable_filter          2048  0
ip_tables              13440  1 iptable_filter
8139too                17792  0
mii                     3584  1 8139too
floppy                 47440  0
sg                     27936  0
scsi_mod               91472  1 sg
joydev                  7232  0
dm_mod                 33184  0
uhci_hcd               23708  0
button                  4504  0
battery                 6924  0
asus_acpi               8472  0
ac                      3340  0
ext3                  102376  2
jbd                    40216  1 ext3




Do you find anything audio/ALSA/ens1371 related in /var/log/messages?

no.

root:
When starting up as root the problems don't occur:
no "audio_alsa: could not find card" messages
system sounds work
xmms works

It's almost like a promissions problem it would seem? Right now I am running as root with no further problems occuring. Stange!


---------

-- 
Richard Miles
Federal Way, WA
registered linux user 46097





More information about the fedora-list mailing list