Re: [SHR] timezone broken again

2009-04-19 Thread William Kenworthy
On Sat, 2009-04-18 at 13:55 +0200, Michael 'Mickey' Lauer wrote:
 On Saturday 18 April 2009 02:20:47 William Kenworthy wrote:
  Try screen - run screen -L and it will log anything in the window to
  file (screenlog.0) - advantage also in that you can reattach and check
  whats happening as well.  I presume there is no loading problems on
  normal operation leaving mickeyterm running?
 
 No problem as long as you don't want to use GPRS. ogsmd uses 3 out of 4 
 channels for the Calypso in normal operation, so the 4th is free for direct 
 communication (mickeyterm) or ppp.
 
 :M:

Thanks.  Nothing yet (vodafone australia)  I know they send the timezone
occasionally as the timezone tried to be overwritten until I turned it
off.  My Treo was never able to get network time over a number of years,
and now the FR has never shown any indication so I dont think its used.
Will keep watching!

BillK



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


Re: [SHR] timezone broken again

2009-04-19 Thread The Digital Pioneer
I'm not getting anything, except +CRING: VOICE which I assume is a call.
Perhaps they do it some other way? I know it's getting done somehow, I just
haven't the foggiest idea how. :P

Telcos may not be the most cooperative creatures, but perhaps you could just
ask one how they do it? You'd have to dig deep to find someone who knows,
but surely someone would. Or maybe I'm just being naive. :P
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] timezone broken again

2009-04-18 Thread Michael 'Mickey' Lauer
On Saturday 18 April 2009 02:20:47 William Kenworthy wrote:
 Try screen - run screen -L and it will log anything in the window to
 file (screenlog.0) - advantage also in that you can reattach and check
 whats happening as well.  I presume there is no loading problems on
 normal operation leaving mickeyterm running?

No problem as long as you don't want to use GPRS. ogsmd uses 3 out of 4 
channels for the Calypso in normal operation, so the 4th is free for direct 
communication (mickeyterm) or ppp.

:M:

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


Re: [SHR] timezone broken again

2009-04-17 Thread Christian Gagneraud
The Digital Pioneer wrote:
 I'm not sure where it gets the zone from, but if someone knows a way to 
 sync from GSM without screwing up the TZ, I'd love to hear it.

Hi,

GSM can't be used as a time source, only as a zone source. That's what 
i understand when i look at otimed.py: 
http://git.freesmartphone.org/?p=framework.git;a=blob;f=framework/subsystems/otimed/otimed.py;h=8f57a80667abaabc7b77bfdaa95d572a880602e8;hb=HEAD

time sources: GPS and/or NTP
zone sources: GSM

Chris

 
 
 
 
 ___
 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: [SHR] timezone broken again

2009-04-17 Thread The Digital Pioneer
...Which makes the FR pretty much the only phone in the USA that doesn't get
its time from the network...
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] timezone broken again

2009-04-17 Thread Maksim 'max_posedon' Melnikau
On Friday 17 April 2009 18:03:51 The Digital Pioneer wrote:
 ...Which makes the FR pretty much the only phone in the USA that doesn't
 get its time from the network...
I thought get time from network is cdma feature.


signature.asc
Description: This is a digitally signed message part.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] timezone broken again

2009-04-17 Thread Michael 'Mickey' Lauer
On Friday 17 April 2009 17:03:51 The Digital Pioneer wrote:
 ...Which makes the FR pretty much the only phone in the USA that doesn't
 get its time from the network...

I have not seeing you answering http://www.mail-
archive.com/de...@lists.openmoko.org/msg02181.html

...

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


Re: [SHR] timezone broken again

2009-04-17 Thread The Digital Pioneer
I have no idea how, I just know that pretty much every phone in the USA
syncs time from the network. They also change timezones automatically.

Michael Lauer: Not entirely sure what that page is saying... Is it saying we
don't know exactly how to get time from the network?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] timezone broken again

2009-04-17 Thread Michael 'Mickey' Lauer
On Friday 17 April 2009 17:30:37 The Digital Pioneer wrote:
 Michael Lauer: Not entirely sure what that page is saying... Is it saying
 we don't know exactly how to get time from the network?

Once someone sends me an unsolicited response code from a FreeRunner that 
shows that the network sent the a timezone report, I will add support for it 
in ogsmd.

Open mickeyterm and issue AT%CTZV=1. Then, wait for any %CTZV messages coming 
in.

:M:



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


Re: [SHR] timezone broken again

2009-04-17 Thread Marcel
Am Freitag, 17. April 2009 17:43:03 schrieb Michael 'Mickey' Lauer:
 On Friday 17 April 2009 17:30:37 The Digital Pioneer wrote:
  Michael Lauer: Not entirely sure what that page is saying... Is it saying
  we don't know exactly how to get time from the network?

 Once someone sends me an unsolicited response code from a FreeRunner that
 shows that the network sent the a timezone report, I will add support for
 it in ogsmd.

 Open mickeyterm and issue AT%CTZV=1. Then, wait for any %CTZV messages
 coming in.

 :M:

In Alice/Hansenet's network I don't get any response to AT%CTZV=1:

d-a318:~/pyhelpers/mickeyterm# ./mickeyterm
--- Mickey's Term V2.9.3 @ /dev/pts/4 ---
AT-Command Interpreter ready
AT+CMEE=2;+CRC=1
OK
AT%CTZV=1
AT%CTZV=1
OK

Waited for over 2 minutes now. I think this corresponds to your findings. So 
you actually need someone in the USA to test this? (Finally the enlightenment 
has come...)

--
Marcel

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


