Project

General

Profile

Tuners disappear after reboot - Found solution - - > need better one

Added by D P over 4 years ago

Hello,

I have two tuners connected to TVH. They are both China Astrometa. One is older version vith Panasonic chip, and second is newer with Sony chip:

1. PANASONIC MN88473 for DVB-T2

Realtek RTL2832 for DVB-T

2. Sony CXD2837ER for DVB-T2

Realtek RTL2832 for DVB-T

Both are working well.

Problem is, that after reboot, Panasonic and Sony dissappear, and only Realtek remains working.

I have found a solution after searching forums using SSH:

systemctl stop service.tvheadend42

rm -rf /storage/.kodi/userdata/addon_data/service.tvheadend42/input/linuxdvb/adapters/

systemctl start service.tvheadend42

It stops TVH, then removes some adapter files, and then starts TVH. Then all chips are present again. After that, I have to reassign networks again.

This is obviously not very practical.

I am not experienced Linux user, so if someone could help me I would be very grateful.

I was thinking maybe if this path that is being wiped by command I am writing above (/storage/.kodi/userdata/addon_data/service.tvheadend42/input/linuxdvb/adapters/)

could somehow maybe locked / restrict TVH from writing to this path, maybe it could help?

Does anybody have any idea?

Thank you in advance :)


Replies (5)

RE: Tuners disappear after reboot - Found solution - - > need better one - Added by saen acro over 4 years ago

There can be few hardware problem & solutions
1. you use cheap usb splitter
2. your board share same DMA to USB

What is a motherboard OS etc.

RE: Tuners disappear after reboot - Found solution - - > need better one - Added by D P over 4 years ago

OS is LibreELEC.
It is running on an old laptop Acer Extensa 5620.
It is easiest way for me to use LibreELEC and just disable Kodi and keep it as server for TVH, because it is user friendly to install and setup and contains all the drivers needed.
As frontend I use CoreELEC on Magicsee N5 with S905X2.

I don't use USB splitter, so second reason you are mentioning could be the problem? How can I find out, if they use the same DMA?

Thank you for your answer.

RE: Tuners disappear after reboot - Found solution - - > need better one - Added by saen acro over 4 years ago

Only way with can give same arrange of tunners is to set config with hard tuner ident
use

/etc/modprobe.d/your.conf

See what modules are used tuners and set ident to them.

RE: Tuners disappear after reboot - Found solution - - > need better one - Added by D P over 4 years ago

I have tried this command, but I receive this:

-sh: /etc/modprobe.d/your.conf: not found

Maybe I'm not using it correctly? I am not very experienced with linux commands.

RE: Tuners disappear after reboot - Found solution - - > need better one - Added by saen acro over 4 years ago

D P wrote:

I have tried this command, but I receive this:

[...]

Maybe I'm not using it correctly? I am not very experienced with linux commands.

you must create this file
try with LibreElec forum
user CvH can give advises how to correctly setup static tuner numbers not random

    (1-5/5)