[android-kernel] question about sysfs interface for backlight adjustment

2009-02-05 Thread Xiaoyang Yu (Max)
Android assumes the sysfs interface for backlight adjustment is at "/ sys/class/leds/lcd-backlight/brightness", which is not true for EeePC. EeePC uses "/sys/class/backlight/eeepc/brightness". And other platforms may use "/sys/class/backlight/acpi_video0/brightness". Also Android assuems the back

[android-kernel] touch screen calibration?

2009-02-05 Thread chueh8
How does Android process the "touch event" from the linux kernel /dev/ input/eventX ? Does it use the tslib like Qtopia? There are some "touch" related info in "MotionEvent" in the documents... Well, I don't know how it get the "raw" touch data, or how it perform the calibration to the touch devic

[android-kernel] Re: Anyone knows the application, who will poll/handle keypad events in user space?

2009-02-05 Thread Dianne Hackborn
WindowManagerService start the thread that reads events, implemented in KeyInputQueue. There are debug log statements you can turn on in KeyInputQueue. On Thu, Feb 5, 2009 at 4:14 PM, 常青 wrote: > Hi All, > > The problem I have is that after *updaing system.img* with the latest > changes from Go

[android-kernel] Anyone knows the application, who will poll/handle keypad events in user space?

2009-02-05 Thread 常青
Hi All, The problem I have is that after *updaing system.img* with the latest changes from Google, while *without changing anything in keypad kernel driver*, some keypad events can not be handled by user space applications anymore. After checking with *"/system/bin/getevent /dev/input/event0"*, I