Configuring Ubuntu 16.04

Added by Dan Burt 11 days ago

Trying to re-configure my server.

It was running an older version of Ubuntu. I tried upgrading through the versions to the latest LTS, but TVH never got working.

So trying it as a fresh install.

Copied DVB-USB device firmware to /lib/firmware/. Can see the devices (I have 2x) are registered in dmesg

Install TVH following install wiki guide. Using 4.2.2 (stable-4.2)

When installed, using the web interface... add a Network for both devices (called "DVB-C Network"). Then manually add in a DVB-C mux that I know to be local, but fails:
mpegts: 666.75MHz in DVB-C Network - scan no data, failed

Can anyone help?

Using same firmware files as when it was previously working (4.0.4 through 4.0.25). Tried some help on the IRC channel as well.


Replies (14)

RE: Configuring Ubuntu 16.04 - Added by saen acro 10 days ago

What say FEMON during scan?
Is other scanning tools find services?

RE: Configuring Ubuntu 16.04 - Added by Dan Burt 10 days ago

I wasnt sure what "FEMON" was, but found it is an executable binary. I ran it this eve, as root. Here is the output, repeated over and over:

status | signal 0% | snr 0% | ber 0 | unc 1 |
Problem retrieving frontend information: Operation not supported

I have also retried the w_scan tool, and it loops through a set of frequencies, which I have skipped to the last couple entries, followed by the error message:

842000: sr6900 (time: 07:51.203) sr6875 (time: 07:52.707)
850000: sr6900 (time: 07:54.215) sr6875 (time: 07:55.719)
858000: sr6900 (time: 07:57.223) sr6875 (time: 07:58.731)

ERROR: Sorry - i couldn't get any working frequency/transponder

Nothing seems to be working. I am wondering if Virgin (the cable provider here in the UK) has terminated the TV services on my line? would it be possible to at least prove this or not?

thanks

RE: Configuring Ubuntu 16.04 - Added by saen acro 10 days ago

test with this parameters

UK.Virgin_Media.zip (929 Bytes)

RE: Configuring Ubuntu 16.04 - Added by Dan Burt 10 days ago

How do I test with these?

I have entered the following muxes, all returning FAIL status:
666.750
675.000
666.000

i cant recall, but there were definitely some services scanned from at least one of these muxes!

when I first set up TVH, I only entered my local region's frequency (666.750 / 6952). this then populated most of the other muxes and services. but this has not worked this time..

RE: Configuring Ubuntu 16.04 - Added by saen acro 10 days ago

