From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- .../unb0rk-rightarrow.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 recipes/linux/openzaurus-sa-2.4.18-rmk7-pxa3-embedix20030509/unb0rk-rightarrow.patch (limited to 'recipes/linux/openzaurus-sa-2.4.18-rmk7-pxa3-embedix20030509/unb0rk-rightarrow.patch') diff --git a/recipes/linux/openzaurus-sa-2.4.18-rmk7-pxa3-embedix20030509/unb0rk-rightarrow.patch b/recipes/linux/openzaurus-sa-2.4.18-rmk7-pxa3-embedix20030509/unb0rk-rightarrow.patch new file mode 100644 index 0000000000..42547ca27a --- /dev/null +++ b/recipes/linux/openzaurus-sa-2.4.18-rmk7-pxa3-embedix20030509/unb0rk-rightarrow.patch @@ -0,0 +1,28 @@ +--- linux/arch/arm/mach-sa1100/collie_apm.c.orig 2005-06-25 22:49:51.842092545 +0200 ++++ linux/arch/arm/mach-sa1100/collie_apm.c 2005-06-25 22:49:56.931171657 +0200 +@@ -57,6 +57,7 @@ + #include + #include + #include ++#include + #endif // CONFIG_SA1100_COLLIE + #include + +@@ -89,6 +90,8 @@ + int collie_get_on_mode; + int idleCancel = 0; + ++extern kbd_keyinfo sharppda_kbdstate[(NR_KEYCODES+1)]; ++ + #endif // CONFIG_SA1100_COLLIE + + +@@ -584,7 +587,7 @@ + + if (irq == IRQ_GPIO_ON_KEY) { /* suspend */ + //DPRINTK("irq=%d count=%d collie_suspend_request%d\n",irq, count, collie_suspend_request); +- if ( GPLR & GPIO_ON_KEY ) { ++ if ( GPLR & GPIO_ON_KEY || (!sharppda_kbdstate[1].in)) { //1 is the hard keycode for Cancel. GPIO_ON_KEY is active for all 4 keys in that row (why? no idea.) + /* release */ + count = 0; + } else { -- cgit v1.2.3