Re: Need your input for keymap configuration
> * what sub-architectures are there for each arch ? My guess: m68k ->
> atari, amiga, sun, next(, mac) ; ppc -> mac, RS/6000
Debian/m68k currently supports the following subarchs:
amiga, atari, mac, mvme
The kernel runs on a few more more or less reliably (hp300, apollo,
q40), but there's no wide support for those machines yet. sun3 won't
be supported by Debian that soon, because it has a different page size
(8k) and thus needs different ELF binaries :-(
> * how may I caracterize each of these archs ? IIRC I was told about
> some field in a /proc file, but I'd need more precise info, ie.
> exact strings/regexps to match
Here's the standard script:
machine=""
case `awk '$1 == "Model:" { print $2 }' /proc/hardware` in
Atari)
machine=atari
;;
Amiga)
machine=amiga
;;
Macintosh)
machine=mac
;;
Motorola) # MVME
machine=mvme
;;
esac
(One could also use a complicated sed expression instead of awk, but
awk is nice and clear :-)
> * what to those subarches use for a set keymap ? It may be obvious
> for some, as we have the amiga, atari, mac, and sun sets of
> keyboards in /usr/share/keymaps/, but as there are several
> generations of machines for some sub-arches, I'd like to know all
> that is is to know in this field.
AFAIK (I'm sure for Amiga and Atari) all those generations do use the
same keymaps. And --again AFAIK-- mvme uses PC keysmaps, but I'm not
sure about this...
Roman
Reply to: