Yes, thank you. that helped resolve the problem. But now, after a
while the device screen becomes irreversibly inactive. Any hints ? I
see the following in the console:

<6>request_suspend_state: wakeup (3->0) at 29711240647 (1970-01-01
00:00:29.829702155 UTC)
request_suspend_state: wakeup (3->0) at 29711240647 (1970-01-01
00:00:29.829702155 UTC)
<6>request_suspend_state: sleep (0->3) at 136574022170 (1970-01-01
00:02:16.692483370 UTC)
request_suspend_state: sleep (0->3) at 136574022170 (1970-01-01
00:02:16.692483370 UTC)
<6>request_suspend_state: wakeup (3->0) at 141070390168 (1970-01-01
00:02:21.188850138 UTC)
request_suspend_state: wakeup (3->0) at 141070390168 (1970-01-01
00:02:21.188850138 UTC)
<6>request_suspend_state: sleep (0->3) at 219323331093 (1970-01-01
00:03:39.441792909 UTC)
request_suspend_state: sleep (0->3) at 219323331093 (1970-01-01
00:03:39.441792909 UTC)


On Oct 14, 10:35 pm, Luo Chunbo <[email protected]> wrote:
> I think you should enable CONFIG_PM in the kernel firstly.
>
> Otherwise the framework cannot  get the position value.
>
> On 10/14/2010 06:20 AM, TheLoneJoker wrote:
>
> > Below is a partial "StartUp" log if that helps.
>
> > D/AndroidRuntime(  582):>>>>>>>>>>>>>>  AndroidRuntime START
> > <<<<<<<<<<<<<<
> > D/AndroidRuntime(  582): CheckJNI is ON
> > I/        (  583): ServiceManager: 0xacd0
> > W/AudioHardwareInterface(  583): Using stubbed audio hardware. No
> > sound will be produced.
> > D/AudioHardwareInterface(  583): setMode(NORMAL)
> > I/CameraService(  583): CameraService started: pid=583
> > I/AudioFlinger(  583): AudioFlinger's thread 0xb3d8 ready to run
> > D/AndroidRuntime(  582): --- registering native functions ---
> > I/SamplingProfilerIntegration(  582): Profiler is disabled.
> > I/Zygote  (  582): Preloading classes...
> > D/dalvikvm(  582): GC_EXPLICIT freed 816 objects / 47208 bytes in 8ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 219 objects / 13560 bytes in 6ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 253 objects / 14336 bytes in 7ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 466 objects / 28872 bytes in 8ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 2090 objects / 108312 bytes in
> > 10ms
> > W/MediaProfiles(  582): could not find media config xml file
> > D/dalvikvm(  582): GC_EXPLICIT freed 279 objects / 15968 bytes in 11ms
> > D/dalvikvm(  582): GC_FOR_MALLOC freed 5057 objects / 224056 bytes in
> > 20ms
> > D/dalvikvm(  582): GC_FOR_MALLOC freed 11293 objects / 384680 bytes in
> > 25ms
> > D/dalvikvm(  582): GC_FOR_MALLOC freed 9866 objects / 463760 bytes in
> > 29ms
> > D/dalvikvm(  582): GC_FOR_MALLOC freed 8632 objects / 421088 bytes in
> > 32ms
> > D/dalvikvm(  582): GC_FOR_MALLOC freed 7635 objects / 460976 bytes in
> > 34ms
> > D/dalvikvm(  582): GC_FOR_MALLOC freed 7526 objects / 462192 bytes in
> > 33ms
> > D/dalvikvm(  582): GC_FOR_MALLOC freed 7783 objects / 460520 bytes in
> > 34ms
> > D/dalvikvm(  582): GC_FOR_MALLOC freed 7279 objects / 457536 bytes in
> > 36ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 1148 objects / 81448 bytes in
> > 33ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 596 objects / 29192 bytes in 32ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 449 objects / 25048 bytes in 33ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 308 objects / 35192 bytes in 46ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 279 objects / 19016 bytes in 47ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 341 objects / 18480 bytes in 47ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 449 objects / 28352 bytes in 48ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 529 objects / 53184 bytes in 53ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 623 objects / 33984 bytes in
> > 157ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 861 objects / 46952 bytes in
> > 159ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 1747 objects / 85520 bytes in
> > 55ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 447 objects / 29448 bytes in 55ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 315 objects / 20096 bytes in 55ms
> > I/Zygote  (  582): ...preloaded 1265 classes in 10431ms.
> > D/dalvikvm(  582): GC_EXPLICIT freed 99 objects / 13936 bytes in 162ms
> > I/Zygote  (  582): Preloading resources...
> > D/dalvikvm(  582): GC_EXPLICIT freed 312 objects / 15560 bytes in 56ms
> > W/Zygote  (  582): Preloaded drawable resource #0x10801e8 (res/
> > drawable-mdpi/jog_tab_bar_left_end_confirm_gray.9.png) that varies
> > with configuration!!
> > W/Zygote  (  582): Preloaded drawable resource #0x10801ec (res/
> > drawable-mdpi/jog_tab_bar_left_end_normal.9.png) that varies with
> > configuration!!
> > W/Zygote  (  582): Preloaded drawable resource #0x10801ed (res/
> > drawable-mdpi/jog_tab_bar_left_end_pressed.9.png) that varies with
> > configuration!!
> > W/Zygote  (  582): Preloaded drawable resource #0x10801f1 (res/
> > drawable-mdpi/jog_tab_bar_right_end_confirm_gray.9.png) that varies
> > with configuration!!
> > W/Zygote  (  582): Preloaded drawable resource #0x10801f5 (res/
> > drawable-mdpi/jog_tab_bar_right_end_normal.9.png) that varies with
> > configuration!!
> > W/Zygote  (  582): Preloaded drawable resource #0x10801f6 (res/
> > drawable-mdpi/jog_tab_bar_right_end_pressed.9.png) that varies with
> > configuration!!
> > D/dalvikvm(  582): GC_EXPLICIT freed 392 objects / 23920 bytes in 58ms
> > W/Zygote  (  582): Preloaded drawable resource #0x10801fb (res/
> > drawable-mdpi/jog_tab_left_confirm_gray.png) that varies with
> > configuration!!
> > W/Zygote  (  582): Preloaded drawable resource #0x1080200 (res/
> > drawable-mdpi/jog_tab_left_normal.png) that varies with
> > configuration!!
> > W/Zygote  (  582): Preloaded drawable resource #0x1080201 (res/
> > drawable-mdpi/jog_tab_left_pressed.png) that varies with
> > configuration!!
> > W/Zygote  (  582): Preloaded drawable resource #0x1080203 (res/
> > drawable-mdpi/jog_tab_right_confirm_gray.png) that varies with
> > configuration!!
> > W/Zygote  (  582): Preloaded drawable resource #0x1080209 (res/
> > drawable-mdpi/jog_tab_right_normal.png) that varies with
> > configuration!!
> > W/Zygote  (  582): Preloaded drawable resource #0x108020a (res/
> > drawable-mdpi/jog_tab_right_pressed.png) that varies with
> > configuration!!
> > I/Zygote  (  582): ...preloaded 61 resources in 758ms.
> > I/Zygote  (  582): ...preloaded 15 resources in 29ms.
> > D/dalvikvm(  582): GC_EXPLICIT freed 331 objects / 19968 bytes in 59ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 111 objects / 4384 bytes in 58ms
> > D/dalvikvm(  582): GC_EXPLICIT freed 2 objects / 48 bytes in 58ms
> > I/dalvikvm(  582): System server process 637 has been created
> > I/Zygote  (  582): Accepting command socket connections
> > E/BatteryService(  637): acOnlinePath not found
> > E/BatteryService(  637): usbOnlinePath not found
> > E/BatteryService(  637): batteryStatusPath not found
> > E/BatteryService(  637): batteryHealthPath not found
> > E/BatteryService(  637): batteryPresentPath not found
> > E/BatteryService(  637): batteryCapacityPath not found
> > E/BatteryService(  637): batteryVoltagePath not found
> > E/BatteryService(  637): batteryTemperaturePath not found
> > E/BatteryService(  637): batteryTechnologyPath not found
> > I/sysproc (  637): Entered system_init()
> > I/sysproc (  637): ServiceManager: 0x12f738
> > I/SurfaceFlinger(  637): SurfaceFlinger is starting
> > I/SurfaceFlinger(  637): SurfaceFlinger's main thread ready to run.
> > Initializing graphics H/W...
> > E/SurfaceFlinger(  637): Couldn't open /sys/power/wait_for_fb_sleep
> > or /sys/power/wait_for_fb_wake
> > W/gralloc (  637): page flipping not supported (yres_virtual=272,
> > requested=544)
> > I/gralloc (  637): using (fd=23)
> > I/gralloc (  637): id           = CLCD FB
> > I/gralloc (  637): xres         = 480 px
> > I/gralloc (  637): yres         = 272 px
> > I/gralloc (  637): xres_virtual = 480 px
> > I/gralloc (  637): yres_virtual = 272 px
> > I/gralloc (  637): bpp          = 16
> > I/gralloc (  637): r            = 11:5
> > I/gralloc (  637): g            =  5:6
> > I/gralloc (  637): b            =  0:5
> > I/gralloc (  637): width        = 76 mm (160.421051 dpi)
> > I/gralloc (  637): height       = 43 mm (160.669769 dpi)
> > I/gralloc (  637): refresh rate = 67.37 Hz
> > D/libEGL  (  637): egl.cfg not found, using default config
> > D/libEGL  (  637): loaded /system/lib/egl/libGLES_android.so
> > I/SurfaceFlinger(  637): EGL informations:
> > I/SurfaceFlinger(  637): # of configs : 8
> > I/SurfaceFlinger(  637): vendor    : Android
> > I/SurfaceFlinger(  637): version   : 1.4 Android META-EGL
> > I/SurfaceFlinger(  637): extensions: EGL_KHR_image EGL_KHR_image_base
> > EGL_KHR_image_pixmap EGL_ANDROID_image_native_buffer
> > EGL_ANDROID_swap_rectangle EGL_ANDROID_get_render_buffer
> > I/SurfaceFlinger(  637): Client API: OpenGL ES
> > I/SurfaceFlinger(  637): EGLSurface: 5-6-5-0, config=0x1000000
> > I/SurfaceFlinger(  637): flags     : 001c0000
> > W/SurfaceFlinger(  637): ro.sf.lcd_density not defined, using 160 dpi
> > by default.
> > I/SurfaceFlinger(  637): OpenGL informations:
> > I/SurfaceFlinger(  637): vendor    : Android
> > I/SurfaceFlinger(  637): renderer  : Android PixelFlinger 1.3
> > I/SurfaceFlinger(  637): version   : OpenGL ES-CM 1.0
> > I/SurfaceFlinger(  637): extensions: GL_OES_byte_coordinates
> > GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format
> > GL_OES_compressed_paletted_texture GL_OES_draw_texture
> > GL_OES_matrix_get GL_OES_query_matrix GL_OES_EGL_image
> > GL_OES_compressed_ETC1_RGB8_texture GL_ARB_texture_compression
> > GL_ARB_texture_non_power_of_two GL_ANDROID_user_clip_plane
> > GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap
> > I/SurfaceFlinger(  637): GL_MAX_TEXTURE_SIZE = 4096
> > I/SurfaceFlinger(  637): GL_MAX_VIEWPORT_DIMS = 4096
> > I/sysproc (  637): System server: starting Android runtime.
> > I/sysproc (  637): System server: starting Android services.
> > I/SystemServer(  637): Entered the Android system server!
> > I/sysproc (  637): System server: entering thread pool.
> > I/SystemServer(  637): Entropy Service
> > D/libEGL  (  649): egl.cfg not found, using default config
> > D/libEGL  (  649): loaded /system/lib/egl/libGLES_android.so
> > W/zipro   (  649): Unable to open zip '/data/local/bootanimation.zip':
> > No such file or directory
> > W/zipro   (  649): Unable to open zip '/system/media/
> > bootanimation.zip': No such file or directory
> > I/ARMAssembler(  637): generated
> > scanline__00000077:03010104_00000004_00000000 [ 22 ipp] (41 ins) at
> > [0x1eae90:0x1eaf34] in 422154 ns
> > I/ARMAssembler(  649): generated
> > scanline__00000077:03545404_00000A01_00000000 [ 30 ipp] (51 ins) at
> > [0x18020:0x180ec] in 524923 ns
> > I/SystemServer(  637): Power Manager
> > I/SystemServer(  637): Activity Manager
> > I/ActivityManager(  637): Memory class: 16
> > W/UsageStats(  637): Usage stats version changed; dropping
> > I/SystemServer(  637): Telephony Registry
> > I/SystemServer(  637): Package Manager
> > I/Installer(  637): connecting...
> > I/installd(  585): new connection
> > I/PackageManager(  637): Libs: android.test.runner:/system/framework/
> > android.test.runner.jar javax.obex:/system/framework/javax.obex.jar
> > I/PackageManager(  637): Features:
> > D/dalvikvm(  637): GC_FOR_MALLOC freed 5879 objects / 244128 bytes in
> > 95ms
>
> ...
>
> read more »

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to