Author Topic: MythTV-Setup configuring DVB-T (Switzerland)  (Read 1516 times)

Schmich

  • Veteran
  • ***
  • Posts: 116
    • View Profile
MythTV-Setup configuring DVB-T (Switzerland)
« on: April 15, 2011, 10:17:19 pm »
I've got both a Hauppauge WinTV-HVR-1200 and 4000. I've managed to configure the DVB-S part on the 4000 properly so that I get channels but neither card find any channels when scanning for DVB-T.

Both cards are PnP and I remember getting DVB-T channels when I tried out the 1200 back before the winter. I am not sure if I configured anything wrong but I might have missed something. I've tried all different kinds of things in MythTV-Setup. Right now I am also trying with deleting the cards and then only having the 1200. So far the scanning still fails to lock to any channels but am continuing with one card only (1200) until this works.

My backend configuration is the following:
1. General
TV format: PAL-BG (have also tried PAL)
VBI format: PAL Teletext
Channel frequency table: europe-west (have also tried default)

2. Capture Cards
All on default - Using the DVB-T tuner (the 1700 only has one anyways)

3. Video sources
I've tried two things mainly
Listings Grabber: EIT and Switzerland (xmltv)
xmltv grabber for Switzerland doesn't work as the site it took it from change things. But this part is only for the channel/program guide right? As in it shouldn't affect the channel scanning?
Links to tickets about it
http://www.lonelycoder.com/redmine/issues/341
https://bugs.launchpad.net/freeguide-tv/+bug/695116
Channel frequency table: europe-west (have also tried default)

4. Input Connections:
I've chosen the video source from "3."
Quick tuning: tried all options

Scan for channels
Scan type: Full Scan
Country: there is no Switzerland so I've tried all others.

Have I configured it wrong? Did I miss configuring something?
As mentioned this is for Switzerland. Lastly I have tested the cable and antenna on a stand-alone DVB-T box for the TV and it gets the channels perfectly. I don't know what else to do. Considering how little options there are for DVB-T I can only find very simple/primitive MythTV guides for it.
« Last Edit: April 16, 2011, 07:41:46 pm by Schmich »

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: MythTV-Setup configuring DVB-T (Switzerland)
« Reply #1 on: April 16, 2011, 07:26:35 am »
Which version of linuxmce do you have | snapshot, install date, version of mythTV

Schmich

  • Veteran
  • ***
  • Posts: 116
    • View Profile
Re: MythTV-Setup configuring DVB-T (Switzerland)
« Reply #2 on: April 16, 2011, 03:23:45 pm »
I did a reinstall and now I've got it working. I'm not sure if it was the re-install or if I forgot to try UK as the country in the previous install but it now works.
In case of interest I'm running 8.10 (snapshot 23887).

If any other Swiss resident has trouble this is what I have to get it working:

Code: [Select]
My backend configuration is the following:
1. General
TV format: PAL-BG
VBI format: PAL Teletext
Channel frequency table: europe-west

2. Capture Cards
Card Type: DVB DTV
Subtype: DVB-T
All default - no settings touched

3. Video sources
Listings Grabber: EIT
Channel frequency table: europe-west

4. Input Connections:
I've chosen the video source from "3."

Scan for channels
Scan type: Full Scan
Country: United Kingdom (yes, I know the UK is not Switzerland but it worked for me)

Schmich

  • Veteran
  • ***
  • Posts: 116
    • View Profile
Re: MythTV-Setup configuring DVB-T (Switzerland)
« Reply #3 on: April 16, 2011, 08:36:37 pm »
It seems I spoke a bit too soon. The 4000 still doesn't lock any DVB-T channels whereas the other works as mentioned above (note: the other card is a 1200, not a 1700 as I falsely stated).

I have even done one more reinstall with only the 4000 (also replaced with another 4000 card that I have) but with no luck. Doing more focused searches on the 4000 I seem to have the same problem as Nuwis in this thread: http://forum.linuxmce.org/index.php?topic=9293.0 So I will continue my typing there. Note the thread there is marked as Solved but only for the OP.

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: MythTV-Setup configuring DVB-T (Switzerland)
« Reply #4 on: April 16, 2011, 09:38:17 pm »
Could you pastebin your dmesg?
and look for if your firmware is properly loaded

Schmich

  • Veteran
  • ***
  • Posts: 116
    • View Profile
Re: MythTV-Setup configuring DVB-T (Switzerland)
« Reply #5 on: April 16, 2011, 10:47:38 pm »
I'm quite new to all this so I hope I did it right. I pasted all of it even though I assume you mainly just need the last parts.
dmesg: http://pastebin.com/9JsesC2W
How do I see if the firmware is properly loaded? At least in the dmesg it says the upload is complete but that might not be the same thing?

edit: I'm not sure if these logs show the same as dmesg but this is the "tail -f /var/log/messages" I did earlier:

