USB Keyboard and mouse on Android Froyo

413 views
Skip to first unread message

Thondar, Geetha

unread,
Sep 9, 2010, 2:45:20 PM9/9/10
to omapandroid...@gforge.ti.com, omapd...@googlegroups.com, Devaparalli, Krishna, Jones, Fox, Goluguri, Jayabharath

All,

We have enabled USB keyboard and mouse on Android Froyo L27.5.2 release for the PandaBoard (OMAP4 ES2.0). They are functional, but have few issues.

 

The same behavior was seen in L27.4 Éclair release too.

 

We heard that the same issue was seen in Chrome and was resolved with the following steps:

By modifying the file /etc/X11/xorg.conf…  The mouse and keyboard should have "evdev" listed for the Driver.  Also, the Device line should list /dev/input/event#.

 

Where does this kind of setting go in Android file system and what needs to be set for the driver?

 

Please let us know if you have any clues.

 

Thanks

Geetha

rhine beck

unread,
Sep 10, 2010, 12:13:17 PM9/10/10
to omapdiscuss
Hi,

Any pointers would be appreciated, for example;
You could let us know the approach you would take to solve a similar
issue on rowboat.
Or give us the pointers, which would enable us to get an idea of the
Android file system and the configuration options
to solve the issues mentioned by Geetha, as below.


Thanks,
Krishna


On Sep 9, 1:45 pm, "Thondar, Geetha" <geet...@ti.com> wrote:
> All,
> We have enabled USB keyboard and mouse on Android Froyo L27.5.2 release for the PandaBoard (OMAP4 ES2.0). They are functional, but have few issues.
>
>  *   Keyboard - Enter, Tab and Alphanumeric keys work. Other command keys (F1, Esc, arrow etc) don't work
>  *   Mouse - I have taken the patch fromhttp://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h...
>     *   The mouse buttons work
>     *   Mouse cursor appears, but doesn't move.
>
> The same behavior was seen in L27.4 Éclair release too.
>
> We heard that the same issue was seen in Chrome and was resolved with the following steps:
> By modifying the file /etc/X11/xorg.conf...  The mouse and keyboard should have "evdev" listed for the Driver.  Also, the Device line should list /dev/input/event#.

rhine beck

unread,
Sep 17, 2010, 11:03:48 AM9/17/10
to omapdiscuss, rhineb...@gmail.com
By running the evtest, we found that the keys are mapped perfectly
from the kernel point of view.
However, when the same is viewed on UI device, some keys like F!,
up,down, left and rt are not working.
As the state of the arrow keys is WAKE_DROPPED, ref:
pandroid/27.5.2/mydroid/out/target/product/blaze/system/usr/keylayout/
AVRCP.kl
pandroid/27.5.2/mydroid/out/target/product/blaze/system/usr/keylayout/
omap_keypad.kl
pandroid/27.5.2/mydroid/out/target/product/blaze/system/usr/keylayout/
qwerty.kl

I changed the left arrow as below:

key 105 DPAD_LEFT WAKE_DROPPED

key 105 DPAD_LEFT WAKE

yet it was not affected. So these keys not just managed by power
management module for wakelock, but
there is more to it.
If someone who has insight into user space keyboard working in
Android, please help .
Please find the logcat below:

logcat for pandroid qwerty keyboard :

