Project

General

Profile

Newbie at TVheadend

Added by Per Jørgensen over 5 years ago

Hi Forum.
I've been using MythTV with Libreelec as Frontends for several years - But now I though its was time for something new
So I Did a clean install of debian - Installing TVheadend from Debian Archives.
I have now managed to the the follpwing up and running but not sure if I do this the right way.
Normally I been using ffdecsawrapper for descrabling - But since is not that maintained -i'll like to try something else.

I Have a TBS 6985 PCI-e Quad Tuner
I installed SAT>PI latest git version - and did a channelscan with w_scan - create the m3u file.
But now When I should add the SAT>IP server - i'm pointing at http://IP.OF.SATIP:8875/channellist.m3u
Both Sat>IP and TVheadend are located at the same machine.

I see the 4 Tuners - when looking at Configuration -- DVB input -- TV Adapters
I seeing both the local Tuners (And the same tuners through the SAT>IP - But since its scrambled - its should go through SAT>IP server - since I cannot find anything directly connection between TVheadend and Oscam!

But when adding the SAT>IP tuner - I getting something I do not understand correctly or ?
But t Configuration -- DVB input -- Network - I'm creating the network Thor0.8 ( Danish CanalDigital) and lets the TVheadend do a full scan.

Under Bucket - I'm getting all the channels under one bucket - automaticly named Thor0.8
Then I can see many Muxes and many services - but this is what tricks me a bit - on how to create my Channel bucket - with my numbers attached
I attached 3 images
2 watching through Maxthon on windows - and one watching the same side from Firefox on linux - But They change the column names:

But i cannot get it right on how to create my own ChannelBucket from here.

I have now tried a couple of times for getting this up znd running - But normally I finding ca 1500 Services ( When scanning normally with MythTV or a normal tuner - but here I'm getting 15000 channels - Many of them are doubles ? Should only one card be enabled and doing the scan - since for me it looks like its inserting for all four tuners ?
I've allso attached the w-scan output generated to m3u file - Which the the one placed in SAT>IP

Can someone tells me what I'm doing wrong here - since I keep getting a wrong channel numbers and not sence in it for me


Replies (10)

RE: Newbie at TVheadend - Added by saen acro over 5 years ago

Why you need SAT>IP?
Why not use playlist generated by tvh and watch on VLC PROGTV etc.
or via KODI pvr plugin

http://tvh.ip:9981/playlist/channels

RE: Newbie at TVheadend - Added by Per Jørgensen over 5 years ago

Since I cannot find anywhere that TvHeadend support Oscam for descrambling, I'm need the SAT>IP for descrambling encrypted channels.

Normally i've done this through FFdecsawrapper using a loopback interface - but that not supported anymore with newer Kernels.
So That mainly why I'm trying something else --> But if you can show me the direction for directly Use of oscam Protocol within the TVHeadend - Its most appriciated

RE: Newbie at TVheadend - Added by saen acro over 5 years ago

In General set view level to expert.

RE: Newbie at TVheadend - Added by Per Jørgensen over 5 years ago

Hi there - Thanks for the reply.
I managed to get it working.

Although I do have another problem
My Tunercards are
TBS6985 as PCI --> 06:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 02)
2 x Technisat SkyStar USB HD --> Bus 005 Device 003: ID 14f7:0500 TechniSat Digital GmbH DVB-PC TV Star HD --> https://www.linuxtv.org/wiki/index.php/Technisat_SkyStar_USB_HD
1 x TerraTec Cinergy S2 --> Bus 001 Device 003: ID 0ccd:0105 TerraTec Electronic GmbH Cinergy S2 Box --> https://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_S2

Which I normally does not have issues regarding installing the firmware etc for those devices ( Normally I run on seperate machine - But would like to get it running only at one Server)
So the only TVheadend server handling all 7 DVS-S2 devices

The TBS card is actually installed without problems - But I cannot load the USB DVB-S/S2 devices - they just don't get discovered!
I do not getting an error in dmesg:


[ 3.166065] usb 1-1.1: New USB device found, idVendor=14f7, idProduct=0500
[ 3.358021] usb 1-1.2: New USB device found, idVendor=14f7, idProduct=0500

Normally you should add the firmware for those devices - which is done - But they do not get discovered as usual.
What can be the problem here?

The Cinergy device
2.765708] usb 1-1.2: New USB device found, idVendor=0ccd, idProduct=0105
[ 2.765710] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.765711] usb 1-1.2: Product: TERRATEC USB Tuner
[ 2.765712] usb 1-1.2: Manufacturer: Tevii
[ 2.765713] usb 1-1.2: SerialNumber: 000000031

