public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2005-hi6Y0CQ0nG0@public.gmane.org>
To: Norbert Preining <preining-DX+603jRYB8@public.gmane.org>
Cc: Pavel Machek <pavel-AlSwsSmVLrQ@public.gmane.org>,
	ACPI mailing list
	<acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	kernel list
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	seife-l3A5Bk7waGM@public.gmane.org,
	rjw-KKrjLPT3xs0@public.gmane.org
Subject: Re: Call for help: list of machines with working S3
Date: Tue, 15 Feb 2005 17:09:41 +0100	[thread overview]
Message-ID: <42121EC5.8000004@gmx.net> (raw)
In-Reply-To: <20050215125555.GD16394-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>

Norbert Preining schrieb:
> On Mon, 14 Feb 2005, Pavel Machek wrote:
> 
>>(1) systems where video state is preserved over S3.
>>
>>(2) systems where it is possible to call video bios during S3
>>  resume. Unfortunately, it is not correct to call video BIOS at that
>>  point, but it happens to work on some machines. Use
>>  acpi_sleep=s3_bios.
>>
>>(3) systems that initialize video card into vga text mode and where BIOS
>>  works well enough to be able to set video mode. Use
>>  acpi_sleep=s3_mode on these.
>>
>>(4) on some systems s3_bios kicks video into text mode, and
>>  acpi_sleep=s3_bios,s3_mode is needed.
>>
>>(5) radeon systems, where X can soft-boot your video card. You'll need
>>  patched X, and plain text console (no vesafb or radeonfb), see
>>  http://www.doesi.gmxhome.de/linux/tm800s3/s3.html.
>>
>>(6) other radeon systems, where vbetool is enough to bring system back
>>  to life. Do vbetool vbestate save > /tmp/delme; echo 3 > /proc/acpi/sleep;
>>  vbetool post; vbetool vbestate restore < /tmp/delme; setfont
>>  <whatever>, and your video should work.
>>
>>Acer TM 800			vga=normal, X patches, see webpage (5)
> 
> 
> 
> Acer TM 650 (Radeon M7)
> 
> vga=normal plus boot-radeon (webpage(5)) works to get text console
> back. But switching to X freezes the computer completely.

Please try method (6). It should work perfectly because it is the successor
for method (5) and works even without special patches for X.


> X from debian sid. 
> XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-10 20041215174925 fabbione-hi90JgxQ6n/k1uMJSBkQmQ@public.gmane.org)
> Release Date: 15 August 2003
> X Protocol Version 11, Revision 0, Release 6.6
> Build Operating System: Linux 2.4.26 i686 [ELF] 
> Build Date: 15 December 2004
> 
> 
> I would like to get X running to, but there are no traces in the logfile
> whatsoever to be seen. Pity.

First, boot into X and run the following script ONCE:
#!/bin/bash
statedir=/root/s3/state
mkdir -p $statedir
chvt 2
sleep 1
vbetool vbestate save >$statedir/vbe


To suspend and resume properly, call the following script as root:
#!/bin/bash
statedir=/root/s3/state
curcons=`fgconsole`
fuser /dev/tty$curcons 2>/dev/null|xargs ps -o comm= -p|grep -q X && chvt 2
cat /dev/vcsa >$statedir/vcsa
sync
echo 3 >/proc/acpi/sleep
sync
vbetool post
vbetool vbestate restore <$statedir/vbe
cat $statedir/vcsa >/dev/vcsa
rckbd restart
chvt $[curcons%6+1]
chvt $curcons


Unless you change your grahics card or other hardware configuration,
the state once saved will be OK for every resume afterwards.
NOTE: The "rckbd restart" command may be different for your
distribution. Simply replace it with the command you would use to
set the fonts on screen.


> So it seems that my laptop does not fall in any of these categories.

Please try my scripts and resport back.


Regards,
Carl-Daniel
-- 
http://www.hailfinger.org/