--------- beginning of /dev/log/main
I/DEBUG ( 933): debuggerd: Sep 16 2010 13:48:52
--------- beginning of /dev/log/system
I/Vold ( 931): Vold 2.1 (the revenge) firing up
D/Vold ( 931): Volume sdcard state changing -1 (Initializing) -> 0
(No-Media)
D/Vold ( 931): Volume sdcard state changing 0 (No-Media) -> 2
(Pending)
D/Vold ( 931): Volume sdcard state changing 2 (Pending) -> 1 (Idle-
Unmounted)
W/Vold ( 931): No UMS switch available
I/Netd ( 932): Netd 1.0 starting
E/UIM: ( 938): uim: Inside main
E/UIM: ( 938): uim: Baudrate 3000000
E/UIM: ( 938): uim:BT/FM/GPS would be unavailable on system
E/UIM: ( 938): uim: sysfs entry /sys/uim/pid not found
D/AndroidRuntime( 934):
D/AndroidRuntime( 934): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 934): CheckJNI is ON
I/ ( 935): ServiceManager: 0xacd0
D/dalvikvm( 934): creating instr width table
W/AudioHardwareALSA( 935): Unable to attach mixer to device
AndroidPlayback: Invalid argument
E/ALSALib ( 935): external/alsa-lib/src/control/control.c:909:
(snd_ctl_open_noupdate) Invalid CTL AndroidCapture
W/AudioHardwareALSA( 935): Unable to attach mixer to device
AndroidCapture: No such file or directory
D/Omap4ALSA( 935): OMAP4 ALSA module opened
D/Omap4ALSA( 935): Initializing devices for OMAP3 ALSA module
I/CameraService( 935): CameraService started: pid=935
D/AudioHardwareALSA( 935): openOutputStream called for devices:
0x00000002
D/Omap4ALSA( 935): open called for devices 00000002 in mode 0...
I/Omap4ALSA( 935): Initialized ALSA PLAYBACK device default
I/AudioFlinger( 935): AudioFlinger's thread 0x27788 ready to run
E/AudioHardwareALSA( 935): CALLING STANDBY
D/Omap4ALSA( 935): route called for devices 00000002 in mode 0...
E/Omap4ALSA( 935): Why are we routing to a device that isn't
supported by this object?!?!?!?!
D/Omap4ALSA( 935): open called for devices 00000002 in mode 0...
I/Omap4ALSA( 935): Initialized ALSA PLAYBACK device default
D/AndroidRuntime( 934): --- registering native functions ---
I/SamplingProfilerIntegration( 934): Profiler is disabled.
I/Zygote ( 934): Preloading classes...
D/dalvikvm( 934): GC_EXPLICIT freed 816 objects / 47208 bytes in 3ms
D/dalvikvm( 934): GC_EXPLICIT freed 219 objects / 13560 bytes in 4ms
I/bluetooth_ScoSocket.cpp( 934): Entry name = MY-CAR ScoTypes = 0x7f
I/bluetooth_ScoSocket.cpp( 934): Entry name = Motorola HF850 ScoTypes
= 0x7
D/dalvikvm( 934): GC_EXPLICIT freed 253 objects / 14336 bytes in 3ms
D/dalvikvm( 934): GC_EXPLICIT freed 466 objects / 28880 bytes in 5ms
D/dalvikvm( 934): GC_EXPLICIT freed 2090 objects / 108336 bytes in
6ms
D/dalvikvm( 934): GC_EXPLICIT freed 298 objects / 16672 bytes in 7ms
D/dalvikvm( 934): GC_FOR_MALLOC freed 5061 objects / 225456 bytes in
13ms
D/dalvikvm( 934): GC_EXPLICIT freed 803 objects / 31976 bytes in 9ms
D/dalvikvm( 934): GC_EXPLICIT freed 546 objects / 27256 bytes in 10ms
D/dalvikvm( 934): GC_EXPLICIT freed 402 objects / 22152 bytes in 10ms
D/dalvikvm( 934): GC_EXPLICIT freed 284 objects / 34072 bytes in 17ms
D/dalvikvm( 934): GC_EXPLICIT freed 277 objects / 18896 bytes in 18ms
D/dalvikvm( 934): GC_EXPLICIT freed 319 objects / 17792 bytes in 20ms
D/dalvikvm( 934): GC_EXPLICIT freed 452 objects / 27608 bytes in 22ms
D/dalvikvm( 934): GC_EXPLICIT freed 265 objects / 21808 bytes in 21ms
D/dalvikvm( 934): GC_EXPLICIT freed 507 objects / 59608 bytes in 26ms
D/dalvikvm( 934): GC_EXPLICIT freed 639 objects / 34760 bytes in 24ms
D/dalvikvm( 934): GC_EXPLICIT freed 842 objects / 45960 bytes in 25ms
D/dalvikvm( 934): GC_FOR_MALLOC freed 12470 objects / 450504 bytes in
32ms
D/dalvikvm( 934): GC_FOR_MALLOC freed 10048 objects / 466528 bytes in
34ms
D/dalvikvm( 934): GC_FOR_MALLOC freed 8057 objects / 414312 bytes in
34ms
D/dalvikvm( 934): GC_FOR_MALLOC freed 7476 objects / 474808 bytes in
35ms
D/dalvikvm( 934): GC_FOR_MALLOC freed 7967 objects / 472216 bytes in
35ms
D/dalvikvm( 934): GC_FOR_MALLOC freed 7906 objects / 469496 bytes in
36ms
D/dalvikvm( 934): GC_EXPLICIT freed 6514 objects / 398440 bytes in
35ms
D/dalvikvm( 934): GC_EXPLICIT freed 1539 objects / 72288 bytes in
33ms
D/dalvikvm( 934): GC_EXPLICIT freed 447 objects / 29288 bytes in 33ms
D/dalvikvm( 934): GC_EXPLICIT freed 315 objects / 20008 bytes in 34ms
I/Zygote ( 934): ...preloaded 1265 classes in 2476ms.
D/dalvikvm( 934): GC_EXPLICIT freed 99 objects / 13896 bytes in 33ms
I/Zygote ( 934): Preloading resources...
D/dalvikvm( 934): GC_EXPLICIT freed 312 objects / 15736 bytes in 34ms
W/Zygote ( 934): Preloaded drawable resource #0x10801e8 (res/
drawable-mdpi/jog_tab_bar_left_end_confirm_gray.9.png) that varies
with configuration!!
W/Zygote ( 934): Preloaded drawable resource #0x10801ec (res/
drawable-mdpi/jog_tab_bar_left_end_normal.9.png) that varies with
configuration!!
W/Zygote ( 934): Preloaded drawable resource #0x10801ed (res/
drawable-mdpi/jog_tab_bar_left_end_pressed.9.png) that varies with
configuration!!
W/Zygote ( 934): Preloaded drawable resource #0x10801f1 (res/
drawable-mdpi/jog_tab_bar_right_end_confirm_gray.9.png) that varies
with configuration!!
W/Zygote ( 934): Preloaded drawable resource #0x10801f5 (res/
drawable-mdpi/jog_tab_bar_right_end_normal.9.png) that varies with
configuration!!
W/Zygote ( 934): Preloaded drawable resource #0x10801f6 (res/
drawable-mdpi/jog_tab_bar_right_end_pressed.9.png) that varies with
configuration!!
D/dalvikvm( 934): GC_EXPLICIT freed 392 objects / 24184 bytes in 34ms
W/Zygote ( 934): Preloaded drawable resource #0x10801fb (res/
drawable-mdpi/jog_tab_left_confirm_gray.png) that varies with
configuration!!
W/Zygote ( 934): Preloaded drawable resource #0x1080200 (res/
drawable-mdpi/jog_tab_left_normal.png) that varies with
configuration!!
W/Zygote ( 934): Preloaded drawable resource #0x1080201 (res/
drawable-mdpi/jog_tab_left_pressed.png) that varies with
configuration!!
W/Zygote ( 934): Preloaded drawable resource #0x1080203 (res/
drawable-mdpi/jog_tab_right_confirm_gray.png) that varies with
configuration!!
W/Zygote ( 934): Preloaded drawable resource #0x1080209 (res/
drawable-mdpi/jog_tab_right_normal.png) that varies with
configuration!!
W/Zygote ( 934): Preloaded drawable resource #0x108020a (res/
drawable-mdpi/jog_tab_right_pressed.png) that varies with
configuration!!
I/Zygote ( 934): ...preloaded 61 resources in 155ms.
I/Zygote ( 934): ...preloaded 15 resources in 4ms.
D/dalvikvm( 934): GC_EXPLICIT freed 331 objects / 20104 bytes in 33ms
D/dalvikvm( 934): GC_EXPLICIT freed 111 objects / 4472 bytes in 33ms
D/dalvikvm( 934): GC_EXPLICIT freed 2 objects / 48 bytes in 32ms
I/dalvikvm( 934): System server process 983 has been created
I/Zygote ( 934): Accepting command socket connections
E/BatteryService( 983): acOnlinePath not found
E/BatteryService( 983): usbOnlinePath not found
E/BatteryService( 983): batteryStatusPath not found
E/BatteryService( 983): batteryHealthPath not found
E/BatteryService( 983): batteryPresentPath not found
E/BatteryService( 983): batteryCapacityPath not found
E/BatteryService( 983): batteryVoltagePath not found
E/BatteryService( 983): batteryTemperaturePath not found
E/BatteryService( 983): batteryTechnologyPath not found
I/sysproc ( 983): Entered system_init()
I/sysproc ( 983): ServiceManager: 0x1282a8
I/SurfaceFlinger( 983): SurfaceFlinger is starting
I/SurfaceFlinger( 983): SurfaceFlinger's main thread ready to run.
Initializing graphics H/W...
E/SurfaceFlinger( 983): Couldn't open /sys/power/wait_for_fb_sleep
or /sys/power/wait_for_fb_wake
I/gralloc ( 983): using (fd=23)
I/gralloc ( 983): id = omapfb
I/gralloc ( 983): xres = 1920 px
I/gralloc ( 983): yres = 546 px
I/gralloc ( 983): xres_virtual = 1920 px
I/gralloc ( 983): yres_virtual = 1092 px
I/gralloc ( 983): bpp = 16
I/gralloc ( 983): r = 11:5
I/gralloc ( 983): g = 5:6
I/gralloc ( 983): b = 0:5
I/gralloc ( 983): width = 305 mm (159.895081 dpi)
I/gralloc ( 983): height = 87 mm (159.406891 dpi)
I/gralloc ( 983): refresh rate = 117.54 Hz
D/TIOverlay( 983): ###### Calling overlay_device_open() ++ ######
D/TIOverlay( 983): LCD[0] NAME[hdmi]
D/TIOverlay( 983): LCD[0] PATH[/sys/devices/platform/omapdss/display0/
enabled]
D/TIOverlay( 983): LCD[0] timings[148500,1920/88/148/44,1080/4/36/5
D/TIOverlay( 983): ]
E/TIOverlay( 983): Can't open the file[/sys/devices/platform/omapdss/
display1/name]
E/TIOverlay( 983): lcd name get failed
D/libEGL ( 983): egl.cfg not found, using default config
D/libEGL ( 983): loaded /system/lib/egl/libGLES_android.so
I/SurfaceFlinger( 983): EGL informations:
I/SurfaceFlinger( 983): # of configs : 8
I/SurfaceFlinger( 983): vendor : Android
I/SurfaceFlinger( 983): version : 1.4 Android META-EGL
I/SurfaceFlinger( 983): 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( 983): Client API: OpenGL ES
I/SurfaceFlinger( 983): EGLSurface: 5-6-5-0, config=0x1000000
I/SurfaceFlinger( 983): flags : 001c0000
W/SurfaceFlinger( 983): ro.sf.lcd_density not defined, using 160 dpi
by default.
I/SurfaceFlinger( 983): OpenGL informations:
I/SurfaceFlinger( 983): vendor : Android
I/SurfaceFlinger( 983): renderer : Android PixelFlinger 1.3
I/SurfaceFlinger( 983): version : OpenGL ES-CM 1.0
I/SurfaceFlinger( 983): 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( 983): GL_MAX_TEXTURE_SIZE = 4096
I/SurfaceFlinger( 983): GL_MAX_VIEWPORT_DIMS = 4096
I/sysproc ( 983): System server: starting Android runtime.
I/sysproc ( 983): System server: starting Android services.
I/sysproc ( 983): System server: entering thread pool.
I/SystemServer( 983): Entered the Android system server!
I/SystemServer( 983): Entropy Service
D/libEGL ( 995): egl.cfg not found, using default config
D/libEGL ( 995): loaded /system/lib/egl/libGLES_android.so
W/zipro ( 995): Unable to open zip '/data/local/bootanimation.zip':
No such file or directory
W/zipro ( 995): Unable to open zip '/system/media/
bootanimation.zip': No such file or directory
I/ARMAssembler( 983): generated
scanline__00000077:03010104_00000004_00000000 [ 22 ipp] (41 ins) at
[0x203550:0x2035f4] in 213623 ns
I/ARMAssembler( 995): generated
scanline__00000077:03545404_00000A01_00000000 [ 30 ipp] (51 ins) at
[0x18ea8:0x18f74] in 183105 ns
I/SystemServer( 983): Power Manager
I/SystemServer( 983): Activity Manager
I/ActivityManager( 983): Memory class: 32
W/UsageStats( 983): Usage stats version changed; dropping
I/SystemServer( 983): Telephony Registry
I/SystemServer( 983): Package Manager
I/installd( 939): new connection
I/Installer( 983): connecting...
I/PackageManager( 983): Libs: android.test.runner:/system/framework/
android.test.runner.jar javax.obex:/system/framework/javax.obex.jar
I/PackageManager( 983): Features:
D/dalvikvm( 983): GC_FOR_MALLOC freed 5593 objects / 243704 bytes in
46ms
W/PackageManager( 983): Running ENG build: no pre-dexopt!
D/PackageManager( 983): Scanning app dir /system/framework
D/PackageManager( 983): Scanning app dir /system/app
W/PackageParser( 983): No actions in intent filter at /system/app/
Bluetooth.apk Binary XML file line #124
D/dalvikvm( 983): GC_FOR_MALLOC freed 7911 objects / 371592 bytes in
57ms
D/dalvikvm( 983): GC_FOR_MALLOC freed 5447 objects / 298080 bytes in
51ms
D/PackageManager( 983): Scanning app dir /data/app
D/PackageManager( 983): Scanning app dir /data/app-private
I/PackageManager( 983): Time to scan packages: 2.171 seconds
W/PackageManager( 983): Unknown permission
com.google.android.gm.permission.WRITE_GMAIL in package
com.android.settings
W/PackageManager( 983): Unknown permission
com.google.android.gm.permission.READ_GMAIL in package
com.android.settings
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.settings
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.providers.contacts
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package
com.android.providers.contacts
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
com.android.contacts
W/PackageManager( 983): Unknown permission
android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.providers.calendar
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.cl in package
com.android.providers.calendar
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in
package com.android.development
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.development
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in
package com.android.development
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in
package com.android.development
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
com.android.calendar
W/PackageManager( 983): Not granting permission
android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package
com.android.browser (protectionLevel=2 flags=0x1be45)
W/PackageManager( 983): Not granting permission
android.permission.DEVICE_POWER to package com.android.deskclock
(protectionLevel=2 flags=0xbe45)
D/dalvikvm( 983): GC_FOR_MALLOC freed 7216 objects / 381760 bytes in
59ms
D/dalvikvm( 983): GC_EXPLICIT freed 3320 objects / 214656 bytes in
54ms
I/SystemServer( 983): Account Manager
I/SystemServer( 983): Content Manager
I/SystemServer( 983): System Content Providers
I/ActivityThread( 983): Publishing provider settings:
com.android.providers.settings.SettingsProvider
I/SystemServer( 983): Battery Service
W/BatteryStatsImpl( 983): Couldn't get kernel wake lock stats
I/SystemServer( 983): Lights Service
I/SystemServer( 983): Vibrator Service
I/SystemServer( 983): Alarm Manager
W/AlarmManager( 983): Failed to open alarm driver. Falling back to a
handler.
I/SystemServer( 983): Init Watchdog
I/SystemServer( 983): Sensor Service
I/SystemServer( 983): Window Manager
I/EventHub( 983): New device: path=/dev/input/event2 name= USB
OPTICAL MOUSE id=0x10000 (of 0x1) index=1 fd=44 classes=0x8
I/SystemServer( 983): Bluetooth Service
W/bluedroid( 983): open(/sys/class/rfkill/rfkill0/type) failed: No
such file or directory (2)
I/SystemServer( 983): Device Policy
I/SystemServer( 983): Status Bar
I/EventHub( 983): New keyboard: device->id=0x10001 devname='HID
04d9:1203' propName='hw.keyboards.65537.devname' keylayout='/system/
usr/keylayout/qwerty.kl'
I/EventHub( 983): New device: path=/dev/input/event1 name=HID
04d9:1203 id=0x10001 (of 0x2) index=2 fd=47 classes=0x1
I/SystemServer( 983): Clipboard Service
I/SystemServer( 983): Input Method Service
I/InputManagerService( 983): Enabled input methods:
com.android.inputmethod.latin/.LatinIME
I/SystemServer( 983): NetStat Service
I/SystemServer( 983): NetworkManagement Service
I/SystemServer( 983): Connectivity Service
V/ConnectivityService( 983): ConnectivityService starting up
I/EventHub( 983): New keyboard: device->id=0x10002 devname='HID
04d9:1203' propName='hw.keyboards.65538.devname' keylayout='/system/
usr/keylayout/qwerty.kl'
I/EventHub( 983): New device: path=/dev/input/event0 name=HID
04d9:1203 id=0x10002 (of 0x3) index=3 fd=48 classes=0x3
I/KeyInputQueue( 983): Device added: id=0x10002, name=HID 04d9:1203,
classes=3
I/KeyInputQueue( 983): Device added: id=0x0, name=HID 04d9:1203,
classes=1
I/KeyInputQueue( 983): Device added: id=0x10000, name= USB OPTICAL
MOUSE, classes=8
D/ConnectivityService( 983): getMobileDataEnabled returning true
V/ConnectivityService( 983): Starting Wifi Service.
D/Tethering( 983): Tethering starting
I/WifiService( 983): WifiService starting up with Wi-Fi disabled
D/NetworkManagmentService( 983): Registering observer
I/SystemServer( 983): Throttle Service
I/SystemServer( 983): Accessibility Manager
I/SystemServer( 983): Mount Service
I/SystemServer( 983): Notification Manager
D/VoldCmdListener( 931): volume list
I/PackageManager( 983): Updating external media status from unmounted
to unmounted
D/VoldCmdListener( 931): share status ums
D/dalvikvm( 983): GC_FOR_MALLOC freed 3115 objects / 190328 bytes in
60ms
I/SystemServer( 983): Device Storage Monitor
I/SystemServer( 983): Location Manager
I/SystemServer( 983): Search Service
I/SystemServer( 983): DropBox Service
I/SystemServer( 983): Wallpaper Service
I/SystemServer( 983): Audio Service
W/AudioPolicyManagerALSA( 935): setPhoneState() setting same state 0
I/SystemServer( 983): Headset Observer
I/SystemServer( 983): Dock Observer
W/DockObserver( 983): This kernel does not have dock station support
I/SystemServer( 983): UI Mode Manager Service
I/SystemServer( 983): Backup Service
V/BackupManagerService( 983): No ancestral data
I/BackupManagerService( 983): Found stale backup journal, scheduling:
I/BackupManagerService( 983): + android
I/BackupManagerService( 983): + com.android.inputmethod.latin
I/BackupManagerService( 983): + com.android.browser
I/BackupManagerService( 983): +
com.android.providers.userdictionary
I/BackupManagerService( 983): + com.android.providers.settings
I/BackupManagerService( 983): Backup enabled => false
I/SystemServer( 983): AppWidget Service
I/SystemServer( 983): Recognition Service
D/VoldCmdListener( 931): share status ums
D/StorageNotification( 983): Startup with UMS connection false (media
state unmounted)
I/SystemServer( 983): DiskStats Service
I/WindowManager( 983): SAFE MODE not enabled
D/dalvikvm( 983): JIT started for system_server
W/DevicePolicyManagerService( 983): failed parsing /data/system/
device_policies.xml java.io.FileNotFoundException: /data/system/
device_policies.xml (No such file or directory)
I/power ( 983): *** set_screen_state 1
I/ActivityManager( 983): Config changed: { scale=1.0 imsi=0/0
loc=en_US touch=1 keys=2/1/2 nav=3/1 orien=2 layout=35 uiMode=0 seq=1}
D/PowerManagerService( 983): system ready!
I/Zygote ( 983): Process: zygote socket opened
I/power ( 983): *** set_screen_state 1
I/ActivityManager( 983): Sending system update to:
ComponentInfo{com.android.providers.contacts/
com.android.providers.contacts.ContactsUpgradeReceiver}
I/ActivityManager( 983): Sending system update to:
ComponentInfo{com.android.providers.calendar/
com.android.providers.calendar.CalendarUpgradeReceiver}
I/ActivityManager( 983): Start proc android.process.acore for
broadcast com.android.providers.contacts/.ContactsUpgradeReceiver:
pid=1033 uid=10006 gids={3003, 1015}
W/StatusBar( 983): No icon ID for slot ime
I/ActivityManager( 983): Launching preboot mode app:
ProcessRecord{45b4d988 1033:android.process.acore/10006}
D/StatusBar( 983): DISABLE_EXPAND: yes
I/ActivityManager( 983): Start proc com.android.providers.calendar
for broadcast com.android.providers.calendar/.CalendarUpgradeReceiver:
pid=1041 uid=10030 gids={3003}
I/ActivityManager( 983): Launching preboot mode app:
ProcessRecord{45b8fa18 1041:com.android.providers.calendar/10030}
I/Process ( 983): Sending signal. PID: 1033 SIG: 9
I/ActivityManager( 983): Removing system update proc:
ProcessRecord{45b4d988 1033:android.process.acore/10006}
I/ActivityManager( 983): Removing system update proc:
ProcessRecord{45b8fa18 1041:com.android.providers.calendar/10030}
I/Process ( 983): Sending signal. PID: 1041 SIG: 9
I/ActivityManager( 983): System now ready
D/dalvikvm( 983): GC_FOR_MALLOC freed 4992 objects / 311800 bytes in
61ms
W/Process ( 983): Unable to open /proc/1033/status
I/SystemServer( 983): Making services ready
I/ActivityManager( 983): Config changed: { scale=1.0 imsi=0/0
loc=en_US touch=1 keys=2/1/2 nav=3/1 orien=2 layout=35 uiMode=17
seq=2}
W/RecognitionManagerService( 983): no available voice recognition
services found
W/ResourceType( 983): Failure getting entry for 0x7f030000 (t=2 e=0)
in package 0: 0xffffffb5
D/libhardware_legacy( 983): no GPS hardware on this device
I/ActivityManager( 983): Start proc com.android.inputmethod.latin for
service com.android.inputmethod.latin/.LatinIME: pid=1052 uid=10005
gids={}
D/NetworkManagmentService( 983): Registering observer
E/ThrottleService( 983): Could not open GPS configuration file /etc/
gps.conf
I/ActivityManager( 983): Start proc com.android.phone for added
application com.android.phone: pid=1055 uid=1001 gids={3002, 3001,
3003, 1015}
I/ActivityManager( 983): Starting activity: Intent
{ act=android.intent.action.MAIN cat=[android.intent.category.HOME]
flg=0x10000000 cmp=com.android.launcher/
com.android.launcher2.Launcher }
I/ActivityManager( 983): Start proc com.android.launcher for activity
com.android.launcher/com.android.launcher2.Launcher: pid=1056
uid=10016 gids={}
I/ActivityManager( 983): Start proc com.android.settings for
broadcast com.android.settings/.widget.SettingsAppWidgetProvider:
pid=1057 uid=1000 gids={3002, 3001, 3003}
W/ActivityManager( 983): Unable to start service Intent { act=@0 }:
not found
W/ActivityManager( 983): Unable to start service Intent { act=@0 }:
not found
D/dalvikvm( 983): GC_EXTERNAL_ALLOC freed 2944 objects / 173112 bytes
in 76ms
I//system/bin/tc( 932): Cannot find device "rmnet0"
I/logwrapper( 932): /system/bin/tc terminated by exit(1)
I/ActivityManager( 983): Start proc android.process.acore for content
provider com.android.providers.userdictionary/.UserDictionaryProvider:
pid=1092 uid=10006 gids={3003, 1015}
I/ActivityThread( 1055): Publishing provider mms:
com.android.providers.telephony.MmsProvider
I/ActivityThread( 1056): Publishing provider
com.android.launcher2.settings: com.android.launcher2.LauncherProvider
I/ActivityThread( 1055): Publishing provider sms:
com.android.providers.telephony.SmsProvider
I/ActivityThread( 1055): Publishing provider telephony:
com.android.providers.telephony.TelephonyProvider
I/ActivityThread( 1055): Publishing provider icc:
com.android.phone.IccProvider
I/ActivityThread( 1055): Publishing provider mms-sms:
com.android.providers.telephony.MmsSmsProvider
D/dalvikvm( 1056): GC_EXTERNAL_ALLOC freed 877 objects / 64832 bytes
in 47ms
D/ConnectivityService( 983): getMobileDataEnabled returning true
D/PhoneApp( 1055): onCreate: mProximityWakeLock: null
W/ActivityManager( 983): Unable to start service Intent
{ act=com.android.ussd.IExtendedNetworkService }: not found
D/dalvikvm( 983): GREF has increased to 201
I/power ( 983): *** set_screen_state 1
I/SurfaceFlinger( 983): Boot is finished (11045 ms)
D/PowerManagerService( 983): bootCompleted
D/PhoneApp( 1055): Resetting audio state/mode: IDLE
I//system/bin/tc( 932): Cannot find device "rmnet0"
I/logwrapper( 932): /system/bin/tc terminated by exit(1)
D/BT HSHFP( 1055): Starting BluetoothHeadsetService
D/OtaStartupReceiver( 1055): Not a CDMA phone, no need to process OTA
I/ARMAssembler( 983): generated
scanline__00000177:03515104_00000001_00000000 [ 73 ipp] (95 ins) at
[0x288f78:0x2890f4] in 183105 ns
I//system/bin/tc( 932): Cannot find device "ifb0"
I/logwrapper( 932): /system/bin/tc terminated by exit(1)
I/ActivityThread( 1092): Publishing provider com.android.social:
com.android.providers.contacts.SocialProvider
I/ActivityThread( 1092): Publishing provider applications:
com.android.providers.applications.ApplicationsProvider
I/ActivityThread( 1092): Publishing provider
contacts;com.android.contacts:
com.android.providers.contacts.ContactsProvider2
W/logwrapper( 1124): Unable to background process (No such file or
directory)
D/VoldCmdListener( 931): volume mount /mnt/sdcard
I/Vold ( 931): /dev/block/vold/179:1 being considered for volume
sdcard
D/Vold ( 931): Volume sdcard state changing 1 (Idle-Unmounted) ->
3 (Checking)
D/MobileDataStateTracker( 983): default Received state= DISCONNECTED,
old= DISCONNECTED, reason= radioTurnedOff, apnTypeList= default
D/MobileDataStateTracker( 983): default Received state= DISCONNECTED,
old= DISCONNECTED, reason= gprsDetached, apnTypeList= default
I/SearchManagerService( 983): Building list of searchable activities
W/ResourceType( 983): Failure getting entry for 0x7f02007d (t=1
e=125) in package 0: 0xffffffb5
I/ActivityManager( 983): Start proc com.android.bluetooth for
broadcast com.android.bluetooth/.opp.BluetoothOppReceiver: pid=1126
uid=10001 gids={3003, 3002, 3001, 1015}
I/StorageNotification( 983): Media {/mnt/sdcard} state changed from
{unmounted} -> {checking}
I//system/bin/fsck_msdos( 931): ** /dev/block/vold/179:1
W/SharedBufferStack( 983): waitForCondition(ReallocateCondition)
timed out (identity=5, status=0). CPU may be pegged. trying again.
I//system/bin/fsck_msdos( 931): ** Phase 1 - Read and Compare FATs
I//system/bin/fsck_msdos( 931): Attempting to allocate 556 KB for FAT
I/RecoverySystem( 983): No recovery log file
I//system/bin/fsck_msdos( 931): Attempting to allocate 556 KB for FAT
W/ResourceType( 1056): Failure getting entry for 0x7f030000 (t=2 e=0)
in package 0: 0xffffffb5
W/AppWidgetHostView( 1056): Error inflating AppWidget
AppWidgetProviderInfo(provider=ComponentInfo{com.android.music/
com.android.music.MediaAppWidgetProvider}):
android.content.res.Resources$NotFoundException: Resource ID
#0x7f030000
D/dalvikvm( 1056): GC_EXPLICIT freed 3247 objects / 187856 bytes in
41ms
I//system/bin/fsck_msdos( 931): ** Phase 2 - Check Cluster Chains
I//system/bin/fsck_msdos( 931): ** Phase 3 - Checking Directories
I//system/bin/fsck_msdos( 931): ** Phase 4 - Checking for Lost Files
I//system/bin/fsck_msdos( 931): 7 files, 65778 free (131556 clusters)
I/logwrapper( 931): /system/bin/fsck_msdos terminated by exit(0)
I/Vold ( 931): Filesystem check completed OK
D/dalvikvm( 983): GC_FOR_MALLOC freed 6310 objects / 323640 bytes in
423ms
I/PackageManager( 983): Updating external media status from unmounted
to mounted
I/Vold ( 931): Device /dev/block/vold/179:1, target /mnt/sdcard
mounted @ /mnt/secure/staging
D/Vold ( 931): Volume sdcard state changing 3 (Checking) -> 4
(Mounted)
D/VoldCmdListener( 931): asec list
I/ActivityThread( 1126): Publishing provider
com.android.bluetooth.opp:
com.android.bluetooth.opp.BluetoothOppProvider
I/ActivityThread( 1092): Publishing provider call_log:
com.android.providers.contacts.CallLogProvider
I/ActivityThread( 1092): Publishing provider user_dictionary:
com.android.providers.userdictionary.UserDictionaryProvider
I/StorageNotification( 983): Media {/mnt/sdcard} state changed from
{checking} -> {mounted}
I/ActivityManager( 983): Start proc android.process.media for content
provider com.android.providers.downloads/.DownloadProvider: pid=1136
uid=10002 gids={1015, 2001, 3003}
I/PackageManager( 983): No secure containers on sdcard
D/dalvikvm( 934): GC_EXPLICIT freed 274 objects / 10336 bytes in 58ms
D/dalvikvm( 934): GC_EXPLICIT freed 45 objects / 1992 bytes in 50ms
W/PackageManager( 983): Unknown permission
com.google.android.gm.permission.WRITE_GMAIL in package
com.android.settings
W/PackageManager( 983): Unknown permission
com.google.android.gm.permission.READ_GMAIL in package
com.android.settings
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.settings
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.providers.contacts
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package
com.android.providers.contacts
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
com.android.contacts
W/PackageManager( 983): Unknown permission
android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.providers.calendar
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.cl in package
com.android.providers.calendar
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in
package com.android.development
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH in package
com.android.development
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in
package com.android.development
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in
package com.android.development
W/PackageManager( 983): Unknown permission
com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package
com.android.calendar
W/PackageManager( 983): Not granting permission
android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package
com.android.browser (protectionLevel=2 flags=0x1be45)
W/PackageManager( 983): Not granting permission
android.permission.DEVICE_POWER to package com.android.deskclock
(protectionLevel=2 flags=0xbe45)
D/dalvikvm( 934): GC_EXPLICIT freed 2 objects / 48 bytes in 48ms
I/ActivityThread( 1136): Publishing provider media:
com.android.providers.media.MediaProvider
V/MediaProvider( 1136): Attached volume: internal
V/MediaProvider( 1136): /mnt/sdcard volume ID: 46667640
V/MediaProvider( 1136): Attached volume: external
I/ActivityThread( 1136): Publishing provider downloads:
com.android.providers.downloads.DownloadProvider
I/ActivityThread( 1136): Publishing provider drm:
com.android.providers.drm.DrmProvider
I/ActivityManager( 983): Start proc com.android.deskclock for
broadcast com.android.deskclock/.AlarmInitReceiver: pid=1154 uid=10029
gids={}
I/dalvikvm( 983): Jit: resizing JitTable from 4096 to 8192
I/ActivityThread( 1154): Publishing provider com.android.deskclock:
com.android.deskclock.AlarmProvider
I/ActivityManager( 983): Start proc com.android.providers.calendar
for broadcast com.android.providers.calendar/.CalendarReceiver:
pid=1164 uid=10030 gids={3003}
I/ActivityThread( 1164): Publishing provider com.android.calendar:
com.android.providers.calendar.CalendarProvider2
I/ActivityManager( 983): Start proc com.android.mms for broadcast
com.android.mms/.transaction.MmsSystemEventReceiver: pid=1175
uid=10031 gids={3003, 1015}
I/ActivityThread( 1175): Publishing provider
com.android.mms.SuggestionsProvider:
com.android.mms.SuggestionsProvider
D/Calendar( 1164): missed alarms found: 0
I/ActivityManager( 983): Start proc com.android.email for broadcast
com.android.email/com.android.exchange.BootReceiver: pid=1195
uid=10035 gids={3003, 1015}
D/MediaScannerService( 1136): start scanning volume internal
D/MediaScanner( 1136): prescan time: 193ms
D/MediaScanner( 1136): scan time: 172ms
D/MediaScanner( 1136): postscan time: 0ms
D/MediaScanner( 1136): total time: 365ms
D/MediaScannerService( 1136): done scanning volume internal
I/ActivityThread( 1195): Publishing provider
com.android.email.provider: com.android.email.provider.EmailProvider
I/ActivityThread( 1195): Publishing provider
com.android.email.attachmentprovider:
com.android.email.provider.AttachmentProvider
I/ActivityThread( 1195): Publishing provider
com.android.exchange.provider:
com.android.exchange.provider.ExchangeProvider
D/Exchange( 1195): BootReceiver onReceive
D/EAS SyncManager( 1195): !!! EAS SyncManager, onCreate
I/ActivityManager( 983): Start proc com.android.quicksearchbox for
broadcast com.android.quicksearchbox/.SearchWidgetProvider: pid=1206
uid=10011 gids={3003}
D/dalvikvm( 983): GREF has increased to 301
D/EAS SyncManager( 1195): !!! EAS SyncManager, onStartCommand
D/EAS SyncManager( 1195): !!! EAS SyncManager, stopping self
D/Eas Debug( 1195): Logging:
D/EAS SyncManager( 1195): !!! EAS SyncManager, onDestroy
I/ActivityThread( 1206): Publishing provider
com.android.quicksearchbox.google:
com.android.quicksearchbox.google.GoogleSuggestionProvider
I/ActivityManager( 983): Start proc com.android.protips for broadcast
com.android.protips/.ProtipWidget: pid=1218 uid=10022 gids={}
I/power ( 983): *** set_screen_state 1
I/ActivityManager( 983): Start proc com.android.music for broadcast
com.android.music/.MediaAppWidgetProvider: pid=1226 uid=10032
gids={3003, 1015}
W/ResourceType( 1056): Failure getting entry for 0x7f030000 (t=2 e=0)
in package 0: 0xffffffb5
I/ActivityManager( 983): Start proc com.cooliris.media for broadcast
com.cooliris.media/com.cooliris.cache.BootReceiver: pid=1234 uid=10017
gids={1015, 3003}
W/AppWidgetHostView( 1056): updateAppWidget couldn't find any view,
using error view
W/AppWidgetHostView( 1056): android.content.res.Resources
$NotFoundException: Resource ID #0x7f030000
W/AppWidgetHostView( 1056): at
android.content.res.Resources.getValue(Resources.java:892)
W/AppWidgetHostView( 1056): at
android.content.res.Resources.loadXmlResourceParser(Resources.java:
1869)
W/AppWidgetHostView( 1056): at
android.content.res.Resources.getLayout(Resources.java:731)
W/AppWidgetHostView( 1056): at
android.view.LayoutInflater.inflate(LayoutInflater.java:318)
W/AppWidgetHostView( 1056): at
android.widget.RemoteViews.apply(RemoteViews.java:930)
W/AppWidgetHostView( 1056): at
android.appwidget.AppWidgetHostView.updateAppWidget(AppWidgetHostView.java:
219)
W/AppWidgetHostView( 1056): at
android.appwidget.AppWidgetHost.updateAppWidgetView(AppWidgetHost.java:
250)
W/AppWidgetHostView( 1056): at android.appwidget.AppWidgetHost
$UpdateHandler.handleMessage(AppWidgetHost.java:73)
W/AppWidgetHostView( 1056): at
android.os.Handler.dispatchMessage(Handler.java:99)
W/AppWidgetHostView( 1056): at android.os.Looper.loop(Looper.java:
123)
W/AppWidgetHostView( 1056): at
android.app.ActivityThread.main(ActivityThread.java:4627)
W/AppWidgetHostView( 1056): at
java.lang.reflect.Method.invokeNative(Native Method)
W/AppWidgetHostView( 1056): at
java.lang.reflect.Method.invoke(Method.java:521)
W/AppWidgetHostView( 1056): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:868)
W/AppWidgetHostView( 1056): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
W/AppWidgetHostView( 1056): at dalvik.system.NativeStart.main(Native
Method)
I/ActivityThread( 1234): Publishing provider
com.cooliris.picasa.contentprovider:
com.cooliris.picasa.PicasaContentProvider
I/BootReceiver( 1234): Got intent with action
android.intent.action.MEDIA_MOUNTED
I/BootReceiver( 1234): Got intent with action
android.intent.action.MEDIA_SCANNER_FINISHED
D/MediaScannerService( 1136): start scanning volume external
V/MediaScanner( 1136): pruneDeadThumbnailFiles...
android.database.sqlite.SQLiteCursor@45a42da8
V/MediaScanner( 1136): /pruneDeadThumbnailFiles...
android.database.sqlite.SQLiteCursor@45a42da8
D/MediaScanner( 1136): prescan time: 9ms
D/MediaScanner( 1136): scan time: 1ms
D/MediaScanner( 1136): postscan time: 3ms
D/MediaScanner( 1136): total time: 13ms
I/BootReceiver( 1234): Got intent with action
android.intent.action.MEDIA_SCANNER_FINISHED
D/MediaScannerService( 1136): done scanning volume external
D/KeyguardViewMediator( 983): wakeWhenReadyLocked(22)
D/KeyguardViewMediator( 983): handleWakeWhenReady(22)
D/KeyguardViewMediator( 983): pokeWakelock(5000)
I/power ( 983): *** set_screen_state 1
D/KeyguardViewMediator( 983): wakeWhenReadyLocked(20)
D/KeyguardViewMediator( 983): handleWakeWhenReady(20)
D/KeyguardViewMediator( 983): pokeWakelock(5000)
I/power ( 983): *** set_screen_state 1
D/KeyguardViewMediator( 983): wakeWhenReadyLocked(21)
D/KeyguardViewMediator( 983): handleWakeWhenReady(21)
D/KeyguardViewMediator( 983): pokeWakelock(5000)
I/power ( 983): *** set_screen_state 1
D/KeyguardViewMediator( 983): wakeWhenReadyLocked(19)
D/KeyguardViewMediator( 983): handleWakeWhenReady(19)
D/KeyguardViewMediator( 983): pokeWakelock(5000)
I/power ( 983): *** set_screen_state 1
I/power ( 983): *** set_screen_state 1
I/power ( 983): *** set_screen_state 1
D/dalvikvm( 1055): GC_FOR_MALLOC freed 3879 objects / 229608 bytes in
44ms
W/Process ( 983): Unable to open /proc/629/status

Thanks,
Rhinebeck

--------------------------------------------------------------------------

All,
We have enabled USB keyboard and mouse on Android Froyo L27.5.2
release for the PandaBoard (OMAP4 ES2.0). They are functional, but
have few issues.

* Keyboard - Enter, Tab and Alphanumeric keys work. Other command
keys (F1, Esc, arrow etc) don't work
* Mouse - I have taken the patch from
http://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h...
* The mouse buttons work
* Mouse cursor appears, but doesn't move.

The same behavior was seen in L27.4 Éclair release too.

We heard that the same issue was seen in Chrome and was resolved with
the following steps:
By modifying the file /etc/X11/xorg.conf... The mouse and keyboard
should have "evdev" listed for the Driver. Also, the Device line
should list /dev/input/event#.

Where does this kind of setting go in Android file system and what
needs to be set for the driver?

Please let us know if you have any clues.

Thanks
Geetha

http://groups.google.com/group/omapdiscuss/browse_frm/thread/1d88a53137698530

rhine beck

unread,
Sep 17, 2010, 10:39:06 AM9/17/10
to omapdiscuss
For enabling the ATT qwerty keyboard command keys like; Arrow keys,
F1,
I tried to make the state of the keys WAKE, instead of WAKE_DROPPED.
As the WAKELOCK power management feature is yet to be enabled on
pandaboard. But this did not help. Please check out the logcat
messages below:
Please let us know if you infer further info. on this. Thx,

