linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hin-Tak Leung <htl10@users.sourceforge.net>
To: Herton Ronaldo Krzesinski <herton@mandriva.com.br>,
	Larry Finger <Larry.Finger@lwfinger.net>
Cc: linux-wireless@vger.kernel.org, John W Linville <linville@tuxdriver.com>
Subject: suspend/hibernate/resume code in wireless drivers.
Date: Sat, 1 Nov 2008 00:52:09 +0000 (GMT)	[thread overview]
Message-ID: <624811.768.qm@web23102.mail.ird.yahoo.com> (raw)
In-Reply-To: <490B957E.8020406@lwfinger.net>

Hi,

I am just experiencing a problem I read about but I thought I didn't have.
I have always been able to suspend/resume without unloading the rtl8187 module ever since it started to work reasonably well. It seems that there is some automatic mechanism for unloading any usb network driver which does not have its own suspend/resume code. But it doesn't work in 2.6.27. 

(I filed this as https://bugzilla.redhat.com/show_bug.cgi?id=469461, and there is a reference to an upstream bug report).

Anyway, I think this is the likely breakage?

--------------
commit 78d9a487ee961c356e1a934d9a92eca38ffb3a70
Author: Alan Stern <stern@rowland.harvard.edu>
Date:   Mon Jun 23 16:00:40 2008 -0400

    USB: Force unbinding of drivers lacking reset_resume or other methods
    
    This patch (as1024) takes care of a FIXME issue: Drivers that don't
    have the necessary suspend, resume, reset_resume, pre_reset, or
    post_reset methods will be unbound and their interface reprobed when
    one of the unsupported events occurs.
    
    This is made slightly more difficult by the fact that bind operations
    won't work during a system sleep transition.  So instead the code has
    to defer the operation until the transition ends.
    
    Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-----------------

Any thought on this?

Hin-Tak


      

  parent reply	other threads:[~2008-11-01  0:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31 15:42 [RFC/RFT PATCH 0/2] rtl8187: implement conf_tx callback/correctly ack tx pkts Herton Ronaldo Krzesinski
2008-10-31 15:42 ` [RFC/RFT PATCH 1/2] rtl8187: implement conf_tx callback to configure tx queues Herton Ronaldo Krzesinski
2008-10-31 15:42 ` [RFC/RFT PATCH 2/2] rtl8187: feedback transmitted packets using tx close descriptor for 8187B Herton Ronaldo Krzesinski
2008-10-31 23:32 ` [RFC/RFT PATCH 0/2] rtl8187: implement conf_tx callback/correctly ack tx pkts Larry Finger
2008-11-01  0:07   ` Hin-Tak Leung
2008-11-02  1:39     ` Herton Ronaldo Krzesinski
2008-11-04  1:14       ` Hin-Tak Leung
2008-11-04 10:31         ` Johannes Berg
2008-11-01  0:52   ` Hin-Tak Leung [this message]
2008-11-02  1:27   ` Herton Ronaldo Krzesinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=624811.768.qm@web23102.mail.ird.yahoo.com \
    --to=htl10@users.sourceforge.net \
    --cc=Larry.Finger@lwfinger.net \
    --cc=herton@mandriva.com.br \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).