-------------------------------------------------------
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-02-15 16:09 UTC|newest]

Thread overview: 101+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-14 21:11 Call for help: list of machines with working S3 Pavel Machek
2005-02-14 23:23 ` [ACPI] " Matthew Garrett
2005-02-14 23:34   ` Rich Townsend
2005-02-14 23:47   ` Matthew Garrett
2005-02-15 12:55 ` [ACPI] " Norbert Preining
2005-02-15 13:17   ` Karol Kozimor
     [not found]   ` <20050215125555.GD16394-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
2005-02-15 16:09     ` Carl-Daniel Hailfinger [this message]
     [not found]       ` <42121EC5.8000004-hi6Y0CQ0nG0@public.gmane.org>
2005-02-15 17:08         ` Norbert Preining
     [not found]           ` <20050215170837.GA6336-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
2005-02-15 18:57             ` Carl-Daniel Hailfinger
     [not found]               ` <4212460A.4000100-hi6Y0CQ0nG0@public.gmane.org>
2005-02-15 20:21                 ` Matthew Garrett
     [not found]                   ` <1108498875.12026.18.camel-Xmbc1Sz64/5pghhO6/9/sx2eb7JE58TQ@public.gmane.org>
2005-02-15 22:40                     ` Carl-Daniel Hailfinger
2005-02-15 23:35                     ` I can't get iasl to compile Mark Eaton
     [not found]                       ` <200502160935.11842.meaton-tw97OP0PknkAvxtiuMwx3w@public.gmane.org>
2005-02-16  0:00                         ` Matthew Garrett
2005-02-16  1:00                           ` DSDT errors Mark Eaton
2005-02-16  9:51               ` [ACPI] Call for help: list of machines with working S3 Norbert Preining
2005-02-15 19:37             ` Stefan Dösinger
     [not found]               ` <200502152038.00401.stefandoesinger-RbZlAiThDcE@public.gmane.org>
2005-02-17 11:06                 ` Norbert Preining
2005-02-17 19:08                 ` Norbert Preining
     [not found]                   ` <20050217190815.GC4925-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
2005-02-17 20:58                     ` Stefan Dösinger
     [not found]                       ` <200502172158.56721.stefandoesinger-RbZlAiThDcE@public.gmane.org>
2005-02-18 10:46                         ` Norbert Preining
     [not found]                           ` <20050218104633.GA28246-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
2005-02-18 11:03                             ` Matthew Garrett
2005-02-18 13:38                           ` [ACPI] " Norbert Preining
     [not found]                             ` <20050218133816.GA13745-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
2005-02-18 18:04                               ` Stefan Dösinger
2005-02-15 19:47             ` Pavel Machek
     [not found]               ` <20050215194710.GE7338-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-02-17 19:09                 ` Norbert Preining
2005-02-16  9:34             ` Romano Giannetti
     [not found]               ` <20050216093454.GC22816-NfIQswJzSEaq9fEpoSJUslHdEuJhDOxL@public.gmane.org>
2005-02-16 14:54                 ` Carl-Daniel Hailfinger
     [not found]                   ` <42135EAE.8030407-hi6Y0CQ0nG0@public.gmane.org>
2005-02-16 16:10                     ` Romano Giannetti
2005-02-22 22:08           ` [ACPI] " Karol Kozimor
2005-02-24 12:37             ` Norbert Preining
     [not found]               ` <20050224123716.GD28961-DqSSrKF0TaySnEC3TeqHn5dqbFPxfnh/@public.gmane.org>
