Davor Komljenovic
Hi all. I've just registered to this forum just to report that I'm getting exactly the same situation in my TvHeadend install, and I own the exact same HDHomeRun model and firmware version.
Anytime this happens, I need to reset/reboot HDHomeRun to unlock the tuner. Each one locked will list the IP of the TvHeadEnd (in this case, being a docker container, the host IP). TvHeadend just lists that's unable to grab a tuner because it's locked. This is the error I got from TVH log in the Docker service:
2024-05-16 19:06:37.047 [ INFO] mpegts: 370MHz in NOS - tuning on HDHomeRun DVB-C Tuner #3 (192.168.10.226)
2024-05-16 19:06:37.047 [ INFO] tvhdhomerun: tuning to a8qam256-6875:370000000
2024-05-16 19:06:37.047 [ ERROR] tvhdhomerun: failed to acquire lockkey: ERROR: resource locked by 192.168.10.107
2024-05-16 19:06:37.047 [ ERROR] tvhdhomerun: failed to reset pfilter: 0
This erros seems to be related with epggrab, where TVH is configured to get EPG only for Tuner #3 for all detected muxes (now limited to one only). I figure out my EPG was almost empty, and checked tuners status and all were locked.
I use this setup for more than 8 years and no lock issues has been detected until the end of this year. Since it was somewhere in December, and I'm using linuxservers TVH container, the update should have been somewhere in December 10th with version 4.3-2175g583de2330 or December 31st with version Tvheadend 4.3-2187gfd8b9e8ba (this was the period with the big jump versions at that time of the year.
Also, as seen in the tuner firmware version, it isn't touched since August last year. Which means that until December, no issues were detected until something changed in TVH side.
These are the actual version and details of TVH for your appreciation:
Build: 4.3-2323~g73a6bd00d (2024-05-11T15:48:47+0000)
Configure arguments:
--disable-ffmpeg_static --disable-libfdkaac_static --disable-libtheora_static --disable-libopus_static --disable-libvorbis_static --disable-libvpx_static --disable-libx264_static --disable-libx265_static --disable-libfdkaac --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --disable-avahi --disable-dbus_1 --disable-bintray_cache --disable-execinfo --disable-hdhomerun_static --enable-hdhomerun_client --enable-libav --enable-pngquant --enable-trace --enable-vaapi --infodir=/usr/share/info --localstatedir=/var --mandir=/usr/share/man --prefix=/usr --python=python3 --sysconfdir=/config
Compiler:
Using C compiler: cc
Using LD flags: -lhdhomerun -ldvbcsa
Build for arch: x86_64
Binaries:
Using PYTHON: python3
Using GZIP: gzip
Using BZIP2: bzip2
Options:
pie yes
ccdebug no
cardclient yes
cwc yes
cccam yes
capmt yes
constcw yes
linuxdvb yes
satip_server yes
satip_client yes
hdhomerun_client yes
hdhomerun_server yes
hdhomerun_static no
iptv yes
tsfile yes
dvbscan yes
timeshift yes
trace yes
avahi no
zlib yes
libav yes
ffmpeg_static no
libx264 yes
libx264_static no
libx265 yes
libx265_static no
libvpx yes
libvpx_static no
libtheora yes
libtheora_static no
libvorbis yes
libvorbis_static no
libfdkaac no
libfdkaac_static no
libopus yes
libopus_static no
nvenc no
vaapi yes
mmal no
omx no
inotify yes
epoll yes
pcre no
pcre2 yes
uriparser yes
ccache no
tvhcsa yes
bundle no
pngquant yes
kqueue no
dbus_1 no
android no
gtimer_check no
slow_memoryinfo no
libsystemd_daemon no
pcloud_cache yes
ddci yes
cclang_threadsan no
gperftools no
execinfo no
mmx yes
sse2 yes
W_unused_result yes
f_stack_protector yes
f_stack_protector_strong yes
f_stack_check yes
f_PIE yes
strlcat yes
strlcpy yes
fdatasync yes
getloadavg yes
atomic32 yes
atomic64 yes
atomic_time_t yes
atomic_ptr yes
bitops64 yes
qsort_r yes
time_ld yes
stime yes
gmtoff yes
recvmmsg yes
sendmmsg yes
gnu_libiconv yes
libiconv yes
ifnames yes
py_gzip yes
bin_pkg_config yes
bin_xgettext yes
bin_msgmerge yes
bin_gzip yes
bin_bzip2 yes
ssl yes
linuxdvbapi yes
linuxdvb_ca yes
libhdhomerun yes
upnp yes
hwaccels yes
inotify_h yes
inotify_init1 yes
dvbcsa yes
epoll_create1 yes
mpegts yes
mpegts_dvb yes
Packages:
openssl 3.1.4
zlib 1.3.1
libpcre2-8 10.42
liburiparser 0.9.7
libavfilter 7.110.100
libswresample 3.9.100
libswscale 5.9.100
libavformat 58.76.100
libavcodec 58.134.100
libavutil 56.70.100
libva 1.20.0
libva-drm 1.20.0
Installation paths:
Prefix: /usr
Binaries: ${prefix}/bin
Libraries: ${prefix}/lib
Data files: ${prefix}/share
Man pages: /usr/share/man
Hope this helps! Available to help debugging the issue.