2009-10-24 16:44:35

by Gonsolo

[permalink] [raw]
Subject: DVB-T dib0700 one minute hang when resuming

Hi!

The following script fixes an annoying 62 second hang when resuming
while my Nova-T stick is connected to my notebook.

echo /etc/pm/sleep.d/50_dvb_usb_dib0700_quirk:

#!/bin/sh

case "$1" in
hibernate|suspend)
rmmod dvb_usb_dib0700
;;
thaw|resume)
modprobe dvb_usb_dib0700
;;
*) exit $NA
;;
esac

Is the right fix to use request_firmware_nowait?

Thank you.


2009-10-24 18:12:13

by Oliver Neukum

[permalink] [raw]
Subject: Re: DVB-T dib0700 one minute hang when resuming

Am Samstag, 24. Oktober 2009 18:44:34 schrieb Gonsolo:
> Hi!
>
> The following script fixes an annoying 62 second hang when resuming
> while my Nova-T stick is connected to my notebook.
>
Do you have any idea why it doesn't find its firmware?

Regards
Oliver

2009-10-24 18:20:33

by Antti Palosaari

[permalink] [raw]
Subject: Re: DVB-T dib0700 one minute hang when resuming

On 10/24/2009 09:14 PM, Oliver Neukum wrote:
> Am Samstag, 24. Oktober 2009 18:44:34 schrieb Gonsolo:
>> Hi!
>>
>> The following script fixes an annoying 62 second hang when resuming
>> while my Nova-T stick is connected to my notebook.
>>
> Do you have any idea why it doesn't find its firmware?

Known issue. I have no idea where to start look from.
http://www.mail-archive.com/[email protected]/msg09974.html

Antti
--
http://palosaari.fi/

2009-10-24 19:39:36

by Gonsolo

[permalink] [raw]
Subject: Re: DVB-T dib0700 one minute hang when resuming

Am 24.10.2009 20:14, schrieb Oliver Neukum:
> Am Samstag, 24. Oktober 2009 18:44:34 schrieb Gonsolo:
>> Hi!
>>
>> The following script fixes an annoying 62 second hang when resuming
>> while my Nova-T stick is connected to my notebook.
>>
> Do you have any idea why it doesn't find its firmware?

Don't know. Maybe it's because it is not included in initrd or user
space is still not available when resuming. In the first case it is a
Ubuntu Kernel bug, in the second case the driver has to be fixed by
using request_firmware_nowait. But please notice that I am absolutely
not qualified to answer this question. I was hoping to get an answer on
that issue since this is the last annoying bug that keeps my
Ubuntu/Debian/Gnome/GNU/Linux distribution from being perfect. :)

g