Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 63042 Details for
Bug 97388
setkeycodes b725 84 doesn't work (KDSETKEYCODE: No such device) changing the magic sysrq key on usb kbd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sysrq_scancode.patch
sysrq_scancode2.patch (text/plain), 1.39 KB, created by
Federico Ferri (RETIRED)
on 2005-07-09 16:30:43 UTC
(
hide
)
Description:
sysrq_scancode.patch
Filename:
MIME Type:
Creator:
Federico Ferri (RETIRED)
Created:
2005-07-09 16:30:43 UTC
Size:
1.39 KB
patch
obsolete
>diff -uprN linux.orig/include/linux/input.h linux/include/linux/input.h >--- linux.orig/include/linux/input.h 2005-07-09 21:48:19.000000000 +0200 >+++ linux/include/linux/input.h 2005-07-09 21:50:14.000000000 +0200 >@@ -204,7 +204,13 @@ struct input_absinfo { > #define KEY_KPENTER 96 > #define KEY_RIGHTCTRL 97 > #define KEY_KPSLASH 98 >+ >+#if defined(CONFIG_MAGIC_SYSRQ) && defined(CONFIG_MAGIC_SYSRQ_SCANCODE) >+#define KEY_SYSRQ CONFIG_MAGIC_SYSRQ_SCANCODE >+#else > #define KEY_SYSRQ 99 >+#endif >+ > #define KEY_RIGHTALT 100 > #define KEY_LINEFEED 101 > #define KEY_HOME 102 >diff -uprN linux.orig/lib/Kconfig.debug linux/lib/Kconfig.debug >--- linux.orig/lib/Kconfig.debug 2005-07-09 21:47:22.000000000 +0200 >+++ linux/lib/Kconfig.debug 2005-07-09 21:50:44.000000000 +0200 >@@ -28,6 +28,16 @@ config MAGIC_SYSRQ > send a BREAK and then within 5 seconds a command keypress. The > keys are documented in <file:Documentation/sysrq.txt>. Don't say Y > unless you really know what this hack does. >+ >+config MAGIC_SYSRQ_SCANCODE >+ int >+ prompt "Change default scancode of SysRq key" if MAGIC_SYSRQ >+ default 99 >+ depends on MAGIC_SYSRQ >+ help >+ If your keyboard hasn't a SysRq key, you can specify another key >+ which should act as SysRq. You can find the scancode on your >+ keyboard with programs like showkey or evtest. > > config LOG_BUF_SHIFT > int "Kernel log buffer size (16 => 64KB, 17 => 128KB)" if DEBUG_KERNEL
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 97388
:
62231
|
63042
|
63466