99000 256Qam 6952
107000 256Qam 6952
114750 256Qam 6952
115000 256Qam 6952
122750 256Qam 6952
123000 256Qam 6952
130750 256Qam 6952
131000 256Qam 6952
139000 256Qam 6952
146750 256Qam 6952
147000 256Qam 6952
154750 256Qam 6952
155000 256Qam 6952
162750 256Qam 6952
163000 256Qam 6952
170750 256Qam 6952
171000 256Qam 6952
178750 256Qam 6952
179000 256Qam 6952
186750 256Qam 6952
187000 256Qam 6952
194750 256Qam 6952
195000 256Qam 6952
203000 256Qam 6952
211000 256Qam 6952
219000 256Qam 6952
227000 256Qam 6952
235000 256Qam 6952
243000 256Qam 6952
251000 256Qam 6952
259000 256Qam 6952
267000 256Qam 6952
275000 256Qam 6952
283000 256Qam 6952
291000 256Qam 6952
299000 256Qam 6952
307000 256Qam 6952
315000 256Qam 6952
323000 256Qam 6952
338750 256Qam 6952
339000 256Qam 6952
343750 256Qam 6887
346750 256Qam 6887
346750 256Qam 6952
347000 256Qam 6952
354250 256Qam 6887
354750 256Qam 6952
355000 256Qam 6952
362750 256Qam 6952
363000 256Qam 6952
370750 256Qam 6952
371000 256Qam 6952
378750 256Qam 6952
379000 256Qam 6952
386750 256Qam 6952
387000 256Qam 6952
394000 256Qam 6887
394750 256Qam 6952
395000 256Qam 6952
402750 256Qam 6952
410250 256Qam 6887
410750 256Qam 6952
411000 256Qam 6952
418750 256Qam 6952
419000 256Qam 6952
426750 256Qam 6952
427000 256Qam 6952
434000 256Qam 6952
434750 256Qam 6952
435000 256Qam 6952
442750 256Qam 6952
443000 256Qam 6952
450250 256Qam 6887
450750 256Qam 6952
451000 256Qam 6952
458750 256Qam 6952
459000 256Qam 6952
466750 256Qam 6952
467000 256Qam 6952
474750 256Qam 6952
475000 256Qam 6952
482750 256Qam 6952
483000 256Qam 6952
490750 256Qam 6952
491000 256Qam 6952
498750 256Qam 6952
499000 256Qam 6952
506750 256Qam 6952
507000 256Qam 6952
514750 256Qam 6952
515000 256Qam 6952
522750 256Qam 6952
523000 256Qam 6952
530750 256Qam 6952
531000 256Qam 6952
538750 256Qam 6952
539000 256Qam 6952
546250 256Qam 6887
546750 256Qam 6887
547000 256Qam 6952
554750 256Qam 6952
555000 256Qam 6952
562750 256Qam 6952
563000 256Qam 6952
570750 256Qam 6952
571000 256Qam 6952
578750 256Qam 6952
579000 256Qam 6952
587000 256Qam 6952
594750 256Qam 6952
595000 256Qam 6952
602750 256Qam 6952
603000 256Qam 6952
610750 256Qam 6952
611000 256Qam 6952
618750 256Qam 6952
619000 256Qam 6952
626250 256Qam 6887
626750 256Qam 6952
627000 256Qam 6952
634750 256Qam 6952
635000 256Qam 6952
642750 256Qam 6952
643000 256Qam 6952
650750 256Qam 6952
651000 256Qam 6952
658750 256Qam 6952
659000 256Qam 6952
666750 256Qam 6952
667000 256Qam 6952
674750 256Qam 6952
675000 256Qam 6952
682750 256Qam 6952
683000 256Qam 6952
690750 256Qam 6952
691000 256Qam 6952
698750 256Qam 6952
699000 256Qam 6952
706750 256Qam 6952
707000 256Qam 6952
714250 256Qam 6887
714750 256Qam 6952
715000 256Qam 6952
722750 256Qam 6952
723000 256Qam 6952
730750 256Qam 6952
731000 256Qam 6952
738750 256Qam 6952
739000 256Qam 6952
746750 256Qam 6952
747000 256Qam 6952
754750 256Qam 6887
755000 256Qam 6952
762750 256Qam 6887
763000 256Qam 6952
771000 256Qam 6952
779000 256Qam 6952
787000 256Qam 6952
794250 256Qam 6887
795000 256Qam 6952
802250 256Qam 6887
803000 256Qam 6952
811000 256Qam 6952
819000 256Qam 6952
826250 256Qam 6887

RE: Configuring Ubuntu 16.04 - Added by Dan Burt 9 days ago

what is this list? channels.conf file for dvbv5-scan config file?

RE: Configuring Ubuntu 16.04 - Added by saen acro 9 days ago

Virgin frequency table

freq / qam / SR

RE: Configuring Ubuntu 16.04 - Added by Dan Burt 8 days ago

I have put all these frequencies into a text file, then run it against dvbv5-scan. it returns an error, so there is no output.

i also created the same text file, but only with the 666.750Mhz frequency in last night. not sure how many times it was run, but i do have an output that is usable:

