public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Help with S3 on an Acer Travelmate c110
@ 2005-06-18 15:19 Adam Olsen
       [not found] ` <42B43B7B.8000402-VDTgcPsuuaZWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Adam Olsen @ 2005-06-18 15:19 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hello,

I was wondering if any of you could help me with suspend to ram on a 
travelmate c110.  I'm running kernel 2.6.10 on Hoary.

It seems I can suspend, and sort of resume.   The machine seems to 
resume, but the display does not come back on.  I can issue commands 
like reboot, etc at the terminal I suspended from.  I cannot get the 
display to come back on whether or not I suspend from within X or just a 
plain terminal.

Any ideas?

Adam


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help with S3 on an Acer Travelmate c110
       [not found] ` <42B43B7B.8000402-VDTgcPsuuaZWk0Htik3J/w@public.gmane.org>
@ 2005-06-19 14:25   ` Stefan Dösinger
       [not found]     ` <200506191425.11398.stefandoesinger-RbZlAiThDcE@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Dösinger @ 2005-06-19 14:25 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Adam Olsen

Hi Adam,

> I was wondering if any of you could help me with suspend to ram on a
> travelmate c110.  I'm running kernel 2.6.10 on Hoary.
>
> It seems I can suspend, and sort of resume.   The machine seems to
> resume, but the display does not come back on.  I can issue commands
> like reboot, etc at the terminal I suspended from.  I cannot get the
> display to come back on whether or not I suspend from within X or just a
> plain terminal.
>
> Any ideas?
Read Documentation/power/video.txt in the kernel's source directory. This 
should help you ;-)

Stefan Dösinger


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help with S3 on an Acer Travelmate c110 [SOLVED]
       [not found]     ` <200506191425.11398.stefandoesinger-RbZlAiThDcE@public.gmane.org>
@ 2005-06-19 16:34       ` Adam Olsen
       [not found]         ` <42B59E95.1070408-VDTgcPsuuaZWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Adam Olsen @ 2005-06-19 16:34 UTC (permalink / raw)
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Stefan Dösinger wrote:
> Read Documentation/power/video.txt in the kernel's source directory. This 
> should help you ;-)

Thanks for the response.  I followed the documentation, but none of the 
methods worked.  I did, however, find something in someone's blog 
concerning a Travelmate c300 that mentioned a utility called video_post. 
  This works - you have to switch to a VT and back to X to get it to 
start working, but this is scriptable with chvt.

video_post wasn't easy to find via google - there are lots of posts 
about it, but most links are broken... a forum post finally led me to 
this link: http://bugzilla.kernel.org/show_bug.cgi?id=3670 and download 
"attachment.cgi", which is actually a .tar.gz package.  I guess this is 
just an FYI for anyone who might come accross the archive searching for 
Travelmate c110.

Thanks,

Adam


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help with S3 on an Acer Travelmate c110 [SOLVED]
       [not found]             ` <200506192200.05982.stefandoesinger-RbZlAiThDcE@public.gmane.org>
@ 2005-06-19 20:21               ` Adam Olsen
  2005-06-20  9:42               ` Pavel Machek
  1 sibling, 0 replies; 11+ messages in thread
From: Adam Olsen @ 2005-06-19 20:21 UTC (permalink / raw)
  To: Stefan Dösinger; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Stefan Dösinger wrote:
> This method should be listed there. Well, it's not listed under this name, but 
> there's a link to my(again outdated) Acer TM 800 howto which lists a few 
> simmilar tools

>>* 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. (Acer TM 800)

