From: Nate Lawson <nate-Y6VGUYTwhu0@public.gmane.org>
To: Pavel Machek <pavel-AlSwsSmVLrQ@public.gmane.org>
Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Video BIOS reset?
Date: Wed, 17 Sep 2003 10:00:55 -0700 (PDT) [thread overview]
Message-ID: <20030917095045.K12240@root.org> (raw)
I am looking into a common problem on FreeBSD. Whenever I resume, the
console is messed up. X works fine. When data is printed to the console,
it scrolls diagonally and skips lines. My first thought was that the VESA
display was not in linear mode.
I looked at the Linux code and noted two parts that seem to be intended to
address this:
1. lcall 0xc0000,$3
2. int 0x10, func 0x4f02
The first one appears to only be a read of the current VESA mode register.
The second is Set Mode. I tried adding this manually to our resume code
but there is no change. I also looked at vgacon.c to see if our console
resume code wasn't complete but nothing jumped out at me. Any ideas what
we might be missing?
Src:
linux/arch/i386/kernel/acpi/wakeup.S
linux/drivers/video/console/vgacon.c
Thanks,
Nate
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
next reply other threads:[~2003-09-17 17:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-17 17:00 Nate Lawson [this message]
[not found] ` <20030917095045.K12240-Y6VGUYTwhu0@public.gmane.org>
2003-09-17 23:47 ` Video BIOS reset? Pavel Machek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030917095045.K12240@root.org \
--to=nate-y6vguytwhu0@public.gmane.org \
--cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
--cc=pavel-AlSwsSmVLrQ@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.