Unable to scan channels

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
neilbrown66
Newcomer
Posts: 9
Joined: Tue Aug 29, 2017 5:22 pm
Great Britain

Unable to scan channels

Post by neilbrown66 »

When i am scanning channels i can see the TV card obtaining a lock and the signal strength goes up but i does not find any new channels
I have set up the regions and bouguet id as per the lnik https://www.mythtv.org/wiki/DVB_UK
I am running a Hauppauge WinTV-QuadHD on Ubuntu 20-04 and have increased the channel timeouts to 7000 and 10000 respectivly as advised on various posts.

I have checked the hardware by installing windows and this is fine, i have also installed kaffine which seems to allow me to view TV. I have also installed the custom firmware as advised by Hauppauge. Not sure where to go no next
User avatar
kmdewaal
Developer
Posts: 649
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: Unable to scan channels

Post by kmdewaal »

For a DVB-T/T2 (aka Freeview in the UK) when you do a Full Scan you have to select the country: press the right arrow, select a country, press the left arrow and then do the scan. Default is Australia and that will not work in the UK.
You can also have a look at this WIki page about channel scanning: https://www.mythtv.org/wiki/Channel_Scanning
neilbrown66
Newcomer
Posts: 9
Joined: Tue Aug 29, 2017 5:22 pm
Great Britain

Re: Unable to scan channels

Post by neilbrown66 »

Hi and thanks for your input, i am scanning with the UK option and have also been through the wiki with a fine tooth comb. The odd things is, on the channels where i am expecting there to be stations the card gets a lock, so I no it is detecting them its just not returning anything useful.
User avatar
kmdewaal
Developer
Posts: 649
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: Unable to scan channels

Post by kmdewaal »

Please make a log of your mythtv-setup scan like this:

Code: Select all

mythtv-setup -v channel,chanscan,record --loglevel-debug | tee log/ms-20200813-1234.log
and post the file (gzipped for size) here.
A UK Freeview scan should just work.
User avatar
kmdewaal
Developer
Posts: 649
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: Unable to scan channels

Post by kmdewaal »

Correction: --loglevel=debug

Another thought: the region id and the bouquet id are intended for satellite scans (Freesat), I do not know if setting these does anything useful for DVB-T/T2. You could try leaving them at the default values.
neilbrown66
Newcomer
Posts: 9
Joined: Tue Aug 29, 2017 5:22 pm
Great Britain

Re: Unable to scan channels

Post by neilbrown66 »

Hi and thanks once again
I have been unable to get the command working that you provided, if the backend is stopped, it wants to start and visa-versa, and there is no output in the file

I have been able to use w_scan below is some of the output that has been found
746000: (time: 03:48.514) signal ok: QAM_AUTO f = 746000 kHz I999B8C999D999T999G999Y999 (0:0:0)
Info: no data from PAT after 2 seconds
deleting (QAM_AUTO f = 746000 kHz I999B8C999D999T999G999Y999 (0:0:0))
746167: (time: 03:51.654) signal ok: QAM_AUTO f = 746167 kHz I999B8C999D999T999G999Y999 (0:0:0)
Info: no data from PAT after 2 seconds
deleting (QAM_AUTO f = 746167 kHz I999B8C999D999T999G999Y999 (0:0:0))
745833: (time: 03:54.658) signal ok: QAM_AUTO f = 745833 kHz I999B8C999D999T999G999Y999 (0:0:0)
Info: no data from PAT after 2 seconds
deleting (QAM_AUTO f = 745833 kHz I999B8C999D999T999G999Y999 (0:0:0))
User avatar
kmdewaal
Developer
Posts: 649
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: Unable to scan channels

Post by kmdewaal »

You can only run mythtv-setup when the backend is NOT running. If you start mythtv-setup when the backend is running you get in mythtv-setup the option to stop the backend but this works only if your distribution supports it. Please check that mythbackend is not running.
The command as given only works if you run the bash shell.
You can also give this command:

Code: Select all

mythtv-setup -v channel,record,chanscan --loglevel=debug --logpath=.
This will create a file with a name like mythtv-setup.20200813120049.985324.log in your current directory.
neilbrown66
Newcomer
Posts: 9
Joined: Tue Aug 29, 2017 5:22 pm
Great Britain

Re: Unable to scan channels

Post by neilbrown66 »

OK, so had other things that have occupied my time. So i have put in a separate drive and configured mythtv .30 still no joy, have spotted an error with permision to /dev/dvb/asapter/frontend0/ which i corrected but still did not help.

So a bit of background, i have have been using mythtv for some 10 years now and decided to upgrade my old system running 32 bit and replaced the hardware and rebuilt from scratch retaining the recordings and imported the database. Everything works fine except TV. I tried deleting the existing channels out to rescan but had the issue of not being able to

So now i have re-imported the database so that I have the existing channels, and configured all 4 tuners just using one of them for the EIT data and set only one to not open on demand. At this point i can see there is a signal when i try and watch TV but not locking, it onlys get TL

Now if open up Kaffiene and open a channel then pause it, go back into mythtv i can get TV and i get my channel listings as well

It is like Mythtv is unable to initialize the card correctly. I am hoping someone has a something that can help me with this
User avatar
kmdewaal
Developer
Posts: 649
Joined: Wed Dec 07, 2016 8:01 pm
Netherlands

Re: Unable to scan channels

Post by kmdewaal »

This means that your hardware is working OK and MythTV in principle also, only MythTV does not put the card in the correct mode.
Your card can do DVB-T/T2 but also DVB-C and it is most likely by default in DVB-C mode.
This is supported in MythTV version 31 but not in earlier versions. New hardware very often requires new software..... so please upgrade to v31.
You do need to configure the card for DVB-T2 with mythtv-setup.
As said, all details are in the Channel Scanning Wiki page.
neilbrown66
Newcomer
Posts: 9
Joined: Tue Aug 29, 2017 5:22 pm
Great Britain

Re: Unable to scan channels

Post by neilbrown66 »

OK so thanks for your help, i have been kept busy so lack of response i apologise for, but had another look at this issue and eventually resolved this

The issues seems to be an incompatibility on the PCI-e bus with versions of card and motherboard, I found this thread below and the fix

What to change:
================
1) Created the file /etc/modprobe.d/Hauppauge-WinTV-QuadHD.conf , with a single line
sudo vim /etc/modprobe.d/Hauppauge-WinTV-QuadHD.conf
1a) The single line to add:
options cx23885 dma_reset_workaround=2

Rebooted and ran mythtv-setup and the scan found the 57 channels first time.

viewtopic.php?f=36&t=4081&start=60
Post Reply