From: Petr V. <VAN...@vc...> - 2004-10-27 00:36:21
|
On 27 Oct 04 at 8:24, Antonino A. Daplas wrote: > --- 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; I think that you must use scr_write(c, &chr) to get it right. Petr Vandrovec > + > + 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 > _______________________________________________ > Linux-fbdev-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-fbdev-users > > |
From: Antonino A. D. <ad...@ho...> - 2004-10-27 01:02:20
|
On Wednesday 27 October 2004 08:40, Petr Vandrovec wrote: > On 27 Oct 04 at 8:24, Antonino A. Daplas wrote: > > --- 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; > > I think that you must use scr_write(c, &chr) to get it right. Indeed. Thanks. 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 09:07:57 +08:00 @@ -1012,7 +1012,10 @@ 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; + + scr_writew(c, &chr); + fbcon_putcs(vc, &chr, 1, ypos, xpos); } static void fbcon_clear_margins(struct vc_data *vc, int bottom_only) |
From: Guido G. <ag...@de...> - 2004-10-27 08:11:03
|
On Wed, Oct 27, 2004 at 09:09:43AM +0800, Antonino A. Daplas wrote: > On Wednesday 27 October 2004 08:40, Petr Vandrovec wrote: > > On 27 Oct 04 at 8:24, Antonino A. Daplas wrote: > > > --- 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; > > > > I think that you must use scr_write(c, &chr) to get it right. > > Indeed. Thanks. Cool. Works here on rivafb! -- Guido |
From: Elimar R. <rie...@lx...> - 2004-10-27 19:28:13
|
On Wed, 27 Oct 2004 the mental interface of Antonino A. Daplas told: > On Wednesday 27 October 2004 08:40, Petr Vandrovec wrote: > > On 27 Oct 04 at 8:24, Antonino A. Daplas wrote: > > > --- 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 =3D c; > > > > I think that you must use scr_write(c, &chr) to get it right. >=20 > Indeed. Thanks. White cursor is back :-)) Bootlogo isn't shown? Ciao Elimar --=20 Never make anything simple and efficient when a way=20 can be found to make it complex and wonderful ;-) |
From: Antonino A. D. <ad...@ho...> - 2004-10-27 22:05:52
|
On Thursday 28 October 2004 03:28, Elimar Riesebieter wrote: > On Wed, 27 Oct 2004 the mental interface of > > Antonino A. Daplas told: > > On Wednesday 27 October 2004 08:40, Petr Vandrovec wrote: > > > On 27 Oct 04 at 8:24, Antonino A. Daplas wrote: > > White cursor is back :-)) Great. > Bootlogo isn't shown? Can you try choosing the l6 color logo in the kernel kconfig. Or you can try this patch instead. Let me know which one or if both works. Tony diff -Nru a/drivers/video/aty/radeon_monitor.c b/drivers/video/aty/radeon_monitor.c --- a/drivers/video/aty/radeon_monitor.c 2004-10-27 14:58:07 +08:00 +++ b/drivers/video/aty/radeon_monitor.c 2004-10-28 06:04:32 +08:00 @@ -12,9 +12,9 @@ .xres_virtual = 640, .yres_virtual = 480, .bits_per_pixel = 8, - .red = { 0, 6, 0 }, - .green = { 0, 6, 0 }, - .blue = { 0, 6, 0 }, + .red = { 0, 8, 0 }, + .green = { 0, 8, 0 }, + .blue = { 0, 8, 0 }, .activate = FB_ACTIVATE_NOW, .height = -1, .width = -1, |
From: Elimar R. <rie...@lx...> - 2004-11-06 19:30:43
|
On Thu, 28 Oct 2004 the mental interface of Antonino A. Daplas told: > On Thursday 28 October 2004 03:28, Elimar Riesebieter wrote: > > On Wed, 27 Oct 2004 the mental interface of > > > > Antonino A. Daplas told: > > > On Wednesday 27 October 2004 08:40, Petr Vandrovec wrote: > > > > On 27 Oct 04 at 8:24, Antonino A. Daplas wrote: > > > > White cursor is back :-)) >=20 > Great. >=20 > > Bootlogo isn't shown? >=20 > Can you try choosing the l6 color logo in the kernel kconfig. Or you can > try this patch instead. Let me know which one or if both works. That patch doesn`t meet drivers/video/aty/radeon_monitor.c in 2.6.9 Ciao Elimar --=20 "Talking much about oneself can also=20 be a means to conceal oneself." -Friedrich Nietzsche |
From: Antonino A. D. <ad...@ho...> - 2004-11-06 19:57:56
|
On Sunday 07 November 2004 03:30, Elimar Riesebieter wrote: > On Thu, 28 Oct 2004 the mental interface of > > Antonino A. Daplas told: > > On Thursday 28 October 2004 03:28, Elimar Riesebieter wrote: > > > On Wed, 27 Oct 2004 the mental interface of > > > > > > Antonino A. Daplas told: > > > > On Wednesday 27 October 2004 08:40, Petr Vandrovec wrote: > > > > > On 27 Oct 04 at 8:24, Antonino A. Daplas wrote: > > Can you try choosing the l6 color logo in the kernel kconfig. Or you can > > try this patch instead. Let me know which one or if both works. > > That patch doesn`t meet drivers/video/aty/radeon_monitor.c in 2.6.9 Ok, too many changes in radeon. Try this one, specific for 2.6.9. Note that the same fix is available in the bk or mm tree. Tony diff -uprN linux-2.6.9-orig/drivers/video/aty/radeon_monitor.c linux-2.6.9/drivers/video/aty/radeon_monitor.c --- linux-2.6.9-orig/drivers/video/aty/radeon_monitor.c 2004-11-07 03:45:56.000000000 +0800 +++ linux-2.6.9/drivers/video/aty/radeon_monitor.c 2004-11-07 03:48:14.727342552 +0800 @@ -8,7 +8,7 @@ static struct fb_var_screeninfo radeonfb_default_var = { 640, 480, 640, 480, 0, 0, 8, 0, - {0, 6, 0}, {0, 6, 0}, {0, 6, 0}, {0, 0, 0}, + {0, 8, 0}, {0, 8, 0}, {0, 8, 0}, {0, 0, 0}, 0, 0, -1, -1, 0, 39721, 40, 24, 32, 11, 96, 2, 0, FB_VMODE_NONINTERLACED }; |
From: Elimar R. <rie...@lx...> - 2004-11-06 20:46:57
|
On Sun, 07 Nov 2004 the mental interface of Antonino A. Daplas told: > On Sunday 07 November 2004 03:30, Elimar Riesebieter wrote: > > On Thu, 28 Oct 2004 the mental interface of > > > > Antonino A. Daplas told: > > > On Thursday 28 October 2004 03:28, Elimar Riesebieter wrote: > > > > On Wed, 27 Oct 2004 the mental interface of > > > > > > > > Antonino A. Daplas told: > > > > > On Wednesday 27 October 2004 08:40, Petr Vandrovec wrote: > > > > > > On 27 Oct 04 at 8:24, Antonino A. Daplas wrote: > > > Can you try choosing the l6 color logo in the kernel kconfig. Or you= can > > > try this patch instead. Let me know which one or if both works. > > > > That patch doesn`t meet drivers/video/aty/radeon_monitor.c in 2.6.9 >=20 > Ok, too many changes in radeon. Try this one, specific for 2.6.9. Note > that the same fix is available in the bk or mm tree. >=20 > Tony >=20 > diff -uprN linux-2.6.9-orig/drivers/video/aty/radeon_monitor.c linux-2.6.= 9/drivers/video/aty/radeon_monitor.c > --- linux-2.6.9-orig/drivers/video/aty/radeon_monitor.c 2004-11-07 03:45:= 56.000000000 +0800 > +++ linux-2.6.9/drivers/video/aty/radeon_monitor.c 2004-11-07 03:48:14.72= 7342552 +0800 > @@ -8,7 +8,7 @@ > =20 > static struct fb_var_screeninfo radeonfb_default_var =3D { > 640, 480, 640, 480, 0, 0, 8, 0, > - {0, 6, 0}, {0, 6, 0}, {0, 6, 0}, {0, 0, 0}, > + {0, 8, 0}, {0, 8, 0}, {0, 8, 0}, {0, 0, 0}, > 0, 0, -1, -1, 0, 39721, 40, 24, 32, 11, 96, 2, > 0, FB_VMODE_NONINTERLACED > }; This one gives me the bootlogo back ;-) Thx Elimar --=20 Learned men are the cisterns of knowledge,=20 not the fountainheads ;-) |