When I started with beta3, had some time issues and pdaxrom occasionally "locking up" - which turns out to be because of wrong clock. Here I share my way of fixing them.
I use the following pair of scripts.
When you need date synchronization, just call 'dt' script.
(modify the values to your needs, I live in Sofia and use for sync ntp.intergenia.de, which you might not be able to access. Place the files in /usr/local/bin, and 'chmod +x' )
dt
#!/bin/bash
lt_unset
ntpdate ntp.intergenia.de
hwclock --systohc
lt_set
lt_set:
#!/bin/bash
rm -f /etc/localtime
ln -s /usr/share/zoneinfo/Europe/Sofia /etc/localtime
lt_unset:
#!/bin/bash
rm -f /etc/localtime
in /etc/apm/scripts.d/hwclock the functions inside look like this:
suspend() {
lt_unset
hwclock --systohc
lt_set
return 0
}
resume() {
lt_unset
hwclock --hctosys
lt_set
return 0
}
I can guarantee you that you will have _no_ problems with the clock anymore, just set the correct timezone and ntp server. If you don't have internet, you just can issue commands in 'dt' one by one, replacing ntpdate with 'date xxxx' command to set the clock.
Also, if you accidentally turn off your zaurus, don't turn it on immediately. wait 3-4 seconds at least, and then do it.
timezones package from the feed is required.