https://bugzilla.kernel.org/show_bug.cgi?id=42977





--- Comment #14 from Steven Noonan <ste...@uplinklabs.net>  2012-12-11 16:28:25 
---
Looking at the code path for s3_beep, I am guessing that the actual code in
s3_beep isn't directly affecting suspend/resume. The code doesn't really do
anything too different from the normal resume path (enable speakers, beep for
some time, disable speakers, and so on). I think the real impact here is the
udelay() calls in there.

I'm about to head to my office, but can someone try something like this and see
if the resume works without s3_beep enabled?

diff --git a/arch/x86/realmode/rm/wakemain.c b/arch/x86/realmode/rm/wakemain.c
index 91405d5..bc9bdc9 100644
--- a/arch/x86/realmode/rm/wakemain.c
+++ b/arch/x86/realmode/rm/wakemain.c
@@ -71,6 +71,8 @@ void main(void)
        if (wakeup_header.realmode_flags & 4)
                send_morse("...-");

+       udelay(US_PER_DOT * 20);
+
        if (wakeup_header.realmode_flags & 1)
                asm volatile("lcallw   $0xc000,$3");

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to