Skip to contentSkip to conversation

suspend: Documentation update for IBM Thinkpad X30

PATCH In review Antonino A. Daplas 2 participants 4 messages Apr 22, 2006 – Apr 23, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/4 suspend: Documentation update for IBM Thinkpad X30

As reported in Bugzilla Bug 6406, resume from S3 results in a blank screen.

For the IBM Thinkpad X30 using vesafb as the console driver, successful resume from S3 requires option acpi_sleep=s3_bios,s3_mode. Update documentation.

I would presume that, in any hardware, using vesafb as the console driver will require as a minimum s3_mode.

---

 Documentation/power/video.txt |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/power/video.txt +1 -1
index d18a57d..51ea8ce 100644
@@ -140,7 +140,7 @@ IBM TP T41p			s3_bios (2), switch to X a
 IBM TP T42			s3_bios (2)
 IBM ThinkPad T42p (2373-GTG)	s3_bios (2)
 IBM TP X20			??? (*)
-IBM TP X30			s3_bios (2)
+IBM TP X30			s3_bios (2), s3_bios,s3_mode (4) if vesafb
 IBM TP X31 / Type 2672-XXH      none (1), use radeontool (http://fdd.com/software/radeon/) to turn off backlight.
 IBM TP X32			none (1), but backlight is on and video is trashed after long suspend. s3_bios,s3_mode (4) works too. Perhaps that gets better results?
 IBM Thinkpad X40 Type 2371-7JG  s3_bios,s3_mode (4)

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#1 lore raw
Quoted 9 lines · Antonino A. Daplas

As reported in Bugzilla Bug 6406, resume from S3 results in a blank screen.

For the IBM Thinkpad X30 using vesafb as the console driver, successful resume from S3 requires option acpi_sleep=s3_bios,s3_mode. Update documentation.

I would presume that, in any hardware, using vesafb as the console driver will require as a minimum s3_mode.

Well, some hardware just preserves video state, but you are right that anything that needs s3_bios probably needs s3_mode, too.

Do you think you could try code from suspend.sf.net and fix whitelist there? It is really wrong to have whitelist in .txt, when it should have been machine-readable.

(I applied this:

(quoted diff) +0 -0

b/Documentation/power/video.txt
index a8004cc..d859faa 100644

Documentation/power/video.txt +0 -0
@@ -143,7 +143,7 @@ IBM TP T41p                 s3_bios (2), switch to

X a

 IBM TP T42                     s3_bios (2)
 IBM ThinkPad T42p (2373-GTG)   s3_bios (2)
 IBM TP X20                     ??? (*)
-IBM TP X30                     s3_bios (2)
+IBM TP X30                     s3_bios, s3_mode (4)

...we do not want to give wrong options.)
Pavel

Signature · 8 lines
Thanks for all the (sleeping) penguins.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
#2 lore raw
Quoted 8 lines · Pavel Machek
Quoted 7 lines · Antonino A. Daplas

As reported in Bugzilla Bug 6406, resume from S3 results in a blank screen.

For the IBM Thinkpad X30 using vesafb as the console driver, successful resume from S3 requires option acpi_sleep=s3_bios,s3_mode. Update documentation.

Quoted 5 lines
Quoted 2 lines

I would presume that, in any hardware, using vesafb as the console driver will require as a minimum s3_mode.

Well, some hardware just preserves video state, but you are right that anything that needs s3_bios probably needs s3_mode, too.

For vgacon, s3_bios may be the only option needed since POSTING automatically goes to text mode. For vesafb, s3_mode, in most cases, will also required.

Quoted 3 lines

Do you think you could try code from suspend.sf.net and fix whitelist there?

I'll try, although in-kernel suspend works for me properly.

Tony

-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

#3 lore raw
Quoted 9 lines · Antonino A. Daplas
Quoted 8 lines · Pavel Machek
Quoted 7 lines · Antonino A. Daplas

As reported in Bugzilla Bug 6406, resume from S3 results in a blank screen.

For the IBM Thinkpad X30 using vesafb as the console driver, successful resume from S3 requires option acpi_sleep=s3_bios,s3_mode. Update documentation.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I would presume that, in any hardware, using vesafb as the console driver will require as a minimum s3_mode.

Well, some hardware just preserves video state, but you are right that anything that needs s3_bios probably needs s3_mode, too.

For vgacon, s3_bios may be the only option needed since POSTING automatically goes to text mode. For vesafb, s3_mode, in most cases, will also required.

Agreed.

Quoted 4 lines
Quoted 2 lines

Do you think you could try code from suspend.sf.net and fix whitelist there?

I'll try, although in-kernel suspend works for me properly.

Please do, we'd really like to use s2ram everywhere (so it "just works"), and we want to know that we are not breaking working setups, too. (Plus whitelist entry can probably be improved).

Pavel

Signature · 8 lines
Thanks for all the (sleeping) penguins.


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642