Hi Retti, I have the same issue.
I have a running Android 2.2 on my platform. Now I am porting Android 2.3, I could see user interface of android 2.3, but touch screen does not work. KeyInputQueue.java is missing. For Android 2.2, I changed final int classes = di.classes to final int classes = di.classes &(~(RawInputEvent.CLASS_TOUCHSCREEN_MT)), in order to support single touch in KeyInputQueue.java file. Where can I find this ------------------------final int classes = di.classes? Do you have any idea? Thanks, Connie On Jan 4, 10:23 am, Retti <[email protected]> wrote: > Hello, > I have a running Port of Android 2.2.1 for my Hardware. > Now, after some Building problems, I have a Gingerbread image. > That one starts, but the Touch won`t work. > > I can check the kernelside working touchscreen by using "getevent". > So I can see, that the touch-driver is working, but android won`t > react on inputs. > I have seen, that in 2.3 there`s no KeyInputQueue, but an > InputManager. > > here are the relevant logs: > > I/InputManager( 551): Initializing input manager > I/InputManager( 551): Starting input manager > I/EventHub( 551): New device: path=/dev/input/event0 name=ADS7846 > Touchscreen id=0x10000 (of 0x1) index=1 fd=85 classes=0x4 > I/InputReader( 551): Device added: id=0x10000, name=ADS7846 > Touchscreen, sources=00001002 > ######### at this line, in Froyo, the KeyInputQueue > shows the values of x,y,pressure ... ############## > I/InputManager-Callbacks( 551): No input device calibration > properties found for device ADS7846 Touchscreen. > ... > D/InputManager( 551): Setting display #0 size to 800x480 > ... > I/InputReader( 551): Device reconfigured: id=0x10000, name=ADS7846 > Touchscreen, display size is now 800x480 > I/InputManager-Callbacks( 551): No virtual keys found for device > ADS7846 Touchscreen. > > W/InputManager-Callbacks( 541): Error reading input device > calibration properties for device ADS7846 Touchscreen from /system/usr/ > idc/ADS7846 Touchscreen.idc. > W/InputManager-Callbacks( 541): java.io.FileNotFoundException: / > system/usr/idc/ADS7846 Touchscreen.idc (No such file or directory) > > My first idea was to test it with implementing ts_lib/ts_calibrate, to > create a pointercal, but nothing changes. > > Can someone tell me what`s an .idc-file and how to create it!? > > Or have anybody some other ideas? > > I would be very greatful!! -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
