Re: [PATCH] Enable A20 using KBC for some MSI laptops to fix S3 resume
From: Ondrej Zary <hidden>
Date: 2012-10-26 06:20:43
Also in:
lkml
On Friday 26 October 2012, H. Peter Anvin wrote:
My guess is that Windows explicitly enables A20 on resume. We should do that too, really... with the current heavily unified realmode code it should be easy - let me hack up a patch in the morning.
Neither s3_beep nor s3_leds (this patch: https://lists.ubuntu.com/archives/kernel-team/2011-May/015621.html ) worked for me so I thing that BIOS breaks on resume before we can do anything.
Robert Hancock [off-list ref] wrote:quoted
On 10/24/2012 02:09 PM, Alan Cox wrote:quoted
On Wed, 24 Oct 2012 12:36:04 -0700 "H. Peter Anvin" [off-list ref] wrote:quoted
Minor concern: it should do the wait for ready before sending eachcommand.quoted
Can we get a command line to do this quirk too - it strikes me thatifquoted
the MSIs rely upon it then it may be something Windows always does so will be useful to try on other problem machines as an experiment.I agree, one has to keep in mind the age-old question "how does Windows work?" since it surely has no such quirk. I'd say we're sometimes too quick to add these DMI quirks when a more general solution would be somehow figure out how the Linux behavior differs from what Windows is doing.
-- Ondrej Zary