Re: [SHR] timezone broken again

2009-04-17 Thread The Digital Pioneer
I am in USA, on ATT's 3G network (I think) and I never got a response
either...
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] timezone broken again

2009-04-17 Thread Michael 'Mickey' Lauer
AT%CTVZ=1 just enables the unsolicited result code. There is no way to 
actually _query_ the time from the network. It depends on the operator whether 
it sends it to you or not. It also depends on the modem whether it can 
understand the network time report or not. The unsolicited result code can 
occur at any time, e.g. during cell handover or registration.

You probably need to look for it (read: log data) for a couple of hours or 
days to spot it. In germany you will not get it at all. In fact whereever I 
have been since 2006 I never have seen one. Then again, I've not been in the 
US since 2002.

:M:


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


Re: [SHR] timezone broken again

2009-04-17 Thread The Digital Pioneer
I was wondering where 'unsolicited' fit into all this... OK, so how do I log
it without having it connected to my laptop all the time? :P
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] timezone broken again

2009-04-17 Thread Marcel
Am Samstag, 18. April 2009 00:14:15 schrieb The Digital Pioneer:
 I was wondering where 'unsolicited' fit into all this... OK, so how do I
 log it without having it connected to my laptop all the time? :P

Maybe some construction with mickeyterm in a screen session and modifying the 
python code to print into a file instead of stdout? (Or, without hacking 
mterm, redirect stdout to a file?)
In both cases you would have to start it once before to enable these special 
messages... (could have expressed that better :) )

--
Marcel

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


Re: [SHR] timezone broken again

2009-04-17 Thread The Digital Pioneer
Meh, would `mickeyterm 21  AT%CTVZ=1 | tee mickeyterm.out` work? :P
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] timezone broken again

2009-04-17 Thread Evgeny
On Sat, Apr 18, 2009 at 1:11 AM, Michael 'Mickey' Lauer
mic...@vanille-media.de wrote:
 AT%CTVZ=1 just enables the unsolicited result code. There is no way to
 actually _query_ the time from the network. It depends on the operator whether
 it sends it to you or not. It also depends on the modem whether it can
 understand the network time report or not. The unsolicited result code can
 occur at any time, e.g. during cell handover or registration.

 You probably need to look for it (read: log data) for a couple of hours or
 days to spot it. In germany you will not get it at all. In fact whereever I
 have been since 2006 I never have seen one. Then again, I've not been in the
 US since 2002.

 :M:

My dumb nokia updated time when I was in finland.
AFAIR it was Elisa and Teliasonera, so maybe some finnish openvoko
users/devs can provide a logs?

Regards, Evgeny.


-- 
So long, and thanks for all the fish.

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


Re: [SHR] timezone broken again

2009-04-17 Thread William Kenworthy
Try screen - run screen -L and it will log anything in the window to
file (screenlog.0) - advantage also in that you can reattach and check
whats happening as well.  I presume there is no loading problems on
normal operation leaving mickeyterm running?

BillK



On Fri, 2009-04-17 at 17:33 -0500, The Digital Pioneer wrote:
 AT%CTVZ=1
-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!


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


Re: [SHR] timezone broken again

2009-04-17 Thread The Digital Pioneer
OK, I ran the mickeyterm and put in AT%CTZV=1 and then closed the terminal.
I assume that left the mickeyterm running...?
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [SHR] timezone broken again

2009-04-17 Thread William Kenworthy
Install screen on your desktop so you can man screen

^ad (^ is the control key) detaches, leaving screen running
screen -r reattaches
^ac creates a new window in screen
^a1, ^a2, ^a3 etc to switch between active windows
Nice feature is you can also ssh in or use the local terminal and
reattach and see whats happening. 

Very useful app

BillK



On Fri, 2009-04-17 at 19:31 -0500, The Digital Pioneer wrote:
 OK, I ran the mickeyterm and put in AT%CTZV=1 and then closed the
 terminal. I assume that left the mickeyterm running...?
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!


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


Re: [SHR] timezone broken again

2009-04-17 Thread Mike Montour
Michael 'Mickey' Lauer wrote:
 AT%CTVZ=1 just enables the unsolicited result code. There is no way to 
 actually _query_ the time from the network.

I don't know what method it uses but my Nokia 3500 phone gets the 
current time+date automatically (operator is Fido in Canada). I've 
tested this by manually setting an incorrect value and then 
power-cycling the phone, and it goes back to the correct time as soon as 
it boots up.

I did a quick test with 'mickeyterm' on my Freerunner and I haven't seen 
any %CTZV messages yet.


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


Re: [SHR] timezone broken again

2009-04-15 Thread ivvmm
The Digital Pioneer wrote:
 You don't have to set timesources = NONE, but zonesources should. I
 assume it still acquires the actual time whenever it can if timesources
 has something in it... Perhaps not, though.
 
 
 
 


Does this mean that time will no longer be synchronized with GSM? The
thing is that otimed changes the zone, while it should only sync the
time, no more, no less... Does NTP server sync timezone? No.


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


Re: [SHR] timezone broken again

2009-04-15 Thread The Digital Pioneer
I'm not sure where it gets the zone from, but if someone knows a way to sync
from GSM without screwing up the TZ, I'd love to hear it.
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[SHR] timezone broken again

2009-04-14 Thread ivvmm
This week in SHR was glad to see that editing /etc/timezone and copying
from /usr/share/zoneinfo/smth to /etc/localtime did the trick ---
changed from the London time to what one wanted to.

But today I did an update/upgrade and it broke again. Now we get EEST
timezone.

Does anyone know how to fix it?

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