Improvements
With R5A22 you should no longer need XMLTV/the internet to get program listings since R5A22 is clever enough to grab them from the air instead. This also means you no longer need to fiddle with Video Sources in mythtv-setup. If you cannot get over the air tv guide [UK and Sweden only at the moment I think], or don't want to for some reason, then refer back to the relevant parts of this R5A16 guide:
http://mysettopbox.tv/phpBB2/viewtopic. ... 6007#36007
Stage 1 - Setting Up The Tuner
Stage 2 - Setup Remote Control
Stage 1 - Setting Up The Tuner
First of all make sure you have a decent aerial plugged into the Tv card. A strong signal is required for digital terrestial so hopefully your aerial is on the roof and set up correctly. Use this website to check what channels you can expect to receive in your area.
http://www.dtg.org.uk/retailer/coverage.html
I have heard a theory that if you scan for some channels at a time that they're not being broadcast (i.e. BBC3 and BBC4) then they will not be picked up. Can we confirm/deny this anyone?
1. Configure Tv Card In MythTv Setup
You will configure the tv card at the end of the Knoppmyth installation. However if you are configuring it later you can get back by running:
Code:
# mythtv-setup (from an X-Term window)
2. Select ‘General’ settings and make the following changes:(Example for PAL UK)
Set ‘TV Mode’ to ‘PAL’
Set ‘VBI Format’ to ‘PAL Teletext’
Set ‘Channel Frequency Table’ to ‘europe-west’
3. Select ‘Capture Cards’. Select ‘New Capture Card’”
Go up to ‘Card Type’ and change it to ‘Digital Video Broadcasting (DVB).
If the card is not detected then switch to a console window (CTRL ALT F3).
Code:
1. # ps –A
2. # kill -XXXX (where XXXX is the process id of ‘mythbackend’)
Now you need to know the name of your local transmitter. For example mine is ‘Winter Hill’ in Lancashire. Check on these websites if unsure:
http://www.bbc.co.uk/reception/transmit ... ndex.shtml, or
http://www.dtg.org.uk/retailer/transmitters.htmlCode:
3. # cd /usr/local/share/dvb/dvb-t/
4. # dvbscan uk-WinterHill | tee channels.conf
5. # nano channels.conf
Make sure that this file has a large block of data saved in it. You will notice that each frequency carries approximately 5-10 channels. My region found 6 different transports in total. You can check this link to see what channels you should expect in your areas:
http://www.freeview.co.uk/whatson/index.htmlQuote:
6. Return to mythtv-setup (CTRL ALT F7)
You should now see that the Nova-T is detected. If you see the ‘device busy’ error on this screen you must kill the backend in order to scan for channels. Note that you will lose access to the Nova-T card every time you reboot. To solve, simply kill the backend every time this happens.
4. Select ‘Video Sources’Select ‘New Video Source’
For ‘Video Source Name’ type ‘RadioTimesUK’
For ‘XMLTV Listings Grabber’ select ‘UK-Alternative’.
When you click ‘Finish’ it will now appear to get stuck at 50%. This is because the UK XMLTV Grabber doesn’t run in the frontend yet. Consequently you need to press ‘Alt+Tab’ to see the terminal window. Don’t waste your time adding the channels manually here, however you do need to add at least one channel so just type ‘FIVE’, press ENTER and then press ‘.’ to finish. This will create the following file:
/home/mythtv/.mythtv/RadioTimesUK.xmltv
5. Select ‘Input Connections’Select ‘DVB’
For the ‘Video Source’ select RadioTimesUK
Change the default channel number to 1 (if you prefer)
6. Select ‘Channel Editor’There are 2 ways to set up the transports:
Option A: Import the 'channels.conf' fileSelect 'Channel Editor'
Select 'Advanced'
Go up and change scan type to 'import channels.conf file'
Specify the path to the channels.conf file; this should be:
Quote:
usr/local/share/dvb/dvb-t/channels.conf
Select 'Next'
Note: For me this method is not working satisfactorily yet...- it adds all of the unavailable SKY channels,
- it sets 4 digit channel numbers, and
- it doesn't default to use OTA program guide
I suspect the solution is to create the channels.conf file in a way that organises it in a mythtv-setup compatible format.
Option B: Manually Configure the TransportsYou will need to refer back to the channels.conf file. Either get a pen and paper out or open up the file and keep switching to and from a console.
I
think that these values are always the same (for UK).
Bandwidth: 8MHz
Inversion: AUTO
Trans: 2K
Hierachy: none
Guard Interval: 1_32
The following values vary for each transport. Make sure you get these right or you might get 'choppy' viewing on certain channels. The first FEC value in the .conf file is the LP and the second FEC value is the HP.
Frequency: e.g. 7512666015
Constellation: e.g. QAM_16
LP: e.g. FEC_2_3
HP: e.g. FEC 1_2
Select ‘Scan for Channels’
Change the ‘Scan Type’ to ‘Scan Existing Transports’ and then select ‘Next’
You should hopefully see it scanning for channels and adding them to the list. Select one of the channels and make sure that it has set them to use OTA (grab tv guide data from the air).
Reboot
Select ‘Watch Tv’ and hope for the best.
Note: The tv guide data will slowly download from the air over 10 mins so don't be disheartened if it isn't there straight away. You may also notice slight decrease in performance as it downloads.
Stage 2 - Setup Remote ControlYou may have noticed that the Hauppage remote works but with limited functionality (i.e. the BACK button amongst others doesn't work!). To solve:
Option A: Fresh Install of LircCode:
# cd /usr/src
# wget http://kent.dl.sourceforge.net/sourceforge/lirc/lirc-0.7.2.tar.bz2
# tar xpvjf lirc-0.7.2.tar.bz2
# cd lirc-0.7.2
# ./configure
Select Driver configuration, Other, Linux input layer (/dev/input/eventX)
Save & Exit
Code:
# ./configure.sh
# make
# make install
Now to identify which event number your IR port on the Tv card is assigned to:
Code:
# cat /dev/input/event0
Press the back key on the remote and see if it displays any gibberish. If not, try again changing it to event1, event 2 or event3
If none of these work then you might have too many input devices plugged in. If so, you need to create an event 4,5, or 6.
Code:
# nano /etc/init.d/bootmisc.sh
To get it to work automatically on bootup add this to the bottom of the file, then save & exit. You need to change X to the event number that worked for you in the previous step.
Code:
/usr/local/sbin/lircd --device="/dev/input/eventX" /etc/lirc/lircd.conf
Finally you need to replace the following files:
Code:
/home/mythtv/.mythtv/lircrc
/etc/lirc/lircd.conf
You will find samples to replace them with on this guide:
http://mysettopbox.tv/phpBB2/viewtopic.php?t=6089 Your Remote Control should now be setup. One final tip: I recommend putting a mirror behind your mythbox to reflect the signal off. This means you can hide the clumsy IR sensor behind the mythbox where it will be out of sight.
Option B: Reconfigure LircNermander reckons there is an easier way but I struggle to interpret Swede/English:
http://mysettopbox.tv/phpBB2/viewtopic.php?t=6089 DiagnosticsI get 'choppy' viewing performance
Check the settings for each transport. If you left settings on AUTO rather than the values in the .conf file this can cause choppy viewing.
Make sure you are using a decent aerial, digital tv requires a strong signal.... mutilated coat hangers will not suffice.
Error messages Code:
nano /var/log/mythtv/mythbackend.log
Useful Links
http://www.comp.lancs.ac.uk/computing/u ... /ukdvb.php
http://www.linuxtv.org/
http://mysettopbox.tv/phpBB2/viewtopic.php?t=5827&