Mon - Aug 27, 2007 : 10:18 am
content
Important Mythtv configs
I upgraded all of my boxen yesterday, including my main server (which now has successfully become my slowest machine). As you probably know, I run gentoo on everything.
When I built my mythtv-based home-theater in my basement about 2 years ago, I spent about 2 months configuring my server to handle everything I needed it to. I didn't document anything. I'm here to change that now, at least in an extremely small portion:
ALSA / OSS CONFIGS.
One of the biggest issues I had was porting everything through an SPDIF pipe to an external receiver, to handle all of the AC3 / DTS streams.
However, I didn't just want movies and music to be ported, I wanted everything to be ported. If I wanted to play Enemy Territory on my 106" screen, I wanted to hear it, too.
Two configuration files made this all possible, and thanks to the help of my good friend, Steve, we were able to get em' rather quickly.
~/.asoundrc
pcm.!default {
type hw
card 0
device 2
}
/etc/modules.d/alsa
# Routes all info to SPDIF
options snd-pcm-oss dsp_map=2
and there ya have it.
The first one routes everything "alsa" to the SPDIF connector on your mobo (I'm using the Asus A8N-E mobo for my server).
The second one routes everything "oss" to the SPDIF connector.
That's about it!
Gentoo / Linux