Hrmm, I never tried this because I thought it was for Radeon only :(

> Well, it's fine that you got it working!

Yup, and thanks again.

Adam


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help with S3 on an Acer Travelmate c110 [SOLVED]
       [not found]         ` <42B59E95.1070408-VDTgcPsuuaZWk0Htik3J/w@public.gmane.org>
@ 2005-06-19 22:00           ` Stefan Dösinger
       [not found]             ` <200506192200.05982.stefandoesinger-RbZlAiThDcE@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Dösinger @ 2005-06-19 22:00 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: Adam Olsen

On Sunday 19 June 2005 16:34, Adam Olsen wrote:
> Stefan Dösinger wrote:
> > Read Documentation/power/video.txt in the kernel's source directory. This
> > should help you ;-)
>
> Thanks for the response.  I followed the documentation, but none of the
> methods worked.  I did, however, find something in someone's blog
> concerning a Travelmate c300 that mentioned a utility called video_post.
>   This works - you have to switch to a VT and back to X to get it to
> start working, but this is scriptable with chvt.
>
> video_post wasn't easy to find via google - there are lots of posts
> about it, but most links are broken... a forum post finally led me to
> this link: http://bugzilla.kernel.org/show_bug.cgi?id=3670 and download
> "attachment.cgi", which is actually a .tar.gz package.  I guess this is
> just an FYI for anyone who might come accross the archive searching for
> Travelmate c110.
This method should be listed there. Well, it's not listed under this name, but 
there's a link to my(again outdated) Acer TM 800 howto which lists a few 
simmilar tools

> * 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. (Acer TM 800)

Well, it's fine that you got it working!

Stefan


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help with S3 on an Acer Travelmate c110 [SOLVED]
       [not found]             ` <200506192200.05982.stefandoesinger-RbZlAiThDcE@public.gmane.org>
  2005-06-19 20:21               ` Adam Olsen
@ 2005-06-20  9:42               ` Pavel Machek
       [not found]                 ` <20050620094248.GA3121-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
  1 sibling, 1 reply; 11+ messages in thread
From: Pavel Machek @ 2005-06-20  9:42 UTC (permalink / raw)
  To: Stefan Dösinger
  Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, Adam Olsen

Hi!

> > > Read Documentation/power/video.txt in the kernel's source directory. This
> > > should help you ;-)
> >
> > Thanks for the response.  I followed the documentation, but none of the
> > methods worked.  I did, however, find something in someone's blog
> > concerning a Travelmate c300 that mentioned a utility called video_post.
> >   This works - you have to switch to a VT and back to X to get it to
> > start working, but this is scriptable with chvt.
> >
> > video_post wasn't easy to find via google - there are lots of posts
> > about it, but most links are broken... a forum post finally led me to
> > this link: http://bugzilla.kernel.org/show_bug.cgi?id=3670 and download
> > "attachment.cgi", which is actually a .tar.gz package.  I guess this is
> > just an FYI for anyone who might come accross the archive searching for
> > Travelmate c110.
> This method should be listed there. Well, it's not listed under this name, but 
> there's a link to my(again outdated) Acer TM 800 howto which lists a few 
> simmilar tools

Can you provide documentation patch?

For now I did:

...but better solution would be welcome.

diff --git a/Documentation/power/video.txt b/Documentation/power/video.txt
--- a/Documentation/power/video.txt
+++ b/Documentation/power/video.txt
@@ -64,6 +64,7 @@ Model                           hack (or
 ------------------------------------------------------------------------------
 Acer Aspire 1406LC		ole's late BIOS init (7), turn off DRI
 Acer TM 242FX			vbetool (6)
+Acer TM C110			http://bugzilla.kernel.org/show_bug.cgi?id=3670
 Acer TM C300                    vga=normal (only suspend on console, not in X), vbetool (6)
 Acer TM 4052LCi		        s3_bios (2)
 Acer TM 636Lci			s3_bios vga=normal (2)

									Pavel
-- 
teflon -- maybe it is a trademark, but it should not be.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help with S3 on an Acer Travelmate c110 [SOLVED]
       [not found]                 ` <20050620094248.GA3121-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2005-06-20 15:22                   ` Adam Olsen
       [not found]                     ` <42B6DF19.9020103-VDTgcPsuuaZWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Adam Olsen @ 2005-06-20 15:22 UTC (permalink / raw)
  To: Pavel Machek; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 307 bytes --]

Pavel Machek wrote:
> Can you provide documentation patch?

