[ASU] Timezone problems

2008-09-16 Thread Yogiz
Hi, got my Freerunner a few days ago and I love it. I've ironed out
most of the problems that bugged me but Iäm still having some problems
with setting the timezone. I did as the wiki says. Tzdata was already
installed so I replaced /etc/localtime with a soft link
to /usr/share/zoneinfo/Tallinn. After that I set the right time with
the date command. Now however, when selecting set clock from the clock
app in Settings, it shows the timezone as London and all the fields are
grayed out (except autosetting clock option). The openmoko-dates app as
well selects london as the default time zone and if I add events using
Europe/Tallinn then they're couple hours amiss. When I use the date
command it shows output as Tue Sep 16 11:23:21 EEST 2008 - EEST
should afaik be the right setting.

Any help? If I should provide any extra information let me know.

Yogiz

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ASU] Timezone problems

2008-09-16 Thread umaxx
On Tue, 16 Sep 2008 11:24:24 +0300
Yogiz [EMAIL PROTECTED] wrote:

 Now however, when selecting set clock from the clock
 app in Settings, it shows the timezone as London and all the fields
 are grayed out (except autosetting clock option).

try setting autosetting to: off
then edit the other (timezone) fields, and then back to ask or on

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [ASU] Timezone problems

2008-09-16 Thread Yogiz
 try setting autosetting to: off
 then edit the other (timezone) fields, and then back to ask or on
Heh, thanks. I could have sworn that I tried that a couple of days
ago but the fields still remained grayed out so I thought the
automatic setting was for automatically setting summer/winter time.
This time it worked right away. I don't know if I imagined it or did a
software upgrade fix something.

I checked the /etc/timezone file as well and it did indeed change, so
manually changing that file would have probably worked as well.

Thanks again,
Yogiz

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Timezone problems

2008-07-26 Thread Christopher White
I'm having trouble setting the timezone on my phone running ASU.  I set
the time/date via the command line (date -s) and that works fine.

Next, I link /etc/localtime:

  [EMAIL PROTECTED]:~# ln -sf /usr/share/zoneinfo/America/New_York 
/etc/localtime

But date still show UTC time:

  [EMAIL PROTECTED]:~# date
  Sat Jul 26 18:29:37 UTC 2008

As does the phone toolbar and the clock application.  Trying Set Time
from Clock even shows New York as the current timezone.

Is this a known issue?

...cj



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Timezone problems

2008-07-26 Thread arne anka
did you reboot?
else try date -s ... and after that hwclock --systohc.
my fr w/ 2007.2 has the right timezone (Berlin, CEST) but insists on using  
utc apparently because the time of the fr is 2 hours back, no matter if i  
sync with ntpdate or not.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Timezone problems

2008-07-26 Thread Christopher White
On Sat, 2008-07-26 at 20:53 +0200, arne anka wrote:
 did you reboot?

Doh!  That took care of it...I thought /etc/localtime was an immediate
thing, thanks.

...cj



___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Timezone problems

2008-07-26 Thread arne anka
 Doh!  That took care of it...I thought /etc/localtime was an immediate
 thing, thanks.

well, it is _set_, so you need tro set it after changes.
/etc/init.d/hwclock.sh start
might have done the trick

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Timezone problems

2008-07-26 Thread Holger Freyther
On Saturday 26 July 2008 20:38:14 Christopher White wrote:
 I'm having trouble setting the timezone on my phone running ASU.  I set
 the time/date via the command line (date -s) and that works fine.

 Next, I link /etc/localtime:

   [EMAIL PROTECTED]:~# ln -sf /usr/share/zoneinfo/America/New_York
 /etc/localtime

 But date still show UTC time:

   [EMAIL PROTECTED]:~# date
   Sat Jul 26 18:29:37 UTC 2008

 As does the phone toolbar and the clock application.  Trying Set Time
 from Clock even shows New York as the current timezone.

Not known, IIRC it is part of the tests QA is doing and I just tested it as 
well. The systemtime application of Qtopia (and the server providing the 
implementation) will do the following.

It will copy the Timezone file to /etc/localtime
It will write /etc/timezone
It will ask atd (if it is running) to write the time


I tested it with setting the Timezone to New York and then to Tokyo. What you 
can test is that your link is valid, and if glibc does like the link, e.g. 
start copying things over as well. But then again you can ask Qtopia using 
qcop to write the timezone and new time for you

[EMAIL PROTECTED]:~# md5sum /etc/localtime /usr/share/zoneinfo/America/New_York 
e4ca381035a34b7a852184cc0dd89baa  /etc/localtime
e4ca381035a34b7a852184cc0dd89baa  /usr/share/zoneinfo/America/New_York
[EMAIL PROTECTED]:~# cat /etc/timezone 
America/[EMAIL PROTECTED]:~# date
Sat Jul 26 10:31:30 EDT 2008
[EMAIL PROTECTED]:~# /opt/Qtopia/bin/systemtime 
[EMAIL PROTECTED]:~# md5sum /etc/localtime /usr/share/zoneinfo/Asia/Tokyo 
f17769e8eb35e7a08cfedfe9b2f6b5ef  /etc/localtime
f17769e8eb35e7a08cfedfe9b2f6b5ef  /usr/share/zoneinfo/Asia/Tokyo
[EMAIL PROTECTED]:~# cat /etc/timezone 
Asia/[EMAIL PROTECTED]:~# date
Sat Jul 26 23:32:16 JST 2008


z.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Timezone problems

2008-07-26 Thread michael irons
When I try:

hwclock --systohc

I get:


hwclock: can't open '/dev/misc/rtc': No such file or directory

On the ASU/openmoko-qtopia images. I have set my repository to point
to the openmoko.downloads for ASU

On the 2007.2/default Freerunner image, the hwclock command works fine.

Any ideas what I am doing wrong?

Mike

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Timezone problems

2008-07-26 Thread Christopher White
This was discussed just today under the title 'hwclock' not working?
(ASU)

...cj


On Sat, 2008-07-26 at 16:50 -0600, michael irons wrote:
 When I try:
 
 hwclock --systohc
 
 I get:
 
 
 hwclock: can't open '/dev/misc/rtc': No such file or directory
 
 On the ASU/openmoko-qtopia images. I have set my repository to point
 to the openmoko.downloads for ASU
 
 On the 2007.2/default Freerunner image, the hwclock command works fine.
 
 Any ideas what I am doing wrong?
 
 Mike
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Timezone problems

2008-07-26 Thread michael irons
On Sat, Jul 26, 2008 at 5:54 PM, Christopher White [EMAIL PROTECTED] wrote:
 This was discussed just today under the title 'hwclock' not working?
 (ASU)



Thanks. I just read it :)

Mike

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community