Ticket #201 (closed task: fixed)

Opened 3 years ago

Last modified 3 years ago

Automatic date/time configuration

Reported by: anonymous Owned by: jluebbe
Priority: major Milestone: milestone5
Component: packaging/distribution Version:
Keywords: Cc:

Description (last modified by mickey) (diff)

With Milestone 3 it was necessary to do all the following to have the correct date/time on the phone:

$ opkg update $ opkg install tzdata $ opkg install tzdata-americas $ ln -s /usr/share/zoneinfo/US/Central /etc/localtime $ opkg install ntpclient (log out and in to cause TZ to correct) $ date 072906312008 $ hwclock --systohc

Can we bundle the necessary tzdata packages in the Milestone itself at least? Better would be some automatic way to identify (GSM or WiFi?) the date/time.

Change History

comment:1 Changed 3 years ago by anonymous

  • Status changed from new to assigned
  • Owner changed from mickey to anonymous
  • Component changed from documentation to framework-image
  • Milestone set to milestone4

comment:2 Changed 3 years ago by stefan

  • Milestone milestone4 deleted

tz-data is should now be installed in all upcoming fso-images. Mickeyl made the necessary changes in OE.

For automatic time settings including timezone etc we are looking into GSM and GPS.

Sadly not all GSM networks offer the time service.

We are also looking for a mapping/db to get the timezone information for the current GPS information.

Unsetting Milestone as tz-data should be installed now and the other stuff is not reasonable in the MS4 timeframe

comment:3 Changed 3 years ago by mickey

  • Summary changed from Milestone 3 still lacks basic date/time config out of the box to Automatic date/time configuration
  • Type changed from defect to task
  • Description modified (diff)
  • Milestone set to milestone5

tzdata are shipped now. Changing bug and bumping to next milestone.

comment:4 Changed 3 years ago by daniel

  • Status changed from assigned to new
  • Owner changed from anonymous to daniel

Since anonymous has too much to do I will reassign that to me.

comment:5 Changed 3 years ago by daniel

  • Status changed from new to assigned
  • Owner changed from daniel to jluebbe

Jan has hacked up otimed to set the time via ntpd or from GPS, but the timezone issue remains.

comment:6 Changed 3 years ago by jluebbe

We now have a mapping from GSM network code to ISO-3166 country code, and this is now used to set the time zone.

We don't currently have all needed zoneinfo files in the image, /usr/share/zoneinfo/zone.tab has the list. We need to have all these files (about 400) in the image.

comment:7 Changed 3 years ago by jluebbe

  • Status changed from assigned to closed
  • Resolution set to fixed

This is working now.

Note: See TracTickets for help on using tickets.