From: <bob...@us...> - 2006-10-02 01:42:27
|
Revision: 615 http://svn.sourceforge.net/hackndev/?rev=615&view=rev Author: bobofdoom Date: 2006-10-01 18:42:21 -0700 (Sun, 01 Oct 2006) Log Message: ----------- palmld: Don't wait to switch VT's on suspend, it hangs OPIE. Modified Paths: -------------- linux4palm/linux/trunk/kernel/power/console.c Modified: linux4palm/linux/trunk/kernel/power/console.c =================================================================== --- linux4palm/linux/trunk/kernel/power/console.c 2006-10-01 10:38:47 UTC (rev 614) +++ linux4palm/linux/trunk/kernel/power/console.c 2006-10-02 01:42:21 UTC (rev 615) @@ -30,10 +30,17 @@ set_console(SUSPEND_CONSOLE); release_console_sem(); + /* <Alex> + * OPIE locks the console so we can't switch vts, this means we hang when + * trying to suspend. I'm not sure how we're supposed to get around it, + * other than this. The suspend console is ugly, anyhow. ;-) + */ +#ifndef CONFIG_MACH_XSCALE_PALMLD if (vt_waitactive(SUSPEND_CONSOLE)) { pr_debug("Suspend: Can't switch VCs."); return 1; } +#endif orig_kmsg = kmsg_redirect; kmsg_redirect = SUSPEND_CONSOLE; return 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bob...@us...> - 2006-10-29 11:35:57
|
Revision: 647 http://svn.sourceforge.net/hackndev/?rev=647&view=rev Author: bobofdoom Date: 2006-10-29 03:35:31 -0800 (Sun, 29 Oct 2006) Log Message: ----------- palmld: Don't even try to change VTs on suspend. Modified Paths: -------------- linux4palm/linux/trunk/kernel/power/console.c Modified: linux4palm/linux/trunk/kernel/power/console.c =================================================================== --- linux4palm/linux/trunk/kernel/power/console.c 2006-10-28 11:32:19 UTC (rev 646) +++ linux4palm/linux/trunk/kernel/power/console.c 2006-10-29 11:35:31 UTC (rev 647) @@ -16,6 +16,13 @@ int pm_prepare_console(void) { + /* <Alex> + * OPIE locks the console so we can't switch vts, this means we hang when + * trying to suspend. I'm not sure how we're supposed to get around it, + * other than this. The suspend console is ugly, anyhow. ;-) + */ +#ifndef CONFIG_MACH_XSCALE_PALMLD + acquire_console_sem(); orig_fgconsole = fg_console; @@ -30,19 +37,13 @@ set_console(SUSPEND_CONSOLE); release_console_sem(); - /* <Alex> - * OPIE locks the console so we can't switch vts, this means we hang when - * trying to suspend. I'm not sure how we're supposed to get around it, - * other than this. The suspend console is ugly, anyhow. ;-) - */ -#ifndef CONFIG_MACH_XSCALE_PALMLD if (vt_waitactive(SUSPEND_CONSOLE)) { pr_debug("Suspend: Can't switch VCs."); return 1; } -#endif orig_kmsg = kmsg_redirect; kmsg_redirect = SUSPEND_CONSOLE; +#endif return 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <far...@us...> - 2006-10-29 11:47:19
|
Revision: 648 http://svn.sourceforge.net/hackndev/?rev=648&view=rev Author: farcaller Date: 2006-10-29 03:47:10 -0800 (Sun, 29 Oct 2006) Log Message: ----------- palmt3: added qt-e/qt-c workaround Modified Paths: -------------- linux4palm/linux/trunk/kernel/power/console.c Modified: linux4palm/linux/trunk/kernel/power/console.c =================================================================== --- linux4palm/linux/trunk/kernel/power/console.c 2006-10-29 11:35:31 UTC (rev 647) +++ linux4palm/linux/trunk/kernel/power/console.c 2006-10-29 11:47:10 UTC (rev 648) @@ -22,6 +22,7 @@ * other than this. The suspend console is ugly, anyhow. ;-) */ #ifndef CONFIG_MACH_XSCALE_PALMLD +#ifndef CONFIG_MACH_T3XSCALE acquire_console_sem(); @@ -44,6 +45,7 @@ orig_kmsg = kmsg_redirect; kmsg_redirect = SUSPEND_CONSOLE; #endif +#endif return 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <far...@us...> - 2006-10-30 21:51:41
|
Revision: 650 http://svn.sourceforge.net/hackndev/?rev=650&view=rev Author: farcaller Date: 2006-10-30 13:51:28 -0800 (Mon, 30 Oct 2006) Log Message: ----------- palmt3, palmld: fix to qt/c sleep patch to make gpe resume :) Modified Paths: -------------- linux4palm/linux/trunk/kernel/power/console.c Modified: linux4palm/linux/trunk/kernel/power/console.c =================================================================== --- linux4palm/linux/trunk/kernel/power/console.c 2006-10-29 16:00:57 UTC (rev 649) +++ linux4palm/linux/trunk/kernel/power/console.c 2006-10-30 21:51:28 UTC (rev 650) @@ -51,10 +51,14 @@ void pm_restore_console(void) { +#ifndef CONFIG_MACH_XSCALE_PALMLD +#ifndef CONFIG_MACH_T3XSCALE acquire_console_sem(); set_console(orig_fgconsole); release_console_sem(); kmsg_redirect = orig_kmsg; +#endif +#endif return; } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <z7...@us...> - 2007-01-18 08:10:40
|
Revision: 761 http://svn.sourceforge.net/hackndev/?rev=761&view=rev Author: z72ka Date: 2007-01-18 00:10:36 -0800 (Thu, 18 Jan 2007) Log Message: ----------- Palmz72: Added suspend/resume support Modified Paths: -------------- linux4palm/linux/trunk/kernel/power/console.c Modified: linux4palm/linux/trunk/kernel/power/console.c =================================================================== --- linux4palm/linux/trunk/kernel/power/console.c 2007-01-18 02:39:55 UTC (rev 760) +++ linux4palm/linux/trunk/kernel/power/console.c 2007-01-18 08:10:36 UTC (rev 761) @@ -21,6 +21,7 @@ * trying to suspend. I'm not sure how we're supposed to get around it, * other than this. The suspend console is ugly, anyhow. ;-) */ +#ifndef CONFIG_MACH_PALMZ72 #ifndef CONFIG_MACH_XSCALE_PALMLD #ifndef CONFIG_MACH_T3XSCALE @@ -46,11 +47,13 @@ kmsg_redirect = SUSPEND_CONSOLE; #endif #endif +#endif return 0; } void pm_restore_console(void) { +#ifndef CONFIG_MACH_PALMZ72 #ifndef CONFIG_MACH_XSCALE_PALMLD #ifndef CONFIG_MACH_T3XSCALE acquire_console_sem(); @@ -59,6 +62,7 @@ kmsg_redirect = orig_kmsg; #endif #endif +#endif return; } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ke...@us...> - 2007-08-24 23:46:49
|
Revision: 1267 http://hackndev.svn.sourceforge.net/hackndev/?rev=1267&view=rev Author: keddar Date: 2007-08-24 16:46:45 -0700 (Fri, 24 Aug 2007) Log Message: ----------- HnD: kernel cleanup - console hack removal Modified Paths: -------------- linux4palm/linux/trunk/kernel/power/console.c Modified: linux4palm/linux/trunk/kernel/power/console.c =================================================================== --- linux4palm/linux/trunk/kernel/power/console.c 2007-08-24 22:57:20 UTC (rev 1266) +++ linux4palm/linux/trunk/kernel/power/console.c 2007-08-24 23:46:45 UTC (rev 1267) @@ -16,15 +16,6 @@ int pm_prepare_console(void) { - /* <Alex> - * OPIE locks the console so we can't switch vts, this means we hang when - * trying to suspend. I'm not sure how we're supposed to get around it, - * other than this. The suspend console is ugly, anyhow. ;-) - */ -#ifndef CONFIG_MACH_PALMZ72 -#ifndef CONFIG_MACH_XSCALE_PALMLD -#ifndef CONFIG_MACH_T3XSCALE - acquire_console_sem(); orig_fgconsole = fg_console; @@ -53,24 +44,15 @@ } orig_kmsg = kmsg_redirect; kmsg_redirect = SUSPEND_CONSOLE; -#endif -#endif -#endif return 0; } void pm_restore_console(void) { -#ifndef CONFIG_MACH_PALMZ72 -#ifndef CONFIG_MACH_XSCALE_PALMLD -#ifndef CONFIG_MACH_T3XSCALE acquire_console_sem(); set_console(orig_fgconsole); release_console_sem(); kmsg_redirect = orig_kmsg; -#endif -#endif -#endif return; } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |