Mythbuntu 12.04

From Indie IT Wiki

Tuesday 24 July 2012.

Install

  • welcome page: says "you may want to read the release notes or update this installer."
    • yes, go to the mythtv.org wiki and check the latest version, or try the Zsync option.

Post Install

  • quit out of MythTV Frontend by pressing ESC
  • Applications > System > Update Manager
    • settings
    • remove cdrom sources
    • install updates
  • reboot
  • Applications > Settings > Additional drivers
    • nvidia 'post-release-updates'
  • reboot
  • sudo apt-get install lm-sensors
    • sensors-detect
    • service sensors start
    • cpu now 41C and fan at 900RPM
  • firmware for freesat card (Hauppauge Nova-HD-S2)
    • install linux kernel sources:
    • sudo apt-get install dpkg-dev
    • sudo apt-get source linux-image-$(uname -r)
    • mkdir firmware
    • cd firmware/
    • wget http://www.wintvcd.co.uk/drivers/88x_2_126_28225_WHQL.zip
    • unzip 88x_2_126_28225_WHQL.zip
    • sudo dd if=Driver88/hcw88bda.sys of=/lib/firmware/dvb-fe-cx24116-1.26.90.0.fw bs=1 skip=105768 count=32290
    • sudo ln -s /lib/firmware/dvb-fe-cx24116-1.26.90.0.fw /lib/firmware/dvb-fe-cx24116.fw
    • reboot
    • cx24116_firmware_ondemand: Waiting for firmware upload (dvb-fe-cx24116.fw)...
    • cx24116_firmware_ondemand: Waiting for firmware upload(2)...
    • cx24116_load_firmware: FW version 1.26.90.0
    • cx24116_firmware_ondemand: Firmware upload complete
  • sudo apt-get install uptimed
  • sudo apt-get install libdvdread4
  • sudo /usr/share/doc/libdvdread4/install-css.sh
  • sudo apt-get install vlc
  • alsamixer (set all to 50%)
  • aplay /usr/share/sounds/alsa/Noise.wav
  • vlc dvd://
  • install MakeMKV
  • sudo apt-get install tree
  • sudo apt-get install mediainfo
  • Channels

We will now scan for SD and HD channels separately. First we will scan for the DVB-S (SD) channels. To do this, enter the details for one transport and it will find the rest. Hit "Scan for channels" and enter the following details:

Freq: 10714000
Polarity: Horizontal
Symbol rate: 22000000
Mod Sys: DVB-S
FEC: 5/6
Modulation: QPSK
Inversion: leave at auto
Rolloff: leave at 0.35

The channel scan will take a few minutes to complete. Check the /var/log/kern.log file if you have problems. Now we will scan for the DVB-S2 (HD) channels using the following details:

Freq: 10847000
Polarity: Vertical
Symbol rate: 23000000
Mod Sys: DVB-S2
FEC: 8/9
Modulation: QPSK
Inversion: leave at auto
Rolloff: leave at 0.35

Hopefully it will find BBC HD, BBC ONE HD, etc.

    • mysqldump -uroot -p mythconverg > mythconverg_afterchannelscanb4script.sql
    • Now run my SQL script to change all the chanel numbers and names
    • now go back into mythtv-setup and change Input Connections to start on Channel 101
    • mysqldump -uroot -p mythconverg > mythconverg_afterchannelscanafterscriptandtweak.sql

Copy Recordings from 0.24 Installation

WARNING - UNFINISHED INSTRUCTIONS - BACK SOON

./extract_sql.pl --listTables -r mythconverg.sql 
./extract_sql.pl -t recorded -r mythconverg.sql > recorded.sql
mysqldump -u root -p mythconverg > mythconverg_NEW.sql
mysql -u root -p mythconverg < recorded.sql 
    • Copy files from old hard drive to new hard drive

How To Clear MythTV Database And ReInstall

sudo killall mythbackend (a few times)
service mythbackend stop?
mysql -uroot -p 
> drop database mythconverg
> quit
apt-get remove mythtv-database
apt-get install mythtv mythtv-master-backend mythtv-database
reboot