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

"Antonino A. Daplas" <[email protected]>
Newsgroups gmane.linux.fbdev.user,gmane.linux.debian.ports.powerpc
Message-ID <[email protected]>
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)




-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.