How's this?  I changed the Travelmate C300 entry because the 
documentation I found to get the C110 working was actually for the C300 
- it just happened to work for the C110 too 
(http://www.umich2.com/files/2004/12/linux_on_the_ac.html).

Adam


[-- Attachment #2: patch.patch --]
[-- Type: text/x-patch, Size: 1830 bytes --]

*** Documentation/power/video.txt.orig	2005-06-20 08:29:44.877350736 -0600
--- Documentation/power/video.txt	2005-06-20 09:18:41.254953488 -0600
***************
*** 46,51 ****
--- 46,57 ----
    POSTing bios works. Ole Rohne has patch to do just that at
    http://dev.gentoo.org/~marineam/patch-radeonfb-2.6.11-rc2-mm2.
  
+ (8) on some systems, you can use the video_post utility mentioned here:
+   http://bugzilla.kernel.org/show_bug.cgi?id=3670. Do echo 3 > /sys/power/state
+   && /usr/sbin/video_post - which will initialize the display in console mode.
+   If  you are in X, you can switch to a virtual terminal and back to X using
+   CTRL+ALT+F1 - CTRL+ALT+F7 to get the display working in graphical mode again.
+ 
  Now, if you pass acpi_sleep=something, and it does not work with your
  bios, you'll get a hard crash during resume. Be careful. Also it is
  safest to do your experiments with plain old VGA console. The vesafb
***************
*** 64,70 ****
  ------------------------------------------------------------------------------
  Acer Aspire 1406LC		ole's late BIOS init (7), turn off DRI
  Acer TM 242FX			vbetool (6)
! Acer TM C300                    vga=normal (only suspend on console, not in X), vbetool (6)
  Acer TM 4052LCi		        s3_bios (2)
  Acer TM 636Lci			s3_bios vga=normal (2)
  Acer TM 650 (Radeon M7)		vga=normal plus boot-radeon (5) gets text console back
--- 70,76 ----
  ------------------------------------------------------------------------------
  Acer Aspire 1406LC		ole's late BIOS init (7), turn off DRI
  Acer TM 242FX			vbetool (6)
! Acer TM C110,C300   video_post: http://bugzilla.kernel.org/show_bug.cgi?id=3670
  Acer TM 4052LCi		        s3_bios (2)
  Acer TM 636Lci			s3_bios vga=normal (2)
  Acer TM 650 (Radeon M7)		vga=normal plus boot-radeon (5) gets text console back

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help with S3 on an Acer Travelmate c110 [SOLVED]
       [not found]                     ` <42B6DF19.9020103-VDTgcPsuuaZWk0Htik3J/w@public.gmane.org>
@ 2005-06-20 20:45                       ` Pavel Machek
       [not found]                         ` <20050620204515.GB1873-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Pavel Machek @ 2005-06-20 20:45 UTC (permalink / raw)
  To: Adam Olsen; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi!
> >Can you provide documentation patch?
> 
> How's this?  I changed the Travelmate C300 entry because the 
> documentation I found to get the C110 working was actually for the C300 
> - it just happened to work for the C110 too 
> (http://www.umich2.com/files/2004/12/linux_on_the_ac.html).

I don't like to group various machines together, so I ended up with:

								Pavel

diff --git a/Documentation/power/video.txt b/Documentation/power/video.txt
--- a/Documentation/power/video.txt
+++ b/Documentation/power/video.txt
@@ -46,6 +46,12 @@ There are a few types of systems where v
   POSTing bios works. Ole Rohne has patch to do just that at
   http://dev.gentoo.org/~marineam/patch-radeonfb-2.6.11-rc2-mm2.
 
+(8) on some systems, you can use the video_post utility mentioned here:
+  http://bugzilla.kernel.org/show_bug.cgi?id=3670. Do echo 3 > /sys/power/state
+  && /usr/sbin/video_post - which will initialize the display in console mode.
+  If  you are in X, you can switch to a virtual terminal and back to X using
+  CTRL+ALT+F1 - CTRL+ALT+F7 to get the display working in graphical mode again.
+
 Now, if you pass acpi_sleep=something, and it does not work with your
 bios, you'll get a hard crash during resume. Be careful. Also it is
 safest to do your experiments with plain old VGA console. The vesafb
@@ -64,7 +70,8 @@ Model                           hack (or
 ------------------------------------------------------------------------------
 Acer Aspire 1406LC		ole's late BIOS init (7), turn off DRI
 Acer TM 242FX			vbetool (6)
-Acer TM C300                    vga=normal (only suspend on console, not in X), vbetool (6)
+Acer TM C110			video_post (8)
+Acer TM C300                    vga=normal (only suspend on console, not in X), vbetool (6) or video_post (8)
 Acer TM 4052LCi		        s3_bios (2)
 Acer TM 636Lci			s3_bios vga=normal (2)
 Acer TM 650 (Radeon M7)		vga=normal plus boot-radeon (5) gets text console back


								Pavel

-- 
teflon -- maybe it is a trademark, but it should not be.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help with S3 on an Acer Travelmate c110 [SOLVED]
       [not found]                         ` <20050620204515.GB1873-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
@ 2005-06-21 11:28                           ` Matthew Garrett
  2005-06-21 20:46                             ` Bruno Ducrot
  0 siblings, 1 reply; 11+ messages in thread
From: Matthew Garrett @ 2005-06-21 11:28 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Adam Olsen, acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Mon, 2005-06-20 at 22:45 +0200, Pavel Machek wrote:

> +(8) on some systems, you can use the video_post utility mentioned here:
> +  http://bugzilla.kernel.org/show_bug.cgi?id=3670. Do echo 3 > /sys/power/state
> +  && /usr/sbin/video_post - which will initialize the display in console mode.
> +  If  you are in X, you can switch to a virtual terminal and back to X using
> +  CTRL+ALT+F1 - CTRL+ALT+F7 to get the display working in graphical mode again.

Hmm. There /should/ be no difference between video_post and vbetool
post.

-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help with S3 on an Acer Travelmate c110 [SOLVED]
  2005-06-21 11:28                           ` Matthew Garrett
@ 2005-06-21 20:46                             ` Bruno Ducrot
       [not found]                               ` <20050621204628.GC8899-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
  0 siblings, 1 reply; 11+ messages in thread
From: Bruno Ducrot @ 2005-06-21 20:46 UTC (permalink / raw)
  To: Matthew Garrett
  Cc: Pavel Machek, Adam Olsen,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, Jun 21, 2005 at 12:28:00PM +0100, Matthew Garrett wrote:
> On Mon, 2005-06-20 at 22:45 +0200, Pavel Machek wrote:
> 
> > +(8) on some systems, you can use the video_post utility mentioned here:
> > +  http://bugzilla.kernel.org/show_bug.cgi?id=3670. Do echo 3 > /sys/power/state
> > +  && /usr/sbin/video_post - which will initialize the display in console mode.
> > +  If  you are in X, you can switch to a virtual terminal and back to X using
> > +  CTRL+ALT+F1 - CTRL+ALT+F7 to get the display working in graphical mode again.
> 
> Hmm. There /should/ be no difference between video_post and vbetool
> post.
> 

I see at least one: video_post allow architectures that are not i386.

-- 
Bruno Ducrot

--  Which is worse:  ignorance or apathy?
--  Don't know.  Don't care.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: Help with S3 on an Acer Travelmate c110 [SOLVED]
       [not found]                               ` <20050621204628.GC8899-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
@ 2005-06-21 21:22                                 ` Matthew Garrett
  0 siblings, 0 replies; 11+ messages in thread
From: Matthew Garrett @ 2005-06-21 21:22 UTC (permalink / raw)
  To: Bruno Ducrot
  Cc: Pavel Machek, Adam Olsen,
	acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Tue, 2005-06-21 at 22:46 +0200, Bruno Ducrot wrote:
> On Tue, Jun 21, 2005 at 12:28:00PM +0100, Matthew Garrett wrote:
> > Hmm. There /should/ be no difference between video_post and vbetool
> > post.
> > 
> 
> I see at least one: video_post allow architectures that are not i386.

Ah, yes, that's true. The Xorg people told me that vm86 was preferable
to x86emu on x86, but that doesn't help a great deal for amd64. I'll
port it at some stage.

-- 
Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2005-06-21 21:22 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-18 15:19 Help with S3 on an Acer Travelmate c110 Adam Olsen
     [not found] ` <42B43B7B.8000402-VDTgcPsuuaZWk0Htik3J/w@public.gmane.org>
2005-06-19 14:25   ` Stefan Dösinger
     [not found]     ` <200506191425.11398.stefandoesinger-RbZlAiThDcE@public.gmane.org>
2005-06-19 16:34       ` Help with S3 on an Acer Travelmate c110 [SOLVED] Adam Olsen
     [not found]         ` <42B59E95.1070408-VDTgcPsuuaZWk0Htik3J/w@public.gmane.org>
2005-06-19 22:00           ` Stefan Dösinger
     [not found]             ` <200506192200.05982.stefandoesinger-RbZlAiThDcE@public.gmane.org>
2005-06-19 20:21               ` Adam Olsen
2005-06-20  9:42               ` Pavel Machek
     [not found]                 ` <20050620094248.GA3121-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-06-20 15:22                   ` Adam Olsen
     [not found]                     ` <42B6DF19.9020103-VDTgcPsuuaZWk0Htik3J/w@public.gmane.org>
2005-06-20 20:45                       ` Pavel Machek
     [not found]                         ` <20050620204515.GB1873-I/5MKhXcvmPrBKCeMvbIDA@public.gmane.org>
2005-06-21 11:28                           ` Matthew Garrett
2005-06-21 20:46                             ` Bruno Ducrot
     [not found]                               ` <20050621204628.GC8899-kk6yZipjEM5g9hUCZPvPmw@public.gmane.org>
2005-06-21 21:22                                 ` Matthew Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox