OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: wpchan on October 22, 2005, 04:25:41 am
-
I have a strange problem with my C3K. It has Sharp ROM 1.11 and Tetsu v18a kernel. The time is set to PDT (US/Pacific, Seattle) and I sync it with ntpdate. Here is my locale.conf
[Language]
Language = ja
[Location]
Timezone = America/Seattle
And the date command returns "DDD MMM dd hh:mm:ss PDT 2005".
My desktop XP is also set to same time zone and sync to the same time server. So the clock on the XP is the same as shown on the Z. When I connect the Z with USB to XP (PC link setting: storage), explorer shows the time stamp of the files on the Z 1 hr earlier e.g., foo on Z will show Oct 21 19:04 but XP explorer will show the same file with time stamp Oct 21 18:04. I tried that on 2 XP and 1 gentoo linux and get the same result. It looks like it is the daylight time difference. Have I set something wrong on the Z?
Any clues will be much appreciated!
--pang
-
The problem was definitely related to daylight saving time. After switching to standard time this week, there is no more time discrepency. Now, I just have to figure out if it is the settings on my desktop or that on the Z.
--pang
-
The problem was definitely related to daylight saving time. After switching to standard time this week, there is no more time discrepency. Now, I just have to figure out if it is the settings on my desktop or that on the Z.
--pang
[div align=\"right\"][a href=\"index.php?act=findpost&pid=101811\"][{POST_SNAPBACK}][/a][/div]
Japan doesn't have daylight saving time. That's why. =)
-
I see this, too, here in MST. Did you figure out how to fix it? I don't see how to toggle MST in Opie/OpenZaurus. As in your case, my clocks are set to the same time.
==Leonard
-
I do not know a solution but this may be due to the setting of the hardware clock. I think Windoze always set the HW clock to localtime while most UNIX machines prefer UTC. I can't test this because all the unix machines that I have access to dual boot with windoze and the HW clocks are all set to localtime.
Somehow, the usb driver does not know how to account for that. In addition, I should also mention that I have /usr/share/zoneinfo/US/Pacific linked to /etc/localtime. If not, ssh sessions into Z will come up with TZ set to UTC instead of PDT.
I noticed this problem when I first started using ko/pi. When I sync the Z to my XP desktop, the timestamp of the ics file would be off by one hr but the timestamp of the calender events were correct. As long as it does not mess up my calender, I can live with that.