All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pierre Ossman <drzeus-list-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>
To: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>
Cc: "Li,
	Shaohua" <shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: PCI power state mapping
Date: Thu, 29 Jul 2004 13:15:37 +0200	[thread overview]
Message-ID: <4108DC59.4050409@drzeus.cx> (raw)
In-Reply-To: <20040729105251.GB9718-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1245 bytes --]

Pavel Machek wrote:

>Hi!
>
>  
>
>>Anyhow, I did some hacks into pci_device_suspend() getting it to 
>>suspend devices without a driver. Combined with my escalation patch 
>>in pci_set_power_state() all devices on the machine now enters D2 or 
>>D3 depending on device capabilities. My laptop still cannot enter the 
>>suspend state so there is still something missing... Are there any 
>>more areas of power management in linux that aren't quite up to spec.?
>>    
>>
>>You forgot to say if you are trying to suspend to ram or to disk.
>>                                Pavel
>>  
>>
>>   RAM. It was in the beginning of the thread...
>>    
>>
>
>Okay, try suspending to disk, first. It tends to work better. Are your
>"hacks into pci_device_suspend() getting it to suspend devices without
>a driver" available somewhere?
>								Pavel
>
>  
>
Suspend to disk works fine. It's just the ram-bit that won't work. There 
is an earlier thread about this with more details (search for 
"suspend-to-ram hangs on HP NX7010"). I haven't bothered making a patch 
of my changes since they do not add any functionality. If you have a 
look at pci_device_suspend() it's fairly easy to change it. It's a very 
compact and obvious function.

Rgds
Pierre

[-- Attachment #2: Type: text/html, Size: 1670 bytes --]

  parent reply	other threads:[~2004-07-29 11:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-27  7:10 PCI power state mapping Li, Shaohua
     [not found] ` <B44D37711ED29844BEA67908EAF36F036BCB8C-4yWAQGcml65pB2pF5aRoyrfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2004-07-27 18:18   ` Pierre Ossman
     [not found]     ` <41069C59.5020603-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>
2004-07-29  8:41       ` Pavel Machek
     [not found]         ` <20040729084154.GH21889-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2004-07-29 10:47           ` Pierre Ossman
     [not found]             ` <4108D5BC.8040302-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>
2004-07-29 10:52               ` Pavel Machek
     [not found]                 ` <20040729105251.GB9718-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-07-29 11:15                   ` Pierre Ossman [this message]
     [not found]                     ` <4108DC59.4050409-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>
2004-07-29 11:23                       ` Pavel Machek
     [not found]                         ` <20040729112359.GD9718-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2004-07-29 11:45                           ` Pierre Ossman
     [not found]                             ` <4108E365.30204-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>
2004-07-29 12:26                               ` Pavel Machek
  -- strict thread matches above, loose matches on Subject: below --
2004-07-26 15:53 Pierre Ossman
     [not found] ` <410528F5.1060104-p3sGCRWkH8CeZLLa646FqQ@public.gmane.org>
2004-08-16  9:04   ` Pavel Machek

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=4108DC59.4050409@drzeus.cx \
    --to=drzeus-list-p3sgcrwkh8cezlla646fqq@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=pavel-+ZI9xUNit7I@public.gmane.org \
    --cc=shaohua.li-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.