Quantcast
Channel: Active questions tagged kernel-modules - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 1184

Ubuntu suspend hangs when WinTV USB Tuner attached

$
0
0

I'm running Ubuntu 18.04 (Bionic Beaver) on a Dell N7010 laptop using a WinTV-HVR-955Q USB tuner stick. All software was installed from the default Ubuntu apt repositories. Almost everything is working as expected. I can use MythTV to watch live TV, tune channels, record and watch recorded shows. But suspend/sleep is not working.

The laptop will shutdown normally and restart without issue whether the USB stick is plugged in or not. And it sleeps and awakens normally when the USB tuner is not plugged in. But when the tuner is plugged in, once the box has attempted to sleep, it is hung and requires a forced power-off restart -- accomplished by holding the power button for 10 seconds.

The sequence is as follows: Whenever I explicitly request suspend, or when I allow the configured idle time to expire and the laptop attempts to sleep itself, the display goes black and the HDD spins down. But the box hangs at that point. The power lights remain lit-steady (rather than pulsating as they do during a "normal" sleep). Nothing will awaken the box -- keyboard, mouse, and power button activities have no effect. Power-off reset is the only option, after which the laptop will then reboot normally.

I have examined /var/log/system.log and see no differences in logged events when suspend is requested with and without the USB stick plugged in. The final log entries indicate that the PC has reached the desired sleep state.

After having booted with the USB tuner unplugged, if I plug it in; its various embedded devices appear in /dev/dvb/adapter0 but MythTV reports All tuners busy and MythTV doesn't work. But after rebooting the box or restarting the mythtv-backend service from that tuners busy state, with the USB stick remaining plugged in, all works as desired -- except sleep.

So plugging the stick in after first-boot requires me to manually restart the services that are trying to use it. And once it's plugged in, the system will not suspend (or, at least, cannot awaken from suspend).

BTW: On Ubuntu, the light on the stick remains lit at all times. Whereas, on the same PC, when I dual-boot into Windows-7, the stick works without issue, I can sleep and awaken the PC without issue, and the lights on the stick are off except when it's actually in use.

Any guidance for further troubleshooting would be appreciated.


Viewing all articles
Browse latest Browse all 1184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>