Hi all, we sill see how to configure correctly 5.1 surround in ALSA.
Ensure you have correctly install alsa-base
Code:
# aptitude install alsa-base
Edit your /etc/asound.conf like this:
Quote:
# for 5.1 speakers
pcm.ch51dup {
slave.pcm surround51
slave.channels 6
type route
ttable.0.0 1
ttable.1.1 1
ttable.0.2 1
ttable.1.3 1
ttable.0.4 0.5
ttable.1.4 0.5
ttable.0.5 0.5
ttable.1.5 0.5
}
Set default values in /etc/rc.local:
Quote:
...
echo Setting 5.1 Channel volumes...
amixer -q set Master 100% unmute
amixer -q set PCM 40% unmute
amixer -q set Surround 100% unmute
amixer -q set Center 81% unmute
amixer -q set LFE 100% unmute
amixer -q set "Mic" 65% unmute
amixer -q set "Channel mode" "6ch"
amixer -q set "Center/LFE Down mix" mute
amixer -q set "Duplicate Front" mute
exit 0
Test your speakers works correctly:
Quote:
# speaker-test -c 6 -D surround51 -t wav
Other Lectures:
http://www.cse.ohio-state.edu/~bondhugu/alsamch.shtmlThat's all folks!
BerMeJo