lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091011090423.GB1414@ucw.cz>
Date:	Sun, 11 Oct 2009 11:04:23 +0200
From:	Pavel Machek <pavel@....cz>
To:	rpurdie@...ys.net, lenz@...wisc.edu,
	kernel list <linux-kernel@...r.kernel.org>,
	Dirk@...er-Online.de, arminlitzel@....de,
	Cyril Hrubis <metan@....cz>, thommycheck@...il.com,
	linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
	dbaryshkov@...il.com, omegamoon@...il.com, eric.y.miao@...il.com,
	utx@...guin.cz
Subject: zaurus suspend saga: 2.6.32-rc3

Hi!

I'm using patch similar to this for debugging:

...and good news is that it blinks after pressing of power button.

...core > pm_test also works.

I also verified that end of pxa_pm_enter() is reached (with similar
blinking patch). End of corgi_pxa_pm_enter() seems to be reached, too.

Any ideas what to try next?
								Pavel

--- arm.ofic//mach-pxa/pm.c	2009-09-10 00:13:59.000000000 +0200
+++ arm/mach-pxa/pm.c	2009-10-07 14:21:21.000000000 +0200
@@ -14,7 +14,10 @@
 #include <linux/module.h>
 #include <linux/suspend.h>
 #include <linux/errno.h>
+#include <linux/gpio.h>
+#include <linux/delay.h>
 
+#include <mach/spitz.h>
 #include <mach/pm.h>
 
 struct pxa_cpu_pm_fns *pxa_cpu_pm_fns;
@@ -41,6 +44,24 @@
 
 	/* *** go zzz *** */
 	pxa_cpu_pm_fns->enter(state);
+
+	gpio_set_value(SPITZ_GPIO_LED_GREEN, 0);
+	mdelay(100);
+	gpio_set_value(SPITZ_GPIO_LED_GREEN, 1);
+	mdelay(100);
+	gpio_set_value(SPITZ_GPIO_LED_GREEN, 0);
+	mdelay(100);
+	gpio_set_value(SPITZ_GPIO_LED_GREEN, 1);
+	mdelay(100);
+	gpio_set_value(SPITZ_GPIO_LED_GREEN, 0);
+	mdelay(100);
+	gpio_set_value(SPITZ_GPIO_LED_GREEN, 1);
+	mdelay(100);
+	gpio_set_value(SPITZ_GPIO_LED_GREEN, 0);
+	mdelay(100);
+	gpio_set_value(SPITZ_GPIO_LED_GREEN, 1);
+	mdelay(100);
+
 	cpu_init();
 
 	if (state != PM_SUSPEND_STANDBY) {

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