public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: linux-pm@lists.osdl.org
Cc: rasmit.ranjan@wipro.com, linux-usb-devel@lists.sourceforge.net
Subject: Re: Remote wake up not working
Date: Thu, 8 Jun 2006 11:46:59 -0700	[thread overview]
Message-ID: <200606081147.00063.david-b@pacbell.net> (raw)
In-Reply-To: <380D9721A8E2114485644D71E87C6AB201FD8476@PNE-HJN-MBX01.wipro.com>

On Thursday 08 June 2006 5:21 am, rasmit.ranjan@wipro.com wrote:
> Hi,

[ don't cc "digest" lists ... and avoid ccing multiple lists! ]


>     I am using ACER Aspire 3003LC laptop. Linux version: 2.6.15.4. I my
> Host Controller supports Power Management.  

That's with a SIS southbridge, right?  With both EHCI and OHCI?

> I tried selective 
> suspend/resume and it worked properly.  Also my Host Controller supports
> remote wake up.  So i tried testing remote wake up.  But it did not
> work.  Then i tried the same with the standard ( OHCI controller of my
> laptop ).  It did not work as wel.

You should include specifics of how you tested, and the failure mode...

Also the "lspci -vv" output, and the relevant parts of kernel config.
(Presumably CONFIG_PM is defined, also CONFIG_USB_SUSPEND...)  And to
be most useful, the "lsusb -v" output for the devices you're using as
wakeup event sources.  (Not all USB devices behave yet for suspend/resume,
or issue wakeup events.)

Note that remote wakeup -- from e.g. a system standby or suspend-to-RAM
state -- on x86 hardware probably involves ensuring that /proc/acpi/wakeup
lists the USB controllers as wakeup sources.


> Then i changed my laptop and tried testing remote wakeup and it worked
> properly with the OHCI controller and also with my Host Controller. 

That is, using a different southbridge?  And different BIOS, with
different ACPI support?  Again, you'd need to provide specifics.

Congratulations!!  So far, every time I've tested remote wakeup on
Linux, the ACPI code broke during the resume process ... that is, if
it managed to enter a "standby" or "suspend-to-ram" state in the first
place (again, ACPI problems).  I know that USB was doing the right
thing, since that can be unit tested outside of system sleep states.

  
> So does this mean that there is something wrong with the ACER Aspire
> 3003LC laptop ?
> Or is there something on which remote wake up depends on besides the
> Host Controller and the device ( supporting remote wake up ) ?

My first guess would be you're seeing ACPI breakage, or perhaps you're
not setting things up correctly.  If you really did the same tests
on both laptops, I'd be more inclined to suspect ACPI ... especially
since that's where the problems have always been in my testing.

- Dave

  reply	other threads:[~2006-06-08 18:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-08 12:21 Remote wake up not working rasmit.ranjan
2006-06-08 18:46 ` David Brownell [this message]
2006-06-10 13:28 ` Pavel Machek
2006-06-13 16:12   ` Johannes Berg
2006-06-13 17:17     ` [linux-pm] " David Brownell

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=200606081147.00063.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=linux-pm@lists.osdl.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=rasmit.ranjan@wipro.com \
    /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