2011-04-13, 00:36
After hours of going crazy and challenging my patience I've finally managed to get the sound working the way it had to be on my XBMCFreak 10.1 Maverick livecd v2 installation on the ZBOX HD-ID11 hardware (ubuntu 10.10). I thought I should share my findings to spare you the pain...
add the following to "/etc/modprobe.d/sound.conf" (might not exist yet)
add the following to "/etc/pulse/default.pa" (might not exist yet)
remove any existing ".asoundrc" from your home directory (if applicable; might not exist yet)
create a new ".asoundrc" file and paste the following in it
In the XBMC configuration go to "Settings->System->Audio Output"
Audio output: Optical/Coax
Speaker configuration: 7.1
AC3 capable receiver: no
DTS capable receiver: yes
Audio output device: Custom (plug:both)
Passthrough output device: Custom (plug:both)
!!!Reboot!!!
When rebooted.... alls sound should work. Including navigation sounds from both outputs. Analog output should work too, but I haven't tested it.
I'm not entirely sure 7.1 surround is working because my receiver supports it, but I have a 4 speaker stereo setup connected to it. Actually, I think the config is for 5.1... So please correct my findings if you know how to! I hope to never have to dig so deep to get results again on this subject :p
add the following to "/etc/modprobe.d/sound.conf" (might not exist yet)
Code:
options snd-hda-intel enable_msi=0 probe_mask=0xffff,0xfff2
add the following to "/etc/pulse/default.pa" (might not exist yet)
Code:
load-module module-alsa-sink device=hw:1,3
remove any existing ".asoundrc" from your home directory (if applicable; might not exist yet)
Code:
rm ~/.asoundrc
create a new ".asoundrc" file and paste the following in it
Code:
pcm.!default {
type plug
slave {
pcm "both"
}
}
pcm.both {
type route
slave {
pcm multi
channels 6
}
ttable.0.0 1.0
ttable.1.1 1.0
ttable.0.2 1.0
ttable.1.3 1.0
ttable.0.4 1.0
ttable.1.5 1.0
}
pcm.multi {
type multi
slaves.a {
pcm "tv"
channels 2
}
slaves.b {
pcm "receiver"
channels 2
}
slaves.c {
pcm "analog"
channels 2
}
bindings.0.slave a
bindings.0.channel 0
bindings.1.slave a
bindings.1.channel 1
bindings.2.slave b
bindings.2.channel 0
bindings.3.slave b
bindings.3.channel 1
bindings.4.slave c
bindings.4.channel 0
bindings.5.slave c
bindings.5.channel 1
}
pcm.tv {
type hw
card 1
device 3
channels 2
}
pcm.receiver {
type hw
card 0
device 1
channels 2
}
pcm.analog {
type hw
card 0
device 0
channels 2
}
In the XBMC configuration go to "Settings->System->Audio Output"
Audio output: Optical/Coax
Speaker configuration: 7.1
AC3 capable receiver: no
DTS capable receiver: yes
Audio output device: Custom (plug:both)
Passthrough output device: Custom (plug:both)
!!!Reboot!!!
When rebooted.... alls sound should work. Including navigation sounds from both outputs. Analog output should work too, but I haven't tested it.
I'm not entirely sure 7.1 surround is working because my receiver supports it, but I have a 4 speaker stereo setup connected to it. Actually, I think the config is for 5.1... So please correct my findings if you know how to! I hope to never have to dig so deep to get results again on this subject :p