Difference between revisions of "Opensuse 11.0"

From MythTV Official Wiki
Jump to: navigation, search
(Web frontend (mythweb))
m (fix double redirect)
 
(29 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| cellspacing=0 cellpadding=2 border=0
+
#redirect [[Opensuse_11.0_-_11.2]]
|width=22|{{Click || image=Go-up.png | link=Operating_system#openSUSE | width=22px | height=22px}}
 
|[[Operating_system#openSUSE|Other openSUSE version]]
 
|}
 
 
 
= Introduction =
 
 
 
 
 
{{SUSE_head|Benefits of using openSUSE 11.0 for mythTV}}
 
* Best hardware support available today with kernel 2.6.25 - compared to openSUSE 10.3 (kernel 2.6.22) - [http://kernelnewbies.org/Linux_2_6_23 what's new in 2.6.23], [http://kernelnewbies.org/Linux_2_6_24 what's new in 2.6.24], [http://kernelnewbies.org/Linux8_2_6_25 what's new in 2.6.25]
 
* Software installation (package management) is improved in openSUSE 11.0 and super fast. (libzypp)
 
* openSUSE 1-click install technology, packages or package bundles can be installed with 1 click (No need to compile)
 
** '''mythTV packages''' are available as a bundle with '''1-click install''' on [http://packman.links2linux.org/package/mythtv pacman]
 
** '''restricted formats''' (proprietary, patented formats) like MP3, Codecs, encrypted DVD support etc. are available with '''1-click install''' on [http://opensuse-community.org/Restricted_Formats/11.0 opensuse-community]
 
** '''proprietary video drivers''' for both AMD/ATI and NVIDIA are available with '''1-click install'''
 
** '''additional packages''' for the advanced user are also available with one '''1-click install''' from [http://software.opensuse.org/search software.opensuse.org] (e.g. lcd support)
 
* New and super fast installation, completing in roughly just 35 minutes (including mythTV software)
 
* Improved ACPI functionality for suspend and wake-up to reduce power consumption
 
* Good openSUSE, mythTV documentation and a friendly community ;-)
 
read [http://en.opensuse.org/OpenSUSE_11.0 more]
 
 
 
http://gk2.sk/countdown/full.png
 
 
 
 
 
[[Image:Myth_suse.jpg|right|275px|]]
 
 
 
 
 
{{SUSE_head|About openSUSE}}
 
SUSE Linux, one of the oldest Linux distributions, was originally developed by a German company. SuSE is an acronym in the German language for “Software und System-Entwicklung” which translates as software and system development.
 
 
 
The [http://opensuse.org openSUSE project] is a community program sponsored by [http://www.novell.com Novell].  With the launch of the openSUSE project, openSUSE is now developed in an open model—public development builds, releases, and sources will be posted frequently and users will have access to the Bugzilla database for defect reporting.
 
[[Image:Functional_diagram.png|right|280px|]]
 
For rich, reliable and secure home computing like mythTV, there's no better choice than openSUSE. It features an easy-to-install Linux operating system that includes most of the required mythTV components standard in the box. While the official mythTV documentation attempts to be as distribution-agnostic as possible, this document is geared specifically toward building a mythTV system on the openSUSE Linux distribution.
 
 
 
openSUSE, in combination with the PackMan (thanks Herbert Graeber for building the rpm's) repository, provides you with an easy installation and all the latest packages of the mythTV rpms, ivtv, lirc, xmltv, php, mysql, mplayer, xine and many more that are necessary for a fully functional mythTV box.
 
 
 
{{Mythtv_version|openSUSE 10.3}}
 
 
 
{{Webpage|www.novell.com/documentation/suse.html|openSUSE official documentation}}
 
 
 
{{Webpage|www.novell.com/products/opensuse/sysreqs.html|System requirements for openSUSE}}
 
 
 
{{Webpage|www.novell.com/products/linuxpackages/opensuse/index.html|All packages included in openSUSE}}
 
 
 
{{Wikipage|Executive_Overview|mythTV Executive_Overview}}
 
While mythTV can take quite some time to install, the result will be a fast box that can do nearly anything to entertain. Furthermore, the system is incredibly reliable, and if you leave it on, you can expect runtimes that last for years with little to no maintenance to be done (aside from updates if desired). We've also experienced that the WAF (Wife Acceptance Factor) for mythTV is enormous. As soon as you start playing with it, you need a second box because it becomes the most mission critical system in your house.
 
I hope this document will help you in your quest for your ultimate mythbox. Remember this: ''"MythTV can be a time machine; hours can disappear for no reason at all."''
 
 
 
 
 
 
 
{{SUSE_head|Hardware considerations}}
 
Installing mythTV all starts with good hardware. The first requirement is a machine capable of running [http://opensuse.org openSUSE] x86 or x86-64  and that can be connected to the Internet. You will also need a decent audio card and a video card, a hard drive with as much storage space as you desire, as well as a TV tuner capable of performing hardware-level video encoding. Many people run mythTV without any problems on older hardware; however, if you are planning on doing anything with high definition video or complex transcoding jobs, you will need to have sufficient memory and processing power. Check this wiki and the mailinglist before you purchase any new hardware.
 
 
 
You might also find it useful to look at http://www.silentpcreview.com/ if you build a machine for your living room, in order to get advice on low power-consumption, low noise setups.
 
 
 
{{Wikipage|Bare_Bones_System|Bare_Bones_System}}
 
{{Wikipage|Cases|Cases}}
 
[http://www.mythtv.org/wiki/index.php/Category:Hardware more]
 
 
 
{{SUSE_head|Join the community and get some help}}
 
;Subscribe to the mythTV users mailing list
 
mythTV user mailing list [http://www.mythtv.org/mailman/listinfo/mythtv-users www.mythtv.org/mailman/listinfo/mythtv-users]
 
 
 
mythTV user mailing list archive [http://www.gossamer-threads.com/lists/mythtv/users/ www.gossamer-threads.com/lists/mythtv/users/]
 
 
 
;Chat with other mythTV users
 
IRC
 
irc.freenode.net #mythtv-users
 
 
 
=Initial system setup and considerations =
 
 
 
{{SUSE_head|openSUSE 11.0 Media (DVD and/or CD) }}
 
For users new to Linux, the supported version of openSUSE may be the best choice—you'll get complete end-user documentation, installable media for x86 and x86 64-bit systems, plus 90 days of end-user installation support. Others just download openSUSE from one of the sources.
 
 
 
{{Download|software.opensuse.org|Download openSUSE 11.0}}
 
 
 
{{Webpage|en.opensuse.org/Buy_openSUSE|Buy online (including 90 days support, a real manual and a fancy DVD)}}
 
 
 
 
 
{{SUSE_head|Partitions and File Systems}}
 
 
 
openSUSE ships with a number of different file systems, including ReiserFS, Ext2, Ext3 and XFS, from which to choose at installation time. Each file system has its own advantages and disadvantages that can make it more suited to a scenario. Professional high-performance setups may require a different choice of file system than a home user's setup.
 
 
 
 
 
Earlier versions of openSUSE used ReiserFS as the default filesystem. From openSUSE 10.3 and on, ext3 is the default file system.
 
 
 
 
 
{{SUSE_head|FILE SYSTEM RECOMMENDATIONS}}
 
Use ext3 as your default file system. Consider using XFS for your video data. XFS is very good at manipulating and deleting large files and performs well on high-end hardware.
 
 
 
 
 
{{SUSE_head|OTHER RECOMMENDATIONS}}
 
Make sure you understand what hardware you have - especially if you have issues an need to Google.
 
 
 
<code>lspci -v</code> and <code>lsusb</code> and <code>hwinfo</code>
 
 
 
 
 
{{SUSE_head|ADDITIONAL INFORMATION}}
 
 
 
{{Wikipage|File_storage#File_systems|File Systems}}
 
{{Webpage|www.novell.com/documentation/sles10/sles_admin|SUSE Linux Enterprise documentation about file systems}}
 
 
 
= Install mythTV software on openSUSE =
 
[[Image:Package.png|24px]]{{SUSE_head|INSTALL, THE EASY WAY }}
 
;STEP (1 of 4) - repositories
 
Add the required software repositories
 
{{Tip box|Describe howto add/check the required repositories.}}
 
 
 
 
 
;STEP (2 of 4) - multimedia
 
This will install the Restricted Multimedia Formats ranging from MP3 Codecs to playing Encrypted DVDs
 
{| cellspacing=0 cellpadding=2 border=0
 
|width=146|{{Click || image=1click.jpg | link=Opensuse_10.3 | width=146px | height=52px}}
 
|[http://opensuse-community.org/codecs-kde.ymp Install Restricted Multimedia Formats for KDE users]
 
|}
 
{| cellspacing=0 cellpadding=2 border=0
 
|width=146|{{Click || image=1click.jpg | link=Opensuse_10.3 | width=146px | height=52px}}
 
|[http://opensuse-community.org/codecs-gnome.ymp Install Restricted Multimedia Formats for GNOME user]
 
|}
 
 
 
 
 
;STEP (3 of 4) - requirements
 
Install the prerequisite packages with zypper by copying and pasting the following into a terminal (as root)
 
 
 
{{Mythtv_version|mythTV 0.20 or openSUSE 10.3}}
 
 
 
<code>
 
'''sudo zypper in''' alsa audit-libs dvb flac gcc ivtv ivtv-firmware kernel-source libao libdvdread3
 
'''sudo zypper in''' libid3tag lirc mjpegtools mysql php5 python xine-ui xmms fame libcdaudio libfame lame MPlayer
 
'''sudo zypper in''' phpMyAdmin pvm transcode xvid apache2 yast2-http-server apache2-mod_php5
 
</code>
 
 
 
 
 
 
 
;STEP (4 of 4) - mythtv
 
This will install the mythTV packages for both frontend and backend from the packman repository.
 
{| cellspacing=0 cellpadding=2 border=0
 
|width=146|{{Click || image=1click.jpg | link=Opensuse_10.3 | width=146px | height=52px}}
 
|[http://packman.links2linux.org/install/mythtv Install mythTV from packman]
 
|}
 
 
 
= Configure mythTV server components (mythbackend)=
 
The server components within mythTV are referred to as '''the mythbackend'''.
 
 
 
Because the configuration of the mythTV application itself is not openSUSE specific, you find mainly links to the information.
 
 
 
http://www.mythtv.org/modules.php?name=MythInstall mythtv.org Documentation
 
{{Wikipage|User_Manual:Index|Manual}}
 
 
 
== Start required services ==
 
 
 
Make sure all required system services are running on startup:
 
As root start 'yast2 runlevel' and enabel the following services and click OK after popup dialog
 
 
 
*ntp
 
*mysql
 
 
 
Notice there is a mythbackend option, would suggest that you do not enable "mythbackend" just yet, until you have tried running in a terminal window as below. If all steps below work then enable this to run.
 
 
 
{{Tip box|On openSUSE, you can manually add things to <code>/etc/init.d/boot.local</code>, that should happen directly after booting}}
 
 
 
==  Create the database (mysql) ==
 
mythTV uses MySQL to store it's settings, listings, recording schedules, and other information. So we have to make sure openSUSE starts MySQL when it boots, and we have to initialize the database with some basic information that mythTV can work with. The database is probably the most important component of mythTV because without it, absolutely none of mythTV can function.
 
 
 
 
 
 
 
{{SUSE_head|TROUBLESHOOT/CONFIGURATION TIPS}}
 
1.) The MySQL deamon (mysql) is not started automatically by default after a reboot. 
 
As root start 'yast2 runlevel', select mysql and make sure it's started at boot time.
 
 
 
2.) Create the database
 
If the database is not started, start mysql (as root) by typing
 
/etc/init.d/mysql start
 
Watch for errors. Set up a root password by typing
 
mysqladmin -u root password <yourpasswordhere>
 
 
 
Once MySQL is setup, install the mythTV Database. This is done by running:
 
mysql -u root -p < /usr/share/doc/packages/mythtv-doc/database/mc.sql
 
(and key-in the previously entered password)
 
You should see no output - this is a good thing!
 
 
 
 
 
By default, the database is named [http://www.mythtv.org/wiki/index.php/Database_Schema mythconverg] and contains a set of [http://www.mythtv.org/wiki/index.php/Category:DB_Table tables] that interact with one-another.
 
 
 
{{Tip box|make the database multi user, so you can access it from more than 1 machine; this will assign a user named "mythtv" with a password of "mythtv " to the "mythconverg" database:
 
 
 
mysql -u root -p mythconverg
 
 
 
You will then be connected directly to the database. Enter the following commands at the '''mysql>''' prompt.
 
'''mysql>''' grant all on mythconverg.* to mythtv@"%" identified by "mythtv";
 
'''mysql>''' flush privileges;
 
'''mysql>''' quit;
 
}}
 
 
 
==  MythTV backend setup application (mythtv-setup) ==
 
[[Image:mythtv-setup-Blue.png|175px|right|mythtv-setup]]
 
The server components within mythTV are referred to as '''the mythbackend'''.
 
 
 
Because the configuration of the mythTV application itself is not openSUSE specific, you find mainly links to the information.
 
 
 
http://www.mythtv.org/modules.php?name=MythInstall mythtv.org Documentation
 
{{Wikipage|User_Manual:Index|Manual}}
 
 
 
{{Wikipage|User_Manual:Detailed_configuration_Backend|User Manual}}
 
 
 
 
 
{{SUSE_head|NOTE}}When everything works. The mythserver process (mythbackend) is not started automatically by default after a reboot. 
 
As root start 'yast2 runlevel', select mythbackend and make sure it's started at boot time.
 
 
 
 
 
 
 
=== Digital Video capture card (DVB)===
 
{{SUSE_head|TROUBLESHOOT/CONFIGURATION TIPS }}
 
 
 
{{Todo_box|generic tips for DVB users. What needs tobe checked when working with DVB, where are files stored. See the analogue section for inspiration}}
 
 
 
1.) Check (and update) the hardware specific section on the mythTV wiki
 
{{Wikipage|Hauppauge_WinTV_Nova-T_500_PCI|Hauppauge_WinTV_Nova-T_500_PCI}}
 
 
 
=== Analogue Video capture card (IVTV)===
 
[[Image:Pvr500.jpg|right|100px|]]A TV capture card, also called a TV tuner card, is a device that receives TV signals and converts
 
them into a digital format. With a minimum of one TV tuner card installed, you can watch and record TV by using your mythTV system. If you install a second TV tuner, you can record or watch TV from more than one channel at the same time.
 
 
 
 
 
If you have one TV tuner, for example the Hauppauge PVR-150, you can:
 
 
 
* Record TV on one channel
 
* Watch live TV on one channel
 
* Watch a recorded show while you record another show
 
 
 
 
 
If you have two TV tuners, for example the Hauppauge PVR-500, you can:
 
 
 
* Record TV on two different channels at the same time
 
* Watch live TV on one channel while another show that is on a different channel is recorded
 
* Watch a recorded show while you record two shows at the same time
 
 
 
 
 
mythTV supports a myriad of different video capture cards by utilizing the IVTV driver, a kernel driver for Linux and a driver for X11 for hardware based on Conexant's CX23415/CX23416 codec chip. The recommended analogue Standard Definition Cable (SDC) capture cards are the Hauppauge PVR.
 
 
 
 
 
{{SUSE_head|ADDITIONAL INFORMATION}}
 
{{Webpage|www.ivtvdriver.org/index.php/Supported_hardware|a complete list of supported hardware by IVTV}}
 
{{Wikipage|Video_capture_card#Capture_Card_Matrix|capture card matrix on the mythTV wiki page}}
 
{{Webpage|ivtvdriver.org/index.php/Howto:Suse#openSUSE_10.2|ivtv wiki, primary resource}}
 
{{Webpage|en.opensuse.org/HCL/TV_Cards|openSUSE wiki, supported TV cards}}
 
 
 
 
 
 
 
openSUSE 10.3 ships with IVTV version 0.10.3 and ivtv-firmware 0.10.3, everything is auto detected on the x86 and x86-64 bit version of the OS.
 
Please make sure you install the ivtv-firmware from YaST from the NON-OSS openSUSE repository.
 
 
 
{{Download|ivtv|ivtv, located on 10.3 media OSS}}
 
{{Download|ivt_firmware|ivt_firmware, located on 10.3 media NON_OSS}}
 
 
 
{{SUSE_head|FIRMWARE}}
 
IVTV-based cards are hardware encoders, but the firmware does not exist in the card itself. Instead, you must point your hardware to an extracted version of the firmware on disk. One of the benefits of openSUSE is that it has the closed source ivtv-firmware drivers available in the NON-OSS repository.
 
This Firmware is licensed for use only in conjunction with Hauppauge component products. More info about the license can be found in the license agreement included in the package.
 
 
 
 
 
{{SUSE_head|Configuration Tips }}
 
 
 
{{SUSE_head|Check the IVTV console output with dmesg:}}
 
dmesg | egrep -i '(ivtv|tveeprom|tuner)'
 
Your output should look something like this example from the Hauppauge PVR500:
 
ivtv:  ==================== START INIT IVTV ====================
 
ivtv:  version 0.x.x (tagged release) loading
 
ivtv:  Linux version: x.x.xx.x-default SMP mod_unload gcc-4.1
 
ivtv:  In case of problems please include the debug info between
 
ivtv:  the START INIT IVTV and END INIT IVTV lines, along with
 
ivtv:  any module options, when mailing the ivtv-users mailinglist.
 
ivtv0: Autodetected Hauppauge WinTV PVR-150 card (cx23416 based)
 
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes)
 
ivtv0: This is the first unit of a PVR500
 
tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
 
tuner 1-0060: chip found @ 0xc0 (ivtv i2c driver #0)
 
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
 
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
 
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
 
ivtv0: Encoder revision: 0x02060039
 
etc..
 
 
 
 
 
{{SUSE_head|The lspci command can give you more information about your card and tuner:}}
 
 
 
lspci | grep -i itv
 
 
 
Your output should look something like this example from the Hauppauge PVR500:
 
03:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
 
03:09.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
 
 
 
 
 
{{SUSE_head|Check if the firmware is installed in the correct location:}}
 
 
 
ls /lib/firmware -l
 
 
 
*license-end-user.txt
 
*license-oemihvisv.txt
 
*v4l-cx2341x-dec.fw
 
*v4l-cx2341x-enc.fw
 
*v4l-cx2341x-init.mpg
 
*v4l-cx25840.fw
 
*v4l-pvrusb2-24xxx-01.fw
 
*v4l-pvrusb2-29xxx-01.fw
 
 
 
 
 
{{SUSE_head|Check what version of ivtv is installed:}}
 
 
 
To check what version is installed, issue the command:
 
rpm -qa | grep ivtv
 
 
 
Your output should look something like:
 
ivtv-kmp-default-0.10.3
 
ivtv-0.10.3
 
 
 
 
 
{{SUSE_head|The IVTV configuration is maintained by YaST and it is not recommended to edit the file directly. To see the configuration of the device:}}
 
cat /etc/modprobe.d/tv
 
 
 
Your output should look something like this example from the Hauppauge PVR500:
 
alias char-major-81 videodev
 
options i2c-algo-bit bit_test=1
 
# YaST configured TV card
 
# Uog3.chCB1CyIbw9:WinTV PVR 150
 
alias char-major-81-0 ivtv
 
# YaST configured TV card
 
# ZvjX.sZc4ePByvkF:WinTV PVR 150
 
alias char-major-81-1 ivtv
 
alias char-major-81-2 off
 
alias char-major-81-3 off
 
 
 
 
 
{{SUSE_head|Reload the ivtv module manually:}}
 
rmmod ivtv
 
modprobe ivtv
 
 
 
 
 
{{SUSE_head|Check if the video devices are available to the system:}}
 
 
 
ls /dev/vi* -l
 
 
 
Your output should look something like this example from the (dual tuner) Hauppauge PVR500:
 
 
 
lrwxrwxrwx 1 root root 6 Dec 29 06:27 /dev/video -> video0
 
crw-rw----+ 1 root video 81, 0 Dec 29 06:27 /dev/video0
 
crw-rw----+ 1 root video 81, 1 Dec 29 06:27 /dev/video1
 
crw-rw----+ 1 root video 81, 24 Dec 29 06:27 /dev/video24
 
crw-rw----+ 1 root video 81, 25 Dec 29 06:27 /dev/video25
 
crw-rw----+ 1 root video 81, 32 Dec 29 06:27 /dev/video32
 
crw-rw----+ 1 root video 81, 33 Dec 29 06:27 /dev/video33
 
 
 
The above is for a PVR-500. Here is what each device corresponds to in this case:
 
 
 
'''Tuner unit #1: - For your info'''
 
/dev/video0 – The encoding capture device (Read-only)
 
/dev/video24 – The raw audio capture device (Read-only)
 
/dev/video32 – The raw video capture device (Read-only)
 
/dev/radio – The radio tuner device
 
/dev/vbi0 – The "vertical blank interval" (Teletext) capture device
 
 
 
 
 
'''Tuner unit #2: - For your info'''
 
/dev/video1 – The encoding capture device (Read-only)
 
/dev/video25 – The raw audio capture device (Read-only)
 
/dev/video33 – The raw video capture device (Read-only)
 
/dev/vbi1 – The "vertical blank interval" (Teletext) capture device
 
 
 
 
 
{{SUSE_head|Check (and update) the hardware specific section on this page and the dedicated mythTV wiki pages}}
 
{{Wikipage|Video_capture_card|Video capure cards on the}}
 
 
 
;Hauppauge PVR-150
 
{{SUSE_head|Hauppauge PVR-150}}
 
{{Wikipage|Hauppauge_PVR-150|Hauppauge_PVR-150, single tuner}}
 
 
 
 
 
;Hauppauge PVR-250
 
{{SUSE_head|Hauppauge PVR-250}}
 
{{Wikipage|Hauppauge_PVR-250|Hauppauge_PVR-250}}
 
 
 
 
 
;Hauppauge PVR-350
 
{{SUSE_head|Hauppauge PVR-350}}
 
{{Wikipage|Hauppauge_PVR-350|Hauppauge_PVR-350, single tuner and TV-out}}
 
 
 
 
 
;Hauppauge PVR-500
 
{{SUSE_head|Hauppauge PVR-500}}
 
{{Wikipage|Hauppauge_PVR-500|Hauppauge_PVR-500, dual tuner}}
 
 
 
If you are lost; [http://www.flickr.com/photos/98068939@N00/tags/mythtv/ here] are some screenshots of mythtv-setup for a PVR-500 in the [[Netherlands]].
 
 
 
=== Channels and frequencies ===
 
 
 
 
 
===  Get the program guide into your system (XMLTV) ===
 
The most difficult part of installing/configuring MythTV is getting the data, name and frequency of all the channels in the database. This can be done from mythtv-setup. Since there must be more MythTV users in your area, chances are that someone already did this. So check the country specific information and with some luck you can import a setup file to your database.
 
 
 
The program guide in mythTV is a listing of TV shows that you receive over the network.
 
 
 
XMLTV is a set of utilities to transfer and store EPG (Electronic Program Guide) in a XML format for various countries.
 
 
 
It's good to understand the following components before you begin:
 
 
 
*XMLTV Grabber = country specific module to grab EPG (Electronic Program Guide) info from a source and translates it to XML format.
 
 
 
*XMLTV ID = Value that exists in the XMLTV data and in the Channel table. It's the link/mapping to get the information on the correct channel.
 
 
 
*CHANNELS = Your TV channels, with their channel number and frequencies as defined in mythtv-setup
 
 
 
*CHANNEL_ICONS = Bitmaps that are displayed by mythfrontend as a graphical representation of the channel. (example: CNN logo)
 
 
 
*mythfilldatabase = An mythTV application that uses the XMLTV grabber that you defined in mythtv-setup and stores the information in the MySQL database.
 
 
 
 
 
The most essential data in your database is the channel mapping: The mythconverg_channel table in the database links/maps the following information
 
channel number frequency name of the channel XMLTV number
 
Without this information the EPG (Electronic Program Guide) can not work.
 
 
 
{| cellspacing=0 cellpadding=2 border=0
 
|width=146|{{Click || image=1click.jpg | link=Opensuse_10.3 | width=146px | height=52px}}
 
|[http://packman.links2linux.org/install/xmltv Install XMLTV from pacman]
 
|}
 
 
 
For most European countries you need XMLTV and a grabber.
 
 
 
 
 
The first thing you should do to get listings into the database is to set up your channels. In mythtv-setup, after you have set up your card, you can configure a video source based on your geographic location. The video source config page has a field for "grabber"; select your country there and mythTV will be ready to run a program called "mythfilldatabase" that will use XMLTV and tv_grab_XX, where XX is your country specific method. So, XMLTV works by running a custom grabber for your country. This grabber collects guide data from the sources appropriate to your country.
 
 
 
 
 
'''Country specific information''' <small>
 
[[Netherlands|Netherlands,]]
 
[[Data_Direct|North America,]]
 
[[Uk_xmltv|UK,]]
 
[[XMLTV|more]]
 
</small>
 
 
 
 
 
{{Tip box|For some countries, providers, areas there are channel.sql files available that hold all channels and frequencies for your area and that can be imported directly into the mySQL database. See the [[XMLTV]] page for more details about your country specific information.}}
 
 
 
Different countries and providers have different ways of configuring XMLTV.
 
 
 
{{Wikipage|XMLTV|XMLTV}} to see specifics for your country about XMLTV and the EPG:
 
 
 
 
 
 
 
{{SUSE_head|TROUBLESHOOT/CONFIGURATION TIPS}}
 
;What user
 
The grabber for your country may have it's settings stored in the users home directory (~./.xmltv or ~./.mythtv).
 
Normally your should run mythfilldatabase as user and not as root.
 
 
 
 
 
;Have a quick look in the database
 
This will show channel numbers, xmltvid etc.
 
mysql -u''<username>'' -p''<password>'' mythconverg -e 'SELECT name, freqid, chanid, channum, xmltvid  FROM `channel`  WHERE sourceid = "1"  ';
 
 
 
{{Todo_box|generic tips (not country specific) about home/.xmltv and home/.mythtv, the mythfilldatabase process etc,
 
 
 
TV Channels and XMLTV ID
 
 
 
add some links to the important sections on this wiki
 
}}
 
 
 
 
 
 
 
= Use and configure mythTV clients (frontends) =
 
== Integrated LCD or VFD panel (LCDProc) ==
 
== Remote Control (LIRC) ==
 
== Audio setup ==
 
== TV Output (Proprietary Driver) ==
 
You can use several different types of connections to connect your mythTV frontend PC to a TV.
 
The S-Video cable works well with most standard TVs. The picture below explains the different types of connections that can be used to connect yout TV.
 
 
 
The type of output your PC's video card can do, and the type of inputs your TV can handle are primarily what dictates what you should use to connect them. From highest- to lowest-quality, the order of consideration is: HDMI, DVI (both of which are digital), VGA, Component, S-Video and finally Composite (all of the rest are analog).
 
 
 
.
 
[[Image:Hdmiconnector.jpg|thumb|80px|left|HDMI digital]][[Image:Dviconnector.jpg|thumb|80px|left|DVI digital]]
 
[[Image:Vgaconnector.jpg|thumb|80px|left|VGA analog]]
 
[[Image:Componentconnector.jpg|thumb|80px|left|Component analog]][[Image:Svideoconnector.png|thumb|80px|left|S-Video analog]][[Image:Compositeconnector.jpg|thumb|80px|left|Composite analog]]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
;ATI/AMD
 
{{SUSE_head|Install the ATI driver with 1-Click Install}}
 
{| cellspacing=0 cellpadding=2 border=0
 
|width=146|{{Click || image=1click.jpg | link=Opensuse_10.3 | width=146px | height=52px}}
 
|[http://opensuse-community.org/ati.ymp ATI driver from the opensuse-community]
 
|}
 
 
 
 
 
{{SUSE_head|Manual download and install the driver}}
 
{{Download|ati.amd.com/support/driver.html|Download the latest driver from ATI}}
 
 
 
 
 
 
 
{{SUSE_head|ADDITIONAL INFORMATION}}
 
{{Wikipage|AtiProprietaryDriver|AtiProprietaryDriver}}
 
{{Webpage|en.opensuse.org/ATI|openSUSE AMD/ATI page}}
 
 
 
;NVIDIA
 
{{SUSE_head|Install the NVIDIA driver with 1-Click Install}}
 
{| cellspacing=0 cellpadding=2 border=0
 
|width=146|{{Click || image=1click.jpg | link=Opensuse_10.3 | width=146px | height=52px}}
 
|[http://opensuse-community.org/nvidia.ymp If you have a new NVIDIA cards]
 
|}
 
{| cellspacing=0 cellpadding=2 border=0
 
|width=146|{{Click || image=1click.jpg | link=Opensuse_10.3 | width=146px | height=52px}}
 
|[http://opensuse-community.org/nvidia-legacy.ymp If you have a legacy NVIDIA cards]
 
|}
 
 
 
List of [http://en.opensuse.org/NVIDIA/Legacy Legacy NVIDIA cards]
 
 
 
 
 
 
 
{{SUSE_head|Manual download and install the driver}}
 
{{Download|www.nvidia.com/object/unix.html|Download the latest driver from NVIDIA}}
 
 
 
 
 
 
 
{{SUSE_head|ADDITIONAL INFORMATION}}
 
{{Wikipage|NVidiaProprietaryDriver|NVidiaProprietaryDriver}}
 
{{Webpage|en.opensuse.org/Nvidia|openSUSE NVIDIA page}}
 
 
 
;Hauppauge PVR-350
 
{{SUSE_head|Hauppauge PVR-350}}
 
{{Wikipage|Hauppauge_PVR-350|Hauppauge_PVR-350, single tuner and TV-out}}
 
 
 
= Making it an appliance =
 
Start all required services
 
remove the services
 
crom cron and database maintencance tricks
 
acpi wakeup
 
mythfilldatabase scheduled
 
 
 
= Tips and tricks =
 
[[Category:OpenSUSE]]
 

Latest revision as of 03:24, 19 August 2010