rhine beck

unread,
Nov 18, 2010, 12:32:49 PM11/18/10
to venu@09742431369, omapd...@googlegroups.com
looping in omapdiscuss ..

On Wed, Nov 17, 2010 at 10:13 PM, venu@09742431369
<venuth...@gmail.com> wrote:
> Hai,
> I am using linux-2.6.32 kernel and froyo 2.2.1.I am porting android on to
> dm365 ecdk board.Key board and mouse are getting detected but pointer is not
> getting for mouse and for keyboard alphanumeric,space,enter,tab keys are
> working.What ever key i pressed it is opening browser page.
>
> On Wed, Nov 17, 2010 at 7:55 PM, rhine beck <rhineb...@gmail.com> wrote:
>>
>> On Wed, Nov 17, 2010 at 5:56 AM, venu <venuth...@gmail.com> wrote:
>> > hai rhine,
>> >
>> > I am also facing the same problem with froyo can u please tell me how
>> > to solve keyboard and mouse issues in froyo
>>
>> Which build version/ commit ID or binaries you are using?
>> Please mention both the kernel and Android Froyo version, you have issues
>> with.

> --
> Thanks & Regards,
> Ch.Venugopalnaidu
>

Deva R

unread,
Nov 18, 2010, 2:24:24 PM11/18/10
to omapd...@googlegroups.com, venu@09742431369
Hi Rhine,Venu,

