From: "Emmanuel Thomé" <Emmanuel.Thome-/zGXu1G9BXs@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: D600: S1 and S3 resume
Date: Tue, 25 Nov 2003 13:57:23 +0100 [thread overview]
Message-ID: <20031125125723.GA5591@tate.loria.fr> (raw)
In-Reply-To: <Pine.LNX.4.30.0311251150140.19330-100000-Rd/Vp7eeBLeOZheNW5JDhQ@public.gmane.org>
> I tested the patch for xfree radeon_driver.c, and now video wake up
> after resume from S3. But system is terrible slow. CPU is half second
> working and half second is stopped. I have kernel 2.6-test10, bios A05.
> I have problem with resume from S1 and S3, when uhci-hcd and sound
> card is loaded. When D600 resume from S1, display "back to C!", "set
> pci latency 00:1d.0, 00:1d.1 and 00:1d.2 to 64" and hang. When
> resume from S3 I have black LCD and do not see anything. (I have to
> say, that 00:1d.0-1-2-7 are usb devices on pci.)
I now have a patch for this (it's one single problem : your cpu is very
busy on irq11 dealing w/ usb panic messages. Look up your syslog, you'll
get an idea). You'll have to wait a few jiffees for the patch though, as
I'm on the road right now.
The patch in question is more exactly a kludge than a real cure of the
problem. It seems that on S3 resume, the ehci hcd is fine, but two of
the three uhci hcd's wake up in a messy state. Disabling them when such
a messy state is detected does the trick (hunt for USBCMD_HCRESET in
uhci-hcd.c, IIRC).
> What kernel is at this moment the best choice for D600? 2.4 or 2.6? What
> you are using and your experiences with suspend?
2.6, definitely. Unless you're happy with S1.
A short data: My laptop draws ~16W when running, and this goes down to
0.4W on S3.
> And back to patch for X. I debug the code and ax, bx, cx, dx items in
> Int10 struct are zero. The "->num-0xe6" is little mystery for me.
Err, ole ? (I bloody don't know the answer. The last time I did real
mode vesa programming was a looooong time ago).
> I did try call Int 10h using "lrmi" - linux real mode interface, but
> it failed (SIGSEGV), when try outw to some port.
You probably have to resort to a couple of hacks in order to have your
real mode thingy (a virtual machine, I presume) access IO ports.
> And last information: when I suspend to S3 in "Dock", after resume is
> display ok, even I remove the notebook from dock before wakeup. But CPU is
> slow.
See above.
> I did ask dell about more technical informations about D600, but they
> did say me, that all technical delatils are marked internally
> "confidential" and nobody can share them. I hope Dell will change your
> restriction and improve support for linux.
Very expectable from canned_answers_daemon-QXIuMnnTXwEAsOHDdpmTTuG/Ez6ZCGd0@public.gmane.org
E.
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
next prev parent reply other threads:[~2003-11-25 12:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-25 12:27 D600: S1 and S3 resume Petr Olivka
[not found] ` <Pine.LNX.4.30.0311251150140.19330-100000-Rd/Vp7eeBLeOZheNW5JDhQ@public.gmane.org>
2003-11-25 12:57 ` Emmanuel Thomé [this message]
[not found] ` <20031125125723.GA5591-xkTd+U360DcAs8EywTwl9A@public.gmane.org>
2003-11-25 13:43 ` ole.rohne-vJEk5272eHo
2003-11-25 15:18 ` Petr Olivka
2003-12-03 18:18 ` Emmanuel Thomé
[not found] ` <20031203181826.GA28870-xkTd+U360DcAs8EywTwl9A@public.gmane.org>
2003-12-05 10:05 ` Petr Olivka
[not found] ` <20031208104746.GA21225@tate.loria.fr>
[not found] ` <20031208104746.GA21225-xkTd+U360DcAs8EywTwl9A@public.gmane.org>
2003-12-17 7:42 ` Petr Olivka
-- strict thread matches above, loose matches on Subject: below --
2003-12-18 8:15 Yu, Luming
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=20031125125723.GA5591@tate.loria.fr \
--to=emmanuel.thome-/zgxu1g9bxs@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@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