mirror of
https://github.com/openwrt/openwrt.git
synced 2026-11-28 20:54:37 +04:00
Unplugging an az6007 based DVB-C tuner, such as the TechniSat CableStar Combo HD CI, while tvheadend uses it floods the log and the USB disconnect does not complete. The CA thread spins on failed CAM status polls, drxk keeps retrying I2C transfers on the gone device, and dmxdev and dvb_ca wait for users that are never woken. Add v2 of the series submitted upstream to pending-6.12 and pending-6.18. With it the disconnect completes in about 150 ms and tvheadend picks the adapter up again when it is plugged back in. v1 was tested on a Turris 1.x (mpc85xx/p2020) with 6.18, v2 on a Turris Omnia (mvebu) with the 6.6 backport in Turris OS 9.1.2 and in QEMU with vidtv on v7.3-rc2. The 6.12 copy, and patch 5 in the 6.18 copy, are compile tested only. Link: https://lore.kernel.org/all/20261004100741.71711-1-pepe.schlehofer@gmail.com/ Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>