Some pointers to debug keyevents in froyo.,

 - Make sure your keypad layout and keycode mappings are propper.
   Also the way they are built and exported (copied) in AndroidBoard.mk http://git.omapzoom.org/?p=device/ti/blaze.git;a=blob;f=AndroidBoard.mk;hb=refs/heads/froyo

   After build, cross check your out folder got below files (below is from blaze build) 
   out/target/product/blaze/system/usr/keylayout/omap-keypad.kl
   out/target/product/blaze/system/usr/keychars/omap-keypad.kcm.bin

To debug android keyevents:

  - type 'getevent' in shell => you will get traces for every user event with keycode published.
    make sure kernel publishes user events (touch screen, keypress, etc..) with proper keycode.

  - Android services user events in eventhub. 
   You can uncomment "#define LOG_NDEBUG 0" macro to get all possible traces from EventHub.cpp => to track keyevents.
   
So, on a keypress if kernel publishes proper keycode and EventHub gets it, we have proper funtion for the keycode in .kl file => less likely we'll still see this break.
--
Regards,
Deva

rhine beck

unread,
Nov 18, 2010, 4:10:21 PM11/18/10
to omapd...@googlegroups.com, venu@09742431369
Thanks Deva for the detailed reply.
Some more pointers from Geetha:

We have cherry picked the following patches to get mouse working.

For mouse movement, try this.
http://git.android-x86.org/?p=platform/frameworks/policies/base.git;a=commit;h=8ac8b68ccd55d63c4648006d4ad6c1177c62d1b4

Mouse cursor support
http://git.android-x86.org/?p=platform/frameworks/base.git;a=commit;h=3e0c9cfa0d34cafaccf5b7b6ae73ff413ba0874e


Thanks,
Rhine

Reply all
Reply to author
Forward
0 new messages