Hello! Now I'm porting FroYo on Apad iRobot Rockchip RK2808 with kernel 2.6.25, but faced with the problem. When inserted in the inclusion of USB cable the device will turn on a black screen. However, power off window that appears when I long press the center button. This is not an important bug. Much more interesting is that the touchscreen does not work. My touchscreen model - ak4183. This conclusion of # cat /proc/bus/input/devices
I: Bus=0000 Vendor=0001 Product=0001 Version=0100 N: Name="rk28_AD_button" P: Phys=rk28_AD_button/input0 S: Sysfs=/devices/platform/rk28_AD_button/input/input0 U: Uniq= H: Handlers=kbd event0 B: EV=3 B: KEY=40008000 c16c0 0 48000000 10000000 I: Bus=0019 Vendor=0001 Product=0001 Version=0100 N: Name="Rk28 Mouse" P: Phys= S: Sysfs=/devices/virtual/input/input1 U: Uniq= H: Handlers=mouse0 event1 B: EV=7 B: KEY=30000 0 0 0 0 0 0 0 0 B: REL=3 I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="ak4183" P: Phys=ak4183_TS/input0 S: Sysfs=/devices/virtual/input/input2 U: Uniq= H: Handlers=mouse1 event2 B: EV=b B: KEY=400 0 0 0 0 0 0 0 0 0 0 B: ABS=3 I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="compass" P: Phys= S: Sysfs=/devices/virtual/input/input3 U: Uniq= H: Handlers=event3 B: EV=9 B: ABS=7 B: ABS = 7 Just give a log switch the device with the inserted USB cable. I/Vold ( 713): Vold 2.1 (the revenge) firing up D/Vold ( 713): Volume sdcard state changing -1 (Initializing) -> 0 (No-Media) E/flash_image( 720): error opening /system/recovery.img: No such file or directory W/Vold ( 713): No UMS switch available D/AndroidRuntime( 715): D/AndroidRuntime( 715): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<< D/AndroidRuntime( 715): CheckJNI is ON I/ ( 717): ServiceManager: 0xacd0 W/AudioHardwareInterface( 717): Using stubbed audio hardware. No sound will be produced. D/AudioHardwareInterface( 717): setMode(NORMAL) I/CameraService( 717): CameraService started: pid=717 I/AudioFlinger( 717): AudioFlinger's thread 0xb390 ready to run D/AndroidRuntime( 715): --- registering native functions --- I/SamplingProfilerIntegration( 715): Profiler is disabled. I/Zygote ( 715): Preloading classes... E/Zygote ( 715): setreuid() failed. errno: 2 D/dalvikvm( 715): GC_EXPLICIT freed 820 objects / 47408 bytes in 6ms D/dalvikvm( 715): GC_EXPLICIT freed 218 objects / 13560 bytes in 4ms D/dalvikvm( 715): GC_EXPLICIT freed 253 objects / 14360 bytes in 5ms D/dalvikvm( 715): GC_EXPLICIT freed 466 objects / 28864 bytes in 6ms D/dalvikvm( 715): GC_EXPLICIT freed 2090 objects / 108360 bytes in 8ms W/MediaProfiles( 715): could not find media config xml file D/dalvikvm( 715): GC_EXPLICIT freed 279 objects / 15992 bytes in 8ms D/dalvikvm( 715): GC_FOR_MALLOC freed 5057 objects / 224264 bytes in 18ms D/dalvikvm( 715): GC_FOR_MALLOC freed 11260 objects / 381576 bytes in 23ms D/dalvikvm( 715): GC_FOR_MALLOC freed 9803 objects / 462256 bytes in 25ms D/dalvikvm( 715): GC_FOR_MALLOC freed 8677 objects / 421792 bytes in 27ms D/dalvikvm( 715): GC_FOR_MALLOC freed 7486 objects / 461736 bytes in 28ms D/dalvikvm( 715): GC_FOR_MALLOC freed 7700 objects / 458888 bytes in 29ms D/dalvikvm( 715): GC_FOR_MALLOC freed 7554 objects / 456864 bytes in 29ms D/dalvikvm( 715): GC_FOR_MALLOC freed 8235 objects / 509112 bytes in 30ms D/dalvikvm( 715): GC_EXPLICIT freed 445 objects / 38896 bytes in 26ms D/dalvikvm( 715): GC_EXPLICIT freed 595 objects / 29096 bytes in 27ms D/dalvikvm( 715): GC_EXPLICIT freed 445 objects / 24840 bytes in 28ms D/dalvikvm( 715): GC_EXPLICIT freed 308 objects / 35104 bytes in 38ms D/dalvikvm( 715): GC_EXPLICIT freed 279 objects / 18872 bytes in 39ms D/dalvikvm( 715): GC_EXPLICIT freed 341 objects / 18416 bytes in 40ms D/dalvikvm( 715): GC_EXPLICIT freed 449 objects / 28288 bytes in 40ms D/dalvikvm( 715): GC_EXPLICIT freed 529 objects / 53224 bytes in 44ms D/dalvikvm( 715): GC_EXPLICIT freed 623 objects / 34000 bytes in 45ms D/dalvikvm( 715): GC_EXPLICIT freed 861 objects / 46824 bytes in 48ms D/dalvikvm( 715): GC_EXPLICIT freed 1747 objects / 85536 bytes in 46ms D/dalvikvm( 715): GC_EXPLICIT freed 447 objects / 29376 bytes in 46ms D/dalvikvm( 715): GC_EXPLICIT freed 315 objects / 20160 bytes in 47ms I/Zygote ( 715): ...preloaded 1265 classes in 7984ms. E/Zygote ( 715): setreuid() failed. errno: 2 D/dalvikvm( 715): GC_EXPLICIT freed 104 objects / 14224 bytes in 49ms I/Zygote ( 715): Preloading resources... D/dalvikvm( 715): GC_EXPLICIT freed 312 objects / 15616 bytes in 48ms W/Zygote ( 715): Preloaded drawable resource #0x10801e8 (res/ drawable-mdpi/jog_tab_bar_left_end_confirm_gray.9.png) that varies with configuration!! W/Zygote ( 715): Preloaded drawable resource #0x10801ec (res/ drawable-mdpi/jog_tab_bar_left_end_normal.9.png) that varies with configuration!! W/Zygote ( 715): Preloaded drawable resource #0x10801ed (res/ drawable-mdpi/jog_tab_bar_left_end_pressed.9.png) that varies with configuration!! W/Zygote ( 715): Preloaded drawable resource #0x10801f1 (res/ drawable-mdpi/jog_tab_bar_right_end_confirm_gray.9.png) that varies with configuration!! W/Zygote ( 715): Preloaded drawable resource #0x10801f5 (res/ drawable-mdpi/jog_tab_bar_right_end_normal.9.png) that varies with configuration!! W/Zygote ( 715): Preloaded drawable resource #0x10801f6 (res/ drawable-mdpi/jog_tab_bar_right_end_pressed.9.png) that varies with configuration!! D/dalvikvm( 715): GC_EXPLICIT freed 392 objects / 23896 bytes in 53ms W/Zygote ( 715): Preloaded drawable resource #0x10801fb (res/ drawable-mdpi/jog_tab_left_confirm_gray.png) that varies with configuration!! W/Zygote ( 715): Preloaded drawable resource #0x1080200 (res/ drawable-mdpi/jog_tab_left_normal.png) that varies with configuration!! W/Zygote ( 715): Preloaded drawable resource #0x1080201 (res/ drawable-mdpi/jog_tab_left_pressed.png) that varies with configuration!! W/Zygote ( 715): Preloaded drawable resource #0x1080203 (res/ drawable-mdpi/jog_tab_right_confirm_gray.png) that varies with configuration!! W/Zygote ( 715): Preloaded drawable resource #0x1080209 (res/ drawable-mdpi/jog_tab_right_normal.png) that varies with configuration!! W/Zygote ( 715): Preloaded drawable resource #0x108020a (res/ drawable-mdpi/jog_tab_right_pressed.png) that varies with configuration!! I/Zygote ( 715): ...preloaded 61 resources in 561ms. I/Zygote ( 715): ...preloaded 15 resources in 20ms. D/dalvikvm( 715): GC_EXPLICIT freed 331 objects / 19952 bytes in 49ms D/dalvikvm( 715): GC_EXPLICIT freed 111 objects / 4400 bytes in 50ms D/dalvikvm( 715): GC_EXPLICIT freed 2 objects / 48 bytes in 49ms I/dalvikvm( 715): System server process 786 has been created I/Zygote ( 715): Accepting command socket connections E/BatteryService( 786): acOnlinePath not found E/BatteryService( 786): batteryVoltagePath not found E/BatteryService( 786): batteryTemperaturePath not found I/sysproc ( 786): Entered system_init() I/sysproc ( 786): ServiceManager: 0x11cfb0 I/SurfaceFlinger( 786): SurfaceFlinger is starting I/SurfaceFlinger( 786): SurfaceFlinger's main thread ready to run. Initializing graphics H/W... E/SurfaceFlinger( 786): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake W/gralloc ( 786): page flipping not supported (yres_virtual=480, requested=960) I/gralloc ( 786): using (fd=22) I/gralloc ( 786): id = win1fb I/gralloc ( 786): xres = 800 px I/gralloc ( 786): yres = 480 px I/gralloc ( 786): xres_virtual = 800 px I/gralloc ( 786): yres_virtual = 480 px I/gralloc ( 786): bpp = 16 I/gralloc ( 786): r = 11:5 I/gralloc ( 786): g = 5:6 I/gralloc ( 786): b = 0:5 I/gralloc ( 786): width = 800 mm (25.400000 dpi) I/gralloc ( 786): height = 480 mm (25.400000 dpi) I/gralloc ( 786): refresh rate = 56253.19 Hz D/libEGL ( 786): egl.cfg not found, using default config D/libEGL ( 786): loaded /system/lib/egl/libGLES_android.so I/SurfaceFlinger( 786): EGL informations: I/SurfaceFlinger( 786): # of configs : 8 I/SurfaceFlinger( 786): vendor : Android I/SurfaceFlinger( 786): version : 1.4 Android META-EGL I/SurfaceFlinger( 786): 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( 786): Client API: OpenGL ES I/SurfaceFlinger( 786): EGLSurface: 5-6-5-0, config=0x1000000 I/SurfaceFlinger( 786): flags : 001c0000 W/SurfaceFlinger( 786): ro.sf.lcd_density not defined, using 160 dpi by default. I/SurfaceFlinger( 786): OpenGL informations: I/SurfaceFlinger( 786): vendor : Android I/SurfaceFlinger( 786): renderer : Android PixelFlinger 1.3 I/SurfaceFlinger( 786): version : OpenGL ES-CM 1.0 I/SurfaceFlinger( 786): 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( 786): GL_MAX_TEXTURE_SIZE = 4096 I/SurfaceFlinger( 786): GL_MAX_VIEWPORT_DIMS = 4096 I/sysproc ( 786): System server: starting Android runtime. I/sysproc ( 786): System server: starting Android services. I/SystemServer( 786): Entered the Android system server! I/sysproc ( 786): System server: entering thread pool. I/SystemServer( 786): Entropy Service I/SystemServer( 786): Power Manager I/SystemServer( 786): Activity Manager I/ActivityManager( 786): Memory class: 16 W/UsageStats( 786): Usage stats version changed; dropping I/SystemServer( 786): Telephony Registry I/SystemServer( 786): Package Manager I/Installer( 786): connecting... I/installd( 719): new connection I/PackageManager( 786): Libs: android.test.runner:/system/framework/ android.test.runner.jar javax.obex:/system/framework/javax.obex.jar I/PackageManager( 786): Features: D/dalvikvm( 786): GC_FOR_MALLOC freed 5852 objects / 247792 bytes in 73ms W/PackageManager( 786): Running ENG build: no pre-dexopt! D/PackageManager( 786): Scanning app dir /system/framework D/PackageManager( 786): Scanning app dir /system/app D/dalvikvm( 786): GC_FOR_MALLOC freed 6886 objects / 334512 bytes in 75ms D/dalvikvm( 786): GC_FOR_MALLOC freed 5486 objects / 300216 bytes in 77ms W/PackageParser( 786): No actions in intent filter at /system/app/ Bluetooth.apk Binary XML file line #124 D/PackageManager( 786): Scanning app dir /data/app D/PackageManager( 786): Scanning app dir /data/app-private I/PackageManager( 786): Time to scan packages: 3.931 seconds W/PackageManager( 786): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.contacts W/PackageManager( 786): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package com.android.providers.contacts W/PackageManager( 786): Unknown permission com.google.android.gm.permission.WRITE_GMAIL in package com.android.settings W/PackageManager( 786): Unknown permission com.google.android.gm.permission.READ_GMAIL in package com.android.settings W/PackageManager( 786): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings W/PackageManager( 786): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.contacts W/PackageManager( 786): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone W/PackageManager( 786): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.calendar W/PackageManager( 786): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cl in package com.android.providers.calendar W/PackageManager( 786): Unknown permission com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in package com.android.development W/PackageManager( 786): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.development W/PackageManager( 786): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in package com.android.development W/PackageManager( 786): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in package com.android.development W/PackageManager( 786): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.calendar W/PackageManager( 786): Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x1be45) W/PackageManager( 786): Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0xbe45) D/dalvikvm( 786): GC_EXPLICIT freed 5748 objects / 344552 bytes in 81ms I/SystemServer( 786): Account Manager I/SystemServer( 786): Content Manager I/SystemServer( 786): System Content Providers I/ActivityThread( 786): Publishing provider settings: com.android.providers.settings.SettingsProvider I/SystemServer( 786): Battery Service I/SystemServer( 786): Lights Service I/SystemServer( 786): Vibrator Service I/SystemServer( 786): Alarm Manager I/SystemServer( 786): Init Watchdog I/SystemServer( 786): Sensor Service I/SystemServer( 786): Window Manager I/EventHub( 786): New device: path=/dev/input/event3 name=compass id=0x10000 (of 0x1) index=1 fd=45 classes=0x0 I/EventHub( 786): New device: path=/dev/input/event2 name=ak4183 id=0x10001 (of 0x2) index=2 fd=46 classes=0x4 E/EventHub( 786): could not get driver id for /dev/input/mouse1, Not a typewriter I/SystemServer( 786): Bluetooth Service I/EventHub( 786): New device: path=/dev/input/event1 name=Rk28 Mouse id=0x10002 (of 0x3) index=3 fd=49 classes=0x8 I/SystemServer( 786): Device Policy I/SystemServer( 786): Status Bar E/EventHub( 786): could not get driver id for /dev/input/mouse0, Not a typewriter E/EventHub( 786): could not get driver id for /dev/input/mice, Not a typewriter I/EventHub( 786): New keyboard: device->id=0x10003 devname='rk28_AD_button' propName='hw.keyboards.65539.devname' keylayout='/system/usr/keylayout/qwerty.kl' I/EventHub( 786): New device: path=/dev/input/event0 name=rk28_AD_button id=0x10003 (of 0x4) index=4 fd=52 classes=0x1 I/EventHub( 786): Reporting device opened: id=0x10003, name=/dev/ input/event0 I/KeyInputQueue( 786): Device added: id=0x0, name=rk28_AD_button, classes=1 I/EventHub( 786): Reporting device opened: id=0x10002, name=/dev/ input/event1 I/KeyInputQueue( 786): Device added: id=0x10002, name=Rk28 Mouse, classes=8 I/EventHub( 786): Reporting device opened: id=0x10001, name=/dev/ input/event2 I/KeyInputQueue( 786): Device added: id=0x10001, name=ak4183, classes=4 I/KeyInputQueue( 786): X: min=0 max=799 flat=0 fuzz=0 I/KeyInputQueue( 786): Y: min=0 max=479 flat=0 fuzz=0 I/KeyInputQueue( 786): Pressure: unknown values I/KeyInputQueue( 786): Size: unknown values I/KeyInputQueue( 786): No virtual keys found I/EventHub( 786): Reporting device opened: id=0x10000, name=/dev/ input/event3 I/KeyInputQueue( 786): Ignoring non-input device: id=0x10000, name=compass I/SystemServer( 786): Clipboard Service I/SystemServer( 786): Input Method Service I/InputManagerService( 786): Enabled input methods: com.android.inputmethod.latin/.LatinIME I/SystemServer( 786): NetStat Service I/SystemServer( 786): NetworkManagement Service E/NetdConnector( 786): Communications error E/NetdConnector( 786): java.io.IOException: No such file or directory E/NetdConnector( 786): at android.net.LocalSocketImpl.connectLocal(Native Method) E/NetdConnector( 786): at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:238) E/NetdConnector( 786): at android.net.LocalSocket.connect(LocalSocket.java:95) E/NetdConnector( 786): at com.android.server.NativeDaemonConnector.listenToSocket(NativeDaemonConnector.java: 99) E/NetdConnector( 786): at com.android.server.NativeDaemonConnector.run(NativeDaemonConnector.java: 83) E/NetdConnector( 786): at java.lang.Thread.run(Thread.java:1096) I/SystemServer( 786): Connectivity Service E/NetdConnector( 786): Error in NativeDaemonConnector E/NetdConnector( 786): java.io.IOException: No such file or directory E/NetdConnector( 786): at android.net.LocalSocketImpl.connectLocal(Native Method) E/NetdConnector( 786): at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:238) E/NetdConnector( 786): at android.net.LocalSocket.connect(LocalSocket.java:95) E/NetdConnector( 786): at com.android.server.NativeDaemonConnector.listenToSocket(NativeDaemonConnector.java: 99) E/NetdConnector( 786): at com.android.server.NativeDaemonConnector.run(NativeDaemonConnector.java: 83) E/NetdConnector( 786): at java.lang.Thread.run(Thread.java:1096) V/ConnectivityService( 786): ConnectivityService starting up D/ConnectivityService( 786): getMobileDataEnabled returning true V/ConnectivityService( 786): Starting Wifi Service. I/WifiService( 786): WifiService starting up with Wi-Fi disabled D/Tethering( 786): Tethering starting D/NetworkManagmentService( 786): Registering observer I/SystemServer( 786): Throttle Service I/SystemServer( 786): Accessibility Manager I/SystemServer( 786): Mount Service I/SystemServer( 786): Notification Manager D/dalvikvm( 786): GC_FOR_MALLOC freed 4415 objects / 270912 bytes in 98ms E/VoldConnector( 786): No connection to daemon E/VoldConnector( 786): java.lang.IllegalStateException E/VoldConnector( 786): at com.android.server.NativeDaemonConnector.sendCommand(NativeDaemonConnector.java: 191) E/VoldConnector( 786): at com.android.server.NativeDaemonConnector.sendCommand(NativeDaemonConnector.java: 178) E/VoldConnector( 786): at com.android.server.NativeDaemonConnector.doCommand(NativeDaemonConnector.java: 213) E/VoldConnector( 786): at com.android.server.NativeDaemonConnector.doListCommand(NativeDaemonConnector.java: 258) E/VoldConnector( 786): at com.android.server.MountService $2.run(MountService.java:425) I/SystemServer( 786): Device Storage Monitor I/SystemServer( 786): Location Manager I/SystemServer( 786): Search Service I/SystemServer( 786): DropBox Service I/SystemServer( 786): Wallpaper Service I/SystemServer( 786): Audio Service D/AudioHardwareInterface( 717): setMode(NORMAL) W/AudioPolicyManagerBase( 717): setPhoneState() setting same state 0 I/SystemServer( 786): Headset Observer W/HeadsetObserver( 786): This kernel does not have wired headset support I/SystemServer( 786): Dock Observer W/DockObserver( 786): This kernel does not have dock station support I/SystemServer( 786): UI Mode Manager Service I/SystemServer( 786): Backup Service V/BackupManagerService( 786): No ancestral data I/BackupManagerService( 786): Found stale backup journal, scheduling: I/BackupManagerService( 786): + android I/BackupManagerService( 786): + com.android.inputmethod.latin I/BackupManagerService( 786): + com.android.browser I/BackupManagerService( 786): + com.android.providers.userdictionary I/BackupManagerService( 786): + com.android.providers.settings I/BackupManagerService( 786): Backup enabled => false I/SystemServer( 786): AppWidget Service I/SystemServer( 786): Recognition Service Thanks. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting