hi to all!
my machine:
-hp microserver gen8
-Ubuntu 20.04.6 LTS Codename: focal
-HTS Tvheadend 4.3.0pre+202406272110-0built202406272348gitd2e41b553ubuntu20.04.1
lsusb
Bus 004 Device 002: ID 15f4:0131 HanfTek dvbt2
usb-devices
T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=15f4 ProdID=0131 Rev=01.00
S: Manufacturer=astrometadvbt2
S: Product=dvbt2
C: #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=500mA
I: If#=0x0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=dvb_usb_rtl28xxu
I: If#=0x1 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I'll just tell you the facts.
Two weeks ago there was a storm that caused numerous and tangible damages. In particular, everything that was connected to the antenna cable and the telephone cable was electrocuted. The UPS that I had was useless. Obviously the USB dvbt2 receiver that I had connected to the server burned out.
Until then everything worked correctly (5 years of use without problems). I bought another receiver identical to the burned one and connected to the USB but tvheadend no longer works. It receives the muxes but the scan fails and therefore the services for which I have no TV channels to watch. I tried to restart the server numerous times, I deleted and redid the tvheadend configuration numerous times using this procedure:
sudo service tvheadend stop
sudo rm -r /home/hts/.hts/
sudo dpkg-reconfigure tvheadend
sudo service tvheadend start
but it doesn't work. mux with failed scan.
the usb stick is a realtek RTL2832 but when I insert it, in the tv adapters section, I see 3 receivers:
realtek RTL2832 (DVB-T) #0 : DVB-T #0
sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-C #1
sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-T #1
then I stop the tvh server, disconnect the usb, wait 10 seconds, reconnect the usb stick, wait 10 seconds, restart the tvh server and then on tv adapters only the realtek appears. but it still doesn't work.
I changed the usb cable and usb port without success.
Then i removed everything, uninstalled tvheadend and its repo and unplugged the usb stick, so i started from scratch. i updated ubuntu. set fixed ip, lsusb works without problems now. then i connected the usb dvbt and gave the lsusb command again: all ok.
then i added the mamarvin repo and installed the tvheadend server, restarted the pc and did the tvh configuration and again it finds 3 tuners. obviously no services found. i unplugged and plugged the usb stick back and now tvh only finds the realtek tuner, forced the scan and again no services. then i set a timer of 60sec instead of 5. again no services. i think that the usb dvbt stick is defective. one more thing, tvh does not set the interface language that i set in the initial configuration, it always remains in english.
Many usb devices only have a bootloader, and are completely dumb until a firmware "blob" is loaded. My dvb stick might not be getting that. Unplug, run tail -f on the system log, plug it in and see there are no messages about that.
The blobs are stored in /lib/firmware so I then renamed, one at a time and performed the plug-unplug procedure for each one, all the files containing dvb type dvb-usb-dib0700-1.20.fw in dvb-usb-dib0700-1.20.fw.old but tvh continues to work and to find a single pend rive, the correct one, but it does not find the services. but the tail command returns this:
linuxdvb: unable to open /dev/dvb/adapter0/frontend1
in my case:
Realtek RTL2832 (DVB-T) #0 : DVB-T #0
but if it gives an error then why do I see it connected in the web interface and can I scan?
and yet before everything worked. what can i do now?
can you kindly help me solve the problem?
i'll tell you in advance that i'm not very good with linux, i'm a neophyte.
Thanks.