NetBSD Problem Report #13573

Received: (qmail 10217 invoked from network); 27 Jul 2001 21:39:17 -0000
Message-Id: <200107272141.f6RLf8o00925@sheep>
Date: Fri, 27 Jul 2001 23:41:08 +0200 (MEST)
From: o.vd.linden@quicknet.nl
Reply-To: o.vd.linden@quicknet.nl
To: gnats-bugs@gnats.netbsd.org
Subject: hardware cursor too big
X-Send-Pr-Version: 3.95

>Number:         13573
>Category:       kern
>Synopsis:       hw cursor too big
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 27 21:40:00 +0000 2001
>Closed-Date:    Tue Sep 04 17:11:33 +0000 2001
>Last-Modified:  Tue Sep 04 17:11:33 +0000 2001
>Originator:     Onno van der Linden
>Release:        <NetBSD-current source date> 23 july 2001
>Organization:

>Environment:

System: NetBSD sheep 1.5W NetBSD 1.5W (SHEEP) #3: Tue Jul 24 14:06:59 MEST 2001 root@sheep:/usr/src/sys/arch/i386/compile/SHEEP i386
Architecture: i386
Machine: i386
>Description:
The following commit to /sys/dev/ic/pcdisplay_subr.c
#   Revision 1.17 / (download) - annotate - [select for diffs] , Thu Jul 5
#   16:45:23 2001 UTC (2 weeks, 5 days ago) by thorpej
#   Branch: MAIN 
#   Changes since 1.16: +8 -1 lines
#   Diff to previous 1.16 (colored)
#If using the hardware cursor, make sure the cursor shape is initialized,
#otherwise we won't be able to see anything if the system firmware has
#either not initialized it, or initialized it to "invlisible".
changed the shape of the cursor to something "too big" or "not small enough"
Normally the cursor is initialized by most BIOS's to a smaller size.
By setting curstart to 0xe instead of 0xb things are back to normal.


>How-To-Repeat:

>Fix:
--- /tmp/pcdisplay_subr.c	Tue Jul 24 21:19:44 2001
+++ /sys/dev/ic/pcdisplay_subr.c	Tue Jul 24 21:21:05 2001
@@ -70,7 +70,7 @@
 	 * Firmware might not have initialized the cursor shape.  Make
 	 * sure there's something we can see.
 	 */
-	pcdisplay_6845_write(scr->hdl, curstart, 0x0b);
+	pcdisplay_6845_write(scr->hdl, curstart, 0x0e);
 	pcdisplay_6845_write(scr->hdl, curend, 0x10);
 #endif
 	scr->cursoron = 1;
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: drochner 
State-Changed-When: Tue Sep 4 10:09:50 PDT 2001 
State-Changed-Why:  
changed the hardware cursor to use the bottom 2 scanlines, just like 
vga_setscreentype() 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.