FreeBSD Bugzilla – Attachment 112106 Details for
Bug 153459
[kbdmux][patch] add option to specify built-in keymap
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
a.diff
a.diff (text/plain), 2.81 KB, created by
swell.k
on 2010-12-27 00:20:08 UTC
(
hide
)
Description:
a.diff
Filename:
MIME Type:
Creator:
swell.k
Created:
2010-12-27 00:20:08 UTC
Size:
2.81 KB
patch
obsolete
>Index: sys/conf/files >=================================================================== >--- sys/conf/files (revision 216710) >+++ sys/conf/files (working copy) >@@ -107,6 +107,10 @@ > compile-with "${AWK} -f $S/teken/gensequences $S/teken/sequences > teken_state.h" \ > no-obj no-implicit-rule before-depend \ > clean "teken_state.h" >+kbdmuxmap.h optional kbdmux_dflt_keymap \ >+ compile-with "/usr/sbin/kbdcontrol -L ${KBDMUX_DFLT_KEYMAP} | sed -e 's/^static keymap_t.* = /static keymap_t key_map = /' -e 's/^static accentmap_t.* = /static accentmap_t accent_map = /' > kbdmuxmap.h" \ >+ no-obj no-implicit-rule before-depend \ >+ clean "kbdmuxmap.h" > usbdevs.h optional usb \ > dependency "$S/tools/usbdevs2h.awk $S/dev/usb/usbdevs" \ > compile-with "${AWK} -f $S/tools/usbdevs2h.awk $S/dev/usb/usbdevs -h" \ >Index: sys/conf/options >=================================================================== >--- sys/conf/options (revision 216710) >+++ sys/conf/options (working copy) >@@ -754,6 +757,8 @@ > KBD_MAXWAIT opt_kbd.h > KBD_RESETDELAY opt_kbd.h > KBDIO_DEBUG opt_kbd.h >+ >+KBDMUX_DFLT_KEYMAP opt_kbdmux.h > > # options for the Atheros driver > ATH_DEBUG opt_ath.h >Index: sys/dev/kbdmux/kbdmux.c >=================================================================== >--- sys/dev/kbdmux/kbdmux.c (revision 216710) >+++ sys/dev/kbdmux/kbdmux.c (working copy) >@@ -33,6 +33,7 @@ > > #include "opt_compat.h" > #include "opt_kbd.h" >+#include "opt_kbdmux.h" > > #include <sys/param.h> > #include <sys/bus.h> >@@ -54,6 +55,14 @@ > #include <sys/taskqueue.h> > #include <sys/uio.h> > #include <dev/kbd/kbdreg.h> >+ >+/* the initial key map, accent map and fkey strings */ >+#ifdef KBDMUX_DFLT_KEYMAP >+#define KBD_DFLT_KEYMAP >+#include "kbdmuxmap.h" >+#endif >+ >+/* the following file must be included after "kbdmuxmap.h" */ > #include <dev/kbd/kbdtables.h> > > #define KEYBOARD_NAME "kbdmux" >Index: sys/modules/kbdmux/Makefile >=================================================================== >--- sys/modules/kbdmux/Makefile (revision 216710) >+++ sys/modules/kbdmux/Makefile (working copy) >@@ -4,7 +4,7 @@ > .PATH: ${.CURDIR}/../../dev/kbdmux > > KMOD= kbdmux >-SRCS= kbdmux.c opt_compat.h opt_kbd.h bus_if.h device_if.h >+SRCS= kbdmux.c opt_compat.h opt_kbd.h opt_kbdmux.h bus_if.h device_if.h > > .if !defined(KERNBUILDDIR) > opt_compat.h: >Index: sys/conf/NOTES >=================================================================== >--- sys/conf/NOTES (revision 216710) >+++ sys/conf/NOTES (working copy) >@@ -1373,6 +1373,10 @@ > options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > >+device kbdmux # keyboard multiplexer >+options KBDMUX_DFLT_KEYMAP # specify the built-in keymap >+makeoptions KBDMUX_DFLT_KEYMAP=it.iso >+ > options FB_DEBUG # Frame buffer debugging > > device splash # Splash screen and screen saver support
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 153459
: 112106 |
147682