From 4b3b8dd38cadefb495dc1338b0014bb14fe356af Mon Sep 17 00:00:00 2001 From: Matthias Hentges Date: Fri, 7 Jul 2006 15:58:52 +0000 Subject: altboot: Fix Tosa/2.6 kbd detection --- packages/altboot/files/init.altboot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'packages/altboot/files') 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" -- cgit v1.2.3