WinTV DualHD not working after sleep/wake

  • Hi there,

    I'm new to LibreELEC and TVHeadEnd so please be gentle!

    I have an x64 PC running LibreELEC with a USB Hauppauge WinTV-dualHD tuner. I had to update to a milhouse 9.0 build in order to get both tuners working but it is all configured now and live TV works well. Now I have a problem where the TVHeadEnd RTSP Client reports "no signal" after the system resumes from sleep.

    I have seen some posts from folks with the same problem and the solution seems to be to reload some modules when the system resumes. Please could someone help me find out what exactly I need to do to get this working for my particular setup?

    Here is the URL generated when I did lsmod | paste via SSH:

    http://ix.io/1hd9

    • Official Post

    try

    Code
    em28xx_rc em28xx_dvb em28xx

    lsmod | paste <- keep

    unload

    systemctl stop service.tvheadend42

    modprobe -r em28xx_rc

    modprobe -r em28xx_dvb

    modprobe -r em28xx

    this should work without any errors, if so your device should be unloaded correctly

    check with lsmod | paste (maybe post here)

    load again

    modprobe em28xx

    modprobe em28xx_dvb

    modprobe em28xx_rc

    systemctl start service.tvheadend42

    check with lsmod | paste and compare it with the first lsmod before the unload process - they have to be identical

    Difficult to do from remote because if you unload em28xx_rc it maybe unloads automatically em28xx_dvb or vice versa, after you hit some error pls do an reboot to create an clean setup again.

  • OK, I think I follow!

    After running the unload commands I get this:

    http://ix.io/1hew

    (em28xx, em28xx_rc and em28xx_dvb are gone)

    And after running the load again commands I get this:

    http://ix.io/1hey

    (all back again, and TV playback works)

    Is the next step to paste these commands in to some config files (one to run as the system is going to sleep, one to run as it wakes up)?

    Thanks for taking the time to look at this, I really appreciate it!

  • I just added the three em28xx ones and tested sleep and then wake - and TV still works!! :)

    I will see how things go over the next day or so, but noted re: the other modules.

    Great work, thanks again!