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 --- .../P18-detailed_battery_050309.patch | 102 +++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch (limited to 'recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch') diff --git a/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch b/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch new file mode 100644 index 0000000000..1dd6db199b --- /dev/null +++ b/recipes/linux/openzaurus-pxa27x-2.4.20-rmk2-embedix20050602/P18-detailed_battery_050309.patch @@ -0,0 +1,102 @@ +diff -Nur c3000_pre/linux/arch/arm/mach-pxa/sharpsl_battery.c c3000_work/linux/arch/arm/mach-pxa/sharpsl_battery.c +--- c3000_pre/linux/arch/arm/mach-pxa/sharpsl_battery.c 2004-11-16 15:31:06.000000000 +0900 ++++ c3000_work/linux/arch/arm/mach-pxa/sharpsl_battery.c 2005-03-08 23:05:29.000000000 +0900 +@@ -337,20 +337,88 @@ + + #if defined(CONFIG_ARCH_PXA_SPITZ) + BATTERY_THRESH sharpsl_main_battery_thresh_temp_h[] = { +- { 194, 100, SHARPSL_BATTERY_STATUS_HIGH}, +- { 188, 75, SHARPSL_BATTERY_STATUS_HIGH}, +- { 184, 50, SHARPSL_BATTERY_STATUS_HIGH}, +- { 180, 25, SHARPSL_BATTERY_STATUS_LOW}, +- { 176, 5, SHARPSL_BATTERY_STATUS_VERYLOW}, ++ { 212, 100, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 212, 98, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 211, 95, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 210, 93, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 209, 90, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 208, 88, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 207, 85, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 206, 83, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 205, 80, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 204, 78, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 203, 75, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 202, 73, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 201, 70, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 200, 68, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 199, 65, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 198, 63, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 197, 60, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 196, 58, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 195, 55, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 194, 53, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 193, 50, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 192, 48, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 192, 45, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 191, 43, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 191, 40, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 190, 38, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 190, 35, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 189, 33, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 188, 30, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 187, 28, SHARPSL_BATTERY_STATUS_LOW}, ++ { 186, 25, SHARPSL_BATTERY_STATUS_LOW}, ++ { 185, 23, SHARPSL_BATTERY_STATUS_LOW}, ++ { 184, 20, SHARPSL_BATTERY_STATUS_LOW}, ++ { 183, 18, SHARPSL_BATTERY_STATUS_LOW}, ++ { 182, 15, SHARPSL_BATTERY_STATUS_LOW}, ++ { 181, 13, SHARPSL_BATTERY_STATUS_LOW}, ++ { 180, 10, SHARPSL_BATTERY_STATUS_LOW}, ++ { 179, 8, SHARPSL_BATTERY_STATUS_LOW}, ++ { 178, 5, SHARPSL_BATTERY_STATUS_VERYLOW}, + { 0, 0, SHARPSL_BATTERY_STATUS_CRITICAL}, + }; + + BATTERY_THRESH sharpsl_main_battery_thresh_temp_l[] = { +- { 194, 100, SHARPSL_BATTERY_STATUS_HIGH}, +- { 188, 75, SHARPSL_BATTERY_STATUS_HIGH}, +- { 184, 50, SHARPSL_BATTERY_STATUS_HIGH}, +- { 180, 25, SHARPSL_BATTERY_STATUS_LOW}, +- { 176, 5, SHARPSL_BATTERY_STATUS_VERYLOW}, ++ { 212, 100, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 212, 98, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 211, 95, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 210, 93, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 209, 90, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 208, 88, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 207, 85, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 206, 83, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 205, 80, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 204, 78, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 203, 75, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 202, 73, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 201, 70, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 200, 68, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 199, 65, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 198, 63, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 197, 60, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 196, 58, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 195, 55, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 194, 53, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 193, 50, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 192, 48, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 191, 45, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 190, 43, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 189, 40, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 188, 38, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 187, 35, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 186, 33, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 185, 30, SHARPSL_BATTERY_STATUS_HIGH}, ++ { 184, 28, SHARPSL_BATTERY_STATUS_LOW}, ++ { 183, 25, SHARPSL_BATTERY_STATUS_LOW}, ++ { 182, 23, SHARPSL_BATTERY_STATUS_LOW}, ++ { 181, 20, SHARPSL_BATTERY_STATUS_LOW}, ++ { 180, 18, SHARPSL_BATTERY_STATUS_LOW}, ++ { 179, 15, SHARPSL_BATTERY_STATUS_LOW}, ++ { 178, 13, SHARPSL_BATTERY_STATUS_LOW}, ++ { 177, 10, SHARPSL_BATTERY_STATUS_LOW}, ++ { 176, 8, SHARPSL_BATTERY_STATUS_LOW}, ++ { 175, 5, SHARPSL_BATTERY_STATUS_VERYLOW}, + { 0, 0, SHARPSL_BATTERY_STATUS_CRITICAL}, + }; + #else -- cgit v1.2.3