All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vojtech Pavlik <vojtech@suse.cz>
To: Skip Ford <skip.ford@verizon.net>
Cc: Vojtech Pavlik <vojtech@suse.cz>, linux-kernel@vger.kernel.org
Subject: Re: KDSETKEYCODE work with new input layer?
Date: Tue, 1 Oct 2002 18:51:54 +0200	[thread overview]
Message-ID: <20021001185154.A13641@ucw.cz> (raw)
In-Reply-To: <200210011649.g91GnDfG000953@pool-141-150-241-241.delv.east.verizon.net>; from skip.ford@verizon.net on Tue, Oct 01, 2002 at 12:49:08PM -0400

On Tue, Oct 01, 2002 at 12:49:08PM -0400, Skip Ford wrote:
> Vojtech Pavlik wrote:
> > On Tue, Oct 01, 2002 at 11:32:02AM -0400, Skip Ford wrote:
> > > Vojtech Pavlik wrote:
> > > 
> > > setkeycodes rejects it.
> > > 
> > > I changed setkeycodes.c to add 256 instead of 128 and bumped up the
> > > bounds checking, but it's still strange.  It now works for e063, but
> > > still doesn't work for e05e.  Many other keys in the same area as 0x5e
> > > don't work.  The only one that does work that I tried is e063.
> > 
> > There is another thing that has changed - the scancode numbers. So if
> > you're using the same commands as on 2.4, you're setting scancodes for
> > different keys. We now use 'at keyboard - set 2' scancodes as opposed to
> > 'xt keyboard - set 1' used by the older driver. See the 'dmesg' output
> > for keys ("unknown scancode ...") that are not known to the keyboard
> > driver.
> 
> showkey is still showing me the same scancodes.

The raw mode showkey -s is now using to show scancodes is completely
simulated by the kernel.

> The new AT driver
> doesn't log any 'unknown scancode' messages for the same buttons the
> old XT driver did.

That means it understands them. If it did not, showkey -s wouldn't work.

> > > Will you be releasing an updated kbd package?
> > 
> > Well, I'm not the maintainer of the kbd package, but I probably will
> > have to release a new tool to set the keycode table.
> 
> Sorry about that.  Didn't mean to volunteer you.  Thanks for all your
> help.  I'll try to verify the scancodes I'm using.

Just update the keymap - you don't need to change the scancode table if
the keys are working.

-- 
Vojtech Pavlik
SuSE Labs

  reply	other threads:[~2002-10-01 16:48 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-30 14:40 KDSETKEYCODE work with new input layer? Skip Ford
2002-10-01  9:54 ` Vojtech Pavlik
2002-10-01 12:31   ` Skip Ford
2002-10-01 13:17     ` Vojtech Pavlik
2002-10-01 15:32       ` Skip Ford
2002-10-01 15:41         ` Vojtech Pavlik
2002-10-01 15:54           ` Andries Brouwer
2002-10-01 15:55             ` Vojtech Pavlik
2002-10-01 16:29               ` Andries Brouwer
2002-10-07 12:06                 ` Vojtech Pavlik
2002-10-07 12:52                   ` Andries Brouwer
2002-10-07 13:23                   ` Skip Ford
2002-10-07 13:39                     ` Vojtech Pavlik
2002-10-01 16:49           ` Skip Ford
2002-10-01 16:51             ` Vojtech Pavlik [this message]
2002-10-01 17:41               ` Skip Ford
2002-10-01 17:39                 ` Vojtech Pavlik
2002-10-01 18:11                   ` Skip Ford
2002-10-01 18:38                     ` Vojtech Pavlik
2002-10-01 20:04                       ` Skip Ford
2002-10-01 20:53                         ` Vojtech Pavlik

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=20021001185154.A13641@ucw.cz \
    --to=vojtech@suse.cz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=skip.ford@verizon.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.