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

Bug#249164: installation report on DECstation (mipsel)



Dé Domh, 2004-05-16 ag 16:24 +0100, scríobh Martin Michlmayr:
> * Karsten Merker <karsten@excalibur.cologne.de> [2004-05-15 16:17]:
> > Keyboard selection:     [E] Kbd-Chooser only presents PC keymaps by default.
> >                             Pressing ESC brings one back to the main menu.
> >                             On reselection of "choose keyboard" I get a menu
> >                             asking to choose between DEC, USB and AT
> >                             keyboards. Selecting "DEC" gives an error. The
> >                             log says: choose_keymap: keymap = US English
> >                                       ERROR: cannot open file US English
> >                             I have not yet had time to look into this, but the
> >                             DEC US keymap is called "LK201-US", so there
> >                             might be a wrong string passed.    
> 
> Let's copy Alastair to this.

DEC is the only arch. that has only one keyboard (atm) so it has a
default entry in dec-kbd.c. Found a bug in the deflt keyboard handling.

Try the following fix to kbd-chooser.c and report if it works:

Index: kbd-chooser.c
===================================================================
--- kbd-chooser.c       (revision 15477)
+++ kbd-chooser.c       (working copy)
@@ -687,7 +687,7 @@
        // and shouldn't have to ask the question.
        if (kb->deflt) {
                def = keymap_get (maplist_get (arch), kb->deflt);
-               mydebconf_default_set (template, def->description);
+               mydebconf_default_set (template, kb->deflt);
        }
        res = mydebconf_ask ( kb->deflt ? "low" : "high", template,
&ptr);
        if (res != CMD_SUCCESS)

As to being offered DEC, USB and AT keyboards: are USB and AT possible
on decstations ? (eg can you get PCI cards for decstations?) if not, can
I identify decstations by subarch, and eliminate those options?

It appears from the latest 2.6.6 kernel sources that you can identify
lkkbd modules in 2.6 kernels. What is the current status of 2.6 on
decstations and MIPS in general? 
If it works, then we can autodetect DEC, AT, USB keyboards on 2.6
systema at least; I can add code to dec-kbd.c to handle this.

Regards
Alastair



Reply to: