diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/keymaps/files/poodle/keymap-2.6.map | 315 | ||||
-rw-r--r-- | packages/keymaps/keymaps_1.0.bb | 2 | ||||
-rw-r--r-- | packages/linux/linux-openzaurus-2.6.16/defconfig-poodle | 4 | ||||
-rw-r--r-- | packages/linux/linux-openzaurus-2.6.16/locomo-kbd-hotkeys.patch | 56 | ||||
-rw-r--r-- | packages/linux/linux-openzaurus_2.6.16.bb | 2 |
5 files changed, 113 insertions, 266 deletions
diff --git a/packages/keymaps/files/poodle/keymap-2.6.map b/packages/keymaps/files/poodle/keymap-2.6.map index 9aca5abb38..62ced3114e 100644 --- a/packages/keymaps/files/poodle/keymap-2.6.map +++ b/packages/keymaps/files/poodle/keymap-2.6.map @@ -1,262 +1,53 @@ -# Note: -# The way in which the modifiers are handled are quite different -# than how they were handled in the 2.4.6-rmk1-np2-embedix kernel. -# -# Here, we simply pass up Fn as Control, and the german accent key -# as Altgr, and simply use a proper keymap. Said keymap is as -# follows. -# keymaps 0-2,4-5,8,12,20 -keycode 1 = Escape Escape -keycode 14 = BackSpace - shift keycode 14 = BackSpace - control keycode 14 = Delete - shiftl control keycode 14 = bracketleft - control shiftr keycode 14 = bracketleft -keycode 15 = Tab Tab - shift keycode 15 = backslash - control keycode 15 = Caps_Lock - shiftl control keycode 15 = Caps_Lock - control shiftr keycode 15 = Caps_Lock -keycode 16 = q - control keycode 16 = one - shiftl control keycode 16 = Control_q - control shiftr keycode 16 = Meta_q -keycode 17 = w - control keycode 17 = two - shiftl control keycode 17 = Control_w - control shiftr keycode 17 = Meta_w -keycode 18 = e - control keycode 18 = three - shiftl control keycode 18 = Control_e - control shiftr keycode 18 = Meta_e -keycode 19 = r - control keycode 19 = four - shiftr control keycode 19 = Control_r - control shiftl keycode 19 = Meta_r -keycode 20 = t - control keycode 20 = five - shiftl control keycode 20 = Control_t - control shiftr keycode 20 = Meta_t -keycode 21 = y - control keycode 21 = six - shiftl control keycode 21 = Control_y - control shiftr keycode 21 = Meta_y -keycode 22 = u - control keycode 22 = seven - shiftl control keycode 22 = Control_u - control shiftr keycode 22 = Meta_u -keycode 23 = i - control keycode 23 = eight - shiftl control keycode 23 = Control_i - control shiftr keycode 23 = Meta_i -keycode 24 = o - control keycode 24 = nine - shiftl control keycode 24 = Control_o - control shiftr keycode 24 = Meta_o -keycode 25 = p - control keycode 25 = zero - shiftl control keycode 25 = Control_p - control shiftr keycode 25 = Meta_p -keycode 28 = Return - control keycode 28 = greater - shiftl control keycode 28 = braceright - control shiftr keycode 28 = braceright -keycode 29 = Control -keycode 30 = a - control keycode 30 = exclam - shiftl control keycode 30 = Control_a - control shiftr keycode 30 = Meta_a -keycode 31 = s - control keycode 31 = at - shiftl control keycode 31 = Control_s - control shiftr keycode 31 = Meta_s -keycode 32 = d - control keycode 32 = numbersign - shiftl control keycode 32 = Control_d - control shiftr keycode 32 = Meta_d -keycode 33 = f - control keycode 33 = dollar - shiftl control keycode 33 = Control_f - control shiftr keycode 33 = Meta_f -keycode 34 = g - control keycode 34 = percent - shiftl control keycode 34 = Control_g - control shiftr keycode 34 = Meta_g -keycode 35 = h - control keycode 35 = underscore - shiftl control keycode 35 = BackSpace - control shiftr keycode 35 = BackSpace -keycode 36 = j - control keycode 36 = ampersand - shiftl control keycode 36 = Linefeed - control shiftr keycode 36 = Linefeed -keycode 37 = k - control keycode 37 = asterisk - shiftl control keycode 37 = Control_k - control shiftr keycode 37 = Meta_k -keycode 38 = l - control keycode 38 = bracketleft - shiftl control keycode 51 = parenleft - control shiftr keycode 51 = parenleft -keycode 40 = apostrophe quotedbl - control keycode 40 = asciitilde - shiftl control keycode 40 = asciicircum - control shiftr keycode 40 = asciicircum -keycode 42 = Shift -keycode 44 = z - control keycode 44 = Control_z - shiftl control keycode 44 = Control_z - control shiftr keycode 44 = Meta_z -keycode 45 = x - control keycode 45 = Control_x - shiftl control keycode 45 = Control_x - control shiftr keycode 45 = Meta_x -keycode 46 = c - control keycode 46 = Control_c - shiftl control keycode 46 = Control_c - control shiftr keycode 46 = Meta_c -keycode 47 = v - control keycode 47 = Control_v - shiftl control keycode 47 = Control_v - control shiftr keycode 47 = Meta_v -## current location ## -keycode 48 = b - control keycode 48 = minus - shiftl control keycode 48 = Control_b - control shiftr keycode 48 = Meta_b -keycode 49 = n - control keycode 49 = plus - shiftl control keycode 49 = Control_n - control shiftr keycode 49 = Meta_n -keycode 50 = m - control keycode 50 = equal - shiftl control keycode 50 = Control_m - control shiftr keycode 50 = Meta_m -keycode 51 = comma - shift keycode 51 = semicolon - control keycode 51 = bracketright - shiftl control keycode 51 = parenright - control shiftr keycode 51 = parenright -keycode 52 = period - shift keycode 52 = colon - control keycode 52 = less - shiftl control keycode 52 = braceleft - control shiftr keycode 52 = braceleft -keycode 53 = slash - shift keycode 53 = question - control keycode 53 = Num_Lock - shiftl control keycode 53 = Num_Lock - control shiftr keycode 53 = Num_Lock -keycode 54 = Shift -keycode 55 = KP_Multiply -keycode 56 = Alt -keycode 57 = space - shift keycode 57 = bar - control keycode 57 = nul - shiftl control keycode 57 = grave - control shiftr keycode 57 = grave -keycode 97 = Control -keycode 99 = Control_backslash - control keycode 99 = Control_backslash -keycode 100 = AltGr -keycode 103 = Up -keycode 105 = Left -keycode 106 = Right -keycode 107 = Select -keycode 108 = Down -string F1 = "\033[[A" -string F2 = "\033[[B" -string F3 = "\033[[C" -string F4 = "\033[[D" -string F5 = "\033[[E" -string F6 = "\033[17~" -string F7 = "\033[18~" -string F8 = "\033[19~" -string F9 = "\033[20~" -string F10 = "\033[21~" -string F11 = "\033[23~" -string F12 = "\033[24~" -string F13 = "\033[25~" -string F14 = "\033[26~" -string F15 = "\033[28~" -string F16 = "\033[29~" -string F17 = "\033[31~" -string F18 = "\033[32~" -string F19 = "\033[33~" -string F20 = "\033[34~" -string Find = "\033[1~" -string Insert = "\033[2~" -string Remove = "\033[3~" -string Select = "\033[4~" -string Prior = "\033[5~" -string Next = "\033[6~" -string Macro = "\033[M" -string Pause = "\033[P" -compose '`' 'A' to 'À' -compose '`' 'a' to 'à' -compose '\'' 'A' to 'Á' -compose '\'' 'a' to 'á' -compose '^' 'A' to 'Â' -compose '^' 'a' to 'â' -compose '~' 'A' to 'Ã' -compose '~' 'a' to 'ã' -compose '"' 'A' to 'Ä' -compose '"' 'a' to 'ä' -compose 'O' 'A' to 'Å' -compose 'o' 'a' to 'å' -compose '0' 'A' to 'Å' -compose '0' 'a' to 'å' -compose 'A' 'A' to 'Å' -compose 'a' 'a' to 'å' -compose 'A' 'E' to 'Æ' -compose 'a' 'e' to 'æ' -compose ',' 'C' to 'Ç' -compose ',' 'c' to 'ç' -compose '`' 'E' to 'È' -compose '`' 'e' to 'è' -compose '\'' 'E' to 'É' -compose '\'' 'e' to 'é' -compose '^' 'E' to 'Ê' -compose '^' 'e' to 'ê' -compose '"' 'E' to 'Ë' -compose '"' 'e' to 'ë' -compose '`' 'I' to 'Ì' -compose '`' 'i' to 'ì' -compose '\'' 'I' to 'Í' -compose '\'' 'i' to 'í' -compose '^' 'I' to 'Î' -compose '^' 'i' to 'î' -compose '"' 'I' to 'Ï' -compose '"' 'i' to 'ï' -compose '-' 'D' to 'Ð' -compose '-' 'd' to 'ð' -compose '~' 'N' to 'Ñ' -compose '~' 'n' to 'ñ' -compose '`' 'O' to 'Ò' -compose '`' 'o' to 'ò' -compose '\'' 'O' to 'Ó' -compose '\'' 'o' to 'ó' -compose '^' 'O' to 'Ô' -compose '^' 'o' to 'ô' -compose '~' 'O' to 'Õ' -compose '~' 'o' to 'õ' -compose '"' 'O' to 'Ö' -compose '"' 'o' to 'ö' -compose '/' 'O' to 'Ø' -compose '/' 'o' to 'ø' -compose '`' 'U' to 'Ù' -compose '`' 'u' to 'ù' -compose '\'' 'U' to 'Ú' -compose '\'' 'u' to 'ú' -compose '^' 'U' to 'Û' -compose '^' 'u' to 'û' -compose '"' 'U' to 'Ü' -compose '"' 'u' to 'ü' -compose '\'' 'Y' to 'Ý' -compose '\'' 'y' to 'ý' -compose 'T' 'H' to 'Þ' -compose 't' 'h' to 'þ' -compose 's' 's' to 'ß' -compose '"' 'y' to 'ÿ' -compose 's' 'z' to 'ß' -compose 'i' 'j' to 'ÿ' +keymaps 0-2,4,8,12 + +# Default Shift AltGr Control Alt Ctrl+Alt +keycode 1 = Escape Escape +keycode 58 = Control Control Control Control Control Control +keycode 60 = Alt Alt Alt Alt Alt Alt +#keycode 11 = # Menu +#keycode 27 = # Mail +#keycode ?? = # Home +keycode 103 = Up +keycode 105 = Left VoidSymbol Decr_Console +keycode 106 = Right VoidSymbol Incr_Console +keycode 108 = Down + +keycode 14 = BackSpace BackSpace Delete +keycode 15 = Tab backslash Caps_Lock +keycode 28 = Return VoidSymbol greater +keycode 29 = AltGr AltGr AltGr AltGr AltGr AltGr +keycode 40 = apostrophe quotedbl tilde +keycode 42 = Shift +keycode 51 = comma semicolon parenright +keycode 52 = period colon less +keycode 53 = slash question Num_Lock +keycode 54 = Shift +keycode 57 = space space bar + +keycode 16 = q Q one Control_q Meta_q +keycode 17 = w W two Control_w Meta_w +keycode 18 = e E three Control_e Meta_e +keycode 19 = r R four Control_r Meta_r +keycode 20 = t T five Control_t Meta_t +keycode 21 = y Y six Control_y Meta_y +keycode 22 = u U seven Control_u Meta_u +keycode 23 = i I eight Control_i Meta_i +keycode 24 = o O nine Control_o Meta_o +keycode 25 = p P zero Control_p Meta_p +keycode 30 = a A exclam Control_a Meta_a +keycode 31 = s S at Control_s Meta_s +keycode 32 = d D numbersign Control_d Meta_d +keycode 33 = f F dollar Control_f Meta_f +keycode 34 = g G percent Control_g Meta_g +keycode 35 = h H underscore Control_h Meta_h +keycode 36 = j J ampersand Control_j Meta_j +keycode 37 = k K asterisk Control_k Meta_k +keycode 38 = l L parenleft Control_l Meta_l +keycode 44 = z Z VoidSymbol Control_z Meta_z +keycode 45 = x X Control_x Control_x Meta_x +keycode 46 = c C Control_c Control_c Meta_c +keycode 47 = v V Control_v Control_v Meta_v +keycode 48 = b B minus Control_b Meta_b +keycode 49 = n N plus Control_n Meta_n +keycode 50 = m M equal Control_m Meta_m + diff --git a/packages/keymaps/keymaps_1.0.bb b/packages/keymaps/keymaps_1.0.bb index 350a7e0e08..06d070e39e 100644 --- a/packages/keymaps/keymaps_1.0.bb +++ b/packages/keymaps/keymaps_1.0.bb @@ -4,7 +4,7 @@ MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>" RDEPENDS = "initscripts console-tools" LICENSE = "GPL" PACKAGE_ARCH = "${MACHINE}" -PR = "r3" +PR = "r4" inherit update-rc.d diff --git a/packages/linux/linux-openzaurus-2.6.16/defconfig-poodle b/packages/linux/linux-openzaurus-2.6.16/defconfig-poodle index 5336e66e83..bd2b8ef2c2 100644 --- a/packages/linux/linux-openzaurus-2.6.16/defconfig-poodle +++ b/packages/linux/linux-openzaurus-2.6.16/defconfig-poodle @@ -1023,13 +1023,13 @@ CONFIG_DUMMY_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y CONFIG_FONTS=y -CONFIG_FONT_8x8=y +# CONFIG_FONT_8x8 is not set # CONFIG_FONT_8x16 is not set # CONFIG_FONT_6x11 is not set # CONFIG_FONT_7x14 is not set # CONFIG_FONT_PEARL_8x8 is not set # CONFIG_FONT_ACORN_8x8 is not set -# CONFIG_FONT_MINI_4x6 is not set +CONFIG_FONT_MINI_4x6=y # CONFIG_FONT_SUN8x16 is not set # CONFIG_FONT_SUN12x22 is not set # CONFIG_FONT_10x18 is not set diff --git a/packages/linux/linux-openzaurus-2.6.16/locomo-kbd-hotkeys.patch b/packages/linux/linux-openzaurus-2.6.16/locomo-kbd-hotkeys.patch new file mode 100644 index 0000000000..44a37dbc29 --- /dev/null +++ b/packages/linux/linux-openzaurus-2.6.16/locomo-kbd-hotkeys.patch @@ -0,0 +1,56 @@ +--- linux-2.6.16/drivers/input/keyboard/locomokbd.c 2006-05-11 18:15:17.392063008 +0200 ++++ linux-2.6.16/drivers/input/keyboard/locomokbd.c.ok 2006-05-11 18:14:55.870334808 +0200 +@@ -44,24 +44,29 @@ + + #define LOCOMOKBD_NUMKEYS 128 + +-#define KEY_ACTIVITY KEY_F16 +-#define KEY_CONTACT KEY_F18 +-#define KEY_CENTER KEY_F15 ++ ++#define LOCOMO_KEY_CALENDER KEY_F1 ++#define LOCOMO_KEY_ADDRESS KEY_F2 ++#define LOCOMO_KEY_CANCEL KEY_F4 ++#define LOCOMO_KEY_CENTER KEY_F5 ++#define LOCOMO_KEY_MAIL KEY_F10 ++#define LOCOMO_KEY_OK KEY_F11 ++#define LOCOMO_KEY_MENU KEY_F12 + + static unsigned char locomokbd_keycode[LOCOMOKBD_NUMKEYS] = { +- 0, KEY_ESC, KEY_ACTIVITY, 0, 0, 0, 0, 0, 0, 0, /* 0 - 9 */ +- 0, 0, 0, 0, 0, 0, 0, KEY_MENU, KEY_HOME, KEY_CONTACT, /* 10 - 19 */ +- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, /* 20 - 29 */ +- 0, 0, 0, KEY_CENTER, 0, KEY_MAIL, 0, 0, 0, 0, /* 30 - 39 */ +- 0, 0, 0, 0, 0, 0, 0, 0, 0, KEY_RIGHT, /* 40 - 49 */ +- KEY_UP, KEY_LEFT, 0, 0, KEY_P, 0, KEY_O, KEY_I, KEY_Y, KEY_T, /* 50 - 59 */ +- KEY_E, KEY_W, 0, 0, 0, 0, KEY_DOWN, KEY_ENTER, 0, 0, /* 60 - 69 */ +- KEY_BACKSPACE, 0, KEY_L, KEY_U, KEY_H, KEY_R, KEY_D, KEY_Q, 0, 0, /* 70 - 79 */ +- 0, 0, 0, 0, 0, 0, KEY_ENTER, KEY_RIGHTSHIFT, KEY_K, KEY_J, /* 80 - 89 */ +- KEY_G, KEY_F, KEY_X, KEY_S, 0, 0, 0, 0, 0, 0, /* 90 - 99 */ +- 0, 0, KEY_DOT, 0, KEY_COMMA, KEY_N, KEY_B, KEY_C, KEY_Z, KEY_A, /* 100 - 109 */ +- KEY_LEFTSHIFT, KEY_TAB, KEY_LEFTCTRL, 0, 0, 0, 0, 0, 0, 0, /* 110 - 119 */ +- KEY_M, KEY_SPACE, KEY_V, KEY_APOSTROPHE, KEY_SLASH, 0, 0, 0 /* 120 - 128 */ ++ 0, LOCOMO_KEY_CANCEL, LOCOMO_KEY_CALENDER, KEY_HOME, 0, 0, 0, 0, 0, 0, /* 0 - 9 */ ++ KEY_HOME, 0, 0, 0, 0, 0, 0, LOCOMO_KEY_MENU, KEY_HOME, LOCOMO_KEY_ADDRESS, /* 10 - 19 */ ++ 0, 0, 0, 0, 0, LOCOMO_KEY_MAIL, 0, 0, 0, 0, /* 20 - 29 */ ++ 0, 0, 0, LOCOMO_KEY_CENTER, 0, LOCOMO_KEY_MAIL, 0, 0, 0, 0, /* 30 - 39 */ ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, KEY_RIGHT, /* 40 - 49 */ ++ KEY_UP, KEY_LEFT, 0, 0, KEY_P, 0, KEY_O, KEY_I, KEY_Y, KEY_T, /* 50 - 59 */ ++ KEY_E, KEY_W, 0, 0, 0, 0, KEY_DOWN, LOCOMO_KEY_OK, 0, 0, /* 60 - 69 */ ++ KEY_BACKSPACE, 0, KEY_L, KEY_U, KEY_H, KEY_R, KEY_D, KEY_Q, 0, 0, /* 70 - 79 */ ++ 0, 0, 0, 0, 0, 0, KEY_ENTER, KEY_RIGHTSHIFT, KEY_K, KEY_J, /* 80 - 89 */ ++ KEY_G, KEY_F, KEY_X, KEY_S, 0, 0, 0, 0, 0, 0, /* 90 - 99 */ ++ 0, 0, KEY_DOT, 0, KEY_COMMA, KEY_N, KEY_B, KEY_C, KEY_Z, KEY_A, /* 100 - 109 */ ++ KEY_LEFTSHIFT, KEY_TAB, KEY_LEFTCTRL, 0, 0, 0, 0, 0, 0, 0, /* 110 - 119 */ ++ KEY_M, KEY_SPACE, KEY_V, KEY_APOSTROPHE, KEY_SLASH, 0, 0, 0 /* 120 - 128 */ + }; + + #define KB_ROWS 16 +@@ -150,6 +155,7 @@ + for (row = 0; row < KB_ROWS; row++) { + scancode = SCANCODE(col, row); + if (rowd & KB_ROWMASK(row)) { ++ /* printk(KERN_ERR "locomokbd: COL [%i] ROW [%i] scancode [%i] keycode [%i]\n",col,row,scancode,locomokbd->keycode[scancode]); */ + num_pressed += 1; + input_report_key(locomokbd->input, locomokbd->keycode[scancode], 1); + } else { diff --git a/packages/linux/linux-openzaurus_2.6.16.bb b/packages/linux/linux-openzaurus_2.6.16.bb index c2d6531a1f..6692abc4e6 100644 --- a/packages/linux/linux-openzaurus_2.6.16.bb +++ b/packages/linux/linux-openzaurus_2.6.16.bb @@ -1,6 +1,6 @@ include linux-openzaurus.inc -PR = "r21" +PR = "r22" # Handy URLs # git://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git \ |