summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-05-25 11:59:26 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-25 11:59:26 +0000
commit62be5a5ffe0f30551c1e92edf56ddccc4056e421 (patch)
tree21af0111e29a63ab61cc56202418e4c805dd32f6
parentf0b2f4dbe65e29fe5d2acabdfdb3478271939823 (diff)
parent13af56a1eff8f8f97f80ff34012f54d104cf7a9a (diff)
merge of 8fb156c1063985412f3d3d473d7c4641b7c1ce8c
and b04511549df1568005f531875b06fcbdfb7ee3c2
-rw-r--r--packages/altboot/altboot_1.0.7-rc4.bb (renamed from packages/altboot/altboot_1.0.7-rc3.bb)0
-rw-r--r--packages/altboot/files/init.altboot10
-rw-r--r--packages/xserver-common/files/poodle-xmodmap-2.6.patch42
-rw-r--r--packages/xserver-common/xserver-common_1.9.bb5
4 files changed, 52 insertions, 5 deletions
diff --git a/packages/altboot/altboot_1.0.7-rc3.bb b/packages/altboot/altboot_1.0.7-rc4.bb
index 245cf2a426..245cf2a426 100644
--- a/packages/altboot/altboot_1.0.7-rc3.bb
+++ b/packages/altboot/altboot_1.0.7-rc4.bb
diff --git a/packages/altboot/files/init.altboot b/packages/altboot/files/init.altboot
index 08ba81e962..2c106efa73 100644
--- a/packages/altboot/files/init.altboot
+++ b/packages/altboot/files/init.altboot
@@ -177,9 +177,12 @@ run_timer() {
case "`uname -r`" in
2.4*) key_ints="`cat /proc/interrupts | grep keyboard | awk '{print $2}'`";;
2.6*) key_ints="`cat /proc/interrupts | grep Spitzkbd`"
- test -z "$key_ints" && key_ints="`cat /proc/interrupts | grep -i corgikbd`";;
+ test -z "$key_ints" && key_ints="`cat /proc/interrupts | grep -i corgikbd`"
+ test -z "$key_ints" && key_ints="`cat /proc/interrupts | grep -i locomokbd`";;
esac
+ test -z "$key_ints" && debug_echo "Couldn't read keyboard ints!"
+
stty -echo <"$OUT_TTY" >"$OUT_TTY" 2>&1
echo -en "\n\nPlease press any key to launch altboot." > "$OUT_TTY"
@@ -192,7 +195,8 @@ run_timer() {
case "`uname -r`" in
2.4*) key_ints_now="`cat /proc/interrupts | grep keyboard | awk '{print $2}'`";;
2.6*) key_ints_now="`cat /proc/interrupts | grep Spitzkbd`"
- test -z "$key_ints_now" && key_ints_now="`cat /proc/interrupts | grep -i corgikbd`";;
+ test -z "$key_ints_now" && key_ints_now="`cat /proc/interrupts | grep -i corgikbd`"
+ test -z "$key_ints_now" && key_ints_now="`cat /proc/interrupts | grep -i locomokbd`";;
esac
if test "$key_ints_now" != "$key_ints" -o -z "$key_ints_now"
@@ -323,7 +327,7 @@ then
debug_shell 4 >/dev/null 2>&1 &
fi
-if test -f /proc/cmdline -a "`ps ax|wc -l|tr -d " "`" -gt 30 -a "$1" != "-force"
+if test -f /proc/cmdline -a "`ps ax|wc -l|tr -d " "`" -gt 30 -a "$1" != "-force" -a "$1" != "+force"
then
echo "altboot: Using real init [$REAL_INIT] [$*] [`ps ax|wc -l|tr -d " "`] *" >"$OUT_TTY"
exec $REAL_INIT $*
diff --git a/packages/xserver-common/files/poodle-xmodmap-2.6.patch b/packages/xserver-common/files/poodle-xmodmap-2.6.patch
new file mode 100644
index 0000000000..73cf3f6ffb
--- /dev/null
+++ b/packages/xserver-common/files/poodle-xmodmap-2.6.patch
@@ -0,0 +1,42 @@
+diff -Nur xserver-common-1.8.orig/X11/Xinit.d/12keymap xserver-common-1.8/X11/Xinit.d/12keymap
+--- xserver-common-1.8.orig/X11/Xinit.d/12keymap 2006-05-17 12:02:52.645201000 +0200
++++ xserver-common-1.8/X11/Xinit.d/12keymap 2006-05-17 12:03:49.401573648 +0200
+@@ -9,6 +9,9 @@
+ "SHARP Akita" | "SHARP Borzoi" | "SHARP Spitz")
+ xmodmap - < /etc/X11/slcXXXX.xmodmap
+ ;;
++ "SHARP Poodle")
++ xmodmap - < /etc/X11/poodle.xmodmap
++ ;;
+ "Sharp-Collie")
+ xmodmap - < /etc/X11/collie.xmodmap
+ ;;
+diff -Nur xserver-common-1.8.orig/X11/poodle.xmodmap xserver-common-1.8/X11/poodle.xmodmap
+--- xserver-common-1.8.orig/X11/poodle.xmodmap 1970-01-01 01:00:00.000000000 +0100
++++ xserver-common-1.8/X11/poodle.xmodmap 2006-05-18 13:42:45.711264920 +0200
+@@ -0,0 +1,25 @@
++keycode 37 = Control_L
++keycode 64 = Alt_L
++
++
++keycode 50 = Shift_L
++keycode 62 = Shift_R
++keycode 75 = Mode_switch
++
++
++
++clear control
++clear shift
++clear lock
++clear mod4
++clear mod1
++
++add control = Control_L
++add shift = Shift_L Shift_R
++add lock = Caps_Lock
++
++! This is AltGr
++add mod4 = Mode_switch
++
++add mod1 = Alt_L
++
diff --git a/packages/xserver-common/xserver-common_1.9.bb b/packages/xserver-common/xserver-common_1.9.bb
index dd4e36b19c..de81537f99 100644
--- a/packages/xserver-common/xserver-common_1.9.bb
+++ b/packages/xserver-common/xserver-common_1.9.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Common X11 scripts and support files"
LICENSE = "GPL"
SECTION = "x11"
RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo xtscal"
-PR = "r0"
+PR = "r1"
PACKAGE_ARCH = "all"
@@ -11,7 +11,8 @@ PACKAGE_ARCH = "all"
inherit gpe
SRC_URI_append = " file://setDPI.sh \
- file://calibrate_zaurusd.patch;patch=1"
+ file://calibrate_zaurusd.patch;patch=1 \
+ file://poodle-xmodmap-2.6.patch;patch=1"
do_install_append() {
install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi"