Re: [RFC][PATCH] PM: Introduce new top level suspend and hibernation callbacks (rev. 6)



Am Mittwoch, 2. April 2008 17:13:11 schrieb Alan Stern:
Basically yes.  Subsystems and drivers are allowed to keep devices
suspended if they were suspended before the system went to sleep.  
Remember, the purpose of the resume method is to let drivers know that
the system is now awake, not to force them to put their devices into a
high-power state.

Well, sometimes it is exactly that what we desire, eg. as a side effect
of lsusb. Should the callbacks have different semantics depending on
the reason you call them? And how should that information be transferred?

Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: how to run a command-line program from Perl/Tk (ExecuteCommand?)
    ... adapt the 'queued solution' example in the link above for my purpose, ... You can create a thread and let it sleep until it is needed. ...
    (comp.lang.perl.tk)
  • Re: Two pounds a day
    ... I am able to sleep. ... My Creator has blessed me with the fortitude that is needed for His ... purpose for me. ... Andrew B. Chung, MD/PhD ...
    (sci.med.cardiology)
  • Re: Two pounds a day
    ... I am able to sleep. ... My Creator has blessed me with the fortitude that is needed for His ... purpose for me. ... Andrew B. Chung, MD/PhD ...
    (sci.med)
  • Re: kldunload DIAGNOSTIC idea...
    ... >>for the purpose. ... >>Looking for sleep addresses inside the module might make sense too. ... > catch sleeps, pending timeouts, pending callouts, etc. ... busdma callbacks, cam callbacks, netisr callbacks, and on and on and on. ...
    (freebsd-arch)
  • Re: [linux-usb-devel] Possible race condition in usb-serial.c
    ... Am Mittwoch, 20. ... Dezember 2006 16:10 schrieb Alan Stern: ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
    (Linux-Kernel)