Skip to contentSkip to conversation

acpi_sleep=s3_bios and Thinkpads

DISCUSSION Matthew Garrett 3 participants 3 messages Jul 3, 2004 – Jul 12, 2004 2 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Having tested around 6 different models of Thinkpad, we've found that passing acpi_sleep=s3_bios always helps if there is no framebuffer running, but tends to break things if there is a framebuffer. Is this worth some sort of DMI hackery in order to make it more likely that things will just work?

Signature · 9 lines
Matthew Garrett | [email protected]



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 5 lines · Matthew Garrett

Having tested around 6 different models of Thinkpad, we've found that passing acpi_sleep=s3_bios always helps if there is no framebuffer running, but tends to break things if there is a framebuffer. Is this worth some sort of DMI hackery in order to make it more likely that things will just work?

The BIOS will re-init to vga text mode for the general case. So you'd need instead to do some work on the pci resume path of the video drivers to do mode resets and the like. You may also need to play with vga routing but that ought to be set right by the BIOS.

Does switching console unbreak resume ?

-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com

A message that is not in the archive (sent off-list or not yet received): 1088867538.9981.1.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/[email protected]

#4 lore raw

Hi!

Quoted 6 lines
Quoted 5 lines

Having tested around 6 different models of Thinkpad, we've found that passing acpi_sleep=s3_bios always helps if there is no framebuffer running, but tends to break things if there is a framebuffer. Is this worth some sort of DMI hackery in order to make it more likely that things will just work?

Quoted 6 lines

The BIOS will re-init to vga text mode for the general case. So you'd need instead to do some work on the pci resume path of the video drivers to do mode resets and the like. You may also need to play with vga routing but that ought to be set right by the BIOS.

Does switching console unbreak resume ?

Actually, on many machines video is *not* in 80x25 text mode upon resume (Toshiba p4, arima, omnibook xe3). If it is in 80x25 text, right thing is to enable vesafb and use s3_mode.
Pavel

Signature · 9 lines
People were complaining that M$ turns users into beta-testers...
...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com