2005-02-24 21:36                 ` Karol Kozimor
2005-02-25 17:50               ` [ACPI] " Proinnsias Breathnach
2005-02-27 16:57               ` Pavel Machek
     [not found]                 ` <20050227165701.GE1441-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-02-27 17:44                   ` Oisín Mac Fhearaí
2005-02-27 18:04                   ` Stefan Seyfried
     [not found]                     ` <42220B96.30301-l3A5Bk7waGM@public.gmane.org>
2005-02-27 18:08                       ` Pavel Machek
2005-02-15 16:31 ` [ACPI] " Vernon Mauery
     [not found] ` <20050214211105.GA12808-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-02-14 21:36   ` Carl-Daniel Hailfinger
2005-02-15  6:05   ` Alistair John Strachan
2005-02-15 12:12     ` [ACPI] " Lorenzo Colitti
     [not found]       ` <4211E729.1090305-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
2005-02-15 13:17         ` Alistair John Strachan
2005-02-15 16:07           ` [ACPI] " Lorenzo Colitti
2005-02-15 15:41       ` Matthew Garrett
     [not found]         ` <1108482083.12031.10.camel-Xmbc1Sz64/5pghhO6/9/sx2eb7JE58TQ@public.gmane.org>
2005-02-15 16:15           ` Lorenzo Colitti
2005-02-15 16:16           ` Lorenzo Colitti
     [not found]             ` <42122054.8010408-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
2005-02-15 17:42               ` Alistair John Strachan
     [not found]                 ` <200502151742.55362.s0348365-Y3tGgqFSo3OFxr2TtlUqVg@public.gmane.org>
2005-02-15 20:43                   ` Matthew Garrett
     [not found]                     ` <1108500194.12031.21.camel-Xmbc1Sz64/5pghhO6/9/sx2eb7JE58TQ@public.gmane.org>
2005-02-15 21:09                       ` Lorenzo Colitti
     [not found]                         ` <42126506.8020407-Z4WAQ3j+MphBDgjK7y7TUQ@public.gmane.org>
2005-02-16  1:41                           ` Alistair John Strachan
     [not found]                             ` <200502160141.11633.alistair-T7eSMZptz7IqdlJmJB21zg@public.gmane.org>
2005-02-16  1:54                               ` Pavel Machek
     [not found]                                 ` <20050216015418.GC13753-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-02-16  2:47                                   ` Nigel Cunningham
2005-02-16 14:25                 ` [ACPI] " Kjartan Maraas
2005-02-18 20:49                   ` Alistair John Strachan
     [not found]                     ` <200502182049.11088.s0348365-Y3tGgqFSo3OFxr2TtlUqVg@public.gmane.org>
2005-02-20  9:21                       ` Luca Capello
2005-02-21 14:25                       ` Kjartan Maraas
2005-02-22 14:33                     ` [ACPI] " Karol Kozimor
2005-02-15 16:05     ` Stefan Seyfried
2005-02-15 14:35   ` Bernd Schubert
     [not found]     ` <200502151535.41058.bernd.schubert-VNq4CFrKgK+dPOQpRHQ53DeJuz7u0hKX@public.gmane.org>
2005-02-15 18:50       ` Bernd Schubert
2005-02-15 21:28   ` Henrik Brix Andersen
2005-02-16  5:54   ` Stefan Schweizer
2005-02-16  8:48     ` [ACPI] " Stefan Dösinger
     [not found]       ` <200502160948.43005.stefandoesinger-RbZlAiThDcE@public.gmane.org>
2005-02-16 15:06         ` Carl-Daniel Hailfinger
2005-02-16 17:43           ` [ACPI] " Stefan Schweizer
     [not found]           ` <42136158.5000906-hi6Y0CQ0nG0@public.gmane.org>
2005-02-16 19:26             ` Stefan Dösinger
2005-02-16 13:29   ` Tim Dijkstra
     [not found]     ` <20050216142916.0f48c36f-acHaiI0CM+haAVKTNDtesg@public.gmane.org>
2005-02-16 13:47       ` Pavel Machek
     [not found]         ` <20050216134745.GE1446-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-02-17  8:52           ` Tim Dijkstra
2005-02-17  6:16   ` Len Brown
2005-02-17 10:15     ` Vojtech Pavlik
     [not found]       ` <20050217101533.GA15721-+ZI9xUNit7I@public.gmane.org>
