Author Topic: C3100 - Freeze After Long Suspend  (Read 4211 times)

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
C3100 - Freeze After Long Suspend
« on: November 24, 2005, 03:24:27 am »
This is the strange behaviour of my C3100

if i do not use /etc/localtime and i have a wrong time suspend and resume works well.

if i set the time correctly and inser my /etc/localtime the Zaurus has this behaviour :
 Suspend resume works if the suspending time is short.

if i suspend for a long time and try to resume the graphic interface (matchbox) is frozen and there is no way to work with the Z.  Only thing is take out the battery..and insert again...

Is there a solution for this serious bug ???

I cannot use PIM software if the clock is wrong.......
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
C3100 - Freeze After Long Suspend
« Reply #1 on: November 28, 2005, 11:42:14 pm »
Quote
if i set the time correctly and inser my /etc/localtime the Zaurus has this behaviour :
 Suspend resume works if the suspending time is short.

Have you tried the fix here:

https://www.oesf.org/forums/index.php?showt...5618&hl=hwclock

It works for me.

Quote
if i suspend for a long time and try to resume the graphic interface (matchbox) is frozen and there is no way to work with the Z.  Only thing is take out the battery..and insert again...

How long is "a long time"? After using the above fix I can suspend my 3100 overnight, switch it back on in the morning (8 hours+) and it works fine.


-- cheers
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

gab74

  • Sr. Member
  • ****
  • Posts: 344
    • View Profile
C3100 - Freeze After Long Suspend
« Reply #2 on: November 29, 2005, 03:55:17 am »
Yes i use thi helpfull post too !
This worked for me:

    * remove /etc/localtime if it exists (so that you are working in UTC)
    * use ntpdate to set the system clock to the correct time in UTC (or date --set)
    * use hwclock to set the hardware clock from the system clock(ie: hwclock --systohc)
    * tell hwclock to work in UTC (ie: hwclock --utc)
    * copy /usr/share/zoneinfo/whatever/whatever from a *nix box to /etc/localtime
    * turn zaurus on and off and enjoy having the correct time

My Zaurus freeze when i resume....matchbox i s freezed....
if i suspend outside matchbox all works well, but i've to close X every time.....

The long time is only 4/5 hours....
if you say it works for you, i will try again....
« Last Edit: November 29, 2005, 03:56:23 am by gab74 »
Gabriele
NOW : C3100 (code name Laudicus)- SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307 - BLUETOOTH CF BELKIN - ETHERNET CF TRENDNET TE-CF100
BEFORE: SL6000L (code name Anselmus) - 512MB SD - 256MB CF - SOCKETCOMM CF MODEM 56K - CF GPS GLOBASAT BC-307

sds

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
C3100 - Freeze After Long Suspend
« Reply #3 on: November 29, 2005, 02:04:55 pm »
Quote
* remove /etc/localtime if it exists (so that you are working in UTC)
# rm /etc/localtime
Quote
* use ntpdate to set the system clock to the correct time in UTC (or date --set)
# ntpdate 0.pool.ntp.org
Quote
* use hwclock to set the hardware clock from the system clock(ie: hwclock --systohc)
# sethwclock --systohc
Quote
* tell hwclock to work in UTC (ie: hwclock --utc)
# sethwclock --utc
Quote
* copy /usr/share/zoneinfo/whatever/whatever from a *nix box to /etc/localtime
# ln -s /usr/share/zoneinfo/Europe/Rome /etc/localtime
Quote
* turn zaurus on and off and enjoy having the correct time
No need to turn off, it works immediately.
Quote
My Zaurus freeze when i resume....matchbox i s freezed....
As a normal user, suspend with the start menu entry -- NOT with the hardware switch on back! (This could also be fixed, but I am too lazy)
Quote
if you say it works for you, i will try again....
Yes, it works on my C860 and other people have said it works on Cxxx. Good luck.
C3100 pdaXrom

whit

  • Full Member
  • ***
  • Posts: 145
    • View Profile
C3100 - Freeze After Long Suspend
« Reply #4 on: December 08, 2005, 10:07:51 pm »
Quote
This is the strange behaviour of my C3100

Think I'm seeing a different clock problem on my C3100. If I hit the On/Off switch, it goes off of course. Then when I try to turn it back on it comes back for a second - the screen blinks on - then goes right back off. The recipe above had no effect on this. Then when I pull the battery to reboot it's lost hours or days.

This is only in X. At the initial console the On/Off switch doesn't even operate. If the switch weren't someplace so vulnerable it wouldn't be a problem; all the other ergonomic changes from the earlier clamshells were well thought out; not this one.

I'd guess there's some way to disable the switch in X?

Bundabrg

  • Full Member
  • ***
  • Posts: 183
    • View Profile
C3100 - Freeze After Long Suspend
« Reply #5 on: December 15, 2005, 02:56:57 am »
Edit /etc/xdg/openbox/rc.xml

(I think thats it, something like it from memory).
All the key-mappings are in there for matchbox.

 - Bundabrg
[img]http://www.worldguard.com.au/brendan-ambi.png\" border=\"0\" class=\"linked-sig-image\" /]

randy11

  • Newbie
  • *
  • Posts: 11
    • View Profile
C3100 - Freeze After Long Suspend
« Reply #6 on: April 27, 2006, 05:29:27 am »
Hi,

Sorry, I've  looked the file, but I don't see what are the lines to modify ... Could you tell me which ones we need to modify?

Randy11.

Quote
Edit /etc/xdg/openbox/rc.xml

All the key-mappings are in there for matchbox.
 - Bundabrg
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107160\"][{POST_SNAPBACK}][/a][/div]
SL-C1000 / PdaXrom Beta3 - CF 2 GB PRETEC 80X  : 400MB (FAT16) & 1600MB (EXT2); SD KINGMAX Platinium : 512MB (EXT2); Cables USB HOST & PSP; Net card BUFFALO LPC-CF-CLT (10Mbit).