[Zaurus-devel] Suspend issues

2010-02-08 Thread Vitaly Minko
I've installed 2.6.33-rc6 on my Akita. Works fine in general. Here are 
few annoying issues I found:
1. When I hold on/off button for 1-2 seconds while resuming, Zaurus 
blinks for a moment and dies. Just black screen. Looks like it tries to 
suspend right after resuming. I've fixed this issue for 2.6.24 using the 
attachment. I tried to apply this patch to 2.6.33, but it doesn't help.
2. WiFi connection does not recover after suspend. I have to reload 
modules and reestablish connection manually.
diff -ur a/arch/arm/mach-pxa/spitz_pm.c b/arch/arm/mach-pxa/spitz_pm.c
--- a/arch/arm/mach-pxa/spitz_pm.c  2009-11-05 17:55:57.0 +0300
+++ b/arch/arm/mach-pxa/spitz_pm.c  2009-11-05 17:54:54.0 +0300
@@ -153,8 +153,10 @@
return 0;
}
 
-   if (PEDR  GPIO_bit(SPITZ_GPIO_KEY_INT))
-   is_resume |= GPIO_bit(SPITZ_GPIO_KEY_INT);
+/* Do not resume when lid is closed */
+   if (((GPLR(SPITZ_GPIO_ON_KEY)  GPIO_bit(SPITZ_GPIO_ON_KEY)) != 0) 
+((GPLR(SPITZ_GPIO_SWA)  GPIO_bit(SPITZ_GPIO_SWA)) == 
0))
+   is_resume |= GPIO_bit(SPITZ_GPIO_ON_KEY);
 
if (PKSR  GPIO_bit(SPITZ_GPIO_SYNC))
is_resume |= GPIO_bit(SPITZ_GPIO_SYNC);
diff -ur a/drivers/input/keyboard/spitzkbd.c b/drivers/input/keyboard/spitzkbd.c
--- a/drivers/input/keyboard/spitzkbd.c 2009-11-05 17:55:26.0 +0300
+++ b/drivers/input/keyboard/spitzkbd.c 2009-11-05 17:54:55.0 +0300
@@ -220,7 +220,9 @@
input_report_key(spitzkbd_data-input, SPITZ_KEY_SYNC, 
(GPLR(SPITZ_GPIO_SYNC)  GPIO_bit(SPITZ_GPIO_SYNC)) != 0 );
input_report_key(spitzkbd_data-input, KEY_SUSPEND, pwrkey);
 
-   if (pwrkey  time_after(jiffies, spitzkbd_data-suspend_jiffies + 
msecs_to_jiffies(1000))) {
+/* Do not suspend when lid is closed */
+   if (pwrkey  ((GPLR(SPITZ_GPIO_SWA)  GPIO_bit(SPITZ_GPIO_SWA)) == 0) 

+time_after(jiffies, spitzkbd_data-suspend_jiffies + 
msecs_to_jiffies(2000))) {
input_event(spitzkbd_data-input, EV_PWR, KEY_SUSPEND, 1);
spitzkbd_data-suspend_jiffies = jiffies;
}
___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] the latest kexecboot

2010-02-06 Thread Vitaly Minko

Great. Thanks a lot.

06.02.2010 12:45, Andrea Adami wrote:

Hello,

I released stable 2.6.26 and testing 2.6.33-rc6 here:

http://projects.linuxtogo.org/projects/zaurus/

Known issues of linux-kexecboot-2.6.3x (on c7x0):
- power button does not suspend
- probable bug for pxa25x and MMC (hotplug of another SD card seems not sensed)

Tests are welcome.

Andrea

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel
   



___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel


Re: [Zaurus-devel] the latest kexecboot

2010-02-06 Thread Vitaly Minko



It blinks for a moment and nothing happens after that. Just black screen.
zImage-kexecboot-2.6.26-r18-akita.bin works fine.
 

I had same symptoms on c7x0 when I was using updater.sh r23.
Be sure you're using the one in the tar.gz (r24).
   

I'm using the updater.sh.akita from akita.tar.gz
md5: b8cdc142f39ff81f0ae4ff42980a6cbf

Thx for testing

Andrea

___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel
   



___
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel