KDE & /dev/dsp for Ernest

Hannes Mayer h.mayer at inode.at
Sat Apr 10 16:12:56 UTC 2004


Ernest L. Williams Jr. wrote:
> Need to run system-config-soundcard with FC2T2, right?
> ===============================================================
> [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.

Hi Ernest!

Yes, I had the exact messages with system-config-soundcard.

In modprobe.conf I only had the following entries:
alias eth0 8139too
alias 0.0.0 8139too
alias usb-controller uhci-hcd

I added:

# ALSA portion
alias char-major-116* snd
alias snd-card-0 snd-ens1371

# 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

install snd-card-0 /sbin/modprobe --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 --ignore-remove

install sound-slot-0 /sbin/modprobe --ignore-install sound-slot-0 && { /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :; }
remove sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S >>/dev/null 2>&1 || :; }; /sbin/modprobe -r --ignore-remove

Replace snd-ens1371 with your soundcard driver.

When I searched for my soundcard driver I found snd-ens1371.ko, so
I tried:
modprobe snd-ens1371
and it worked (make sure you can write to /dev/dsp)

Let me know if that works for you too!

Cheers,
Hannes.







More information about the fedora-test-list mailing list