From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nate Lawson Subject: Video BIOS reset? Date: Wed, 17 Sep 2003 10:00:55 -0700 (PDT) Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <20030917095045.K12240@root.org> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Return-path: Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Pavel Machek Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org 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