summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-07-07 15:58:52 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-07 15:58:52 +0000
commit4b3b8dd38cadefb495dc1338b0014bb14fe356af (patch)
tree8e553c5077d66abc4817ad8dcb9a4ac9e79cd089
parent55fe222492fe15177b92afb3a1043cee077cf436 (diff)
altboot: Fix Tosa/2.6 kbd detection
-rw-r--r--packages/altboot/files/init.altboot6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/altboot/files/init.altboot b/packages/altboot/files/init.altboot
index 2c106efa73..3bffc2bec5 100644
--- a/packages/altboot/files/init.altboot
+++ b/packages/altboot/files/init.altboot
@@ -178,7 +178,8 @@ run_timer() {
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 locomokbd`";;
+ test -z "$key_ints" && key_ints="`cat /proc/interrupts | grep -i locomokbd`"
+ test -z "$key_ints" && key_ints="`cat /proc/interrupts | grep -i tosakbd`";;
esac
test -z "$key_ints" && debug_echo "Couldn't read keyboard ints!"
@@ -196,7 +197,8 @@ run_timer() {
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 locomokbd`";;
+ test -z "$key_ints_now" && key_ints_now="`cat /proc/interrupts | grep -i locomokbd`"
+ test -z "$key_ints_now" && key_ints_now="`cat /proc/interrupts | grep -i tosakbd`";;
esac
if test "$key_ints_now" != "$key_ints" -o -z "$key_ints_now"