[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Linux-fbdev-users] (2.6.9-rc4|2.6.9|2.6.10-rc1) black cursor on console [ppc platform]



On Wednesday 27 October 2004 01:13, Elimar Riesebieter wrote:
> On Tue, 26 Oct 2004 the mental interface of
>
> Antonino A. Daplas told:
> > On Tuesday 26 October 2004 02:49, Elimar Riesebieter wrote:
> > > On Mon, 25 Oct 2004 the mental interface of
> > >
> > > Antonino A. Daplas told:
> > > > On Sunday 24 October 2004 17:25, Elimar Riesebieter wrote:
> > > > > Any hints to get back a white mousecursor and a shown bootlogo as
> > > > > in 2.6.8?
> > > >
> > > > See my other mail for the mousecursor.
> >
> > Can you try booting with video=radeonfb:noaccel?
>
> No changes :(
>

I suspect as much.  I think fbcon_putc might have an endian bug. Can you try
this patch?

Tony

diff -Nru a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
--- a/drivers/video/console/fbcon.c	2004-10-26 23:49:13 +08:00
+++ b/drivers/video/console/fbcon.c	2004-10-27 08:17:19 +08:00
@@ -1012,7 +1012,9 @@
 
 static void fbcon_putc(struct vc_data *vc, int c, int ypos, int xpos)
 {
-	fbcon_putcs(vc, (const unsigned short *) &c, 1, ypos, xpos);
+	unsigned short chr = c;
+
+	fbcon_putcs(vc, &chr, 1, ypos, xpos);
 }
 
 static void fbcon_clear_margins(struct vc_data *vc, int bottom_only)




Reply to: