98 thoughts on “MythTV on Ubuntu Hardy”

  1. How would you scan for TV channels in the US? The atsc/dvbscan program needs “initial tuning data”, but I don’t know what that data is. How can I obtain it?


  2. Very interested in your endeavours. Have you tried the ‘Cubit 3′ case? Extremely fiddly and limited hardware, but looks fantastic. We have a white one. ‘Linitx’ in Chelmsford(?) and ‘mini-ITX’ in Holland have some interesting solutions. I have found loads of help, but where to start? Anyway ~ back to configuring ‘mysql’……….! Regards, David Crawford.

  3. Could y’all point me on to the right track (or in the right direction)?

    I find myself caught in a vicious circle, as I try to configure the backend, I get the blue kyb and remote only menu to configure the database. After going through that menu, I’m told it cannot connect to database. I know nothing about sql and I’m running Hardy on an Athlon 64.

    Many Thanks, Dinu.

  4. Hi David,

    I’ve bought stuff from Linitx before. They’re a good store. I haven’t tried the Cubit, though – a bit expensive for me. Nice if you have the cash and want to look at something fancy next to your TV, but I prefer to hide a cheap box out of the way!

  5. Trying to set up MythTV on Ubuntu has been one of the most frustrating exercises. I don’t want to set up a database, type SQL commands, or answer questions about what ports to run things on. I just want to run MythTV, record television, and watch videos I have already recorded.

    The only thing it should really ask me is my language and the region where I am; all the rest should be auto-configuring.

  6. MythTV is pretty simple to set up, and *much* easier than it used to be. However, it offers much more that just recording TV. If that’s all you want then maybe an off the shelf PVR would suit you better. MythTV offers the ability to run remote frontends and schedule recordings from anywhere in the world. When you’re doing stuff like that on a computer you need to know a bit about networking and ports.

    Having said that, you should not have to type any SQL commands or setup the database just to get it working. If you’ve had to do that then something must have gone wrong with your installation. That’s not the experience of most users.

  7. Hi Gary,

    Thanks for the myth instructions I have found it very helpful.

    But I’m stuck on setting up the remote. I have a hauppauge Nova T 500 card and remote. I’m unsure how to copy the lircd.conf and hardware.conf into /etc/lirc. I have tried following this bit but have found that some buttons work and not others. I used the lircd.conf.2 as my card was brand new. Any help would be appreciated.


  8. The lirc config on my site is for the single tuner cards. For the Nova-T 500 you need the config from here:


    To copy the files to /etc/lirc you can use the command line, e.g., download it to your Desktop and do:

    cd ~/Desktop
    sudo cp lircd.conf hardware.conf /etc/lirc

    (~/ means your home directory)
    (you need to do sudo because you need superuser privileges to write to the /etc/lirc directory)

    You could also use Nautilus, the file manager (“Places->Desktop” from the top menu) to copy the files.

    Hope this helps,

  9. Garry.
    Have you ever played with DVB-S ? Reason I ask is that I have a perfect Mythtv setup (via your site) but sadly my signal here on Freeview is dire, went out an bought two Nova-S plus cards, system can see them and after that I draw a blank on setting them up. Seems that not many are using them for FreeSat, and I quite liked the idea of HD at some stage. Seen any setup guides UK specific ?

    Regards Paul.

  10. Hi Paul,

    Sorry, I’ve never played with DVD-S. I don’t have a HD TV at present, so FreeSat doesn’t particularly interest me.

    I have spoke to people who have got it working with Technisat SkyStar 2 cards. Not sure about the Hauppauge cards, though.


  11. Hi,

    Just like to say that due to your guides I got my first Myth Box up and running in no time at all. Since then I’ve been hooked. I’ve just bought some new hardware,a nd built a brand new system with HD in mind.

    I am quite techie so installing straight from apt-get was fine for me but I wanted to try the streamlined distro’s. Mythbuntu is ace. The new version is based on Hardy, and is as easy as pie to install. Hopefully this will entice people away from Windows MCE. Here’ s a link to my blog, where I discuss my new installation.


    There will be 3 parts to it eventually, this is just the first part which show my hardware build for those of you that are interested.

    Thanks again for guiding through the light that is MythTV!!

  12. Hi Dave,

    Thanks for that. I obviously don’t build a new system every couple of months, so it’s good to hear what can be achieved with up-to-the-minute hardware.

    If your system was to be a backend, what’s the space like in the Sonata case for tuner cards?

    Also, I see you used the stock cooler. How quiet does it run?

  13. Garry,

    I followed your instructions for setting up streaming video into the internet with vlc and it works well. Thanks for the information.

    Building vlc was slightly challenging. I tried to use the latest vlc (0.8.6h) with the latest svn ffmpeg checkout and it wouldn’t configure, let alone compile and link. However, I found an ffmpeg svn checkout from July 2007 and, after installing it, was able to install vlc with no problem.

  14. Hi Garry

    I’m trying to make my LIRC device static as per the tips section of your install guide. However both my Nova-T cards have the same vendor ID and it so the wrong card is being picked up I set up the rules file. Is there a way to make the rules file distinguish between two cards with the same vendor id?

    Cheers, Paul

  15. Hi Garry,

    I see you run myth on a panasonic T.V. Do you have any tips to get the picture up to a good quality and size.
    I am having trouble finding a good resource to help me with the t.v. out side of things. I have a 32″ widescreen Panosonic tele but get a large black border to the picture. I am running with a MSI 8400GS 256MB DDR2 DVI VGA HDTV out PCI-E Graphics Card.

    Thanks again for the guide,


  16. Hi Paul,

    Sorry for the late reply – just got back from holiday.

    You should be able to use any of the fields in the output of (my card is on event3 in this example):

    udevinfo -a -p $(udevinfo -q path -n /dev/input/event3)

    …to identify your card. “vendor” is enough for me:


    but you can use any number of parameters, such as the “device” also:


    Look at the other files in /etc/udev/rules.d for examples.

    Hope this makes sense!

  17. Hi Andrew,

    My xorg.conf is here (works for NVIDIA CARDS ONLY):


    The following option sorts out the black border:
    Option “TVOverScan” “0.7″

    I have an nVidia 5200, but this should work OK for your 8400 GS (nice choice). Back up your existing /etc/X11/xorg.conf first!

    Alternatively, you can use a GUI utility called nvidia-settings to configure your card.

  18. Hi Gary
    First my I say thank you for your wonderful work.

    I do have problems but so does the computer and when I get to this line I am lost

    “scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/uk-WinterHill > /root/.tzap/channels.conf”

    Because I don’t live near you.

    My question then is, how do I find information for my area? and if I do would I substitute say “au-Bendigo” to this line?

    thanks in advance

  19. Hi Hairy,

    Just look in the following directory to see the available terrestrial DVB masts:

    ls /usr/share/doc/dvb-utils/examples/scan/dvb-t/

    There are quite a few from Australia.


  20. Hi Garry please help.

    I try to write the lircrc file i have on my desktop using the GUI to the etc/lirc file and all i get is a Permission denied error. I am unsure how to do this in the Konsole.

    I’ve been very busy with work so have not had a lot of time, I haven’t even started with the overscan…

    Cherrs Andrew

  21. Only superuser can write to that file, so you must use the sudo command:

    cd ~/Desktop
    sudo cp lircd.conf /etc/lirc

  22. Hello Garry.

    I’m a complete newbie to Ubuntu and MythTV, and its frustrating setting this thing up. I think there was an error upon the downloading process and installation. Upon starting the Backend Startup, a box appears saying “no UPnP backends found”. Upon going through the two screens, I get “cannot login to database”. I looked through the troubleshooting list, but didn’t see this problem, or maybe not. I hope you can help. Does this mean I have to uninstall the program and re-download it again? Thanks.


  23. Hi Drew,

    When you get that message it means that your MythTV Frontend cannot see a Backend to connect to. So, for some reason the backend may not be running. This may be a problem with the MySQL database passwords. You may get this if you specify a root password when you install the MySQL database.

    The following guide can help with password problems:

    Also, check the backend logs in the /var/log/mythtv directory for any errors.

    You can also run the frontend from a terminal (just type mythfrontend). You will then see any errors it generates in the terminal window.

    Hope this helps.

  24. Hi Gary,

    I now have the Remote working fine, cheers. Ubuntu starts up and connects to the internet fine but I’m having problems getting myth to start automatically on login.

    I follow your instructions (always very clear). I create the file in the right place, copy and paste your text and save it. I then open the konsole and type the chmod 755 .gnomerc thing, does this make it executable? All I get is ‘.gnomerc’: No such file or directory

    Otherwise going well.


  25. Hi Garry

    First, many thanks for the very clear instructions on setting up MythTV. As someone who is unfamiliar with Ubuntu I couldn’t have got as far as I have without them. Unfortunately, I’m not quite there yet and I am hoping you maybe able to help further.

    The version of Ubuntu is Hardy and I have installed all the latest updates offered in the update manager. I have two Hauppauge cards installed a Connexant and a Philips. Both have been recognised automatically. When I try to scan for channels with the Connexant, either from in the MythTV Backend setup or from the terminal using the dvb-utils the system locks. If I scan with the Philips then it goes through the scan but no channels are detected.

    I don’t have a great signal where I am but both my set top box a Philips DTR220, and the Hauppauge cards in a MCE box do find all the available channels.

    I have increased the timeouts for the signal and tuning but with the same result.

    Any ideas?

  26. Andrew,

    Yes, “chmod 755 .gnomerc” makes it executable (and readable by everyone, but only writeable by owner: rwxr-xr-x). If the command cannot see the file then it mustn’t be in the current directory. Are you sure you saved it to your home directory?

  27. Hi Joseff,

    I’d concentrate on the Philips chipset card for now. Plug your aerial connection directly into that card and do the scan. If this doesn’t work then you can check the signal strength using tzap, to see if it can get a lock:


    Just to be sure – you need firmware for the Philips card – have you done that step?

  28. Hi Garry,

    [I already have a very stable system containing two Nova-Ts with which I'm extremely happy (and thanks for your help andadvice on your web site too!]

    I see Paul has posted on the issue of Nova-S cards. I’ve just bought myself a Nova-HD S2 card which I’m hoping to pair with a plain old Nova-T in a new system. I intend to base it on Mythbuntu 8.04.1.

    I anticipate lots of problems, not least that there isn’t yet good support for the S2 card. I’m curious, though, about the issue of CX88 drivers. I suspect I’m going to have to unload the standard CX88 driver and replace with a custom version in order to accommodate the driving of the S2. If I do that I wonder how the Nova-T will be driven?

    I know you don’t do satellite, but I wonder whether any other readers have any experience of either the S2 card or running a mixed system receiving both terrestrial and satellite signals ?


  29. Hi Garry

    Thanks for the advice. I had assumed (always a bad thing to do) that as the device with the Philips chipset was detected then it was installed OK. So, yes I have now installed the firmware and when I scan from within Myth I get some channels, but not many. I have gone back a step and done a scan as per your instructions for testing the DVB card and I get warnings that the scan has failed, and then an error that the initial scan failed. My transmitter is Presely but shows as Wenvoe on our set top box as I believe that is the main transmitter. There is no file for Presely so I have used uk-Wenvoe. Having read up on the channels.conf file I cannot say I am any wiser or even if this is what I should be investigating. As always any suggestions appreciated.


  30. Hi

    OK, some progress with the tuning. Found some details for a uk_Presely file and with dvb utils did a scan that found most if not all of the channels available and wrote these to the channels.conf file. Then in MythTV backend chose the option to load channels from this channels.conf file. Unfortunately, when I try to view them in MythTV the channels that were added through the channels.conf file show ‘no lock’. SIgnal and s/n do show values that are the same as the viewable channels.

    I then went back to follow again the instructions for testing the dvb card and viewing a channel with mplayer but get an error message that I need two PIDS, one for audio and video.

    So close…I hope.

  31. Hi Garry,

    slightly off topic, but I was rebuilding my backend on to an old smaller disk to free up a dedicated larger one for recordings, everything goes fine in the installation until I try and do a scan. I also use Winter Hill ( which is one of the reasons I am posting here.). I find all 6 multiplexes ( plus the unwanted Winter Hill B & Moel y Parc, the bbc channels appear fine in the listings but the ITV’s / channel 4 ( Mux2) appear at numbers over 8000. If I delete all the cards, channels and try again, Mux 1 goes up to over 8000.

    Any thoughts?


  32. Hi Spicemuseum,

    No, I’ve not tried satellite cards, although I’d assume that a newer CX88 driver would be backwards compatible. I’d be interested to know how you get on!

  33. Hi Joseff,

    Sorry for the late reply – busy weekend with the kids!

    The DVB utils and channels.conf file are good for testing your card outside of Myth, but I’d let Myth do the scanning if possible. The main thing to establish is whether you get a lock in tzap. This is the best indication of signal strength.

    Maybe a powered booster/splitter would help. I use one of these which splits my signal between the TV and my two Myth cards.

  34. Pat,

    Sorry, I’ve not seen that myself. Maybe look in the MySQL database to make sure your channels are deleted before trying again…

    mysql -u root mythconverg
    select * from channel;

  35. Hi Garry

    thanks for the tip about using the booster. I had an old one lying around so I have put it in the circuit but it has not made any difference to the signal according to the read out on the set top box at least. I re-scanned in Myth and no change.

    tzap reports a lock for stations that I cannot get a lock on in MythTV having done a channels.conf import.e.g Myth scan did not find BBC ONE Wales, but I can select it having done the import and it shows a signal strength of 80% and s/n of 4.8db (this is the same as for S4C a channel that Myth found on a scan).

    I have now re-scanned having made one change in the MythTV General setup. For the channel-frequency-table I have selected try-all instead of europe-west. Eureka, it now finds all channels. However, when I select one of these channels to view it still shows no lock. I think I need one more eureka moment.

    Just a thought on this change from europe-west to try-all – I know our transmitter Presely uses an aerial type B, and not many others do in the UK list, are these frequencies not scanned in the europe-west list?

  36. Once tzap has a lock on BBC ONE, you should be able to view the picture using:

    dvbstream -o -ps 600 601 -qam 16 -cr 3_4 | mplayer -

    Sorry, not sure about the europe-west frequencies.

  37. I successfully installed mythtv thanks to your article. I changed the default background to the blue with icons then when I came back to start the front end I only get the background. If I press enter I get the channels page but can only use esc and enter buttons.
    I removed the installation and reinstalled and now get same problem with backend set up.
    Any ideas on how to reset defaults?

  38. I got over my previous problem by reinstalling Mythtv
    I a, having trouble with the remote.
    When I cat /proc/bus/input/devices I get this for event2

    I: Bus=0019 Vendor=0000 Product=0002 Version=0000
    N: Name=”Power Button (FF)”
    P: Phys=LNXPWRBN/button/input0
    S: Sysfs=/devices/virtual/input/input2
    U: Uniq=
    H: Handlers=kbd event2
    B: EV=3
    B: KEY=100000 0 0 0

    The only button on the remote to have any reaction is on/off which removes the cursor from the screen.
    The card is supported and I found the supported config file for the remote.
    Also when I try to create the Symbolic link with lircrc I get this.
    root@rosco99-desktop:/home/rosco99# cp lircrc ~/.lircrc
    root@rosco99-desktop:/home/rosco99# cd ~/.mythtv
    bash: cd: /root/.mythtv: No such file or directory
    root@rosco99-desktop:/home/rosco99# cd ~/mythtv
    bash: cd: /root/mythtv: No such file or directory
    root@rosco99-desktop:/home/rosco99# ln -s ../.lircrc lircrc
    ln: creating symbolic link `lircrc’: File exists

    Can you help please?

  39. Hi Ross,

    Sorry for the late reply, I was on holiday for a long weekend.

    What kind of remote do you have? Did it come with your tuner card? I don’t recognise the device description.

    Also, you should not be doing the lircrc stuff as root. Do it as your own user.

  40. Hi Dutch,

    Maybe I should really update the Wiki, although I see room in this world for guides which are not Wiki-based. I have seen some excellent Wiki pages, but they can also get into a mess quite easily.

  41. Hi Garry,
    Thanks for a very clear guide!!
    I got stuck at the mythtv-setup as the screen gets blurry. I can see something (it’s not blue though) but there are horizontal stripes in black and gray covering most of the screen. Installation went smooth. Had only one error with mysql:
    subprocess pre-installation script error 1

    I found on the web a way to change a password which had solve problem for other people, and thought problem solved!

    Do you know about this blurriness?

  42. Hi Martin,

    Are you using the proprietary driver for your graphics card? Go into System->Hardware Drivers and check whether it is selected.


  43. Hi Garry,
    I checked and without asking if I should get it I checked proprietary driver (ATI Radeon 3200), rebooted and after startup the screen is now totally black. I don’t even reach the place to type user/password. Any suggestions? I suppose I need to reinstall the original driver, but how!?

  44. Hi again,
    suddenly, after several forced reboots I was allowed to log in again but the resolution is low and is not changeable. Looking for driver and way to install it.

  45. Hi Martin,

    Sorry for the late reply – busy weekend as usual. Anyway, to get around the graphics issue when booting, you can hit a key shortly after power on to get the GRUB boot menu and then select failsafe mode.

    Check out this guide regarding configuring the ATI driver:

    It looks daunting, but most of the stuff applies to earlier versions of Ubuntu and the Hardy 8.04 parts are pretty simple. The standard driver from the Ubuntu repo (which you’ve got) should be sufficient once configured correctly.

    Good luck!

  46. I amwith Mike:

    I keep getting problems with mySQL and database with circular references.I have gone round the whole google thing and frankly after 20 years of as a software engineer I am sorry but this is poor.
    Allmy mates at workswear by Myth TV but I have only installed it on the PC via MythUbuntu never Ubuntu +Myth.

    It is simply if it works first time else you are F*******

  47. Hi Garry,
    I’m at it again, the myth-thingi! I have the accelerated ATI and that’s all fine now (thanks!!). I’ve acctually installed mythtv but I’m not getting a picture from my TV-card (WinTV Nova TD Stick). When I run mplayer (with a stream on in another terminal window) I get only audio and this error message.

    Playing /dev/dvb/adapter0/dvr0.
    Win32 LoadLibrary failed to load: avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
    TS file format detected.
    VIDEO MPEG2(pid=1079) AUDIO MPA(pid=1078) NO SUBS (yet)! PROGRAM N. 0
    VIDEO: MPEG2 720×576 (aspect 3) 25.000 fps 15000.0 kbps (1875.0 kbyte/s)
    xscreensaver_disable: Could not find XScreenSaver window.
    GNOME screensaver disabled
    [VO_XV] It seems there is no Xvideo support for your video card available.
    [VO_XV] Run ‘xvinfo’ to verify its Xv support and read
    [VO_XV] DOCS/HTML/en/video.html#xv!
    [VO_XV] See ‘mplayer -vo help’ for other (non-xv) video out drivers.
    [VO_XV] Try -vo x11.
    Error opening/initializing the selected video_out (-vo) device.

    Tried to find posts on the same and I did but no solutions. Do you have an idea of what to do?

  48. JohnBlue,

    Frankly, with 20 years as a software developer you should be able to sort out simple SQL issues. These days, most of the time the install goes to plan, but MythTV is a complex beta product and it’s a damn sight easier to install than it used to be.

  49. Martin,

    There’s probably an error in your ATI config. Try this:

    Backup your /etc/X11/xorg.conf

    sudo aticonfig –overlay-type=Xv

  50. Hi Gary I posted to this blog back in July with regards to my new MythTv build and I never replied to your following questions. After seeing your questions 3 months later I feel I must still reply.

    The case has enough space for 2 maybe 3 tuner cards depending on the motherboard, but they would have to be low-profile. In my build I have space for a PCI and a PCI-E card. I’m thinking of taking the plunge soon – could you recommend a good card.

    As for using the stock fan, its not that quiet, but it aint too loud either – you don’t really notice it when watching a film etc, but I am going to whack in my Sharoon fan shortly.

  51. I thought there were problems getting this to work in Linux due to the fact that it is driven by USB devices on the card. Also is it a low profile card?

  52. Support has been a while in coming, but it now works well, including the remote.

    It is a low-profile card, even though it has 2 tuners.

    The guys at Efficient PC build pre-installed MythTV boxes and these are the cards they use: http://efficientpc.co.uk

  53. I am testing my newly installed DVICO Dual Digital 4 and get the following.

    root@david-desktop:/home/david# scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/au-sydney_north_shore > /root/.tzap/channels.conf
    scanning /usr/share/doc/dvb-utils/examples/scan/dvb-t/au-sydney_north_shore
    using ‘/dev/dvb/adapter0/frontend0′ and ‘/dev/dvb/adapter0/demux0′
    main:2247: FATAL: failed to open ‘/dev/dvb/adapter0/frontend0′: 2 No such file or directory

  54. Hi Garry,

    I tried to setup Hardy on a Pundit P1-AH2 together with a Hauppauge Nova-S plus DVB-S card. The only success I had was getting the channels.conf right and watching TV on my monitor. I had some problems in getting the signal to the TV screen and lirc is also not running. So I tried to get things right before configuring mythtv but I failed.

  55. Hi Garry,
    I’m trying to set up a Mythbuntu box using an Asus MYC P7131 Hybrid tuner (SAA7134 driver family on the analog side. I don’t use the DVB-T part) and it’s mostly working, but the teletext pages are a no-go (P100 page not found or something like that). I can see teletext using mtt alright, so it should be working under MythTV too (yeah the /dev/vbi is selected in the setup). My question: Is there analog-TV teletext support in MythTV at all? The only thing I could find on the net about this was a message that it doesn’t, from 2005. Is that/was that ever true? I mean come on, that would be one sick joke… A HTPC-wannabe cannot seriously claim to lack analog teletext support… :(

  56. Hi Max,

    Sorry, never use teletext on Myth, analogue or digital, so can’t help you there.

    Isn’t you’re box connected to the internet? Why would you want analogue telextext when you’ve got the web? The only features lacking in myth are the ones the devs don’t care about.

  57. Ok, thanks for the reply anyway. As for why, well:

    - because it’s there, obviously… ;)
    - because the net might or might not be up, but the TV signal always is;
    - because the web is unusable displayed on a standard CRT TV as I have (and see no need to upgrade – DVDs play fine, HDs I don’t have/buy/plan to, and I sure won’t do it for WWW readability)
    - because teletext usually contains focused information about a station and it’s programs, in clear-text, which I cannot be bothered to look up on the station’s own flash-riddled-chock-full-of-”features” webpage. It’s the difference between Google’s search page and Yahoo’s “portal”.
    - because where I live we have no kind of EPG to use for channel data, yet xawtv’s “scantv” picked channel names right up from each station’s teletext; MythTV on the other hand, obviously, did not.
    - finally, because it seems to be implemented, yet it doesn’t work, and such things irritate the heck out of me – like having the MediaCenter theme in the default distribution, but not the font it needs. Or offering to download known-rectangular station icons then mindlessly stretching them to square everywhere. Ok, ok, sorry…

    …well, I’m sure I missed a few… ;)

  58. Hi Garry,

    In case anyone hasn’t already noticed, the Radio Times have changed their xmltv channel ids for a few Freeview channels, here are the new ones I found (on 29 Oct 2008):

    ——- ——
    carlton.com london.itv1.itv.co.uk
    choice.bbc.co.uk bbcthree.bbc.co.uk
    knowledge.bcc.co.uk bbcfour.bbc.co.uk
    freeview.ukhistory.tv freeview.history.uktv.co.uk

    Run tv_grab_uk_rt –list-channels > channels.txt
    and you’ll see the new names.

    So I’ve updated my uk_rt.xmltv file, updated the channel ids in MythTV via the web setting and then run mythfilldatabase. I now have my data back for ITV1, BBC3 and so forth.

    HTH someone.

  59. I have one of these computers (P1-AH2) running mythtv. It’s worth noting that the video card doesnt support HDCP. If I understand correctly – if theres a break in the DHCP chain then your LCD or plasma HDCP enabled tv will downgrade your resolution to DVD quality. I’ve also heard that this depends on the model of TV that you have. There’s a lot of conflicting information out there and it would be great if someone could clarify this issue.

  60. Any word on the max that this box can do? Would I be able to play mpeg-4 and h.264 HD content? 1080p perhaps?

    I’d appreciate some information on that,


  61. Hi Garry –

    Thanks to you, I’m on my third mythtv/nova-t build now – great work.

    I’m having big problems with the remote when using 8.10. The bottom line is that I can’t get evtest to print out *any* events – so lirc gets nothing. Forget the tuner card for the moment, I can’t even get the mouse or the keyboard (or anything on input/eventX) hooked up to evtest. And I’ve tried this on multiple sets of hardware using the live cd.

    What’s odd is that if I drop out of X to a root shell, it works again. Closest I can suggest is that it’s a problem with the evdev support in Xorg, but I’m far from certain.

    There’s a kernel warning printed when starting evtest:

    evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output to 64 bytes. See http://userweb.kernel.org/~dtor/eviocgbit-bug.html

    Googling around for this message, there is a bug there (as always!) to do with buffer sizes. But it looks like a bug with evtest.c itself. I’m not sure if it’s the culprit for this problem.

    Any advice gratefully received – this seems a huge problem, but not one I’ve seen circling the mythtv message boards in recent months, so I’d appreciate your opinion.


  62. Excellent Guide.

    many many thanks !

    I have been banging my head a gainst a wall with various “Live” builds of MythTV for around a year now. (Knoppmyth, Mythdora Mythbuntu etc) because i thought putting MythTV on top of an exisiting linux build would be too difficult.
    On one i couldn’t get LIRC running on another the sound didn’t work a third failed to recognise my Satellite card properly. NONE of them would run my DVB USB stick(s).

    But I recently installed Unbuntu and follwed your guide and everything went really smoothly.

  63. Thanks for the help, been try to get mythbuntu working for over 12 months finally found your page, been very usefull. Using a haup nova td 500, a newer version with a dib700 chip. Had to follow your site on my axim x50 while I used thesledgehammer on the linux box. Thabks again and happy new year

  64. Hi Guys,

    Glad you’ve found the guide useful. To be honest, I’m aware that much of it is getting out-of-date and without keep building systems from scratch it can be difficult to keep it all accurate. Still, it’s good to hear that some of it is still helpful!

  65. Similar to Paul (ages ago), I’m having some troubles getting my LIRC device to remain static. I have two wintv nova-t tuner cards, and almost all details of the cards as output by udev are identical. I’ve tried putting those elements that aren’t identical into the rules file, but they don’t seem to make any difference. The trimmed output for each card is in my next comment (won’t fit here). If you haven’t got any suggestions, my next attempt will be to plug an ir receiver into each card so that at least one of them should work. The annoying thing is though, that I expect there should be a way to make this work. I can provide the full output from udev if it will help.

  66. udev output

    looking at parent device ‘/devices/pci0000:00/0000:00:08.0/0000:01:07.2′:
    DRIVERS==”cx88-mpeg driver manager”

    looking at parent device ‘/devices/pci0000:00/0000:00:08.0/0000:01:0a.2′:
    DRIVERS==”cx88-mpeg driver manager”

  67. As your cards are exactly the same, most of the attributes are identical.

    The only difference I can see is the IRQ, so maybe you can use that to differentiate, e.g.:


    I’m guessing the IRQ will remain static after a reboot.

  68. I tried using the irq, which worked when I restarted udev. When I rebooted the box though, the cards were assigned different irq values to the original values (originally 19 & 20, then 20 and 21). Any other ideas?

  69. Hi, thanks for the guide !!!

    Sorry, I am completely new to linux and ubuntu and I got stock on “Testing the DVB Card”. I have a winfast dtv2000h. I had been reading in your forums but didnt see anything that helped me.

    I am not sure when or where I went wrong. I am copying pasting all the inputs and outputs I got to see if you can help me:

    jon@galilea:~$ grep -i dvb /var/log/messages
    Feb 11 23:50:39 galilea kernel: [ 12.495941] cx88/2: cx2388x dvb driver version 0.0.6 loaded
    Feb 11 23:50:39 galilea kernel: [ 12.495945] cx88/2: registering cx8802 driver, type: dvb access: shared
    Feb 11 23:50:39 galilea kernel: [ 12.495951] cx88[0]/2: cx2388x based DVB/ATSC card
    Feb 11 23:50:39 galilea kernel: [ 12.521805] DVB: registering new adapter (cx88[0])
    Feb 11 23:50:39 galilea kernel: [ 12.521808] DVB: registering frontend 0 (Conexant CX22702 DVB-T)…
    Feb 11 23:56:07 galilea kernel: [ 12.625890] cx88/2: cx2388x dvb driver version 0.0.6 loaded
    Feb 11 23:56:07 galilea kernel: [ 12.625893] cx88/2: registering cx8802 driver, type: dvb access: shared
    Feb 11 23:56:07 galilea kernel: [ 12.625899] cx88[0]/2: cx2388x based DVB/ATSC card
    Feb 11 23:56:08 galilea kernel: [ 12.663236] DVB: registering new adapter (cx88[0])
    Feb 11 23:56:08 galilea kernel: [ 12.663239] DVB: registering frontend 0 (Conexant CX22702 DVB-T)…
    Feb 12 00:11:29 galilea kernel: [ 938.403017] DVB: frontend 0 frequency 0 out of range (177000000..858000000)
    Feb 12 00:11:29 galilea kernel: [ 938.403983] DVB: frontend 0 frequency 0 out of range (177000000..858000000)
    Feb 12 00:17:29 galilea kernel: [ 1298.054128] DVB: frontend 0 frequency 0 out of range (177000000..858000000)
    Feb 12 00:17:29 galilea kernel: [ 1298.055120] DVB: frontend 0 frequency 0 out of range (177000000..858000000)
    Feb 12 00:23:38 galilea kernel: [ 1667.709484] DVB: frontend 0 frequency 0 out of range (177000000..858000000)
    Feb 12 00:23:38 galilea kernel: [ 1667.710286] DVB: frontend 0 frequency 0 out of range (177000000..858000000)

    then, when doing the scan, it seems I get good results, but at the end I got some “tuning fails”:

    root@galilea:/home/jon# scan /usr/share/doc/dvb-utils/examples/scan/dvb-t/au-Adelaide > /root/.tzap/channels.conf
    scanning /usr/share/doc/dvb-utils/examples/scan/dvb-t/au-Adelaide
    using ‘/dev/dvb/adapter0/frontend0′ and ‘/dev/dvb/adapter0/demux0′
    initial transponder 226500000 1 3 9 3 1 1 0
    initial transponder 177500000 1 2 9 3 1 1 0
    initial transponder 191625000 1 3 9 3 1 1 0
    initial transponder 219500000 1 3 9 3 1 1 0
    initial transponder 564500000 1 2 9 3 1 2 0
    Network Name ‘ABC Adelaide’
    0×0000 0×0250: pmt_pid 0×0102 ABC — ABC HDTV (running)
    0×0000 0×0251: pmt_pid 0×0100 ABC — ABC1 (running)
    0×0000 0×0252: pmt_pid 0×0101 ABC — ABC2 (running)
    0×0000 0×0253: pmt_pid 0×0103 ABC — ABC1 (running)
    0×0000 0×0254: pmt_pid 0×0104 ABC — ABC3 (running)
    0×0000 0×0256: pmt_pid 0×0105 ABC — ABC DiG Radio (running)
    0×0000 0×0257: pmt_pid 0×0106 ABC — ABC DiG Jazz (running)
    0×0000 0×0550: pmt_pid 0×0500 Seven Network — 7 Digital (running)
    0×0000 0×0554: pmt_pid 0×0540 Network Seven — 7 HD Digital (running)
    (…………more of the same here……….)
    0×0000 0x034f: pmt_pid 0×0404 SBS — SBS Radio 2 (running)
    Network Name ‘SBS Network’
    WARNING: >>> tuning failed!!!
    WARNING: >>> tuning failed!!!
    WARNING: >>> tuning failed!!!
    WARNING: >>> tuning failed!!!
    WARNING: >>> tuning failed!!!
    WARNING: >>> tuning failed!!!
    WARNING: >>> tuning failed!!!
    WARNING: >>> tuning failed!!!
    WARNING: >>> tuning failed!!!
    WARNING: >>> tuning failed!!!
    WARNING: >>> tuning failed!!!
    WARNING: >>> tuning failed!!!
    __tune_to_transponder:1483: ERROR: Setting frontend parameters failed: 22 Invalid argument
    __tune_to_transponder:1483: ERROR: Setting frontend parameters failed: 22 Invalid argument
    dumping lists (25 services)

    So I checked in /var/log/messages to see if I a similar output to yours, and this is what I have:

    (…more before this, but based on the time stamp, it was before starting to scand..)
    Feb 12 00:43:17 galilea kernel: [ 2846.527531] DVB: frontend 0 frequency 0 out of range (177000000..858000000)
    Feb 12 00:43:17 galilea kernel: [ 2846.539160] DVB: frontend 0 frequency 0 out of range (177000000..858000000)

    So I continued with your guide:

    root@galilea:/home/jon# tzap -r “ABC1″
    using ‘/dev/dvb/adapter0/frontend0′ and ‘/dev/dvb/adapter0/demux0′
    tuning to 226500000 Hz
    video pid 0×0200, audio pid 0x028a
    status 00 | signal ffff | snr 8000 | ber 00003fff | unc 00000000 |
    status 1f | signal 6161 | snr ffed | ber 00000012 | unc 00000000 | FE_HAS_LOCK
    status 1f | signal 6060 | snr fff2 | ber 0000000d | unc 00000000 | FE_HAS_LOCK
    (… and continues…)

    So I guess the above indicates that the TV card is receiving the signal

    However, then I tried to watch it, it does not work:

    jon@galilea:~$ dvbstream -o -ps 600 601 -qam 16 -cr 3_4 | mplayer -
    dvbstream v0.6 – (C) Dave Chapman 2001-2004
    Released under the GPL.
    Latest version available from http://www.linuxstb.org/
    dvbstream will stop after -1 seconds (71582788 minutes)
    Output to stdout
    Streaming 2 streams
    MPlayer 1.0rc2-4.3.2 (C) 2000-2007 MPlayer Team
    CPU: Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz (Family: 6, Model: 15, Stepping: 11)
    CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
    Compiled with runtime CPU detection.
    mplayer: could not connect to socket
    mplayer: No such file or directory
    Failed to open LIRC support. You will not be able to use your remote control.

    Playing -.
    Reading from stdin…
    (… and stays there doing nothing…)

    and using xine i get:

    jon@galilea:~$ dvbstream -o -ps 600 601 -qam 16 -cr 3_4 | xine stdin://mpeg2
    dvbstream v0.6 – (C) Dave Chapman 2001-2004
    Released under the GPL.
    Latest version available from http://www.linuxstb.org/
    dvbstream will stop after -1 seconds (71582788 minutes)
    Output to stdout
    Streaming 2 streams
    This is xine (X11 gui) – a free video player v0.99.6cvs.
    (c) 2000-2007 The xine Team.

    but stays tehre and after a while it gives “xine engine error: there is no demuxer pluging available to handle ‘stdin://mpeg2′” and “the source cant be read…”

    Do you know what am I doing wrong or where I misunderstood your guide??

    Thanks heaps in advance and sorry for my ignorance on this OS and once again thanks for the guide

  70. Hi

    I had this mythweb blank page problem after update:

    (1) http://ubuntuforums.org/showthread.php?p=6729101

    So I tried the fix on that page, but now I have a worse problem, namely this:

    (2) http://ubuntuforums.org/showthread.php?t=721343

    but I don’t want to try the suggested solution on this page as it is too drastic.

    So now I cannot start apache2 unless I move my mythconf site out of the way.
    It feels like I just have no php5 support in apache2, yet I have libapache2-mod-php5 installed.

    Anyone else had this apache2/php5 problem or know how to fix it?

    I tried to remove libapache2-mod-php5 and it said Module php5 already disabled, which is odd. How is it disabled?

    So I reinstalled libapache2-mod-php5, and now, luckily, I am back to where I started. Phew!

    So, I still have the original problem, the blank mythweb page issue, but I will live with that till a fix comes along, unless anyone has a better idea.

  71. Hi

    This is still Hardy, just a normal update.

    A workaround solution has been posted at the first ULR I mentioned above, so I tried it and it works!!! :)

    I commented out the following 3 lines in /etc/apache2/sites-enabled/mythweb.conf

    # php_value zlib.output_handler Off
    # php_value output_handler NULL

    # Note: php_flag does not work in older versions of php
    # php_flag output_handler “NULL”

    Now Mythweb works again. Phew! :)


  72. hi, im tried to configure the backend, I get the blue kyb and remote only menu to configure the database. After going through that menu, I’m told it cannot connect to database. I know nothing about sql and I’m running on the obuntu that u wanted us to download please help

  73. Hi Garry

    Great new guide, do you not need to set the DISEqC connection for LNB on your card? I have a Nova S and I had to tell it to connect to an LNB and all the LO ‘s etc.
    Also the scan was manual by frequency and ssid, that took ages.
    I have a video source called astra for the freesat and Eit for the freeview. I have to report that Myth has some trouble when swicthing from a DVB-T to a DVB-S channel from time to time. But HD works well enough.

    I have a question that maybe you could help me with, I have a 1Tb usb drive for the Music and Videos, “/media/Lacie 1Tb” which appears on the desktop of mythbuntu 8.04 at start up, but it won’t automount. I have to VNC to the machine stop the frontend and then right click “mount” every time the machine is started.
    The drive is formated ext2 and smb shared to the remote frontends.

    Also when the remote laptop in the kitchen starts it hangs about for ages waiting to connect to the 2 SMB folders defined in Fstab as:-
    // 1Tb/Videos and /Music and mounted in
    /var/lib/video/smb_video /Music..etc
    before it’s loaded the network and so fails, but once booted works fine?

  74. Hi Alec,

    Good point about the DISEqC settings. I did set it to LNB while I was trying to get my card to scan.

    I haven’t tried integrating my Freeview and Freesat boxes yet. I’d need to invest in some more hardware to allow me to play the HD channels. It gets complicated by the fact that my box doesn’t have PCI-express, and AGP graphics cards with mpeg4 acceleration are hard to come by.

    As for your mounting issues. Not sure why your drive won’t auto mount. It’s not really a Myth issue, so maybe the Ubuntu forums would be a good place to ask. One thing which does pop out at me is that you say “SMB” folders. NFS is the native Linux network file system, SMB is for Windows. If you’re sharing ext2 partitions between Linux boxes, then NFS is the way to go.

  75. ‘sup?

    I installed the program and drivers without fail, and the program states “Timeout scanning for us-cable 2 — no signal”… I have the cable hooked up to the card, and it won’t scan squat. Is there a fix for this? I have Ubuntu Hardy (8.04.2) x86 Desktop version installed, and my PC refuses to get the channels for the TV card.

  76. Reality is, this isn’t a beauty contest, so until it’s Heidi Klum sleeping subsequent to you in mattress at night, the jaw supporter, additionally known as the chin strap, one among best products accessible to cease night time instantly! There are quantity of jaw supporters out there and we now have reviewed them all for effectiveness, comfort, and durability.

  77. I would like to thank you for the efforts you have put in writing this website. I’m hoping the same high-grade website post from you in the upcoming also. Actually your creative writing abilities has inspired me to get my own site now. Actually the blogging is spreading its wings fast. Your write up is a good example of it. hermitage bay antigua

Leave a Reply

Your email address will not be published. Required fields are marked *

× 8 = fifty six

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>