Code: [Select]
alpha@dcerouter:~$ tail -f /var/log/messages
Apr 16 20:19:34 dcerouter kernel: [   71.122062] firmware: requesting dvb-fe-cx24116.fw                                    
Apr 16 20:19:34 dcerouter kernel: [   71.221220] cx24116_firmware_ondemand: Waiting for firmware upload(2)...              
Apr 16 20:19:38 dcerouter kernel: [   74.798149] cx24116_load_firmware: FW version 1.23.86.1                                
Apr 16 20:19:38 dcerouter kernel: [   74.798175] cx24116_firmware_ondemand: Firmware upload complete                        
Apr 16 20:19:41 dcerouter kernel: [   78.012344] ip6_tables: (C) 2000-2006 Netfilter Core Team                              
Apr 16 20:19:42 dcerouter kernel: [   78.810450] Zapata Telephony Interface Registered on major 196                        
Apr 16 20:19:42 dcerouter kernel: [   78.810455] Zaptel Version: 1.4.11                                                    
Apr 16 20:19:42 dcerouter kernel: [   78.810457] Zaptel Echo Canceller: MG2                                                
Apr 16 20:19:42 dcerouter kernel: [   78.814277] ztdummy: High Resolution Timer started, good to go                        
Apr 16 20:21:20 dcerouter python: hp-systray(init)[17903]: warning: No hp: or hpfax: devices found in any installed CUPS queue. Exiting.                                                  
Apr 16 20:22:22 dcerouter kernel: [  239.631103] type=1503 audit(1302978142.896:9): operation="inode_permission" requested_mask="::rw" denied_mask="::rw" fsuid=7 name="/dev/tty" pid=18558 profile="/usr/sbin/cupsd"                                  
Apr 16 20:22:27 dcerouter kernel: [  244.659678] type=1503 audit(1302978147.925:10): operation="inode_permission" requested_mask="::rw" denied_mask="::rw" fsuid=7 name="/dev/tty" pid=18613 profile="/usr/sbin/cupsd"
Apr 16 20:22:27 dcerouter kernel: [  244.697838] type=1503 audit(1302978147.964:11): operation="inode_permission" requested_mask="::rw" denied_mask="::rw" fsuid=7 name="/dev/tty" pid=18614 profile="/usr/sbin/cupsd"
Apr 16 20:25:13 dcerouter kernel: [  410.044088] cx24116_firmware_ondemand: Waiting for firmware upload (dvb-fe-cx24116.fw)...
Apr 16 20:25:13 dcerouter kernel: [  410.044096] firmware: requesting dvb-fe-cx24116.fw
Apr 16 20:25:13 dcerouter kernel: [  410.047877] cx24116_firmware_ondemand: Waiting for firmware upload(2)...
Apr 16 20:25:16 dcerouter kernel: [  413.671090] cx24116_load_firmware: FW version 1.23.86.1
Apr 16 20:25:16 dcerouter kernel: [  413.671124] cx24116_firmware_ondemand: Firmware upload complete
« Last Edit: April 17, 2011, 04:09:04 pm by Schmich »

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: MythTV-Setup configuring DVB-T (Switzerland)
« Reply #6 on: April 17, 2011, 11:17:24 pm »
That looks ok. Is there a newer firmware? I know there is "a firmware" that is buggy. Please verify, using google ;)

Schmich

  • Veteran
  • ***
  • Posts: 116
    • View Profile
Re: MythTV-Setup configuring DVB-T (Switzerland)
« Reply #7 on: April 18, 2011, 02:54:02 am »
Alright so there seems to be have been a few issues with the card over time. On mythbuntu 9.04 the firmware bugs out so you had to use an earlier version. Then 2.6.30-2 had a broken driver so you had to install some "mercurial module" v4l driver. Lastly on "Ubuntu 10.04/MythTV 0.23" there's a problem with scanning in DVB-T as well.

I have tried 3 different firmwares. I've tried installing v4l but so far no luck. I might have missed if but I don't seem to have seen a proper solution for the 10.04/0.23 problem either. Now I'll go to bed but if anyone has any suggestions I'm all ears (preferably with some details as I'm still a noob).

The way I installed v4l drivers was the following (in case I did something wrong, it didn't give me any errors at least):
Code: [Select]
sudo su
 apt-get install mercurial cvs subversion libncurses-dev
 hg clone http://hg.kewl.org/pub/v4l-dvb-20100517/
 cd v4l-dvb-20100517
 make
 make install
 reboot
http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-4000

Schmich

  • Veteran
  • ***
  • Posts: 116
    • View Profile
Re: MythTV-Setup configuring DVB-T (Switzerland)
« Reply #8 on: April 18, 2011, 08:14:13 pm »
I think I'll give up. I've tried all solutions I've found but with no luck. I'm not even sure the problem has a solution to it. Does anyone have a HVR-4000 running DVB-T on LMCE 8.10 w/ MythTV 0.23? Btw thanks bongowongo for trying to help out.

Whilst we're on the subject of MythTV, is it normal that Myth doesn't properly go back from the screensaver when scanning? Especially DVB-S scanning takes a long time so you don't stay for the process to finish. When I come back and press on something then the screensaver stops moving, I get the "X       Keyboard        Ø" (power symbol) overlay but the rest doesn't come back. Not a big deal since one can just pop in and move the mouse every X minutes so the screensaver doesn't go on, but I'm just curious if this only happens to me.