Hello!
I've been trying to watch dvb-t2 tv using Realtek RTL2832D + Sony CXD2837ER.
When I add a new dvb-t2 mux (for example 570MHz), it works fine, channels being scanned successfully, epgscan works and finally I can see video and sound on "Watch TV" window.
But when I add another mux (for example 658MHz), tvheadend tries to scan it and gives up with "poll TIMEOUT" error.
When I restart tvheadend with "sudo systemctl restart tvheadend" it (I suppose) reopens dvb device and tries to scan second mux and succeeds.
I've tried both on x86 debian machine (kernel 6.1.x) and arm64 raspberry pi os (kernel 6.6.x) board, both perform the same.
DVB-T2 stick is named "Astrometa TV" and was bought from aliexpress years ago.
VLC on Linux and TVRplayer on Windows are working perfectly, so I thing it is not a hardware problem.
I thing it is something with tvheadend not closing the device after unsubscribing from mux.
I've seen posts with similar problem, people suggest set "Status period (ms)" to 5000 from default 1000, but it didn't help 🙁
Full log (second mux is not 658MHz mentioned early but 570MHz with plp_id=1, first mux has plp_id=0):
2024-09-08 18:04:19.773 mpegts: 570MHz in network - tuning on Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-T #1
2024-09-08 18:04:19.773 subscription: 0002: "scan" subscribing to mux "570MHz", weight: 5, adapter: "Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-T #1", network: "network", service: "Raw PID Subscription"
2024-09-08 18:04:24.518 linuxdvb: Unhandled ERROR_BLOCK_COUNT scale: 0
2024-09-08 18:04:24.773 mpegts: 570MHz in network - scan no data, failed
2024-09-08 18:04:24.773 subscription: 0002: "scan" unsubscribing
2024-09-08 18:04:24.909 mpegts: 570MHz in network - tuning on Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-T #1
2024-09-08 18:04:24.910 subscription: 0003: "scan" subscribing to mux "570MHz", weight: 6, adapter: "Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-T #1", network: "network", service: "Raw PID Subscription"
2024-09-08 18:04:29.909 mpegts: 570MHz in network scan complete
2024-09-08 18:04:29.909 subscription: 0003: "scan" unsubscribing
2024-09-08 18:04:29.912 mpegts: disabling service network/570MHz/{PMT:0} [sid 1004/4100] (missing in PAT/SDT)
2024-09-08 18:04:29.912 mpegts: disabling service network/570MHz/{PMT:0} [sid 0FFA/4090] (missing in PAT/SDT)
2024-09-08 18:04:29.912 mpegts: disabling service network/570MHz/{PMT:0} [sid 0FF0/4080] (missing in PAT/SDT)
2024-09-08 18:04:29.912 mpegts: disabling service network/570MHz/{PMT:0} [sid 0FE6/4070] (missing in PAT/SDT)
2024-09-08 18:04:29.912 mpegts: disabling service network/570MHz/{PMT:0} [sid 0FDC/4060] (missing in PAT/SDT)
2024-09-08 18:04:29.912 mpegts: disabling service network/570MHz/{PMT:0} [sid 0FD2/4050] (missing in PAT/SDT)
2024-09-08 18:04:29.912 mpegts: disabling service network/570MHz/{PMT:0} [sid 0FC8/4040] (missing in PAT/SDT)
2024-09-08 18:04:29.912 mpegts: disabling service network/570MHz/{PMT:0} [sid 0FBE/4030] (missing in PAT/SDT)
2024-09-08 18:04:29.912 mpegts: disabling service network/570MHz/{PMT:0} [sid 0FB4/4020] (missing in PAT/SDT)
2024-09-08 18:04:29.912 mpegts: disabling service network/570MHz/{PMT:0} [sid 0FAA/4010] (missing in PAT/SDT)
2024-09-08 18:04:54.985 mpegts: 570MHz in network - tuning on Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-T #1
2024-09-08 18:04:54.985 subscription: 0004: "scan" subscribing to mux "570MHz", weight: 6, adapter: "Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-T #1", network: "network", service: "Raw PID Subscription"
2024-09-08 18:04:56.509 linuxdvb: Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-T #1 - poll TIMEOUT
2024-09-08 18:04:59.985 mpegts: 570MHz in network - scan no data, failed
2024-09-08 18:04:59.985 subscription: 0004: "scan" unsubscribing
2024-09-08 18:04:59.987 mpegts: 570MHz in network - tuning on Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-T #1
2024-09-08 18:04:59.987 subscription: 0006: "scan" subscribing to mux "570MHz", weight: 5, adapter: "Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-T #1", network: "network", service: "Raw PID Subscription"
2024-09-08 18:05:01.844 linuxdvb: Sony CXD2837ER DVB-T/T2/C demodulator #0 : DVB-T #1 - poll TIMEOUT
2024-09-08 18:05:04.985 mpegts: 570MHz in network - scan no data, failed
2024-09-08 18:05:04.985 subscription: 0006: "scan" unsubscribing