Skip to contentSkip to conversation

New: Broken cursor when using neofb

Bug 502 Petr Vandrovec 1 participant 1 message Mar 25, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines · Martin J. Bligh
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