From acf5f186c3f4fe24e7f8e75b9bf9c25d18b4ee13 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 22 Jul 2005 11:11:31 +0000 Subject: initscripts: added two new keys to c7x0 keymap: PageUp - Fn+Up PageDown - Fn+Down --- packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map | 2 ++ packages/initscripts/initscripts_1.0.bb | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/initscripts') diff --git a/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map b/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map index 5b576ecc93..dc7fa37401 100644 --- a/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map +++ b/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map @@ -108,11 +108,13 @@ keycode 88 = F11 keycode 97 = Control keycode 99 = F12 keycode 103 = Up + altgr keycode 103 = PageUp keycode 105 = Left altgr keycode 105 = Decr_Console keycode 106 = Right altgr keycode 106 = Incr_Console keycode 108 = Down + altgr keycode 108 = PageDown string F1 = "\033[[A" string F2 = "\033[[B" string F3 = "\033[[C" diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb index 3fbbda4cf8..cdb418e646 100644 --- a/packages/initscripts/initscripts_1.0.bb +++ b/packages/initscripts/initscripts_1.0.bb @@ -6,7 +6,7 @@ DEPENDS = "makedevs" DEPENDS_openzaurus = "makedevs virtual/kernel" RDEPENDS = "makedevs" LICENSE = "GPL" -PR = "r48" +PR = "r49" SRC_URI = "file://halt \ file://ramdisk \ -- cgit v1.2.3 From 33915eef51db1dd1f6e43bb61c92eb30c68b51b7 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Fri, 22 Jul 2005 12:11:22 +0000 Subject: recreate initscripts patch that has been lost during our db chaos hopefully the last time... --- packages/initscripts/initscripts_1.0.bb | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) (limited to 'packages/initscripts') diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb index cdb418e646..32cfc6c7a6 100644 --- a/packages/initscripts/initscripts_1.0.bb +++ b/packages/initscripts/initscripts_1.0.bb @@ -6,7 +6,7 @@ DEPENDS = "makedevs" DEPENDS_openzaurus = "makedevs virtual/kernel" RDEPENDS = "makedevs" LICENSE = "GPL" -PR = "r49" +PR = "r50" SRC_URI = "file://halt \ file://ramdisk \ @@ -30,15 +30,13 @@ SRC_URI = "file://halt \ file://umountnfs.sh \ file://sysfs.sh \ file://device_table.txt \ - file://populate-volatile.sh \ - file://volatiles \ - file://corgikeymap-2.6.map \ - file://tosakeymap-2.6.map" + file://populate-volatile.sh \ + file://volatiles \ + file://keymap \ + file://keymap*.map" SRC_URI_append_arm = " file://alignment.sh" SRC_URI_append_openzaurus = " file://checkversion" -SRC_URI_append_c7x0 = " file://keymap" -SRC_URI_append_tosa = " file://keymap" def read_kernel_version(d): import bb @@ -99,21 +97,10 @@ do_install () { ln -sf ../init.d/checkversion ${D}${sysconfdir}/rcS.d/S01version fi - if [ "${MACHINE}" == "c7x0" ]; then - install -m 0755 ${WORKDIR}/corgikeymap-2.6.map ${D}${sysconfdir} - install -m 0755 ${WORKDIR}/keymap ${D}${sysconfdir}/init.d - ln -sf ../init.d/keymap ${D}${sysconfdir}/rcS.d/S00keymap - fi - - if [ "${MACHINE}" == "tosa" ]; then - install -m 0755 ${WORKDIR}/tosakeymap-2.6.map ${D}${sysconfdir} - install -m 0755 ${WORKDIR}/keymap ${D}${sysconfdir}/init.d - ln -sf ../init.d/keymap ${D}${sysconfdir}/rcS.d/S00keymap - fi - install -m 0755 ${WORKDIR}/banner ${D}${sysconfdir}/init.d/banner install -m 0755 ${WORKDIR}/devices ${D}${sysconfdir}/init.d/devices install -m 0755 ${WORKDIR}/umountfs ${D}${sysconfdir}/init.d/umountfs + install -m 0755 ${WORKDIR}/keymap ${D}${sysconfdir}/init.d/keymap # # Create runlevel links # @@ -132,6 +119,7 @@ do_install () { ln -sf ../init.d/umountnfs.sh ${D}${sysconfdir}/rc0.d/S31umountnfs.sh # ln -sf ../init.d/umountfs ${D}${sysconfdir}/rc0.d/S40umountfs ln -sf ../init.d/halt ${D}${sysconfdir}/rc0.d/S90halt + ln -sf ../init.d/keymap ${D}${sysconfdir}/rcS.d/S00keymap ln -sf ../init.d/banner ${D}${sysconfdir}/rcS.d/S02banner ln -sf ../init.d/checkroot.sh ${D}${sysconfdir}/rcS.d/S10checkroot.sh # ln -sf ../init.d/checkfs.sh ${D}${sysconfdir}/rcS.d/S30checkfs.sh @@ -150,5 +138,6 @@ do_install () { ln -sf ../init.d/alignment.sh ${D}${sysconfdir}/rcS.d/S06alignment fi - install -m 0755 ${WORKDIR}/device_table.txt ${D}${sysconfdir}/device_table + install -m 0755 ${WORKDIR}/device_table.txt ${D}${sysconfdir}/device_table + install -m 0644 ${WORKDIR}/keymap*.map ${D}${sysconfdir} } -- cgit v1.2.3 From eef260859916b998e0ff64c12a186ff386ca6051 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Fri, 22 Jul 2005 12:51:12 +0000 Subject: initscripts: do the keymap stuff a bit less generic to make it play more nice with machies and distributions that don't need it --- .../initscripts-1.0/c7x0/keymap-2.6.map | 0 packages/initscripts/initscripts-1.0/keymap | 0 packages/initscripts/initscripts_1.0.bb | 28 +++++++++++++++------- 3 files changed, 19 insertions(+), 9 deletions(-) mode change 100644 => 100755 packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map mode change 100644 => 100755 packages/initscripts/initscripts-1.0/keymap (limited to 'packages/initscripts') diff --git a/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map b/packages/initscripts/initscripts-1.0/c7x0/keymap-2.6.map old mode 100644 new mode 100755 diff --git a/packages/initscripts/initscripts-1.0/keymap b/packages/initscripts/initscripts-1.0/keymap old mode 100644 new mode 100755 diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb index 32cfc6c7a6..f61f1e8128 100644 --- a/packages/initscripts/initscripts_1.0.bb +++ b/packages/initscripts/initscripts_1.0.bb @@ -32,11 +32,14 @@ SRC_URI = "file://halt \ file://device_table.txt \ file://populate-volatile.sh \ file://volatiles \ - file://keymap \ - file://keymap*.map" + file://keymap" -SRC_URI_append_arm = " file://alignment.sh" -SRC_URI_append_openzaurus = " file://checkversion" +SRC_URI_append_arm = " file://alignment.sh" +SRC_URI_append_openzaurus = " file://checkversion" +SRC_URI_append_c7x0 = " file://keymap-*.map" +SRC_URI_append_tosa = " file://keymap-*.map" +SRC_URI_append_akita = " file://keymap-*.map" +SRC_URI_append_spitz = " file://keymap-*.map" def read_kernel_version(d): import bb @@ -93,14 +96,23 @@ do_install () { if [ "${DISTRO}" == "openzaurus" ]; then cat ${WORKDIR}/checkversion | sed -e "s,VERSION,${KERNEL_VERSION}-${DISTRO_VERSION}," > ${D}${sysconfdir}/init.d/checkversion - chmod 0755 ${D}${sysconfdir}/init.d/checkversion - ln -sf ../init.d/checkversion ${D}${sysconfdir}/rcS.d/S01version + chmod 0755 ${D}${sysconfdir}/init.d/checkversion + ln -sf ../init.d/checkversion ${D}${sysconfdir}/rcS.d/S01version fi + case ${MACHINE} in + c7x0 | tosa | spitz | akita ) + install -m 0755 ${WORKDIR}/keymap ${D}${sysconfdir}/init.d + ln -sf ../init.d/keymap ${D}${sysconfdir}/rcS.d/S00keymap + install -m 0644 ${WORKDIR}/keymap-*.map ${D}${sysconfdir} + ;; + *) + ;; + esac + install -m 0755 ${WORKDIR}/banner ${D}${sysconfdir}/init.d/banner install -m 0755 ${WORKDIR}/devices ${D}${sysconfdir}/init.d/devices install -m 0755 ${WORKDIR}/umountfs ${D}${sysconfdir}/init.d/umountfs - install -m 0755 ${WORKDIR}/keymap ${D}${sysconfdir}/init.d/keymap # # Create runlevel links # @@ -119,7 +131,6 @@ do_install () { ln -sf ../init.d/umountnfs.sh ${D}${sysconfdir}/rc0.d/S31umountnfs.sh # ln -sf ../init.d/umountfs ${D}${sysconfdir}/rc0.d/S40umountfs ln -sf ../init.d/halt ${D}${sysconfdir}/rc0.d/S90halt - ln -sf ../init.d/keymap ${D}${sysconfdir}/rcS.d/S00keymap ln -sf ../init.d/banner ${D}${sysconfdir}/rcS.d/S02banner ln -sf ../init.d/checkroot.sh ${D}${sysconfdir}/rcS.d/S10checkroot.sh # ln -sf ../init.d/checkfs.sh ${D}${sysconfdir}/rcS.d/S30checkfs.sh @@ -139,5 +150,4 @@ do_install () { fi install -m 0755 ${WORKDIR}/device_table.txt ${D}${sysconfdir}/device_table - install -m 0644 ${WORKDIR}/keymap*.map ${D}${sysconfdir} } -- cgit v1.2.3 From d0f32413b2d45443bc2e408474065ffcf5a3de8e Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Fri, 22 Jul 2005 23:01:11 +0000 Subject: initscripts: add sane keymap for tosa running 2.4 this keymap contains the mappings for special buttons to F-keys --- .../initscripts-1.0/tosa/keymap-2.4.map | 131 +++++++++++++++++++++ packages/initscripts/initscripts_1.0.bb | 2 +- 2 files changed, 132 insertions(+), 1 deletion(-) create mode 100644 packages/initscripts/initscripts-1.0/tosa/keymap-2.4.map (limited to 'packages/initscripts') diff --git a/packages/initscripts/initscripts-1.0/tosa/keymap-2.4.map b/packages/initscripts/initscripts-1.0/tosa/keymap-2.4.map new file mode 100644 index 0000000000..4a6bca982d --- /dev/null +++ b/packages/initscripts/initscripts-1.0/tosa/keymap-2.4.map @@ -0,0 +1,131 @@ +keymaps 0-1,4-5 +alt_is_meta +keycode 1 = a +keycode 2 = b +keycode 3 = c +keycode 4 = d +keycode 5 = e +keycode 6 = f +keycode 7 = g +keycode 8 = h +keycode 9 = i +keycode 10 = j +keycode 11 = k +keycode 12 = l +keycode 13 = m +keycode 14 = n +keycode 15 = o +keycode 16 = p +keycode 17 = q +keycode 18 = r +keycode 19 = s +keycode 20 = t +keycode 21 = u +keycode 22 = v +keycode 23 = w +keycode 24 = x +keycode 25 = y +keycode 26 = z +keycode 27 = Shift +keycode 28 = Return +keycode 29 = F11 +keycode 30 = AltGr +keycode 31 = BackSpace +keycode 32 = bar +keycode 33 = F15 +keycode 34 = Escape +keycode 35 = Left +keycode 36 = Up +keycode 37 = Down +keycode 38 = Right +keycode 39 = Return +keycode 40 = F12 +keycode 41 = one +keycode 42 = two +keycode 43 = three +keycode 44 = four +keycode 45 = five +keycode 46 = six +keycode 47 = seven +keycode 48 = eight +keycode 49 = nine +keycode 50 = zero +keycode 51 = +adiaeresis +keycode 52 = +udiaeresis +keycode 53 = +odiaeresis +keycode 54 = +Adiaeresis +keycode 55 = +Udiaeresis +keycode 56 = +Odiaeresis +keycode 57 = +ssharp +keycode 58 = minus +keycode 59 = plus +keycode 60 = Shift_Lock +keycode 61 = at +keycode 62 = question +keycode 63 = comma +keycode 64 = period +keycode 65 = Tab +keycode 66 = F5 +keycode 67 = F6 +keycode 68 = F7 +keycode 69 = slash +keycode 70 = apostrophe +keycode 71 = semicolon +keycode 72 = quotedbl +keycode 73 = colon +keycode 74 = numbersign +keycode 75 = dollar +keycode 76 = percent +keycode 77 = underscore +keycode 78 = ampersand +keycode 79 = asterisk +keycode 80 = parenleft +keycode 81 = Delete +keycode 82 = F10 +keycode 83 = equal +keycode 84 = parenright +keycode 85 = asciitilde +keycode 86 = less +keycode 87 = greater +keycode 88 = F9 +keycode 89 = F10 +keycode 90 = F13 +keycode 91 = space + control keycode 91 = nul +keycode 92 = space + control keycode 92 = nul +keycode 93 = +keycode 94 = exclam +keycode 95 = +keycode 96 = +keycode 97 = +keycode 98 = +keycode 99 = +keycode 100 = +keycode 101 = +keycode 102 = +keycode 103 = Shift +keycode 104 = Control +keycode 105 = Control +keycode 106 = Alt +keycode 107 = Alt +keycode 108 = AltGr +keycode 109 = +keycode 110 = +keycode 111 = +keycode 112 = +keycode 113 = +keycode 114 = +keycode 115 = +keycode 116 = +keycode 117 = +keycode 118 = +keycode 119 = +keycode 120 = F24 +keycode 121 = +keycode 122 = +keycode 123 = +keycode 124 = +keycode 125 = +keycode 126 = +keycode 127 = diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb index f61f1e8128..76755e1744 100644 --- a/packages/initscripts/initscripts_1.0.bb +++ b/packages/initscripts/initscripts_1.0.bb @@ -6,7 +6,7 @@ DEPENDS = "makedevs" DEPENDS_openzaurus = "makedevs virtual/kernel" RDEPENDS = "makedevs" LICENSE = "GPL" -PR = "r50" +PR = "r51" SRC_URI = "file://halt \ file://ramdisk \ -- cgit v1.2.3