altboot: Fix Tosa/2.6 kbd detection
authorMatthias Hentges <oe@hentges.net>
Fri, 7 Jul 2006 15:58:52 +0000 (15:58 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Fri, 7 Jul 2006 15:58:52 +0000 (15:58 +0000)
packages/altboot/files/init.altboot

index 2c106ef..3bffc2b 100644 (file)
@@ -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"