From: Andrew Barr <barr.156-ZbGKxL/pcrQ@public.gmane.org>
To: Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: i855-based ThinkPad STR: Graphics device stays in D3 after resume
Date: Wed, 13 Apr 2005 08:08:50 -0400 [thread overview]
Message-ID: <200504130808.50773.barr.156@osu.edu> (raw)
In-Reply-To: <1113353440.10110.96.camel@tyrosine>
On Tuesday 12 April 2005 08:50 pm, Matthew Garrett wrote:
> Hmm. Interesting. There's no code that will actually have bound to the
> PCI device (well, other than the drm driver, but that's different in
> magical ways), so the kernel won't attempt to reenable it on resume.
>
> We really should be doing something about devices that the kernel has no
> drivers for - at the moment, unless there's a driver loaded, we don't
> power down the device at all. However, I'm not entirely clear on /what/
> we should be doing.
I've made some promising progress in getting suspend-to-RAM working. The
following commands return me to the bash prompt after suspend-to-RAM. I
haven't had time to try this within X.org:
cat /sys/bus/pci/devices/0000:00:02.0/config > /var/tmp/pci.config
echo -n mem > /sys/power/state
(resume; ssh into the machine)
cat /var/tmp/pci.config > /proc/bus/pci/00/02.0
video_post
This is without any acpi_sleep parameters. Writing the saved config space back
to sysfs didn't work--the device stayed in D3. Using /proc/bus/pci returned
it to D0. I don't know why. I'll be testing this in X.org later on today.
--
Andrew Barr
Student, Ohio State University
[firstname][lastname] at columbus rr com | [lastname].156 at osu edu
http://home.columbus.rr.com/andrewbarr
"Everyone is entitled to their own opinions, but not their own facts."
- Daniel Patrick Moynihan
-------------------------------------------------------
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
prev parent reply other threads:[~2005-04-13 12:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-13 0:32 i855-based ThinkPad STR: Graphics device stays in D3 after resume Andrew Barr
[not found] ` <200504122032.36053.barr.156-ZbGKxL/pcrQ@public.gmane.org>
2005-04-13 0:50 ` Matthew Garrett
2005-04-13 12:08 ` Andrew Barr [this message]
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=200504130808.50773.barr.156@osu.edu \
--to=barr.156-zbgkxl/pcrq@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=mjg59-1xO5oi07KQx4cg9Nei1l7Q@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