Software

Configuration

DVICO used device id 17de:a8a6 for two distinct devices requiring different drivers. Need to set "options cx88xx card=19" in /etc/modprobe.d to force use of Conexant reference drivers. Fortunately the Hauppauge tuner is a USB device so we can override the auto detection rather than patch the v4l dvb drivers to override it.

/etc/default/wakeup

Auto-start X Server

user .xsession linked to /usr/share/mythbuntu/session.sh so we get the same xfce startup.

/etc/init/tty7.conf

# tty7 - mingetty for MythTv
#
# This service maintains a mingetty on tty7 from the point the system is
# started until it is shut down again.
start on runlevel 2
stop on runlevel 0
stop on runlevel 1
stop on runlevel 4
stop on runlevel 5
stop on runlevel 6
respawn
exec /sbin/mingetty --autologin=<user> tty7

~mythtv/.profile

Appended to detect if we are on tty7, in which case we start-up X with an optional layout specified in ~/.mythrc

xorg.conf

The FX5200 cards were the cause of my DVI problems on my projector. Apparently they freak out a PCB component causing the EDID data to become corrupt.
(a Gigabyte card lasted from Aug 2006 to Dec 2007. Fortunately the new nvidia driver allow you to use a CustomEDID to load the data from a file.

Option ExactModeTimingsDVI is also important for the projector.

Option "UseEDIDDpi" "false" or some equivalent control of DPI is important for the Samsung television otherwise you get really small fonts (fixed in 0.21)

There are two layouts, the default uses outputs via VGA to a Samsung LCD television, the second uses DVI to the PE8700 projector.

~mythtv/bin/suspend_mythtv.sh

#!/bin/sh
# We use dbus-send because it seems to block until resume which is what we want
echo "Suspending"
dbus-send --system --print-reply --dest=org.freedesktop.Hal /org/freedesktop/Hal/devices/computer \
org.freedesktop.Hal.Device.SystemPowerManagement.Suspend int32:2
echo "Resumed"

~mythtv/bin/kill_mythtv.sh

Script is called by the ruby program, but also useful to restart from ssh

LIRC Remote Control

Sound

~/.asoundrc

Could probably do better 48/44kHz switching on the analog output between music and video but if that is important we just go digital passthrough and let the receiver do the work.

In myth config, you can see that default sound device is ALSA:myth-video, the passthrough device is ALSA:myth-passthru, and mythmusic uses ALSA:myth-music. the AC3PassThru and DTSPassThru
settings are managed by the ruby program