public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Carlos Corbacho <carlos@strangeworlds.co.uk>
To: Len Brown <lenb@kernel.org>
Cc: Alan Stern <stern@rowland.harvard.edu>,
	David Brownell <david-b@pacbell.net>,
	gregkh@suse.de, linux-acpi@vger.kernel.org,
	Linux-pm mailing list <linux-pm@lists.osdl.org>,
	USB development list <linux-usb-devel@lists.sourceforge.net>
Subject: Re: USB D3 vs system S3
Date: Wed, 9 Jan 2008 12:51:54 +0000	[thread overview]
Message-ID: <200801091251.55883.carlos@strangeworlds.co.uk> (raw)
In-Reply-To: <200801090009.22447.carlos@strangeworlds.co.uk>

On Wednesday 09 January 2008 00:09:21 Carlos Corbacho wrote:
> 2) Based on poking around in Vista, it may also be required to disable
> autosuspend for OHCI on CK804 (nForce 4), since Vista here apparently does
> not enable USB autosuspend on the USB hubs on this board (yet enabling
> autosuspend is supposedly the default Vista behaviour, and I've certainly
> never touched the USB settings in Vista).
>
> Given we have two different BIOS's from different manufacturers for the
> same chipset, that both have a similar SMI trap, and are both breaking
> here, I wonder if this is a known problem with the reference nVidia BIOS;
> so Windows will not put USB devices into D3 early on this chipset, to
> ensure that USB0 is not in a low power state before _PTS() is called
> (unfortunately, on point 2, I don't have enough to back it up either way,
> besides my own observations here).

I've had confirmation from another nForce 4 box that Vista also disables 
autosuspend/ selective suspend on the root hubs there, so I'm pretty 
confident in saying now that this will also be needed in Linux (definitely 
for OHCI. I don't think we need to stop autosuspend on EHCI, even though 
Windows does appear to disable it for that as well), to avoid inadvertently 
triggering the suspend-to-RAM hang on these broken BIOSs.

(Testing also shows that putting the OHCI controller into D2 is no good 
either - having it in any state other than D1 before we call the ACPI _PTS() 
method will reliably hang the box on suspend).

What's the best way to go about doing this? I've been glancing over the OHCI 
code and I can't see how to easily do this (unless 'broken_suspend' is the 
correct option here?)

-Carlos
-- 
E-Mail: carlos@strangeworlds.co.uk
Web: strangeworlds.co.uk
GPG Key ID: 0x23EE722D

  reply	other threads:[~2008-01-09 12:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-08 20:47 USB D3 vs system S3 Len Brown
2008-01-08 21:09 ` Rafael J. Wysocki
2008-01-08 21:55 ` David Brownell
2008-01-09  0:09 ` Carlos Corbacho
2008-01-09 12:51   ` Carlos Corbacho [this message]
2008-01-09 16:07     ` Alan Stern
2008-01-09 16:38       ` Carlos Corbacho
2008-01-09 17:16         ` Alan Stern
2008-01-09 21:03           ` 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=200801091251.55883.carlos@strangeworlds.co.uk \
    --to=carlos@strangeworlds.co.uk \
    --cc=david-b@pacbell.net \
    --cc=gregkh@suse.de \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-pm@lists.osdl.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox