Re: fixing usb suspend/resuming

From: Pavel Machek (pavel_at_ucw.cz)
Date: 07/29/04

  • Next message: Ingo Molnar: "Re: [linux-audio-dev] Re: [announce] [patch] Voluntary Kernel Preemption Patch"
    Date:	Thu, 29 Jul 2004 23:02:56 +0200
    To: Nigel Cunningham <ncunningham@linuxmail.org>
    
    

    Hi!

    > > Plus, some PCI drivers (ide disk?) want to do different thing on S3 and swsusp:
    > > it does not make much sense to spindown before swsusp.
    >
    > Regarding the spinning down before suspending to disk, I have a patch in
    > my version that adds support for excluding part of the device tree when
    > calling drivers_suspend. I take the bdevs we're writing the image
    > to,

    Well, its more complicated, I believe. You can't just leave those
    devices running, because they could DMA and damage the image... So you
    need something like

    suspend_fast_ill_resume_you_soon().

                                                                    Pavel

    -- 
    People were complaining that M$ turns users into beta-testers...
    ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Ingo Molnar: "Re: [linux-audio-dev] Re: [announce] [patch] Voluntary Kernel Preemption Patch"

    Relevant Pages

    • Re: 2.9test9-mm1 and DAO ATAPI cd-burning corrupt
      ... >> My patch from yesterday should handle that situation. ... does a READ_CAPACITY_16 if it hits a really big disk, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Fix up power managment in 2.6
      ... > immediately without touching the disk, and in -test4 there doesn't seem to be ... I posted a URL last Saturday to the patch, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Problems with 2.6.10
      ... And now my BIOS detect my disk. ... Maybe this is kernel BUG? ... Maybe my patch is primitive, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] Real-Time Preemption, -RT-2.6.12-V0.7.49-00
      ... > I tried with rtc_wakeup while I was at work (which is on my disk at home) ... Thanks for the patch. ... Palimm Palimm! ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: fixing usb suspend/resuming
      ... > Regarding the spinning down before suspending to disk, ... > my version that adds support for excluding part of the device tree when ... I've always suspected such a patch would be needed ... ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)