Bug 201467
Summary: | PCTV 510e (em28xx) stops working after hibernate/suspend | ||
---|---|---|---|
Product: | v4l-dvb | Reporter: | Ivan Kalvachev (ikalvachev) |
Component: | em28xx | Assignee: | em28xx (v4l-dvb_em28xx) |
Status: | NEW --- | ||
Severity: | normal | CC: | bugs, tiwai, w.pelser |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 4.18 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Ivan Kalvachev
2018-10-18 11:21:41 UTC
The same issue seems to appear with other cards, in particular DVBSky S950 DVB-S2 and TECHNOTREND TT-Budget C-1501 DVB-C. After resuming from hibernation, DVB tuning fails consistently. VLC reports: dtv stream error: cannot set frontend tuning parameters: Resource temporarily unavailable The issue can be solved reproducibly by # rmmod smipcie # modprobe smipcie for the DVBSky S950 DVB-S2 card, or # rmmod budget_ci # modprobe budget_ci for the TECHNOTREND TT-Budget C-1501 DVB-C card After entering these lines, tuning works again. My request is that it should not be necessary to manually remove and load a kernel module to make tuning work again. Not a new issue, but it remained unresolved until today. *** Bug 209967 has been marked as a duplicate of this bug. *** For the last years resume worked by a rewritten dvbsky.c But now: After resume vlc cannot display dvb-t. I can not find any logfile, which shows the issue, but the workaround is: disconnect the usb-stick, wait a minute, connect it again, then it works again. The needed kernel-modules are: dvb-tuner-si2158-a20-01.fw and dvb-demod-si2168-b40-01.fw USB-HW is: August DVB-T210 - DVB-T USB TV Stick After a normal boot it is always working. in my case dmesg shows, that after resume only one fw-file is downloaded instead of two, as it is necessary. After having disconnected the usb-stick and connected it again the download works with two fw.files. (In reply to Michael Zapf from comment #1) > The same issue seems to appear with other cards, in particular DVBSky S950 > DVB-S2 and TECHNOTREND TT-Budget C-1501 DVB-C. > > After resuming from hibernation, DVB tuning fails consistently. VLC reports: > > dtv stream error: cannot set frontend tuning parameters: Resource > temporarily unavailable > > The issue can be solved reproducibly by > > # rmmod smipcie > # modprobe smipcie > > for the DVBSky S950 DVB-S2 card, or > > # rmmod budget_ci > # modprobe budget_ci > > for the TECHNOTREND TT-Budget C-1501 DVB-C card > > After entering these lines, tuning works again. My request is that it should > not be necessary to manually remove and load a kernel module to make tuning > work again. > > Not a new issue, but it remained unresolved until today. A better workaround to solve this issue individually is to add (SU) a script in /usr/lib/systemd/System-sleep/ like this dvbsky.sh: #!/bin/bash # # restart kernel modul dvb_usb_dvbsky after resume # if [ "$1" = post ]; then /sbin/rmmod dvb_usb_dvbsky && /sbin/modprobe dvb_usb_dvbsky echo "kernel module dvb_usb_dvbsky restarted" fi ("/sbin" maybe obsolete) If you change the module name dvb_usb_dvbsky in this script with the module you need, it will work. This is save and nobody knows, when this bug will become really solved. |