Re: [Bug 502] New: Broken cursor when using neofb

From: Petr Vandrovec (VANDROVE@vc.cvut.cz)
Date: Tue Mar 25 2003 - 16:32:14 EST


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/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:21 EST