Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

TVHEADEND Help For Terrestrial Muxes

  • 26-08-2020 5:05pm
    #1
    Registered Users, Registered Users 2 Posts: 9


    Hi
    Im new to TVHeadend and looking for a little help.

    I have s simple TVheadend setup on a raspberry PI3 with the official raspberry PI DVB-T tuner (Sony). I have created a network and used the predefined mux for Ireland-Truskmore (I'm based in West Mayo).

    It creates 2 Muxes at 730Mhz and 762Mhz. However these 2 muxes are created in Pending state and never change. If I force the change to Active state, then the scan fails and it does not find any channels.

    I have made sure that the network is assigned to an adapter.


    I know the aeriel signal is OK because if I plug the aerial into a generic freeview box and do a blind scan it finds all the channels.

    Im not sure what I'm doing wrong. Any help would be appreciated

    Thanks.


Comments

  • Registered Users, Registered Users 2 Posts: 14,074 ✭✭✭✭Johnboy1951


    Maybe you are using the old frequencies which were applicable prior to recent changes. Check on line for current frequencies for your transmitter.

    Ensure the Network is properly applied to the tuner and the settings saved.


  • Registered Users, Registered Users 2 Posts: 9 lessdrama


    Maybe you are not using the old frequencies which were applicable prior to recent changes. Check on line for current frequencies for your transmitter.

    Ensure the Network is properly applied to the tuner and the settings saved.

    I have checked on the Saorview website and it says I should be using the clifden transmitter (23 and 26) that are not affected by the changes.

    The trouble is I dont know how to translate this into MUX settings for TV headend.

    I did a blind scan and all muxes failed so a bit lost at this stage.

    Many Thanks.


  • Registered Users, Registered Users 2 Posts: 14,074 ✭✭✭✭Johnboy1951


    lessdrama wrote: »
    I have checked on the Saorview website and it says I should be using the clifden transmitter (23 and 26) that are not affected by the changes.

    The trouble is I dont know how to translate this into MUX settings for TV headend.

    I did a blind scan and all muxes failed so a bit lost at this stage.

    Many Thanks.

    Which transmitter is your aerial pointed to?

    Last page here for frequencies
    https://www.2rn.ie/wp-content/uploads/2019/09/2RN-DTT-Television-Transmission-Network-Sept-2019-Rev.1.2.pdf


  • Registered Users, Registered Users 2 Posts: 9 lessdrama


    Hi

    I believe its pointed at Clifden.

    Thank you for the frequency list. I will try that now.

    Thanks.


  • Registered Users, Registered Users 2 Posts: 9 lessdrama


    Hi

    I added the 2 muxes but both fail on the scan. The only thing I changed was the frequency. Everything else was set to auto.

    Mux1 for Clifden is 514 Mhz
    Mux 2 is 490 Mhz.

    I can't post a link to an image yet as I'm a new user.

    I have treble checked that the aerial is plugged into the pi :)

    Regards.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 14,074 ✭✭✭✭Johnboy1951


    lessdrama wrote: »
    Hi

    I added the 2 muxes but both fail on the scan. The only thing I changed was the frequency. Everything else was set to auto.

    Mux1 for Clifden is 514 Mhz
    Mux 2 is 490 Mhz.

    I can't post a link to an image yet as I'm a new user.

    I have treble checked that the aerial is plugged into the pi :)

    Regards.

    On the basis that you have tried all the mux frequencies you think you should .....

    Are you sure there is not some problem with the Pi tuner?

    I expect you have checked that it is explicitly enabled at

    tvheadend - Configuration - DVB Inputs - TV Adapters


  • Registered Users, Registered Users 2 Posts: 9 lessdrama


    Hi

    Its a fair question. All I can say is the light is on and dmesg is not thowing up anything obvious. except for the following:

    cxd2880: cxd2880_tune: cxd2880_set_frontend failed -22
    [ 27.819535] cxd2880: cxd2880_tune: cxd2880_set_frontend failed -22


    I have a USB DVB-T adapter so will try that tomorrow and provide an update.

    Many Thanks.


  • Registered Users, Registered Users 2 Posts: 9 lessdrama


    Hi

    So I dont have a solution yet but I'm documenting what I'm doing for anyone who may read this post later.

    I have now 100% confirmed that my aerial is pointed at the cliften transmitter which means its using the muxes at 490Mhz and 514Mhz. I did this by by plugging the areal into my amiko mini combo (which I want to replace with TV headend and Kodi) and doing a blind scan and it found channels on those 2 muxes.

    Next I used the w_scan command to do a lowe level scan for channels rather than using TVheadend.

    To install w_scan on my pi I did:

    sudo apt-get update
    sudo apt-get install w-scan

    I then stopped the TVheadend service as w_scan and tvheadend cant use the adapter at the same time.

    sudo systemctl stop tvheadend

    Finally I scanned for channels with the following command:

    w_scan -ft -c IE

    and sadly it did not find any channels :(

    So at this point, as Johnnyboy1951 suggested, maybe there was a problem with official raspberry pi DVB adapter.

    So I removed this from the raspberry Pi and pluuged in an USB based XBOX one dvb adapter (panasonic tuner).

    I restarted the PI and saw that dmesg was reporing that it could not find the firmware file so I downloaded the firmware file from

    http://palosaari.fi/linux/v4l-dvb/firmware/MN88472/02/latest/

    and copied it to /lib/firmware.

    I rebooted the Pi again and this time dmesg said

    mesg | grep dvb
    [ 5.542154] dvb-usb: found a 'Microsoft Xbox One Digital TV Tuner' in cold state, will try to load a firmware
    [ 5.564200] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw'
    [ 6.237407] dvb-usb: found a 'Microsoft Xbox One Digital TV Tuner' in warm state.
    [ 6.238029] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
    [ 6.255364] dvbdev: DVB: registering new adapter (Microsoft Xbox One Digital TV Tuner)
    [ 6.590017] dvb-usb: Microsoft Xbox One Digital TV Tuner successfully initialized and connected.
    [ 6.590363] usbcore: registered new interface driver dvb_usb_dib0700
    [ 11.372730] mn88472 3-0018: downloading firmware from file 'dvb-demod-mn88472-02.fw'



    Finally I stopped the Tvheadend service again and did another scan


    w_scan -ft -c IE
    w_scan -ft -c IE
    w_scan version 20170107 (compiled for DVB API 5.10)
    using settings for IRELAND
    Country identifier IE not defined. Using defaults.
    scan type TERRESTRIAL, channellist 4
    output format vdr-2.0
    WARNING: could not guess your codepage. Falling back to 'UTF-8'
    output charset 'UTF-8', use -C <charset> to override
    Info: using DVB adapter auto detection.
    /dev/dvb/adapter0/frontend0 -> TERRESTRIAL "Panasonic MN88472": very good :-))

    Using TERRESTRIAL frontend (adapter /dev/dvb/adapter0/frontend0)
    -_-_-_-_ Getting frontend capabilities-_-_-_-_
    Using DVB API 5.11
    frontend 'Panasonic MN88472' supports
    DVB-T2
    INVERSION_AUTO
    QAM_AUTO
    TRANSMISSION_MODE_AUTO
    GUARD_INTERVAL_AUTO
    HIERARCHY_AUTO
    FEC_AUTO
    BANDWIDTH_AUTO not supported, trying 6/7/8 MHz.
    FREQ (42.00MHz ... 870.00MHz)
    -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
    Scanning DVB-T...
    Scanning 8MHz frequencies...
    474000: (time: 00:00.039)
    482000: (time: 00:02.069)
    490000: (time: 00:04.109)
    498000: (time: 00:06.159)
    506000: (time: 00:08.189)
    514000: (time: 00:10.239) signal ok: QAM_AUTO f = 514000 kHz I999B8C999D999T999G999Y999 (0:0:0)
    Info: no data from PAT after 2 seconds
    deleting (QAM_AUTO f = 514000 kHz I999B8C999D999T999G999Y999 (0:0:0))
    522000: (time: 00:13.679)
    530000: (time: 00:15.709)
    538000: (time: 00:17.759)
    546000: (time: 00:19.789)
    554000: (time: 00:21.839)
    562000: (time: 00:23.869)
    570000: (time: 00:25.919)
    578000: (time: 00:27.949)
    586000: (time: 00:29.999)
    594000: (time: 00:32.029)
    602000: (time: 00:34.079) signal ok: QAM_AUTO f = 602000 kHz I999B8C999D999T999G999Y999 (0:0:0)
    Info: no data from PAT after 2 seconds
    deleting (QAM_AUTO f = 602000 kHz I999B8C999D999T999G999Y999 (0:0:0))

    and then finally

    ERROR: Sorry - i couldn't get any working frequency/transponder
    Nothing to scan!!
    root@raspberrypi:/home/pi#


    So it looks like the PI tuner may be faulty but i'm now having some issues with the Xbox One tuner.

    Any suggestions would be welcome.

    Thanks.


  • Registered Users, Registered Users 2 Posts: 14,074 ✭✭✭✭Johnboy1951


    It wasn't clear if you had tried tvheadend with the Xbox tuner.
    If not, try it using the frequencies w_scan reported that have a signal.

    At least the Xbox tuner seems to be seeing a signal on two frequencies.

    Is the Pi well supplied with power?
    Just wondering if it is a lack of power that is causing the problem.

    You could try the Xbox tuner in a powered hub to see if it makes any difference.

    EDIT: I get similar results here from a DVB USB tuner where my aerial is almost non-existent, so I did not expect to get any channels ........
    666000: (time: 00:57.697) 
    674000: (time: 00:59.883)         signal ok:    QAM_AUTO f = 674000 kHz I999B8C999D999T999G999Y999 (0:0:0)
            Info: no data from PAT after 2 seconds
            deleting (QAM_AUTO f = 674000 kHz I999B8C999D999T999G999Y999 (0:0:0))
    682000: (time: 01:03.808) 
    690000: (time: 01:06.019)         signal ok:    QAM_AUTO f = 690000 kHz I999B8C999D999T999G999Y999 (0:0:0)
            Info: no data from PAT after 2 seconds
            deleting (QAM_AUTO f = 690000 kHz I999B8C999D999T999G999Y999 (0:0:0))
    698000: (time: 01:09.630) 
    
    
    ERROR: Sorry - i couldn't get any working frequency/transponder
     Nothing to scan!!
    

    Are you using the same cable for the Pi as the Amiko?


  • Registered Users, Registered Users 2 Posts: 9 lessdrama


    Hi

    Tvheadend did not find any channels.

    I rescanned using _w_scan and it did not find any channels either. I am using the same cable just unplugged from the amiko and plugged into the xbox one tuner.

    Its possible that I do have a power problem as the supply is 2 amps.

    I will upgrade the PSU for the PI to 2.5 amps and get a powered USB hub.

    Thanks for all the help so far and I will report back once I have sorted these areas out.

    Many Thanks.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 14,074 ✭✭✭✭Johnboy1951


    I don't have a Pi 3 so am unsure about its power requirements, especially if you have devices attached to the basic board.
    Possibly both the Xbox tuner and the Pi tuner would each require about 400mA, but that should be checked.

    Further thought ....... have you considered testing with a different OS?
    LibreELEC with the Tvheadend server addon would be a good test I imagine, using one tuner at a time.

    Most likely it will not do all you might want from the Pi, but it would be a good test for the Tvheadend side of things.


  • Registered Users, Registered Users 2 Posts: 9 lessdrama


    Hi

    I will give it a try now with libreelec. The Pi is dedicated to tvheadend so not worried about using it for other things.

    (its easier to try librelelec than try to to get parts here in the west or Ireland) :)

    Im also going to try it on a Pi2 which has lower power requirements.

    I will report back.


    Thanks


  • Registered Users, Registered Users 2 Posts: 9 lessdrama


    So I spent a couple of hours testing with different raspberry Pi's using the PI OS

    My think is that since I dont have a larger PSU to hand above 2 amps, I could use raspberry pi's that require less amps.

    I did not install tvheadend but used w_scan

    Unfortunately, the results were the same in that neither tuner found any channels. I cant post images yetm but I tried a PI model B and a PI 2 in addition to the PI3 all with new installs of the PI OS.

    oYM5BZ7

    I will try with libreelec tomorrow.


  • Registered Users, Registered Users 2 Posts: 18 dirtchamber79


    Hi OP


    I had a similar issue a while back, using a Pi4 and a usb dongle.


    My issue was drivers in the end.


    My thread has all the scanning parameters I needed at the bottom, might be of help to you in TVHeadend with your frequencies.


    Thread is here: https://www.boards.ie/vbulletin/showthread.php?t=2058094563


Advertisement