lkml.org 
[lkml]   [2003]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [Bug 502] New: Broken cursor when using neofb
On 25 Mar 03 at 11:57, Martin J. Bligh wrote:
> Mar 25 20:04:58 gswi1164 kernel: Console: switching to colour frame buffer device 128x48
>
> On a vc the line cursor looks like
> ****** ** ********
> instead of
> ****************** (the normally continous line is broken).
> Emacs uses a block cursor that is broken similar, the block
> is broken by two vertical bars.

Well, then it's not my bug then. Go to the drivers/video/console/fbcon.c,
and do (pseudopatch):

+ memset(data, 0xff, size);
if (cursor->set & FB_CUR_SETSIZE) {
- memset(data, 0xff, size);
cursor->set |= FB_CUR_SETSHAPE;
}

Correct cursor should appear after that. It is questionable whether this
layer should do this SETSIZE -> SETSHAPE propagation, as soft_cursor()
does same. I recommend leaving this here, and removing it from
soft_cursor() code.
Petr


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:34    [W:0.073 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site