SUSE 10.0 and MythTV
Hardware used - my hardwareSUSE Linux 10.0
Netherlands, UPC
We are moving our stuff to the following wiki
CHECK THE MYTHTV WIKI
working on this http://www.mythtv.org/wiki/index.php/Opensuse_10.2
and this: http://ivtvdriver.org/index.php/Howto:Suse#openSUSE_10.2
and this: http://www.mythtv.org/wiki/index.php/XMLTV#Netherlands
CHECK OUR NEW POST ABOUT Mythtv and openSUSE 10.2 http://moosy.blogspot.com/2006/12/mythtv-on-opensuse-102.html
Install the base
Install SUSE Linux 10.0Do not install lirc or ivtv, remove the packges if they have been selected.
Create a user "mythtv"
add the External YaST Repositorie
packages for suse linux
ftp://ftp.gwdg.de/pub/linux/misc/suser-scrute
protocol - ftpSUSE 10 - 32 bit packages for Mythtv are available on the opensuse site. (Thanks Simon)
server name - ftp.gwdg.de (this is a mirror)
Directories - pub/linux/misc/suser-scrute/suse10
We also need to add Pacman as one of the YaST installation sources.
Intructions for Pacman here.
oeysteio posted his rpm's here.
LCD
LCD Took some time to figure out how to use the internal LCD could be used:used the lcdproc with the imon driver from vensky
/usr/local/sbin/LCDd
Before you load LCDd you can test it by doing a echo "test" ? /dev/lcd0
mysql
create databasecreate new: mysql -u root < /usr/share/doc/packages/mythtv/database/mc.sql
start all over / delete the database
delete database and start all over: (drop the database)
mysqladmin drop mythconverg
make the database multi user (more than 1 system)
$ mysql -u root mythconverg
mysql> grant all on mythconverg.* to mythtv@"%" identified by "mythtv";
mysql> flush privileges;
start all over
delete database and start all over: mysqladmin drop mythconverg
check/fix database
/usr/share/doc/packages/mythtv/contrib/optimize_mythdb.pl
backup and restore
$ mysqldump -u mythtv -pmythtv mythconverg -c > mythtv_backup.sql
To restore: (assuming that you've dropped the database)
$ mysql -u root
mysql>create database mythconverg;
mysql>exit
$ mysql -u mythtv -pmythtv mythconverg [smaller than] mythtv_backup.sql
cool backup script for mulitple days
Remote
The cooler master is a OEM version soundgraph imon inside device.
removed the standard lirc driver from suse and used the latest code from lirc.org
modprobe lirc_imod
/etc/init/lirc
irxevent
patch for 0.8 driver (mouse)
IVTV
This was the trickiest part. SuSE 10.0 comes with an old ivtv-0.3.7c. Compile the latest stable ivtv drivers from source. (howto)The ivtv drivers for the Hauppauge WinTV PVR-500 need firmware, (the firmware for ivtv cards isn't actually stored in ROM on the cards, it needs to be loaded every time the driver loads). Firmware for the 0.4.4 drivers goes in /usr/lib/hotplug/firmware
Used this howto for SUSE Linux 10.0
ls /usr/lib/hotplug/firmware
root 234284 Sep 9 2005 dvb-ttpci-01.fw
root 234284 Sep 9 2005 dvb-ttpci-01.fw-261f
root 262144 May 13 22:06 v4l-cx2341x-dec.fw
root 376836 May 13 22:06 v4l-cx2341x-enc.fw
root 155648 May 13 22:06 v4l-cx2341x-init.mpg
root 14264 May 13 22:06 v4l-cx25840.fw
ivtv Firmware page
XMLTV and Grabber
grabber for Netherlands
http://graphics.tudelft.nl/~paul/grabber/
homedir/.xmltv/tv_grab_nl_py.conf can be edited to delete some of the channels
that you don't need.
homedir /.mythtv/channels = hold your channel graphics
Fill database
Used http://laupro.nl/tvfreq/to get a list of channels in my area and the freq.
Used PHPMyAdmin to import in mysql.
phpmyadmin
edit /srv/www/htdocs/phpMyAdmin/config.inc.php
change authentication from cookie to http
start apache, http://192.168.1.20/phpMyAdmin/
script to grab only 1 day
here
Player (mplayer and/or xine)
Increase size of your subtitles in mplayerI use a lot of .srt files for subtitles and by default they are to small
http://www.linux4you.be/tutorials.php?id=4
Mythmovie and VOB, IFO and BUP
Mythmovie does not understand this and mplayer does not support DVD menu's.
So here is the trick:
add a file extension of "link" in mythfrontend/mythmovie
which executes the command:
# xine -V xv -r auto -pfhq `cat %s`
in the filen whatever.link contains:
dvd:/PATH/TO/MOVIE/
search: mythtv vob files, mythtv dvd images on disk, mythtv video_ts