Project

General

Profile

Feature #1419

Feature #1232: dynamic dvb device management

Feature #1354: TVHeadEnd should wait until TV tuners are up at boot.

Delay start of tvheadend

Added by Vaclav Hutecka about 12 years ago. Updated almost 12 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
DVB
Target version:
-
Start date:
2012-11-21
Due date:
% Done:

0%

Estimated time:

Description

Hello,
is it possible to start tvheadend delayed, because loading of my TV card's firmware takes about 40seconds. Cards look like as running, but all muxes have no signal (O%). After restart tvheadend service is everything OK.
I had same problem with older version tvheadend (ver 3.0) and I inserted sleep command into /etc/init.d/tvheadend and then tvheadend ran until upgrade to new version 3.2.18. It use upstart commands and I don't know where can I put sleep command if is it possible or if exists other way to delay start of tvheadend service.
I use XBMCbuntu with PVR as client and two TV cards ASUS MyCinema 7131 DUAL with Philips TDA10046H.
I'm sorry for my english a I'm from Czech republic and I speak english little.
Thank You for response.

History

#1

Updated by Adam Sutton about 12 years ago

  • Tracker changed from Bug to Feature
  • Category changed from PVR / DVR to DVB
  • Status changed from New to Accepted
  • Assignee deleted (Adam Sutton)

Moving to feature request. This is not a bug.

Adam

#2

Updated by Stefan . almost 12 years ago

I'm also using upstart and have this for service that is dependent on my DVB cards:

start on (local-filesystems and net-device-up IFACE=eth0 and dvb-device-added)

It works for me, maybe you could use something similar?

#3

Updated by Vaclav Hutecka almost 12 years ago

I had installed XBMC with PVR support with TVHeadend 3.0 (I had to modify file /etc/init.d/tvheadend by inserting sleep command into one and then it was going without problem). Recently I wanted to upgrade to v.3.2.18 and then I had a problem with tunning of muxes. There is no signal, because there are no firmwares in TV cards (I have two cards). I have SSD and system boot very quickly but TVcard's firmware loading need cca. 50sec (one card 25sec) - using fw file /lib/firmware/dvb-fe-tda10046.fw.

So, when it was not going OK with new version a I going back before this one (to functional version 3.0), because I use this PC as PVR and HTPC for my children.
But I have chance to try it on other PC with same TVcard.

I didn't use upstart commands. I'm IT specialist but beginner in linux. I like to learn something new. I will try man page of upstart.
Could you advice me in setting dependance on my DVB cards, please?

#4

Updated by Jan Van Belle almost 12 years ago

Maybe this can also be a solution for bug #1234.
The problem is with the same card / chipsets.
From comparing the debugging-output, startup of tvheadend seems to be 'more performing' then with my working version.
I don't see any other difference in commands used/ sent to the device.

Kind regards,

Jan
#5

Updated by Adam Sutton almost 12 years ago

  • Status changed from Accepted to Rejected
  • Parent task set to #1354

This is actually a dup of #1354.

Also available in: Atom PDF