Subject: Re: No /dev/console
To: George Sollish <gsollish@mail.gisco.net>
From: TAKEMURA Shin <takemura@netbsd.org>
List: port-hpcmips
Date: 03/18/2001 16:49:37
This is a multi-part message in MIME format.
------=_NextPart_000_002E_01C0AFCB.6ACA7950
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
I've made a patch (attached). It might resolve the problem though I can't
test it. Could someone try it and report?
----- Original Message -----
From: "TAKEMURA Shin" <takemura@netbsd.org>
To: "George Sollish" <gsollish@mail.gisco.net>
Cc: <port-hpcmips@netbsd.org>
Sent: Sunday, March 18, 2001 10:23 AM
Subject: Re: No /dev/console
> > Next problem, why are the MobilePro's four arrow keys out of synch --
> > right arrow for down, down arrow for up, etc?
>
> It seems that MobilePro 780 needs it's own keymap. At present, you use
> the keymap which is designed for Japanese model, MC/R530. But I have
> difficulty in creating the new map because I don't have MobilePro 780.
> Please report exactly what/how keys are out of synch. Do all other keys
> seems to be OK?
Takemura
------=_NextPart_000_002E_01C0AFCB.6ACA7950
Content-Type: application/octet-stream;
name="mp780.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="mp780.patch"
Index: hpckbdkeymap.h=0A=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=
RCS file: /cvsroot/syssrc/sys/dev/hpc/hpckbdkeymap.h,v=0A=
retrieving revision 1.5=0A=
diff -c -r1.5 hpckbdkeymap.h=0A=
*** hpckbdkeymap.h 2001/03/04 03:40:39 1.5=0A=
--- hpckbdkeymap.h 2001/03/18 07:42:12=0A=
***************=0A=
*** 293,300 ****=0A=
};=0A=
=0A=
static u_int8_t mobilepro_keytrans[] =3D {=0A=
! /*00 space ] \ / - - enter l */=0A=
! /*08 - [ ' ; - - . o */=0A=
/*10 - - - Windows v c x z */=0A=
/*18 - =3D \- ` f d s a */=0A=
/*20 8 7 6 5 r e w q */=0A=
--- 293,300 ----=0A=
};=0A=
=0A=
static u_int8_t mobilepro_keytrans[] =3D {=0A=
! /*00 space ] \ / left down enter l */=0A=
! /*08 - [ ' ; right up . o */=0A=
/*10 - - - Windows v c x z */=0A=
/*18 - =3D \- ` f d s a */=0A=
/*20 8 7 6 5 r e w q */=0A=
***************=0A=
*** 349,354 ****=0A=
--- 349,383 ----=0A=
/*58*/ IGN, IGN, IGN, 42, 13, 67, 63, 59,=0A=
};=0A=
=0A=
+ /* NEC MobilePro 780 */=0A=
+ static u_int8_t mobilepro780_keytrans[] =3D {=0A=
+ /*00 space ] \ / left right enter l */=0A=
+ /*08 - [ ' ; up down . o */=0A=
+ /*10 - - - Windows v c x z */=0A=
+ /*18 - =3D \- ` f d s a */=0A=
+ /*20 8 7 6 5 r e w q */=0A=
+ /*28 , m n b - - 0 9 */=0A=
+ /*30 k j h g 4 3 2 1 */=0A=
+ /*38 i u y t - caps del esc */=0A=
+ /*40 alt_R - - - BS p TAB Fn */=0A=
+ /*48 - alt_L - - f12 f11 f10 f9 */=0A=
+ /*50 - - ctrl - f8 f7 f6 f5 */=0A=
+ /*58 - - - shift f4 f3 f2 f1 */=0A=
+ =
/*----------------------------------------------------------------------*=
/=0A=
+ /*00*/ 57, 27, 43, 53, 203, 205, 28, 38,=0A=
+ /*08*/ IGN, 26, 40, 39, 200, 208, 52, 24,=0A=
+ /*10*/ IGN, IGN, IGN, 221, 47, 46, 45, 44,=0A=
+ /*18*/ IGN, 13, 12, 41, 33, 32, 31, 30,=0A=
+ /*20*/ 9, 8, 7, 6, 19, 18, 17, 16,=0A=
+ /*28*/ 51, 50, 49, 48, IGN, IGN, 11, 10,=0A=
+ /*30*/ 37, 36, 35, 34, 5, 4, 3, 2,=0A=
+ /*38*/ 23, 22, 21, 20, IGN, 58, 14, 1,=0A=
+ /*40*/ 184, IGN, IGN, IGN, 14, 25, 15, IGN,=0A=
+ /*48*/ IGN, 56, IGN, IGN, 88, 87, 68, 67,=0A=
+ /*50*/ IGN, IGN, 29, IGN, 66, 65, 64, 63,=0A=
+ /*58*/ IGN, IGN, IGN, 42, 62, 61, 60, 59,=0A=
+ };=0A=
+ =0A=
/* FUJITSU INTERTOP CX300 */=0A=
static u_int8_t intertop_keytrans[] =3D {=0A=
/*00 space a2 1 tab enter caps left zenkaku */=0A=
***************=0A=
*** 531,537 ****=0A=
NULLCMDMAP,=0A=
KB_US },=0A=
{ &platid_mask_MACH_NEC_MCR_530A,=0A=
! mobilepro_keytrans,=0A=
NULL,=0A=
NULLCMDMAP,=0A=
KB_US },=0A=
--- 560,566 ----=0A=
NULLCMDMAP,=0A=
KB_US },=0A=
{ &platid_mask_MACH_NEC_MCR_530A,=0A=
! mobilepro780_keytrans,=0A=
NULL,=0A=
NULLCMDMAP,=0A=
KB_US },=0A=
------=_NextPart_000_002E_01C0AFCB.6ACA7950--