9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Steve Simon <steve@quintile.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] teg2 kbd
Date: Tue,  6 May 2014 22:37:40 +0100	[thread overview]
Message-ID: <0C5572CF-B87C-4544-B4FD-25A07706A629@quintile.net> (raw)
In-Reply-To: <0c0e042f4207764fa55c579c4fe51453@ladd.quanstro.net>

yep, that was for me.  weird uk usb keyboards.
nearly all the keyboard works but the pipe/backslash key is a special.
the patch appeared twice, once in the pc keyboard driver and once for the
raspberry pi (shared with omap).

there is also someone who had a similar problem with german keyboards
in the archives, though their fix was a little crude (sorry).

i worried at the time that adding two entire pages of lookup table seemed silly
to support one key with three functions, but memory is cheap enough that 2 x 256 bytes
is not outrageous. the 8042 is dead (ish)

steve

> On 6 May 2014, at 17:06, erik quanstrom <quanstro@quanstro.net> wrote:
> 
> does anyone know why the teg2 keyboard code has these two extra
> scan code tables?
> 
>    case 5:
>        *r = kbtabctrlesc1[*sc];
>        return 1;
>    case 6:
>        *r = kbtabshiftesc1[*sc];
>        return 1;
> 
> - erik



  reply	other threads:[~2014-05-06 21:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-06 16:06 erik quanstrom
2014-05-06 21:37 ` Steve Simon [this message]
2014-05-07  0:38   ` erik quanstrom
2014-05-07  0:42     ` erik quanstrom

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0C5572CF-B87C-4544-B4FD-25A07706A629@quintile.net \
    --to=steve@quintile.net \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).