Subject: Re: [Q] Keyboard support for TC Alphas.
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Takuya Koumoto <takuya-k@is.aist-nara.ac.jp>
List: port-alpha
Date: 07/11/1998 18:15:36
> ...I just took at look at integrating it, and before I do, I have a couple
> of suggestions:
>
> (1) The code that interprets the lk201 scancodes... that should
> be a table lookup, indexed by scancode, not a series of
> if ... else if ... else if ...
Oh, I am already working on this. I put a new table of
scancodes into sys/dev/wscons/wskbdmap_mfii.h. As Matthias
Drochner mentioned in his article, current version emulate
PC keyboard. I will write proper table for LK201.
> (2) You currently don't do the LEDs and whatnot... there is some
> code in sys/arch/pmax/dev/lk201.c that you might be able
> to lift to do the bell, leds, etc.
Yes, Dan McMahill's web page gives us enough information.
I will add bell and leds control code.
> (3) There are some other integration issues, esp. w/ how the
> TC framebuffer console attachments are done. Currently,
> those are going to require the NEW_SCC_DRIVER option. Some
> of this is waiting for me to set up a test lab so that one
> of the NI ZS driver gooroos can help me with the tricky
> wiring of the SCC in the TC systems.
Hum, I think that I wouldn't be able to do this.
> ...anyhow, if you'd like to take on projects (1) and (2), that would be
> fantastic :-) At least (1) should be finished before the code is integrated
> into the source tree.
Ok.
---