Skip to contentSkip to conversation

newport console fixes

PATCH Markus Dahms 3 participants 3 messages Mar 15, 2004 – Mar 16, 2004 MIPS

lore
Share & tools
lore
#0 lore raw

Hello list,

I patched the newport console driver to have the correct colormap when exiting X11 / switching from X11 to console.
This problem doesn't affect all versions of the newport, the old revision in my very old indy doesn't show these effects. Some revision information of my (different) newports is written in the header of the attached diff.
Could someone please apply the patch to cvs (2.4 branch, 2.6 isn't very usable for me), if there are no objections?

Markus

Signature · 1 line
No RISC - No fun!

#### old newport, works w/o patch
#
# NG1: Revision 3, 8 bitplanes, REX3 revision B, VC2 revision A,
# xmap9 revision A, cmap revision C, bt445 revision A
# NG1: Screensize 1296x1024
#
## (strange resolution, isn't it? - X does 1280x1024 anyway)

#### new newport, works w/ patch
#
# NG1: Revision 6, 8 bitplanes, REX3 revision B, VC2 revision A,
# xmap9 revision A, cmap revision D, bt445 revision D
# NG1: Screensize 1280x1024

video/newport_con.c renamed from video/newport_con.c.orig +2 -0
@@ -448,6 +448,8 @@
 {
 	static int logo_drawn = 0;
 
+	newport_init_cmap();
+
 	topscan = 0;
 	npregs->cset.topscan = 0x3ff;
 
#1 lore raw
Quoted 8 lines · Markus Dahms

Hello list,

I patched the newport console driver to have the correct colormap when exiting X11 / switching from X11 to console.
This problem doesn't affect all versions of the newport, the old revision in my very old indy doesn't show these effects. Some revision information of my (different) newports is written in the header of the attached diff.

Just for the record, my Indy also exhibits this fault, but has different cmap revision than yours:

NG1: Revision 6, 8 bitplanes, REX3 revision B, VC2 revision A,
xmap9 revision A, cmap revision C, bt445 revision D
NG1: Screensize 1280x1024

Quoted 8 lines

#### old newport, works w/o patch
#
# NG1: Revision 3, 8 bitplanes, REX3 revision B, VC2 revision A,
# xmap9 revision A, cmap revision C, bt445 revision A
# NG1: Screensize 1296x1024
#
## (strange resolution, isn't it? - X does 1280x1024 anyway)

Quoted 5 lines

#### new newport, works w/ patch
#
# NG1: Revision 6, 8 bitplanes, REX3 revision B, VC2 revision A,
# xmap9 revision A, cmap revision D, bt445 revision D
# NG1: Screensize 1280x1024

Regards,

Signature · 3 lines
Dominik 'Rathann' Mierzejewski <[email protected]>                                                 
Interdisciplinary Centre for Mathematical and Computational Modelling                               
Warsaw University  |  http://www.icm.edu.pl  |  tel. +48 (22) 5540810                               
#2 lore raw
Quoted 10 lines · Dominik 'Rathann' Mierzejewski
Quoted 8 lines · Markus Dahms

Hello list,

I patched the newport console driver to have the correct colormap when exiting X11 / switching from X11 to console.
This problem doesn't affect all versions of the newport, the old revision in my very old indy doesn't show these effects. Some revision information of my (different) newports is written in the header of the attached diff.

Quoted 6 lines

Just for the record, my Indy also exhibits this fault, but has different cmap revision than yours:

NG1: Revision 6, 8 bitplanes, REX3 revision B, VC2 revision A,
xmap9 revision A, cmap revision C, bt445 revision D
NG1: Screensize 1280x1024

The same as mine, showing this problem also.

Thiemo