From mboxrd@z Thu Jan 1 00:00:00 1970 From: federico ferri Subject: Re: [PATCH] input: change SysRq keycode for systems without SysRq key Date: Fri, 20 Jul 2007 01:29:29 +0200 Message-ID: <469FF3D9.4080307@inwind.it> References: <469A5385.6030402@inwind.it> <469A99ED.3090603@inwind.it> <469C647B.1000307@inwind.it> <469E7E29.2050206@inwind.it> <469FDA19.6020702@inwind.it> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: owner-linux-input@atrey.karlin.mff.cuni.cz List-Help: List-Owner: List-Post: List-Unsubscribe: To: Dmitry Torokhov Cc: Linus Torvalds , linux-input@atrey.karlin.mff.cuni.cz, mzxrlshmm@0pointer.de List-Id: linux-input@vger.kernel.org Dmitry Torokhov ha scritto: >> do you see some solution? perhaps can you supply an example of >> re-mapping F13 to SysRq? >> > > KEY_F13 is normally assigned to usage 0x00070068. Since you want your > F13 to be used as SysRq you need map that usage to KEY_SYSRQ. Please > try doing: > > echo "458856 84" | keyfuzz -s -d/dev/input/eventX oh, great! finally I got to remap F13 to SysRq (which was keycode 99). would be nice to have some informations in the manpage about how to find/dump those raw scancodes, cause with showkey/evtest I only see translated keycodes. [I added keyfuzz's author to CC ;)] thank you Dmitry -- Federico Ferri