Does anybody have a clue regarding these settings - and what I'm doing wrong or is it simply not possible to have several Tuner devices on one Server.
Does TVheadend have an setup for Master/Slave in the same network ? In mythTV you can defiune a master and a slave on the same network - but you will only use the Master IP - since its now where the slaves are ?

RE: Newbie at TVheadend - Added by saen acro over 5 years ago

dmesg |egrep "firmware|dvb|frontend|usb" 

Post result.

RE: Newbie at TVheadend - Added by Per Jørgensen over 5 years ago

Here it is

@
root@MainCore:~# dmesg |egrep "firmware|dvb|frontend|usb"
[ 1.878671] usbcore: registered new interface driver usbfs
[ 1.878681] usbcore: registered new interface driver hub
[ 1.878717] usbcore: registered new device driver usb
[ 1.896725] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.896727] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.896728] usb usb1: Product: EHCI Host Controller
[ 1.896729] usb usb1: Manufacturer: Linux 4.9.0-9-amd64 ehci_hcd
[ 1.896731] usb usb1: SerialNumber: 0000:00:1a.0
[ 1.904450] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.904452] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.904454] usb usb2: Product: xHCI Host Controller
[ 1.904455] usb usb2: Manufacturer: Linux 4.9.0-9-amd64 xhci-hcd
[ 1.904456] usb usb2: SerialNumber: 0000:03:00.0
[ 1.909281] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.909300] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[ 1.909301] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.909303] usb usb3: Product: xHCI Host Controller
[ 1.909304] usb usb3: Manufacturer: Linux 4.9.0-9-amd64 xhci-hcd
[ 1.909305] usb usb3: SerialNumber: 0000:03:00.0
[ 1.924808] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.924810] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.924813] usb usb4: Product: EHCI Host Controller
[ 1.924815] usb usb4: Manufacturer: Linux 4.9.0-9-amd64 ehci_hcd
[ 1.924817] usb usb4: SerialNumber: 0000:00:1d.0
[ 1.932521] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.932523] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.932524] usb usb5: Product: xHCI Host Controller
[ 1.932526] usb usb5: Manufacturer: Linux 4.9.0-9-amd64 xhci-hcd
[ 1.932527] usb usb5: SerialNumber: 0000:04:00.0
[ 1.937425] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.937441] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003
[ 1.937443] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.937444] usb usb6: Product: xHCI Host Controller
[ 1.937445] usb usb6: Manufacturer: Linux 4.9.0-9-amd64 xhci-hcd
[ 1.937446] usb usb6: SerialNumber: 0000:04:00.0
[ 2.224693] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 2.252702] usb 4-1: new high-speed USB device number 2 using ehci-pci
[ 2.292702] usb 2-2: new low-speed USB device number 2 using xhci_hcd
[ 2.373262] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[ 2.373265] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.401227] usb 4-1: New USB device found, idVendor=8087, idProduct=0024
[ 2.401231] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.499057] usb 2-2: New USB device found, idVendor=413c, idProduct=2106
[ 2.499060] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.499062] usb 2-2: Product: Dell QuietKey Keyboard
[ 2.499064] usb 2-2: Manufacturer: Dell
[ 2.506821] usbcore: registered new interface driver usbhid
[ 2.506823] usbhid: USB HID core driver
[ 2.507667] input: Dell Dell QuietKey Keyboard as /devices/pci0000:00/0000:00:1c.1/0000:03:00.0/usb2/2-2/2-2:1.0/0003:413C:2106.0001/input/input0
[ 2.564863] hid-generic 0003:413C:2106.0001: input,hidraw0: USB HID v1.10 Keyboard [Dell Dell QuietKey Keyboard] on usb-0000:03:00.0-2/input0
[ 2.660697] usb 1-1.1: new high-speed USB device number 3 using ehci-pci
[ 2.688694] usb 4-1.7: new high-speed USB device number 3 using ehci-pci
[ 2.769119] usb 1-1.1: New USB device found, idVendor=14f7, idProduct=0500
[ 2.769121] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.797586] usb 4-1.7: New USB device found, idVendor=0ccd, idProduct=0105
[ 2.797587] usb 4-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.797588] usb 4-1.7: Product: TERRATEC USB Tuner
[ 2.797589] usb 4-1.7: Manufacturer: Tevii
[ 2.797590] usb 4-1.7: SerialNumber: 000000031
[ 3.040689] usb 1-1.2: new high-speed USB device number 4 using ehci-pci
[ 3.149107] usb 1-1.2: New USB device found, idVendor=14f7, idProduct=0500
[ 3.149111] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.345110] usbcore: registered new interface driver dw2102
[ 3.552961] DVB: registering new adapter (SAA716x dvb adapter)
[ 4.175374] DVB: registering adapter 0 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...
[ 4.175515] DVB: registering new adapter (SAA716x dvb adapter)
[ 4.801518] DVB: registering adapter 1 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...
[ 4.801646] DVB: registering new adapter (SAA716x dvb adapter)
[ 5.409542] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...
[ 5.409740] DVB: registering new adapter (SAA716x dvb adapter)
[ 6.017546] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...
[ 121.696704] usb 2-2: USB disconnect, device number 2
root@MainCore:~# lsusb
Bus 004 Device 003: ID 0ccd:0105 TerraTec Electronic GmbH Cinergy S2 Box
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 14f7:0500 TechniSat Digital GmbH DVB-PC TV Star HD
Bus 001 Device 003: ID 14f7:0500 TechniSat Digital GmbH DVB-PC TV Star HD
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

