KDE & /dev/dsp

Ernest L. Williams Jr. ernesto at ornl.gov
Mon Apr 12 00:43:51 UTC 2004


On Sun, 2004-04-11 at 19:29, Michael Schwendt wrote:
> On Sun, 11 Apr 2004 16:54:35 -0400, Ernest L. Williams Jr. wrote:
> 
> > On Sat, 2004-04-10 at 12:17, Michael Schwendt wrote:
> > > On Sat, 10 Apr 2004 10:52:30 -0400, Ernest L. Williams Jr. wrote:
> > > 
> > > > > What results do you get when running redhat-config-soundcard?
> > > > Need to run system-config-soundcard with FC2T2, right?
> > > 
> > > Yes.
> > > 
> > > > [root at matrix root]# system-config-soundcard
> > > > sox: Can't open output file '/dev/dsp': No such device
> > > > amixer: Mixer attach default error: No such device
> > > > amixer: Mixer attach default error: No such device
> > > > -9
> > > > ================================================================
> > > > I have a similar problem can't get sound to work.
> > > 
> > > Well, what sound card/chipset is yours? Is your card listed
> > > as supported at http://www.alsa-project.org ?
> >
> > Yes,  I have a sound blaster (Model SB Live! EMU10k1)
> > 
> > I tried system-config-soundcard.
> > I also tried modprobe snd-emu10k1
> > 
> > Ever since I switched from FC1 to FC2 I have had to add the ALSA
> > configuration manually to my modprobe.conf.  Should
> > system-config-soundcard do this for me?
> 
> Yes, I believe the tool (or its hardware detection backend) should find
> recognize your sound chipset.
>  
> > I am using kernel (Linux matrix 2.6.5-1.315)
> > 
> > When I play the test sound it works and produces the following output:
> > =====================================================
> > [root at matrix root]# Simple mixer control 'PCM',0
> >   Capabilities: pvolume pswitch pswitch-joined
> >   Playback channels: Front Left - Front Right
> >   Limits: Playback 0 - 31
> >   Front Left: Playback 23 [74%] [on]
> >   Front Right: Playback 23 [74%] [on]
> > -8
> > 
> > [2]+  Done                    system-config-soundcard
> > [root at matrix root]#
> > ======================================================
> > 
> > Question is the ALSA sound drivers part of the kernel and no longer
> > needs a configuration in modprobe.conf?
> 
> ALSA is split into a native ALSA driver device and an OSS/Free
> compatibility driver device (Open Sound System is the audio
> driver code in the 2.4 kernel series and earlier). ALSA's OSS
> drivers are included from /etc/modprobe.conf, too. Look out for
> the "include" line.
> 
> > Here is a snippet from lsmod on my system:
> > ===========================================================================
> > [root at matrix root]# lsmod
> > Module                  Size  Used by
> > snd_emu10k1            88068  0
> > snd_rawmidi            21408  1 snd_emu10k1
> > snd_seq_device          6280  2 snd_emu10k1,snd_rawmidi
> > snd_ac97_codec         54404  1 snd_emu10k1
> > snd_util_mem            3328  1 snd_emu10k1
> > snd_hwdep               6532  1 snd_emu10k1
> > snd_pcm_oss            42532  0
> > snd_pcm                82568  2 snd_emu10k1,snd_pcm_oss
> > snd_page_alloc          8068  2 snd_emu10k1,snd_pcm
> > snd_timer              25092  1 snd_pcm
> > snd_mixer_oss          13952  1 snd_pcm_oss
> > snd                    43748  10
> > snd_emu10k1,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_util_mem,snd_hwdep,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
> > soundcore               7520  1 snd
> > ===================================================================
> > 
> > Looks like all of the goodies are there with this latest kernel.
> 
> This only indicates that the driver is working once it's loaded.
> But you should not need to load it manually or edit modprobe.conf
> manually.
The only thing that appears in my modprobe.conf is the following:
==================================================================
include /etc/modprobe.conf.dist
alias eth0 e100
alias eth1 e100
alias eth2 e100
alias eth3 e100
alias eth4 e100
alias eth5 e100
alias eth6 e100
alias eth7 e100
alias eth8 e100
alias eth9 e100
alias eth10 e100
alias eth11 e100
==================================================

Ah. something new --> include /etc/modprobe.conf.dist
There is a bunch of goodies in modprobe.conf.dist
As well as a few lines about sound:
==================================================
alias char-major-116-* snd
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 sound-service-1-0 snd-mixer-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-12 snd-pcm-oss
alias sound-service-2-0 snd-mixer-oss
alias sound-service-2-3 snd-pcm-oss
alias sound-service-2-12 snd-pcm-oss
alias sound-service-3-0 snd-mixer-oss
alias sound-service-3-3 snd-pcm-oss
alias sound-service-3-12 snd-pcm-oss
===================================================


>  
> > However, when I try to play some *.ogg files, I hear no sound/music.
> > 
> > Any ideas here?
> 
> Which program did you try? Did you ran alsamixer to un-mute your
> output channels and increase the volume levels. They default to
> zero/mute.
I tried xmms and also ran the GNOME alsamixer to un-mute everything.

For now, maybe I should make the manual entries in modprobe.conf?

Thanks
-- 
Ernest L. Williams Jr. <ernesto at ornl.gov>





More information about the fedora-test-list mailing list