OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: steven999 on March 20, 2006, 06:33:07 pm

Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: steven999 on March 20, 2006, 06:33:07 pm
Hi All,

I've been scouring the forum for info on OZ now that I have it installed.  So far, certain things are working well, other things are problematic, but I'm interested to keep with it for a few days to see if I can get it working smoothly.  Right now I'm experiencing something which I thought was fixed (but I guess I'm wrong) and that is if I try to suspend the 5600 with the On/Off button it just freezes hard and I have to open up the battery pack to hard restart it.  I have an SD card and a Microdrive card in if that's of any useful knowledge.  

Is there any logs I should check to see what is going on?  

Any help appreciated!
steven
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: grog on March 21, 2006, 07:29:20 am
I assume you're using OPIE? If so, we know . I believe the menu Suspend option should work ok. That's all I can offer right now.
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: Hrw on March 21, 2006, 07:48:17 am
https://www.oesf.org/forums/index.php?showtopic=17632 (https://www.oesf.org/forums/index.php?showtopic=17632) is good summary about SL-5600 'poodle' situation in OpenZaurus.
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: steven999 on March 21, 2006, 10:37:22 am
Thanks grog.  I noticed in the bugtracker someone saying they installed an older version of apm/apmd and reported that worked but the bug was not closed out.  Have you happened to try that?  (I don't know where to find older OZ packages.)


Quote
I assume you're using OPIE? If so, we know . I believe the menu Suspend option should work ok. That's all I can offer right now.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119571\"][{POST_SNAPBACK}][/a][/div]
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: Hrw on March 21, 2006, 10:40:48 am
steven: if opie then you can try apm/apmd/libapm* from OZ 3.5.3 as older packages. if you use GPE then this will not help.

But I think that this will not help at all. Did you flash correct kernel on poodle? pxa255 can be used only on pxa255 powered machines, pxa250 on any.
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: grog on March 21, 2006, 10:59:34 am
The problem doesn't happen in GPE at all. Only when using OPIE.
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: steven999 on March 21, 2006, 02:01:05 pm
Czesc Marcin,

I am using OZ-Opie 3.5.4 release now on 5600 with pxa250 which is correct for my model.  It seems grok also has the same problems with Opie too.

BTW: The time is always reset when I restart the PDA after a crash or even if I initiate myself.  Is this normal and a known issue?

Thanks all,
steven


Quote
steven: if opie then you can try apm/apmd/libapm* from OZ 3.5.3 as older packages. if you use GPE then this will not help.

But I think that this will not help at all. Did you flash correct kernel on poodle? pxa255 can be used only on pxa255 powered machines, pxa250 on any.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119598\"][{POST_SNAPBACK}][/a][/div]
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: hvontres on March 21, 2006, 02:43:04 pm
Quote
Czesc Marcin,

I am using OZ-Opie 3.5.4 release now on 5600 with pxa250 which is correct for my model.  It seems grok also has the same problems with Opie too.

BTW: The time is always reset when I restart the PDA after a crash or even if I initiate myself.  Is this normal and a known issue?

Thanks all,
steven

If you are very carefull not to hold down the power switch for more than 2 seconds it can work. However, I would recomend using the menu or "apm --suspend" to turn off your 5600. Also, I have noticed that suspending it in the cradle and resuming it out of the cradle can cause problems.

Since the Poodle does not have a seperate hardware clock, the date will be lost on reset.
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: steven999 on March 21, 2006, 03:01:36 pm
Yes, so far I am just using the suspend from menu and trying very hard to remember not to impulsively use on/off as I used to. As for hardware clock, I wonder then how it was possible for Sharp-based roms to keep time on restart?  

I know on my laptop during suspend/resume I had to add some calls to hwclock to sync the system time to clock and back.  I wonder if that could somehow be done with some services, stored in a file so that on a restart, the time will only have drifted a little so that the user has to maybe adjust a minute or two rather than having to enter in the whole hour/min/month/day/etc.

steven


Quote
If you are very carefull not to hold down the power switch for more than 2 seconds it can work. However, I would recomend using the menu or "apm --suspend" to turn off your 5600. Also, I have noticed that suspending it in the cradle and resuming it out of the cradle can cause problems.

Since the Poodle does not have a seperate hardware clock, the date will be lost on reset.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119660\"][{POST_SNAPBACK}][/a][/div]
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: Hrw on March 21, 2006, 03:12:40 pm
We already keep date in /etc/timestamp which is loaded on boot and stored on reboot.

And all Zaurus models newer then collie does not have hardware clock.
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: grog on March 21, 2006, 03:47:51 pm
Quote
We already keep date in /etc/timestamp which is loaded on boot and stored on reboot.

And all Zaurus models newer then collie does not have hardware clock.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119671\"][{POST_SNAPBACK}][/a][/div]
Not that I'm trying to hijack the thread, but at least for me this doesn't seem to be working. /etc/timestamp hasn't been touched in all of the clean reboots I've done:

Code: [Select]
grog@poodle[/etc]$ ll timestamp
-rw-r--r--    1 root     root           13 Dec 31  1969 timestamp
grog@poodle[/etc]$ cat timestamp
031415512006
I've checked the /etc/init.d/reboot script & it's coded properly, so as long as /sbin/reboot util is called without parameters, and that just sets the run level to 6, then init should take over & the init.d script is called. But that doesn't seem to be happening.
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: steven999 on March 21, 2006, 04:44:03 pm
Hi Grog,

I checked too and the timestamp file wasnt updated for me either.  I ran the date line in the reboot script from the commandline and that updated so the script seems fine.  I shutdown the PDA using the shutdown menu option from the O menu and on restart it used the updated time from timestamp, but it set it 8 hours behind what it was (I am in GMT -8:00).  So, it seems that either the reboot script needs to write the GMT time and not local time, or on restart whatever script is setting the time from the timestamp needs to know the timezone.  

Should we enter this into one of the bugtrackers, and if so, which one?

steven


Quote
I've checked the /etc/init.d/reboot script & it's coded properly, so as long as /sbin/reboot util is called without parameters, and that just sets the run level to 6, then init should take over & the init.d script is called. But that doesn't seem to be happening.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119677\"][{POST_SNAPBACK}][/a][/div]
Title: 5600 - 3.5.4 - Suspend With On/off = Freeze
Post by: steven999 on March 21, 2006, 04:50:58 pm
Question: should there be an /etc/localtime file that points to one in /usr/share/zoneinfo?  I was reading around about the date function and it defaulting to UTC if none is found, but I don't know exactly what the /etc/localtime file is and am only guessing.

Quote
Hi Grog,

I checked too and the timestamp file wasnt updated for me either.  I ran the date line in the reboot script from the commandline and that updated so the script seems fine.  I shutdown the PDA using the shutdown menu option from the O menu and on restart it used the updated time from timestamp, but it set it 8 hours behind what it was (I am in GMT -8:00).  So, it seems that either the reboot script needs to write the GMT time and not local time, or on restart whatever script is setting the time from the timestamp needs to know the timezone. 

Should we enter this into one of the bugtrackers, and if so, which one?

steven


Quote
I've checked the /etc/init.d/reboot script & it's coded properly, so as long as /sbin/reboot util is called without parameters, and that just sets the run level to 6, then init should take over & the init.d script is called. But that doesn't seem to be happening.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119677\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=119688\"][{POST_SNAPBACK}][/a][/div]