@

RE: Newbie at TVheadend - Added by saen acro over 5 years ago

Are you sure that this result is from

dmesg |egrep "firmware|dvb|frontend|usb" 

Is tbs media tree used?

RE: Newbie at TVheadend - Added by Per Jørgensen over 5 years ago

@saen - well - I'm pretty Sure its from that machine

I have 1 x PCI TBS6985 - Installet with the TBS driver as described here https://tvheadend.org/boards/5/topics/10407?r=10435#message-10435 (just used the newest driver)

2x Technisat SkyStar USB HD - cp the same firmware from /lib/firmware from my MythTV Backend
1x Terratec Cinergy S2 - Rev.4 --> Should be applied default https://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_S2
That gives me:

root@MainCore:/home/pbj# dmesg |egrep "firmware|dvb|frontend|usb"
[ 1.878696] usbcore: registered new interface driver usbfs
[ 1.878708] usbcore: registered new interface driver hub
[ 1.878739] usbcore: registered new device driver usb
[ 1.899483] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.899486] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.899488] usb usb1: Product: EHCI Host Controller
[ 1.899490] usb usb1: Manufacturer: Linux 4.9.0-9-amd64 ehci_hcd
[ 1.899492] usb usb1: SerialNumber: 0000:00:1a.0
[ 1.907254] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.907256] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.907257] usb usb2: Product: xHCI Host Controller
[ 1.907259] usb usb2: Manufacturer: Linux 4.9.0-9-amd64 xhci-hcd
[ 1.907260] usb usb2: SerialNumber: 0000:03:00.0
[ 1.912123] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.912141] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003
[ 1.912142] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.912144] usb usb3: Product: xHCI Host Controller
[ 1.912145] usb usb3: Manufacturer: Linux 4.9.0-9-amd64 xhci-hcd
[ 1.912146] usb usb3: SerialNumber: 0000:03:00.0
[ 1.927517] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.927520] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.927522] usb usb4: Product: EHCI Host Controller
[ 1.927524] usb usb4: Manufacturer: Linux 4.9.0-9-amd64 ehci_hcd
[ 1.927526] usb usb4: SerialNumber: 0000:00:1d.0
[ 1.935279] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.935281] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.935282] usb usb5: Product: xHCI Host Controller
[ 1.935283] usb usb5: Manufacturer: Linux 4.9.0-9-amd64 xhci-hcd
[ 1.935284] usb usb5: SerialNumber: 0000:04:00.0
[ 1.940132] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.940149] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003
[ 1.940151] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.940152] usb usb6: Product: xHCI Host Controller
[ 1.940153] usb usb6: Manufacturer: Linux 4.9.0-9-amd64 xhci-hcd
[ 1.940155] usb usb6: SerialNumber: 0000:04:00.0
[ 2.227432] usb 1-1: new high-speed USB device number 2 using ehci-pci
[ 2.255413] usb 4-1: new high-speed USB device number 2 using ehci-pci
[ 2.376098] usb 1-1: New USB device found, idVendor=8087, idProduct=0024
[ 2.376102] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.403889] usb 4-1: New USB device found, idVendor=8087, idProduct=0024
[ 2.403893] usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.663413] usb 1-1.1: new high-speed USB device number 3 using ehci-pci
[ 2.691396] usb 4-1.7: new high-speed USB device number 3 using ehci-pci
[ 2.771806] usb 1-1.1: New USB device found, idVendor=14f7, idProduct=0500
[ 2.771807] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.800273] usb 4-1.7: New USB device found, idVendor=0ccd, idProduct=0105
[ 2.800275] usb 4-1.7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2.800276] usb 4-1.7: Product: TERRATEC USB Tuner
[ 2.800277] usb 4-1.7: Manufacturer: Tevii
[ 2.800278] usb 4-1.7: SerialNumber: 000000031
[ 2.851390] usb 1-1.2: new high-speed USB device number 4 using ehci-pci
[ 2.959812] usb 1-1.2: New USB device found, idVendor=14f7, idProduct=0500
[ 2.959813] usb 1-1.2: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.292716] usbcore: registered new interface driver dw2102
[ 3.535763] DVB: registering new adapter (SAA716x dvb adapter)
[ 4.162052] DVB: registering adapter 0 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...
[ 4.162203] DVB: registering new adapter (SAA716x dvb adapter)
[ 4.768154] DVB: registering adapter 1 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...
[ 4.768285] DVB: registering new adapter (SAA716x dvb adapter)
[ 5.376156] DVB: registering adapter 2 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...
[ 5.376355] DVB: registering new adapter (SAA716x dvb adapter)
[ 5.984152] DVB: registering adapter 3 frontend 0 (TurboSight TBS 6985 DVBS/S2 frontend)...

So I guess my way would be running 2 TVheadend on same network - instead of just one

RE: Newbie at TVheadend - Added by saen acro over 5 years ago

One more proof that TBS software is crap and don't work with other brand tuners.
On other side Linux media tree have major bug it not load module to device it load it globally, result is upper.

Yes you can run multiple instances and join it to one main instance.

RE: Newbie at TVheadend - Added by Per Jørgensen over 5 years ago

Śo just for getting it right.

How is the easiest way to setup the "master" - when they all ( 6tuners ) are setup with the same source?
I only got this one input source (0.8E) connected through a MultiSwitch

But as I see it - they do not are able to talk together as one - Like MythTV MAster/Slave - otherwise use use it with something like minisatip Etc ?
I Just want to add it as the same tuners - but locatred on different host?

    (1-10/10)