@
[666.75MHz#101]
SERVICE_ID = 101
VIDEO_PID = 101
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#102]
SERVICE_ID = 102
VIDEO_PID = 201
AUDIO_PID = 211
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#103]
SERVICE_ID = 103
VIDEO_PID = 301
AUDIO_PID = 311
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#104]
SERVICE_ID = 104
VIDEO_PID = 401
AUDIO_PID = 411
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#105]
SERVICE_ID = 105
VIDEO_PID = 501
AUDIO_PID = 511
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#106]
SERVICE_ID = 106
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#109]
SERVICE_ID = 109
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#110]
SERVICE_ID = 110
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#111]
SERVICE_ID = 111
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#112]
SERVICE_ID = 112
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#113]
SERVICE_ID = 113
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#114]
SERVICE_ID = 114
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#115]
SERVICE_ID = 115
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#116]
SERVICE_ID = 116
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#117]
SERVICE_ID = 117
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#118]
SERVICE_ID = 118
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#119]
SERVICE_ID = 119
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#120]
SERVICE_ID = 120
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#121]
SERVICE_ID = 121
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#122]
SERVICE_ID = 122
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#123]
SERVICE_ID = 123
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#10009]
SERVICE_ID = 10009
PID_05 = 1009
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#10010]
SERVICE_ID = 10010
PID_05 = 1010
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A

[666.75MHz#10011]
SERVICE_ID = 10011
PID_05 = 1011
FREQUENCY = 666750000
MODULATION = QAM/256
INVERSION = AUTO
SYMBOL_RATE = 6952000
INNER_FEC = NONE
DELIVERY_SYSTEM = DVBC/ANNEX_A
@

however, trying to re-run it again today, and we are back to the errors.

i have also now tried the stable, stable-4.2 and unstable TVH builds. same problems / errors.

RE: Configuring Ubuntu 16.04 - Added by saen acro 8 days ago

RTFM
https://www.linuxtv.org/wiki/index.php/Dvbv5-scan

example channel/frequency list format:

[CHANNEL]
    DELIVERY_SYSTEM = DVBC/ANNEX_A
    FREQUENCY = 113000000
    SYMBOL_RATE = 6900000
    INNER_FEC = NONE
    MODULATION = QAM/64
    INVERSION = AUTO

You try to scan for specific service on specific frequency, non sense.
With notepad++ you can convert it very fast

RE: Configuring Ubuntu 16.04 - Added by Dan Burt 8 days ago

I HAVE READ THE EFFING MANUAL. top to bottom.

the page you have linked me to shows an example of many channel entries put into a single file.

I have edited to match up against your list. as an example, with a single frequency, the file looks like:

[CHANNEL]
DELIVERY_SYSTEM = DVBC/ANNEX_A
FREQUENCY = 666750000
SYMBOL_RATE = 6952000
INNER_FEC = NONE
MODULATION = QAM/256
INVERSION = AUTO

this is the console output:

[email protected]:~$ sudo dvbv5-scan channels.conf
ERROR command BANDWIDTH_HZ (5) not found during retrieve
Cannot calc frequency shift. Either bandwidth/symbol-rate is unavailable (yet).
Scanning frequency #1 666750000
Lock (0x1f) C/N= 33.75dB
ERROR dvb_read_sections: no data read on section filter
ERROR error while waiting for PAT table

But... I do have 1 output file, so it must have worked once! Though this hasn't helped me any further, and this is what I previously pasted.

RE: Configuring Ubuntu 16.04 - Added by saen acro 8 days ago

Is Femon show in same time something
(femon -H must be runned in other terminal and sniffing same tuner on with you scan)

RE: Configuring Ubuntu 16.04 - Added by Dan Burt 8 days ago

I turned on "Idle Scan" for the network. At the same time, in an SSH session, I ran "sudo femon -H". This was the output:

[email protected]:~$ sudo femon -H
FE: Silicon Labs Si2168 (DVBC)
Problem retrieving frontend information: Operation not supported
status SCVYL | signal 0% | snr 0% | ber 0 | unc 1 | FE_HAS_LOCK

Additional note - today I installed OpenElec onto a spare Raspberry Pi, which can also install tvheadend. Doing this, plugging in my USB tuners, the channels scanned in. I had some other problems, but they may be related to the RPi platform. Underlying fact = incoming connectivity is fine, problem is the drivers / firmware on this Ubuntu (SERVER) 16.04 Xenial instance.

I cannot believe I am the only person running this version of the distro, or TVH on top of it, with these USB tuners as they are quite popular.

Should I simply copy the .fw files, and everything else works? This is what I am led to believe!

My old installation was Ubuntu 14.10 with a manually updated kernel to v3.19. Likelihood is I probably installed other components, such as "linuxtv.org" media_build stuff.

RE: Configuring Ubuntu 16.04 - Added by saen acro 8 days ago

Linux modules are reverse engineered in most cases and firmware are dumped from windows drivers
https://github.com/OpenELEC/dvb-firmware

RE: Configuring Ubuntu 16.04 - Added by Dan Burt 7 days ago

Swapping around the USB tuners, minor progress... Also turned off "Initial scan" and "Idle scan" against the Network settings.

Now I add in the 666.750mHz frequency and it auto-populates a number of other muxes. It also identifies a number of services on a few of these.

However, scanning them, and mapping services into channels, every single one fails. I rebooted, and now following the next scan, all the muxes fail again.

I have been running a debug trace log file of the linuxdvb and mpegts modules / subsystems. There seems to be mixture of "poll timeout", "no input detected", "invalid service". I cant seem to find an obvious section with a starting or ending loop, so just dumped a section here:
[[https://pastebin.com/SP6VQcak]]

(1-14/14)