Bug 109521 - kernel-default: After resume from hibernate USB DVB-T stick not working
Summary: kernel-default: After resume from hibernate USB DVB-T stick not working
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: USB (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: Greg Kroah-Hartman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-17 17:31 UTC by Walther Pelser
Modified: 2017-03-20 13:38 UTC (History)
3 users (show)

See Also:
Kernel Version: all kernel-default
Tree: Mainline
Regression: Yes


Attachments
Messages during resume with built-in firmware (29.18 KB, text/plain)
2015-12-17 17:31 UTC, Walther Pelser
Details
Parts os Messages (5.37 KB, text/plain)
2016-11-20 11:11 UTC, Walther Pelser
Details

Description Walther Pelser 2015-12-17 17:31:31 UTC
Created attachment 197641 [details]
Messages during resume with built-in firmware

After normal boot DVB-T USB is working with vlc
After resume from hibernate vlc cannot connect to DVB-T stick.
Led shows connection, but color does not change to green during activation.  
Disconnecting the stick and connecting it again does not help.
Problem occurred before, seemed to be solved (Bug 94816).
But now it is there again.
Workaround for me was: Building my own kernel with DVB-T firmware built-in.
But this is only working up to kernel 4.3.X

Messages from resume: See attachment.
Comment 1 Greg Kroah-Hartman 2015-12-17 17:40:51 UTC
On Thu, Dec 17, 2015 at 05:31:31PM +0000, bugzilla-daemon@bugzilla.kernel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=109521
> 
>             Bug ID: 109521
>            Summary: kernel 4.4-RCx does not connect DVB-T USB Stick during
>                     resume from hibernate

Please send to the linux-media@vger.kernel.org mailing list.
Comment 2 Walther Pelser 2016-02-19 17:08:33 UTC
On Date: Thu, 17 Dec 2015 19:35:56 +0100 this bug was sent to linux-media@vger.kernel.org, and it entered the thread index.
Since then nobody picked it up.
As kernel 4.3.5 seems to come to EOL, I am forced to go back to kernel 4.1.18 to have a working kernel for my issue.
Could it be usefully, to mark this bug as a regression, which in fact it is , to get any progress into this case?
Or is there any other way to deal with this problem?
Comment 3 Walther Pelser 2016-06-22 10:15:45 UTC
Yesterday I wrote this mail to linux-media@vger.kernel.org:
   "
   At  2015-12-17  I sent this to you:

   > https://bugzilla.kernel.org/show_bug.cgi?id=109521 > > Bug ID: 109521 > 
   Summary: kernel 4.4-RCx does not connect DVB-T USB Stick during > resume 
   from hibernate This is a regression, because the earlier desktop-kernel did
   not have this bug. It came up with default-kernel. Is there any chance for
   me to get it fixed, or can I forget it?
   "

Now there are two threads with the same topic. One named "dvb-t" ( 2015-12-17 ) and another named "Thread dvb-t" ( 21 Jun 2016). And crope from linux-media added himself to the CC list. I changed "REGRESSION" to "yes" and added tiwai to the CC list.

What could happen now? Or can I do anything to get this started? On Linux Media thread index I can see a lot of activities. As I have no other idea, I would like to repeat my question from above:
Is there any chance for me to get it fixed, or can I forget it?
Comment 4 Oliver Neukum 2016-07-12 08:46:25 UTC
Does 4.1.18 work without compiling in the firmware?
Comment 5 Walther Pelser 2016-07-12 15:56:47 UTC
Yes. I tested from http://download.opensuse.org/repositories/home:/tiwai:/kernel:/3.18/standard/ both versions, the desktop and the default one. Both are working.

Then I tested from http://download.opensuse.org/repositories/home:/tiwai:/kernel:/3.19/standard/ both versions and both are not working.

(All my self-compiled kernel-versions seem to be developed from kernel-desktop 3.18, so I got the wrong guess, that it had to do with the desktop-version.)
Comment 6 Walther Pelser 2016-11-20 11:11:02 UTC
Created attachment 245191 [details]
Parts os Messages
Comment 7 Walther Pelser 2016-11-20 11:12:41 UTC
Now it went from bad to worse.
I tried Linux version 4.9.0-rc5-1.g8930e43-default (geeko@buildhost) (gcc version 6.2.1 20160830 [gcc-6-branch revision 239856] (SUSE Linux).
The result is:
After normal start:
DVB-USB is working.
After resume from hibernate:
DVB-USB is completely not working 
Main error message is:

2016-11-20T11:32:58.067888+01:00 noname kernel: [  141.664466] usb 6-4: dtv_property_legacy_params_sync: doesn't know how to handle a DVBv3 call to delivery system 0

and 

2016-11-20T11:34:30.360114+01:00 noname kernel: [  172.957415] dvb-usb: could not stop the USB controller CPU.
2016-11-20T11:34:30.360116+01:00 noname kernel: [  172.957419] dvb-usb: error while transferring firmware (transferred size: -11, block size: 16)
2016-11-20T11:34:30.360118+01:00 noname kernel: [  172.957421] dvb-usb: firmware download failed at 21 with -22

Details at attachment 245191 [details] (part of messages)
Comment 8 Walther Pelser 2016-11-21 10:36:42 UTC
Additional comment to comment # 7:
After reboot with this kernel DBV-USB is not working anymore.
Self compiled Kernel from 4.9.0-rc5.tar.xz shows same problem.
Comment 9 Walther Pelser 2016-12-28 14:51:38 UTC
Self compiled Kernel from 4.10-rc1.tar.xz shows same problem.
My "WideView WT-220U PenType Receiver (Typhoon/Freecom)" is dead in this system.

My current kernel 4.8.xx will reache EOL very soon. So I have to go back to kernel 4.4.xx in order to get a working kernel for this issue again.
Comment 10 Walther Pelser 2017-03-20 13:38:44 UTC
Hibernating-problem solved with kernel 4.11-rc2

Note You need to log in before you can comment on or make changes to this bug.