[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Swedish keyboard on RAMDISK_CD.
Miod Vallat <miod@online.fr> wrote:
> > If using and external Sun Type 6 USB keyboard without disabling
> > uhci. The keyboard is correctly identified and I can type on it
> > without problems. Trying to use 'kbd sv' or choosing the 'sv'
> > "Keyboard encoding table" in the installation. Leaves the
> > keyboard using the us keymap which causes problem when selecting
> > a "good" root password.
> >
> > Is this intentional because of space limitations?
>
> Right now, kbd only changes encoding on the first keyboard, i.e. the
> built-in one.
IMHO that is not the case. In src/sbin/kbd/kbd_wscons.c a for
loop goes through /dev/wskbd{0-NUM_KBD} and tries to open the
devices, on success the the encoding is set.
Another contradiction to what you say is the it works on an
installed system and is only a problem on the install media.
With help from Kennth R Westerbeck I have found the culprit here
is that there is no /dev/wskbd1 on the install media. A cd /dev,
sh MAKEDEV wskbd1 solves the problem.
I believe that this is the correct fix and just hope that it does
not add to much on the install media.
Index: etc/etc.i386/MAKEDEV.md
===================================================================
RCS file: /cvs/src/etc/etc.i386/MAKEDEV.md,v
retrieving revision 1.28
diff -u -r1.28 MAKEDEV.md
--- etc/etc.i386/MAKEDEV.md 3 Oct 2004 21:28:34 -0000 1.28
+++ etc/etc.i386/MAKEDEV.md 28 Feb 2005 06:13:50 -0000
@@ -99,7 +99,7 @@
dnl
ramdisk)
_recurse std bpf0 fd0 wd0 wd1 wd2 sd0 sd1 sd2 tty00 tty01 rd0
- _recurse st0 cd0 ttyC0 random wskbd0 apm
+ _recurse st0 cd0 ttyC0 random wskbd0 wskbd1 apm
;;
_std(1, 2, 50, 4, 7)