MythTV / MythDVD movie ripping / playback problem (Solved!)

I have used Myth to rip a large number of my DVD's to AVI files (using either the Excellent or Good setting).  Now that I am starting to play back the movies, I have found something that is very troubling.

On many of the movies, the first 95% of the movie (e.g. 1:13 min of a 1:26 movie) plays flawlessly. However, near the end of the movie, the audio and video starts to speed up and get jerky. (Audio/video sync is also thrown off.) Continue reading

Connecting to non-broadcasting SSID networks with IPW2200

I have been having problems connecting to a wireless network that does not broadcast its  SSID. (A so-called "hidden" network.) I am using an Intel IPW 2200 802.11b/g mini-pci wireless card that uses the ipw2200 wireless module.

I found that reloading the ipw2200 module before attempting to connect to the network fixed my problems (but only if I put a pause between the unload/load/connect sequence).  I use wifi-radar to manage my wireless connections, and was able to call my unload/reload script using its "before" connection command.

The script is simply:

sudo rmmod ipw2200
sleep 1
sudo modprobe ipw2200
sleep 1 

This does add two seconds to the connection time, but this is not a terrible penalty to pay as without the above pause the connection would usually only work about 25% of the time. 

DPMS monitor control via remote control on Myth TV

I am using an LCD monitor as the display for my MythTV box, connected via an analog RGB (a.k.a. VGA) cable. This allows me to use DPMS (Display Power Management Signaling) to turn the monitor on and off from the MythTV box.

Instructions for setting this up with MythTV are here , but I found that I had to make a few changes to get things to work correctly. I modified one line of the shell script  as follows:

STATUS=$( xset -q | grep "Monitor is" | awk '{print $3}' )

To trigger the monitorpowerbutton.sh script, I placed the following into my /etc/lirc/lircrc file:

begin
 prog =  irexec
 button = TV_POWER
 repeat = 4
 config = /usr/local/bin/monitorpowerbutton.sh
end

Now my TV_POWER button toggles the power state of the monitor!