public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw-KKrjLPT3xs0@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org,
	romano-1BxYRfzsdQW8A8a7gxElqg@public.gmane.org
Cc: Pavel Machek <pavel-+ZI9xUNit7I@public.gmane.org>,
	Stefan Schweizer
	<sschweizer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Norbert Preining <preining-DX+603jRYB8@public.gmane.org>,
	Andrew Morton <akpm-3NddpPZAyC0@public.gmane.org>,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Re: 2.6.12-rc1-mm4 and suspend2ram (and synaptics)
Date: Tue, 5 Apr 2005 17:31:52 +0200	[thread overview]
Message-ID: <200504051731.52845.rjw@sisk.pl> (raw)
In-Reply-To: <20050405150105.GA26149-NfIQswJzSEaq9fEpoSJUslHdEuJhDOxL@public.gmane.org>

Hi,

On Tuesday, 5 of April 2005 17:01, Romano Giannetti wrote:
> > 
> > Same way to debug it, then.... try minimal drivers.
> 
> Yes, the lifer of a kernel debugger is hard... 
> 
> Pavel, one question (maybe stupid, I am not at all an expert). Wouldn't be
> possible to add a printk when invoking and returning from suspend/resume
> methods of drivers, telling if they are specific or generic on? Maybe with
> the help of the serial console could be an aid to detect wich drivers are
> failing in that case.

The serial sonsole itself is disabled during suspend/resume, so you have to
hack the serial driver's suspend/resume routines to get any output on it
at that time. :-)

Anyway, if you want to put some debug printks somewhere, IMO a good place
to start is in resume_device() in drivers/base/power/resume.c or
in suspend_device() in drivers/base/power/suspend.c (actually, there already
is one, you only need to enable it).

Greets,
Rafael


-- 
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
		-- Lewis Carroll "Alice's Adventures in Wonderland"


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

  parent reply	other threads:[~2005-04-05 15:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-31 22:08 2.6.12-rc1-mm4 and suspend2ram (and synaptics) Norbert Preining
     [not found] ` <20050331220822.GA22418-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
2005-04-01 11:33   ` Pavel Machek
     [not found]     ` <20050401113335.GA13160-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-04-01 17:38       ` Stefan Schweizer
     [not found]         ` <e79639220504010938582bade6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2005-04-02  8:59           ` Pavel Machek
     [not found]             ` <20050402085935.GC1330-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2005-04-05 15:01               ` Romano Giannetti
     [not found]                 ` <20050405150105.GA26149-NfIQswJzSEaq9fEpoSJUslHdEuJhDOxL@public.gmane.org>
2005-04-05 15:31                   ` Rafael J. Wysocki [this message]
     [not found]                     ` <200504051731.52845.rjw-KKrjLPT3xs0@public.gmane.org>
2005-04-05 17:58                       ` Matthew Garrett
2005-05-26  4:34           ` Andrew Morton
2005-04-03 22:45     ` [ACPI] " Norbert Preining
2005-04-03 22:59       ` Pavel Machek
     [not found]         ` <20050403225929.GE13466-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-04-04  8:16           ` Norbert Preining

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=200504051731.52845.rjw@sisk.pl \
    --to=rjw-kkrjlpt3xs0@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=akpm-3NddpPZAyC0@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=pavel-+ZI9xUNit7I@public.gmane.org \
    --cc=preining-DX+603jRYB8@public.gmane.org \
    --cc=romano-1BxYRfzsdQW8A8a7gxElqg@public.gmane.org \
    --cc=sschweizer-Re5JQEeQqe8AvxtiuMwx3w@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox