public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <j.w.r.degoede@hhs.nl>
To: linux-kernel <linux-kernel@vger.kernel.org>
Cc: vojtech@suse.cz
Subject: problem with softraw and keycodes > 128
Date: Thu, 07 Jun 2007 10:21:33 +0200	[thread overview]
Message-ID: <4667C00D.40708@hhs.nl> (raw)

<Note: I'm not on the please keep me CC-ed>

Hi all,

First a short intro I'm a Linux enthousiast and developer. I mainly write
userspace code, but I've also written 2 kernel drivers of which one is in the
mainline and the other is waiting for review.

I've been experimenting with getting the internetkeys on several keyboards to
work. My biggest problem with this currently is the following:

Step 1: press key, dmesg says:
atkbd.c: Unknown key released (translated set 2, code 0xa3 on isa0060/serio0).
atkbd.c: Use 'setkeycodes e023 <keycode>' to make it known.

Step 2: map key: setkeycodes e023 163

Step 3: run xev, press key. X-keycode is: 153 instead of 163 ?

Problem, as the xkb files for these keyboards expect the X-keycode to be 163,
as just it is under the console. Now I know that X-keycodes !=
console-keycodes, for example the A key is 30 on the console and 38 in X, but
in the case of this special keys, both the xkb files for these internet
keyboards (written by suse) and config files for special daemons like lineak,
expect them to be identical. Doing:
echo -n 0 >/sys/devices/platform/i8042/serio1/softraw
However does make them identical.

I don't know if this is an xorg or a kernel problem, but I do know that this
behavior is rather annoying, and IMHO a bug. I've been reading the kernel code
from input.c and atkbd.c but I cannot find anything explaining this there, so
now I'm looking at the xorg kbd driver. I have the feeling though that this
require someone with some more knowledge of the whole input subsystem, hence
this mail.

<Note: I'm not on the please keep me CC-ed>

Thanks & Regards,

Hans



             reply	other threads:[~2007-06-07  8:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-07  8:21 Hans de Goede [this message]
2007-06-07 13:15 ` problem with softraw and keycodes > 128 Vojtech Pavlik
2007-06-07 14:55   ` Hans de Goede
2007-06-07 15:36     ` Vojtech Pavlik
2007-06-07 18:05       ` Hans de Goede
2007-06-07 19:16         ` Vojtech Pavlik
2007-06-08 11:31           ` Goede, J.W.R. de

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=4667C00D.40708@hhs.nl \
    --to=j.w.r.degoede@hhs.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vojtech@suse.cz \
    /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