2005-02-17 23:12         ` Len Brown
2005-02-17 11:00     ` [ACPI] " Matthew Garrett
2005-02-17 16:18       ` Carl-Daniel Hailfinger
2005-02-17 16:44         ` Vernon Mauery
     [not found]           ` <4214C9D0.1090707-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2005-02-17 20:13             ` Carl-Daniel Hailfinger
     [not found]         ` <4214C3B8.30502-hi6Y0CQ0nG0@public.gmane.org>
2005-02-17 19:54           ` Pavel Machek
     [not found]             ` <20050217195456.GA5963-u08AdweFZfgxtPtxi4kahqVXKuFTiq87@public.gmane.org>
2005-02-17 20:34               ` Carl-Daniel Hailfinger
     [not found]                 ` <4214FFCE.4080703-hi6Y0CQ0nG0@public.gmane.org>
2005-02-17 20:42                   ` Pavel Machek
2005-02-17 20:25           ` Johan Vromans
     [not found]             ` <m28y5ndjcz.fsf-KjnUIgV0B0bak1Ioo/c9IoRWq/SkRNHw@public.gmane.org>
2005-02-17 21:10               ` Matthew Garrett
2005-02-18 10:12                 ` Johan Vromans
2005-02-17 11:02     ` Pavel Machek
2005-02-17 23:19   ` Luca Capello
     [not found]     ` <20050217232932.GB29815@elf.ucw.cz>
     [not found]       ` <20050217232932.GB29815-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-02-17 23:52         ` Luca Capello
2005-03-14  6:19   ` Jan De Luyck
     [not found]     ` <200503140719.01536.lkml-gY0FE6dpLprYtjvyW6yDsg@public.gmane.org>
2005-03-14  8:00       ` Pavel Machek
2005-03-14 14:39         ` Jan De Luyck
     [not found]           ` <200503141539.14018.lkml-gY0FE6dpLprYtjvyW6yDsg@public.gmane.org>
2005-05-01 15:04             ` Luca Capello
     [not found]               ` <8764y356o8.fsf-vpnYUZh4Q8kL5bzFcGmneg@public.gmane.org>
2005-05-04 16:31                 ` Pavel Machek
     [not found]         ` <20050314080029.GF22635-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-03-15  8:10           ` Li Shaohua
2005-03-15 11:34             ` [ACPI] " Nigel Cunningham
     [not found]               ` <1110886444.6454.121.camel-r49W/1Cwd2ff0s6lnCXPX/uOuaPYTxhvJwvTLr3MMZM@public.gmane.org>
2005-03-15 12:04                 ` Pavel Machek
2005-02-23 19:30 ` Nish Aravamudan
     [not found]   ` <29495f1d050223113044b96fcf-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2005-02-24  3:50     ` Ow Mun Heng
     [not found]       ` <1109217054.10202.1.camel-/ZsuMndpQpsb5wn6fCfWY+TW4wlIGRCZ@public.gmane.org>
2005-02-24 11:21         ` Proinnsias Breathnach
     [not found]           ` <20050224112118.GV26667-PWUXgD0Mw7gU45xQlXEPcg@public.gmane.org>
2005-02-24 13:37             ` Matthew Garrett
2005-02-25 15:25         ` Stefan Seyfried
2005-03-02 10:24 ` Stefan Seyfried
2005-03-02 10:57   ` Stefan Seyfried
2005-03-03 16:51 ` Stefan Seyfried
2005-03-03 17:49 ` Avuton Olrich

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=42121EC5.8000004@gmx.net \
    --to=c-d.hailfinger.devel.2005-hi6y0cq0ng0@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=pavel-AlSwsSmVLrQ@public.gmane.org \
    --cc=preining-DX+603jRYB8@public.gmane.org \
    --cc=rjw-KKrjLPT3xs0@public.gmane.org \
    --cc=seife-l3A5Bk7waGM@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