From: Matthias Hentges Date: Fri, 7 Jul 2006 15:58:52 +0000 (+0000) Subject: altboot: Fix Tosa/2.6 kbd detection X-Git-Tag: Release-2010-05/1~9453^2~1298 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b3b8dd38cadefb495dc1338b0014bb14fe356af;p=openembedded.git altboot: Fix Tosa/2.6 kbd detection --- 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"