From: federico ferri <xaero@inwind.it>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
linux-input@atrey.karlin.mff.cuni.cz, trivial@kernel.org
Subject: Re: [PATCH] input: change SysRq keycode for systems without SysRq key
Date: Tue, 17 Jul 2007 08:40:59 +0200 [thread overview]
Message-ID: <469C647B.1000307@inwind.it> (raw)
In-Reply-To: <d120d5000707160541k64c40d0dgf661226806fd98c8@mail.gmail.com>
Dmitry Torokhov ha scritto:
>> Dmitry? Any reason not to do this?
>>
>
> Recent kernels have the ability to remap keymap for USB keyboards via
> EVIOCSKEYCODE ioctl (we allowed 0adjusting keymaps on PS/2 keyboards
> for a long time). So instead of having the new parameter redefining
> SysRq keycode Frederico can remap one of the keys on his keyboard to
> generate KEY_SYSRQ. This way SysRq should still work if he plugs in
> another USB keyboard that has SysRq key or a PS/2 keyboard.
would setkeycodes still just work for PS2 keyboards?
I upgraded to newer kbd-1.13 package (kernel 2.6.21), and while trying
to change sysrq keycode still I get the old error:
KDSETKEYCODE: No such device
failed to set scancode 38b7 to keycode 84
which I reported on gentoo a long time ago:
http://bugs.gentoo.org/show_bug.cgi?id=97388
(it doesn't use EVIOCSKEYCODE)
maybe I'm not picking up the right program?
--
Federico Ferri
next prev parent reply other threads:[~2007-07-17 6:40 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-15 17:04 [PATCH] input: change SysRq keycode for systems without SysRq key federico ferri
2007-07-15 18:03 ` Linus Torvalds
2007-07-15 18:34 ` federico ferri
2007-07-15 18:57 ` Linus Torvalds
2007-07-15 22:04 ` federico ferri
2007-07-15 22:15 ` Linus Torvalds
2007-07-16 12:41 ` Dmitry Torokhov
2007-07-17 6:40 ` federico ferri [this message]
2007-07-17 15:11 ` Dmitry Torokhov
2007-07-18 20:55 ` federico ferri
2007-07-19 21:00 ` Dmitry Torokhov
2007-07-19 21:00 ` Dmitry Torokhov
2007-07-19 21:39 ` federico ferri
2007-07-19 22:32 ` Dmitry Torokhov
2007-07-19 23:29 ` federico ferri
2007-07-30 14:09 ` Jiri Kosina
2007-08-02 21:27 ` Vojtech Pavlik
2007-08-17 8:25 ` Marvin Raaijmakers
2007-08-17 10:22 ` Jiri Kosina
2007-08-17 14:35 ` Marvin Raaijmakers
2007-08-17 14:42 ` Jiri Kosina
2007-08-17 15:01 ` Marvin Raaijmakers
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=469C647B.1000307@inwind.it \
--to=xaero@inwind.it \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-input@atrey.karlin.mff.cuni.cz \
--cc=torvalds@linux-foundation.org \
--cc=trivial@kernel.org \
/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).