Stop tvheadend from adding the same tuner again
Added by piotr w almost 11 years ago
Hi,
TvHeadend (or Ubuntu) is adding my tuners again after a reboot, I know have 6 tuners in TvHeadend. (I only have three). How do I fix this ?
Is the new 3.9 version of TvHeadend stable enough for a "production" enviroment ?
Replies (3)
RE: Stop tvheadend from adding the same tuner again - Added by Anonymous almost 11 years ago
I suffered the same problem because I had 2 USB DVB-T tuners and a quad-port DVB-S tuner and the ordering just depended on how things were initialised at boot. My solution was to fix the adapter numbers for the drivers so that after reboot, the cards were always mapped to the same /dev/dvb/adapterX
Here's some examples: http://ubuntuforums.org/archive/index.php/t-1311795.html
RE: Stop tvheadend from adding the same tuner again - Added by Prof Yaffle almost 11 years ago
Some USB adapters can be set through /etc/modprobe.d/options-dvb.con as this article. Some don't support the adapter_nr parameter, though, so you have to use udev instead.
http://www.mythtv.org/wiki/Device_Filenames_and_udev
If you're lucky, you can set enough of the tuners through adapter_nr that the others initialise in the right place every time. I never personally had much luck with udev...
RE: Stop tvheadend from adding the same tuner again - Added by piotr w almost 11 years ago
Based on the tutorial mentioned by Prog Yaffle, I have created in /etc/udev/rules.d/10-local.rules like this:
peter@TvHeadend:~$ cat /etc/udev/rules.d/10-local.rules- Terratec Synergy
SUBSYSTEM=="dvb", KERNEL=="dvb[0-9].frontend0", ATTRS{subsystem_vendor}=="0x153b", ATTRS{subsystem_device}=="0x1178", SYMLINK+="Terratec_Synergy" - Technisat CableStar
SUBSYSTEM=="dvb", KERNEL=="dvb[0-9].frontend0", ATTRS{subsystem_vendor}=="0x1ae4", ATTRS{subsystem_device}=="0x9800", SYMLINK+="Technisat_Cablestar" - Technisat Skystar UBS 2 HD
SUBSYSTEM=="dvb", KERNEL=="dvb[0-9].frontend0", ATTRS{subsystem_vendor}=="0x1043", ATTRS{subsystem_device}=="0x8179", SYMLINK+="Technisat_Skystar"
The rules are not applied, where am I going wrong ?