OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: gab74 on November 24, 2005, 03:24:27 am

Title: C3100 - Freeze After Long Suspend
Post by: gab74 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.......
Title: C3100 - Freeze After Long Suspend
Post by: desertrat 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 (https://www.oesf.org/forums/index.php?showtopic=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
Title: C3100 - Freeze After Long Suspend
Post by: gab74 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....
Title: C3100 - Freeze After Long Suspend
Post by: sds 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.
Title: C3100 - Freeze After Long Suspend
Post by: whit 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?
Title: C3100 - Freeze After Long Suspend
Post by: Bundabrg 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
Title: C3100 - Freeze After Long Suspend
Post by: randy11 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]