################################################## ##################################
First we need to check your soundcard is active:
cat /proc/asound/cards
NOTE: should see something like this
0 [S16 ]: SB16 - Sound Blaster 16
Sound Blaster 16 at 0x220, irq 5, dma 1&5
system-->administration-->souncard_detection or in terminal su to root and type system-config-soundcard
NOTE: My soundcard would not load the drivers to find your driver name you must use the alsa matrix
at http://www.alsa-project.org/main/index.php/Matrix:Main click your brand find your chipset name.
for example mine is creative go through the matrix and find it says as under chipset sb16.
gedit /etc/modprobe.conf (and add the following if it is not already there note this is specific to my soundcard only.)
alias snd-card-0 snd-sb16
options snd-card-0 index=0
options snd-sb16 index=0
so you would replace snd-sb16 with your alsa matrix identity so instead of snd-sb16 you would have snd-XXXX.
NOTE: Hopefully fedora does all the work and the cat /proc/asound/cards produces a configured soundcard for you.
Just make sure it does if you had to use reload-drivers in system-config-soundcard everytime you rebooted then just put this
gedit /etc/rc.local
(put in the line) /sbin/modprobe snd-xxxx i.e /sbin/modprobe snd-sb16
i tried using fancy stuff in /etc/modprobe.conf like install { snd-sb16 /sbin/modprobe --first-time --ignore-install snd-sb16 }
but i could not get it too load so i just used /etc/rc.local worked straight off the bat.
NOTE: Okay your sound card correctly loaded still not sure
in the terminal: su to root and type lsmod | grep snd
should see something like this if not your sound module is still not loaded REBOOT !! and then recheck it all.
snd_sb16 17101 3
snd_opl3_lib 11713 1 snd_sb16
snd_hwdep 10309 1 snd_opl3_lib
snd_sb16_dsp 11457 1 snd_sb16
snd_sb_common 17857 2 snd_sb16,snd_sb16_dsp
snd_mpu401_uart 10177 1 snd_sb16
snd_rawmidi 21185 1 snd_mpu401_uart
snd_seq_dummy 6725 0
snd_seq_oss 29889 0
snd_seq_midi_event 9793 1 snd_seq_oss
snd_seq 44849 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 10061 5 snd_opl3_lib,snd_rawmidi,snd_seq_dummy,snd_seq_oss ,snd_seq
snd_pcm_oss 37569 0
snd_mixer_oss 16705 1 snd_pcm_oss
snd_pcm 63685 4 snd_sb16,snd_sb16_dsp,snd_pcm_oss
snd_timer 20549 4 snd_opl3_lib,snd_seq,snd_pcm
snd 43461 18 snd_sb16,snd_opl3_lib,snd_hwdep,snd_sb16_dsp,snd_s b_common,snd_mpu401_uart,snd_rawmidi,snd_seq_oss,s nd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,sn d_pcm,snd_timer
soundcore 9633 1 snd
snd_page_alloc 11337 1 snd_pcm
################################################## ##################################
If you have more than one soundcard you might have too look at blacklisting one of them but this is out of scope for this doc.
################################################## ##################################
Second:
NOTE: We have to check that all required binaries are installed.
as root (su) in terminal
yum -y install pulseaudio-libs-glib2 pulseaudio-module-gconf pulseaudio-libs-zeroconf pulseaudio-libs pulseaudio-core-libs pulseaudio-esound-compat pulseaudio-module-x11 pulseaudio-module-zeroconf pulseaudio pulseaudio-utils
Next
yum -y install pavumeter paman padevchooser paprefs
To check all is installed
rpm -qa pulse*
pulseaudio-libs-glib2-0.9.7-0.17.svn20071017.fc8
pulseaudio-module-gconf-0.9.7-0.17.svn20071017.fc8
pulseaudio-libs-zeroconf-0.9.7-0.17.svn20071017.fc8
pulseaudio-libs-0.9.7-0.17.svn20071017.fc8
pulseaudio-core-libs-0.9.7-0.17.svn20071017.fc8
pulseaudio-esound-compat-0.9.7-0.17.svn20071017.fc8
pulseaudio-module-x11-0.9.7-0.17.svn20071017.fc8
pulseaudio-module-zeroconf-0.9.7-0.17.svn20071017.fc8
pulseaudio-0.9.7-0.17.svn20071017.fc8
pulseaudio-utils-0.9.7-0.17.svn20071017.fc8
For pavumeter,paman ,padevchooser ,paprefs
Go to Applications-->sound and video (you should see)
padevchooser = Pulseaudio Device Chooser
paman = Pulseaudio Manager
pavumeter = Pulseaudio volume meter
paprefs = Pulseaudio Preferences
################################################## ##################################
################################################## ####################################
as root (su) in terminal
cp /etc/pulse/default.pa /etc/pulse/default.bakup #<<--- just incase
gedit /etc/pulse/default.pa
control+A then delete #<<--- delete the contents of the file not the file itself.
select all the text below and paste it in the blank open file /etc/pulse/default.pa
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
#!/usr/bin/pulseaudio -nF
#
# This file is part of pulseaudio.
#
# pulseaudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# pulseaudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with pulseaudio; if not, write to the Free Software Foundation,
# Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
# Load audio drivers statically
#load-module module-alsa-sink sink device=dmix
#load-module module-alsa-source device=plughw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
load-module module-null-sink
#load-module module-pipe-sink
# Load audio drivers automatically on access
# ALSA
add-autoload-sink output module-alsa-sink sink_name=output device=dmix
add-autoload-source input module-alsa-source source_name=input
# OSS
add-autoload-sink output module-oss device="/dev/dsp" sink_name=output source_name=input
add-autoload-source input module-oss device="/dev/dsp" source_name=input sink_name=output
#add-autoload-sink output module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#add-autoload-source input module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
# Load several protocols
load-module module-esound-protocol-unix
#load-module module-esound-protocol-tcp
load-module module-native-protocol-unix
#load-module module-simple-protocol-tcp
#load-module module-cli-protocol-unix
# Load the CLI module
load-module module-cli
# Make some devices default
set-default-sink output
set-default-source input
.nofail
# Load something to the sample cache
load-sample x11-bell /usr/share/sounds/generic.wav
#load-sample-dir-lazy /usr/share/sounds/*.wav
# Load X11 bell module
load-module module-x11-bell sample=x11-bell sink=output
# Publish connection data in the X11 root window
load-module module-x11-publish
#load-module module-pipe-source
#load-module module-pipe-sink
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
then click save and close the file /etc/pulse/default.pa



Reply With Quote
snd_ctl_open_noupdate) Invalid CTL dmix
