All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Linux-pm mailing list <linux-pm@lists.linux-foundation.org>,
	Greg Kroah-Hartman <gregkh@suse.de>,
	Alan <alan@lxorguk.ukuu.org.uk>,
	linux-kbuild@vger.kernel.org
Subject: Re: Two problems with system sleep
Date: Mon, 22 Feb 2010 19:45:25 +0100	[thread overview]
Message-ID: <201002221945.25891.rjw__21867.8214740523$1266864510$gmane$org@sisk.pl> (raw)
In-Reply-To: <Pine.LNX.4.44L0.1002221119590.1262-100000@iolanthe.rowland.org>

On Monday 22 February 2010, Alan Stern wrote:
> On Sun, 21 Feb 2010, Rafael J. Wysocki wrote:
> 
> > > > Anyway, we need to check if control gets back to acpi_suspend_enter().
> 
> Would PM_TRACE_RTC help?

In my opinion that's worth doing.

> What would I have to add in order to insert an appropriate tracepoint?

Please follow Documentation/power/s2ram.txt .

> > > > BTW, does anything change if you put acpi_sleep=sci_force_enable into the
> > > > kernel command line?
> > > 
> > > Nothing changes.  I also added "pci=use_crs", based on a suggestion in 
> > > the log, but that didn't make any difference either.
> > 
> > The failure to resume may be graphics-related, so please try to compile i915
> > statically into the kernel and set CONFIG_DRM_I915_KMS.
> 
> Odd -- when I use "make menuconfig", that part of the menu 
> doesn't show up.  Navigating through "Device Drivers -> Graphics 
> support" gives me this screen:
> 
>     <*> /dev/agpgart (AGP Support)  --->                             
>     <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI suppor 
>     -*- Lowlevel video output switch controls                        
>     -*- Support for frame buffer devices  --->                       
>     [ ] Backlight & LCD device support  --->                         
>         Display device support  --->                                 
>         Console display driver support  --->                         
>     [ ] Bootup logo  --->                                            
> 
> None of the entries in drivers/gpu/drm/Kconfig show up beyond the first 
> one.  I had to go in and edit .config by hand to set CONFIG_DRM, 
> CONFIG_DRM_KMS_HELPER, CONFIG_DRM_I915, and CONFIG_DRM_I915_KMS all to 
> "y".  Is this a bug in menuconfig?  CC'ing the mailing list...
> 
> Anyway, it didn't make any difference.  The behavior was exactly the 
> same.  Pressing the power button during suspend causes an 
> almost-instant hang, before the screen or anything else revives.
> 
> By concentrating on the video drivers, you may be missing part of 
> the problem.  Have you considered why pressing a key on the keyboard 
> doesn't wake the system up?  Nothing happens -- the power LED on the 
> desktop case just keeps on blinking.

We may just not set up the keyboard as a wakeup device.  The other option is
that the BIOS has a problem with resume handling, in which case I have no
idea what to do.

Rafael

  reply	other threads:[~2010-02-22 18:45 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201002212139.39746.rjw@sisk.pl>
2010-02-22 16:33 ` Two problems with system sleep Alan Stern
2010-02-22 18:45   ` Rafael J. Wysocki [this message]
2010-02-22 18:45   ` Rafael J. Wysocki
2010-02-22 21:33     ` Alan Stern
2010-02-22 22:00       ` Rafael J. Wysocki
2010-02-22 22:17         ` Alan Stern
2010-02-22 22:35           ` Rafael J. Wysocki
2010-02-22 22:35           ` Rafael J. Wysocki
2010-02-23 16:12             ` Alan Stern
2010-02-23 21:02               ` Rafael J. Wysocki
2010-02-23 21:35                 ` Alan Stern
2010-02-23 23:08                   ` Rafael J. Wysocki
2010-02-24 16:59                     ` Alan Stern
2010-02-23 21:49                 ` Dmitry Torokhov
2010-02-24 15:39                   ` Alan Stern
2010-03-02 20:13                   ` [RFC] Wakeup for PNP Alan Stern
2010-03-02 20:41                     ` Bjorn Helgaas
2010-03-02 20:41                     ` Bjorn Helgaas
2010-03-02 21:08                       ` Alan Stern
2010-03-02 21:08                       ` Alan Stern
2010-03-02 21:31                     ` Dmitry Torokhov
2010-03-03 15:29                       ` Alan Stern
2010-03-03 15:29                       ` Alan Stern
2010-03-09  7:45                         ` Dmitry Torokhov
2010-03-09  7:45                         ` Dmitry Torokhov
2010-03-02 21:31                     ` Dmitry Torokhov
2010-02-22 16:33 ` Two problems with system sleep Alan Stern
2010-02-12 20:46 Alan Stern
2010-02-13  0:13 ` Rafael J. Wysocki
2010-02-13  0:21   ` Greg KH
2010-02-14 18:36   ` Alan Stern
2010-02-14 21:47     ` Rafael J. Wysocki
2010-02-16 16:52       ` Alan Stern
2010-02-16 21:22         ` Rafael J. Wysocki
2010-02-17 18:10           ` Alan Stern
2010-02-17 20:43             ` Rafael J. Wysocki
2010-02-18 20:16               ` Alan Stern

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='201002221945.25891.rjw__21867.8214740523$1266864510$gmane$org@sisk.pl' \
    --to=rjw@sisk.pl \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=gregkh@suse.de \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=stern@rowland.harvard.edu \
    /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.