User:Klk
From MythTV Official Wiki
I recently got a new hard drive and wanted to upgrade my myth installation. The old drive had Fedora 7 installed and was running mythtv .20.2. On the new drive I wanted to install Fedora 12 and mythtv .22 as that was the stable version at the time. This is a rough outline of the steps I followed and any problems I encountered.
Contents
Hardware
Just a few notes on the hardware in this machine that may be relevant
- 2X Avermedia M179 tuner cards. They are Mpeg2 encoder cards and use the ivtv driver.
- 1X HDHomeRun on the network. I use this for over-the-air HD.
- Nvidia GeForce 8400 GS. This is a PCI card that supports VDPAU. My old machine only has AGP and PCI slots, so (I think) this was the only option to get VDPAU
On the old installation
- Deleted old stuff that I probably would never watch. This was to minimize the amount of data to copy over to the new drive.
- Downloaded the Database Backup and Restore scripts.
- ran mythconverg_backup.pl to backup the database
On the new installation
- Installed Fedora 12 on the new drive. This went smoothly.
- Followed most of the instructions here to:
- enable RPMFusion repositories
- install mythtv
- Created the initial database as shown here
- ran mythconverg_restore.pl to restore the database as it was previously backed up
- ran mythtvsetup. This prompted me to upgrade the database. It upgraded from schema version 1160 to 1244. Wow was I out of date or what!
Problems, etc.
Sound issues
- Initially the sound didn't work. On pages 4 and 5 of the "General" settings I set the "Audio output device" and "Mixer Device" to "ALSA:default", and set the "Mixer Controls" to "Master".
- That only fixed it temporarily it seems.
- Tried something similar to http://svn.mythtv.org/trac/ticket/7645 but adding it to /etc/asound.conf instead of ~/.asoundrc. It has so far worked through a few frontend restarts.
- That also wasn't totally right, as I would get errors when trying to listen to music:
AudioOutput Error: Rate doesn't match (requested 44100Hz, got 48000Hz)
- The final solution was following the instructions on Configuring Digital Sound, using the /etc/asound.conf and specifying the mixed-analog device.
Mythvideo database upgrade
- Every time I started mythfronend, I would be prompted to upgrade my Video database. I did it a few times, but it clearly wasn't doing anything because each time I ran mythfronend it would prompt me again. Eventually I noticed a message in the mythfrontend log: Table 'mythconverg.videocountry' doesn't exist. The solution to that problem was in this thread
Getting ATI Remote Wonder II working
- In one of the recent Fedora releases the lirc_atiusb module was removed.
- include link to the bugzilla entry
- include link to lirc page(s): http://iguanaworks.net/downloads/lirc-0.8.5-3.iguana.i386.rpm
- used devinput driver
- had to tell hal to ignore the device
Iguana IR transmitter
- download and install iguanaIR package from xxxx
- rebuild lirc rpm
- yumdownloader --source lirc
- rpmbuild --rebuild lirc.src.rpm
- because the iguanaIR package is installed, it will rebuild with the iguanaIR device enabled
- force remove of lirc, install the newly built package
- lircd -H ? should now list iguanaIR as a supported driver
Getting both devices to work at the same time
- http://www.lirc.org/html/configure.html has notes on using more than one device. You have to start a new instance of lircd for each device.
- add --listen to LIRCD_OPTIONS of /etc/sysconfig/lirc