From gjb@ogg.ii.pw.edu.pl  Tue Jan  2 04:27:53 1996
Received: from ogg.ii.pw.edu.pl (ogg.ii.pw.edu.pl [148.81.64.43])
          by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id EAA16102
          for <FreeBSD-gnats-submit@freebsd.org>; Tue, 2 Jan 1996 04:26:56 -0800 (PST)
Received: (from gjb@localhost) by ogg.ii.pw.edu.pl (8.6.12/8.6.12) id OAA08865; Tue, 2 Jan 1996 14:12:46 +0100
Message-Id: <199601021312.OAA08865@ogg.ii.pw.edu.pl>
Date: Tue, 2 Jan 1996 14:12:46 +0100
From: gjb@ii.pw.edu.pl
Reply-To: gjb@ii.pw.edu.pl
To: FreeBSD-gnats-submit@freebsd.org
Subject: VGA mode not restored
X-Send-Pr-Version: 3.2

>Number:         927
>Category:       kern
>Synopsis:       VGA mode not restored
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    sos
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan  2 04:30:01 PST 1996
>Closed-Date:    Mon Jan 27 10:30:57 PST 1997
>Last-Modified:  Mon Jan 27 10:33:26 PST 1997
>Originator:     Grzegorz J. Blinowski
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
Warsaw University of Technology
>Environment:

	FreeBSD 2.1-RELEASE syscons (sc0) VGA driver
	Trident 8900 1MB RAM
	Mono SVGA monitor

>Description:

	With the hw. configuration as above (color VGA adaptor, mono
	monitor) syscons driver does not always restore text mode correctly.
	Bad console switching results in a blank screen, I didn't find
	a way of restoring screen mode after this happens (must
	reboot). 

>How-To-Repeat:

	vidcontrol VGA_90x25

	Run XFree86 3.12,
	than try to switch consoles with ctrl-alt-Fn or
	exit XFree.
>Fix:
	
	The bug is in the syscons (/sys/i386/isa/syscons*)  driver, 
	probably in the ioctl responsible for text/graphics mode switching.
>Release-Note:
>Audit-Trail:

From: Thomas Graichen <graichen@omega.physik.fu-berlin.de>
To: gjb@ii.pw.edu.pl
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: kern/927: VGA mode not restored
Date: Tue, 2 Jan 1996 20:04:38 +0100 (MET)

 hasn't gjb@ii.pw.edu.pl said ? ...
 > 
 > 	FreeBSD 2.1-RELEASE syscons (sc0) VGA driver
 > 	Trident 8900 1MB RAM
 > 	Mono SVGA monitor
 > 
 > >Description:
 > 
 > 	With the hw. configuration as above (color VGA adaptor, mono
 > 	monitor) syscons driver does not always restore text mode correctly.
 > 	Bad console switching results in a blank screen, I didn't find
 > 	a way of restoring screen mode after this happens (must
 > 	reboot). 
 > 
 i have the same problem here - and some more info about it:
 
 * it is not depending on a special vga-board (tested with trident
   8900cl and miro 10sd - s3 805) 
 
 * it only apears if the monitor is detected as "mono" - mono-monitores
   detected as "color" work fine
 
 if anybody has a fix - i may try it out - maybe this helps - t
 
   _______________________________________________________||___________________
                                                    __||
   Perfection is reached, not when there is no  __||     thomas graichen
   longer anything to add, but when there   __||    freie universitaet berlin
   is no longer anything to take away   __||           fachbereich physik
                                    __||                      
   - Antoine de Saint-Exupery - __||        graichen@mail.physik.fu-berlin.de
   ___________________________||__________________graichen@FreeBSD.org_________
Responsible-Changed-From-To: freebsd-bugs->sos 
Responsible-Changed-By: wosch 
Responsible-Changed-When: Sun Sep 15 10:52:11 PDT 1996 
Responsible-Changed-Why:  
syscons is Sren's babe 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Mon Jan 27 10:30:57 PST 1997 
State-Changed-Why:  

Corrected in 2.2, the probe logic was in error. 
>Unformatted:
