Alright, this is driving me nuts, so hopefully some of you ALSA gurus can help me. In more detail, here's the problem. I have a 5.1 surround sound speaker system. The center speaker functions properly, as I can get sound out of it with the hardware's own mixing, but when it comes to 6 channel audio, neither ALSA, nor pulse are able to output to the center speaker. I have two sound cards in my system, the onboard (hda-intel) and the PCI (razer barracuda AC-1, using oxygen driver CMI8788). This particular problem only occurs on the latter, the first outputs center audio perfectly. I know the oxygen driver is a little iffy, but googling for hours turned up no results for issues or solutions.
Code:
speaker-test -D plug:surround51 -c 6
Does not output sound to the center either.
System specs:
Gentoo Linux AMD64
Kernel: 2.6.30-gentoo-r4
ALSA: 1.0.20
Driver: snd-oxygen (CMI8788)
Card: Razer Barracuda AC-1
Speakers: Logitech G51
.asoundrc
Code:
# Set default sound card
# Useful so that all settings can be changed to a different card here.
pcm.oxygen {
type hw
card 0
device 0
}
ctl.oxygen {
type hw
card 0
device 0
}
pcm.intel {
type hw
card 1
device 0
}
# Allow mixing of multiple output streams to this device
pcm.output {
type dmix
ipc_key 1024
ipc_perm 0660 # Sound for everybody in your group!
slave.pcm "oxygen"
slave {
# This stuff provides some fixes for latency issues.
# buffer_size should be set for your audio chipset.
period_time 0
period_size 1024
buffer_size 8192
# buffer_size 4096
# buffer_size 2048
}
bindings {
0 0
1 1
}
}
pcm.input {
type dsnoop
ipc_key 2048
slave.pcm "oxygen"
## Possible artsd full duplex fix:
# slave {
# period_time 0
# period_size 1024
# buffer_size 8192
# }
bindings {
0 0
1 1
}
}
# Allow reading from the default device.
# Also known as record or capture.
pcm.input1 {
type dsnoop
ipc_key 2049
slave.pcm "intel"
## Possible artsd full duplex fix:
slave {
period_time 0
period_size 1024
buffer_size 8192
# buffer_size 4096
# buffer_size 2048
}
bindings {
0 0
1 1
}
}
# This is what we want as our default device
# a fully duplex (read/write) audio device.
pcm.duplex {
type asym
playback.pcm "oxygen"
capture.pcm "intel"
# capture.pcm "input1"
}
###################
# CONVERSION PLUG #
###################
# Setting the default pcm device allows the conversion
# rate to be selected on the fly.
# duplex mode allows any alsa enabled app to read/write
# to the dmix plug (Fixes a problem with wine).
pcm.!default {
type plug
slave.pcm "duplex"
}
########
# AOSS #
########
# OSS dsp0 device (OSS needs only output support, duplex will break some stuff)
pcm.dsp0 {
type plug
slave.pcm "output"
}
#
pcm.dsp1 {
type plug
slave.pcm "output1"
}
alsa.conf
Code:
# Alsa kernel modules' configuration file.
# ALSA portion
# OSS/Free portion
##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
## ALSA portion
## alias snd-card-0 snd-interwave
## alias snd-card-1 snd-ens1371
## OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##
# OSS/Free portion - card #1
## OSS/Free portion - card #2
## 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 /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.20 ---
alias char-major-116 snd
alias char-major-14 soundcore
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
options snd-hda-intel model=3stack-6ch-dig
alias snd-card-0 snd-oxygen
alias sound-slot-0 snd-oxygen
# --- END: Generated by ALSACONF, do not edit. ---
And here's a screenshot showing the alsamixer for both cards. Top is the CMI8788, bottom is hda-intel onboard.
http://img258.imageshack.us/img258/7...41920x1200.png
Let me know if any more information is needed, thanks.