I follow all steps, i've got this
[root@boss root]# play
/usr/share/apps/kbackgammon/sounds/kbackgammon-lost.wav
sox: Can't open output file '/dev/dsp': No such device
Help me plz
On Tue, 2004-02-17 at 15:40, Alain wrote:
Le mar 17/02/2004 à 03:50, Richmond Pabilona a écrit :
> >>Hi guys,
> >>I just installed Fedora on my pc, it detected my VIA on-board sound card
> >>but when i test to play some music, there are no sounds coming out.
> >>please help me with this problem.
> >>
> >>
> >
> >use alsa drivers
> >
> >
> >
> how do i use alsa drivers?
- install kernel source (exemple for 2.4.22_1.2166.nptl.i386)
- download
ftp://ftp.fr.freshrpms.net/pub/linux/freshrpms/fedora/linux/1/alsa-driver...
- compilation
# rpm -Uvh alsa-driver-1.0.1-2.fr.src.rpm
# cd /usr/src/redhat/SPECS
# rpm -ba alsa-driver.spec
- install /usr/src/redhat/RPMS/i386/alsa-driver-1.0.2-1.fr.i386.rpm and
kernel-module-alsa-1.0.2-1.fr_2.4.22_1.2166.nptl.i386.rpm)
- in /etc/modules.conf
add this:
---------
alias char-major-116 snd
alias snd-card-0 snd-via82xx
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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
--------
and remove this:
---------
post-install sound-slot-0 /bin/aumix-minimal -f etc.aumixrc -L
>/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f etc.aumixrc -S >/dev/null
2>&1 || :
--------
- copie this file and run it:
--------------
#!/bin/bash
amixer set PCM 22 unmute
amixer set PC\ Speaker 22 unmute
amixer set Master 22 unmute
amixer set Master\ Mono 22 unmute
amixer set Headphone 22 unmute
amixer set Phone 22 unmute
amixer set Aux 22 unmute
amixer set Video 22 unmute
amixer set CD 22 unmute
amixer set Input\ Gain 22 unmute
amixer set Line 22 unmute
amixer set MIC 22 unmute
---------------