Comment 17 for bug 1629197

Revision history for this message
Slither (stephen-ohair) wrote :

Hi Christopher,

I found the culprit and can confirm this is not a bug with the kernel 4.4.0.38. I attached a Sony PlayTV usb dvb tuner (dib0700) a little while ago. I use it with TVHeadend which is installed as a background service. After disconnecting it the system suspend/resume was working perfectly again.

To fix and allow me to keep the dvb adapter connected I had to create a pre-suspend/post-resume script in /lib/systemd/system-sleep/ directory that would first stop the TVHeadend service then unload the dvb module prior to suspend and the inverse upon waking.

/etc/init.d/tvheadend stop
modprobe -r dvb_usb_dib0700

While the fix works it's a bit strange that the livecd had no issue suspending with the usb dvb adapter attached since dmesg clearly showed it was able to unload the dvb adapter. Maybe it's the fact that TVHeadend was not loaded in the livecd and accessing the tuners??? Not sure...

Either way, I have a solution so happy for you to close this bug report.

Cheers,

Stephen