KDE & /dev/dsp

Michael Schwendt ms-nospam-0306 at arcor.de
Sun Apr 11 23:29:00 UTC 2004


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.
 
> 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.






More information about the fedora-test-list mailing list