Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-08-2019, 08:20 AM   #1
LQ Newbie
Registered: Jun 2018
Posts: 15

Rep: Reputation: Disabled
Suspend hangs when WinTV USB Tuner attached

My issue is similar to this post by chad126 and is being posted because his post remains unsolved.

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 is not working.

In my case, any attempt to suspend appears to work, but the system simply hangs and cannot be awakened except through a hard power-off reboot accomplished by holding the power button for 10 seconds.

When I explicitly request suspend, or when I allow the configured idle time to expire and the laptop attempts to sleep itself, it hangs. 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, from which the laptop will reboot normally.

With or without the USB tuner plugged in, the laptop will shutdown normally and restart without issue. And it sleeps and awakens normally when the USB tuner is not plugged in. But when the tuner is plugged in, once it has attempted to sleep, it's hung and requires a forced power-off restart.

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.

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).
Old 11-12-2019, 12:38 PM   #2
Senior Member
Registered: Dec 2014
Location: Montreal, Quebec, CANADA
Distribution: Arch
Posts: 1,208

Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Hi Chucko,

I think you yourself have put your finger on the issue : the service for MythTV is preventing the system from successfully going through a suspend-resume cycle. This is a common occurrence for all sorts of reasons - often even caused by something as ubiquitous as WiFi adapters.

Since you've figured out yourself that the system suspends and resumes properly if you at first stop the MythTV service, then that is simply what I would do. Stop the service - suspend - resume - start the service. If you don't like doing this manually, you could create a script incorporating these steps and have it execute automatically when suspending.

Hope this helps - Cheers.


drivers, kernel, suspend, ubuntu 18.04, usb

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tv Tuner (Hauppage WinTV quadHD) stops working after suspend and I can't unload/reload the driver. chad126 Linux - Kernel 4 10-04-2018 04:52 PM
WinTV 150 / WinTV 250 - Are They Interchangable? rrrssssss Linux - Hardware 5 01-26-2006 06:42 PM
WinTV 150 / WinTV 250 - Are They Interchangeabe? rrrssssss Linux - Hardware 1 01-23-2006 01:47 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration