login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
19
Re: [RFC] Input: implement sysrq as an input handler
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Randy Dunlap
Subject:
Re: [RFC] Input: implement sysrq as an input handler
Date: Thursday, March 18, 2010 - 5:13 pm
On 03/16/10 23:19, Dmitry Torokhov wrote:
quoted text
> Instead of keeping SysRq support inside of legacy keyboard driver split > it out into a separate input handler (filter). This stops most SysRq input > events from leaking into evdev clients (some events, such as first SysRq > scancode - not keycode - event, are still leaked into both legacy keyboard > and evdev). > > Signed-off-by: Dmitry Torokhov <dtor@mail.ru> > --- > > drivers/char/keyboard.c | 40 +------- > drivers/char/sysrq.c | 222 +++++++++++++++++++++++++++++++++++++++++------ > include/linux/sysrq.h | 23 +---- > kernel/sysctl.c | 23 +++++ > 4 files changed, 224 insertions(+), 84 deletions(-)
quoted text
> +/* Simple translation table for the SysRq keys */ > +static const unsigned char sysrq_xlate[KEY_MAX + 1] = > + "__PLACEHOLDER__1_031234567890-=7\t" /* 0x00 - 0x0f */ > + "qwertyuiop[]\r__PLACEHOLDER__1_0as" /* 0x10 - 0x1f */ > + "dfghjkl;'`__PLACEHOLDER__1_0\zxcv" /* 0x20 - 0x2f */ > + "bnm,./__PLACEHOLDER__1_0*__PLACEHOLDER__1_0 __PLACEHOLDER__1_012345" /* 0x30 - 0x3f */ > + "67012__PLACEHOLDER__1_0__PLACEHOLDER__1_0789-456+1" /* 0x40 - 0x4f */ > + "2307__PLACEHOLDER__1_0__PLACEHOLDER__1_034__PLACEHOLDER__1_0__PLACEHOLDER__1_0__PLACEHOLDER__1_0__PLACEHOLDER__1_0__PLACEHOLDER__1_0__PLACEHOLDER__1_0__PLACEHOLDER__1_0__PLACEHOLDER__1_0__PLACEHOLDER__1_0__PLACEHOLDER__1_0" /* 0x50 - 0x5f */ > + "\r__PLACEHOLDER__1_0/"; /* 0x60 - 0x6f */
We are running out of these precious sysrq keys. Do you have any ideas of how to have a larger xlate table? -- ~Randy --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC] Input: implement sysrq as an input handler
, Dmitry Torokhov
, (Tue Mar 16, 11:19 pm)
Re: [RFC] Input: implement sysrq as an input handler
, Henrique de Moraes H ...
, (Thu Mar 18, 5:00 pm)
Re: [RFC] Input: implement sysrq as an input handler
, Dmitry Torokhov
, (Thu Mar 18, 5:09 pm)
Re: [RFC] Input: implement sysrq as an input handler
, Randy Dunlap
, (Thu Mar 18, 5:13 pm)
Re: [RFC] Input: implement sysrq as an input handler
, Dmitry Torokhov
, (Thu Mar 18, 5:30 pm)
Re: [RFC] Input: implement sysrq as an input handler
, Henrique de Moraes H ...
, (Fri Mar 19, 9:06 am)
Re: [RFC] Input: implement sysrq as an input handler
, Dmitry Torokhov
, (Fri Mar 19, 11:03 am)
Re: [RFC] Input: implement sysrq as an input handler
, Henrique de Moraes H ...
, (Fri Mar 19, 7:53 pm)
Re: [RFC] Input: implement sysrq as an input handler
, Dmitry Torokhov
, (Sun Mar 21, 9:59 pm)
Re: [RFC] Input: implement sysrq as an input handler
, Pavel Machek
, (Thu Apr 1, 6:34 am)
Re: [RFC] Input: implement sysrq as an input handler
, Dmitry Torokhov
, (Thu Apr 1, 8:42 am)
Re: [RFC] Input: implement sysrq as an input handler
, Pavel Machek
, (Sun Apr 4, 6:27 am)
Re: [RFC] Input: implement sysrq as an input handler
, Dmitry Torokhov
, (Thu Apr 15, 10:33 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 01/75] platform: prefix MODALIAS with "platform:"
stephane eranian
Re: perf_counters issue with PERF_SAMPLE_GROUP
Mathieu Desnoyers
Re: Linux 2.6.25-rc2
Eric Sandeen
Re: [PATCH] xfs: do not pass unused params to xfs_flush_pages
Daniel Hazelton
Re: x86: 4kstacks default
linux-netdev
:
Andi Kleen
Re: RFC: Nagle latency tuning
Herbert Xu
Re: Oops in tun: bisected to Limit amount of queued packets per device
gregkh
Patch "IPv6: keep route for tentative address" has been added to the 2.6.34-stable...
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
Krzysztof Oledzki
Re: Error: an inet prefix is expected rather than "0/0".
git
:
Johannes Schindelin
[PATCH] fetch: refuse to fetch into the current branch in a non-bare repository
Junio C Hamano
Re: [PATCH] http-push: making HTTP push more robust and more user-friendly
Oliver Kullmann
Re: how to move with history?
Alex Riesen
Re: git exclude patterns for directory
Andreas Ericsson
Re: why not TortoiseGit
linux-kvm
:
Avi Kivity
Re: KVM_EXIT_HALT and KVM_CREATE_IRQCHIP
Uri Lublin
Re: [PATCH] qemu: qemu_fopen_fd: differentiate between reader and writer user
Chris Wright
[PATCH qemu-kvm] device assignment: default requires IOMMU
Xu, Dongxiao
RE: [PATCH 0/3] KVM: VMX: Support hosted VMM coexsitence.
James Thomason
Re: Guest Hang Bugs
openbsd-bugs
:
openbsd
Re: pxammc0 unhandled interrupt
Î ÏÏλη ÏÏο internet
Καλό Καλοκαίρι ...
Zak B. Elep
Re: kernel/5995
Mrs.Fiona Wagner
Inquiries
Rodolfo Gouveia
Re: can't boot latest bsd panic: _bus_dmamem_unmap
Colocation donated by:
Syndicate