Attempting to change the date from the shell reveals a little more
information:

$ adb shell date $(date +%s)
time 1303997425 -> 1303997425.0
settimeofday failed Bad file number
$

I'm trying to find information on the settimeofday failed error, but
so far no luck.

On Apr 28, 8:54 am, Jim D <jim...@gmail.com> wrote:
> Hi all!
>
> I've ported Android 2.3.3 to my Freescale iMX-based board, and for
> some reason I cannot change the date or time.  (This problem occurred
> on IMX's R10 and R10.1 releases.)
>
> Changing the value in settings has no effect.  Moreover, the time in
> the top-right notification area does not refresh every minute.
>
> Logcat output follows:
> I/ActivityManager( 2135): Starting: Intent
> { act=android.intent.action.MAIN
> cmp=com.android.settings/.DateTimeSettings } from pid 2392
> I/SurfaceFlinger( 2135): mHw->getFormat() 4
> I/ActivityManager( 2135): Displayed
> com.android.settings/.DateTimeSettings: +403ms
> D/SystemClock( 2392): Setting time of day to sec=1293840988
> W/SystemClock( 2392): Unable to open alarm driver: No such file or
> directory
>
> I'm not sure if it's in any way related, but I dmesg output shows the
> following:
> <7>Waiting arm_podf enabled!
>
> Appreciate any advice or troubleshooting tips.
>
> Best regards,
>
> Jim

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to