Return-path: Received: from web23108.mail.ird.yahoo.com ([217.146.189.48]:31868 "HELO web23108.mail.ird.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751755AbYLaA7V convert rfc822-to-8bit (ORCPT ); Tue, 30 Dec 2008 19:59:21 -0500 Date: Wed, 31 Dec 2008 00:59:19 +0000 (GMT) From: Hin-Tak Leung Reply-To: htl10@users.sourceforge.net Subject: Re: [linux-pm] rtl8187 usb wifi adaptor causes suspend hang To: Alan Jenkins , Larry Finger Cc: Alan Stern , Bob Copeland , linux-wireless@vger.kernel.org, linux-pm@lists.linux-foundation.org, USB list , Herton Ronaldo Krzesinski In-Reply-To: <495A5FEC.5070608@lwfinger.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Message-ID: <348894.23448.qm@web23108.mail.ird.yahoo.com> (sfid-20081231_015940_223700_94D21EE0) Sender: linux-wireless-owner@vger.kernel.org List-ID: --- On Tue, 30/12/08, Larry Finger wrote: > Alan Jenkins wrote: > > That won't fix hibernation though. The disconnect > method can still get > > called in resume from hibernation, before the > workqueue gets unfrozen. > > To be honest, I'm far more interested in > suspend-to-disk than > > suspend-to-ram. > > Does this patch fix your problem? It works here, but I only > did one > test. The patch is for wireless-testing. > > Larry My test is that STD works alright, but STR still does not work. I haven't tried STD for a long time - I mostly use STR with SUSPEND_MODULES -, so I have no idea if STD works before the patch or not. With the patch, I can suspend to RAM (removing my SUSPEND_MODULES workaround temporarily), but it would not "defrost - this is similiar to my failed attempt at fixing this - adding some skeleton _suspend()/_resume() routines can get the driver to STR, but it won't defrost. Without any _suspend()/_resume() routines, it won't even suspend, but just spend ages trying to suspend. I'll post your patch to http://bugzilla.kernel.org/show_bug.cgi?id=11887 as a work-in-progress... Hin-Tak