for Android, during the startup and initialization, Android will scan the devices listed in /dev/input/ and open them. So I think it shouldn't be caused by Android.
In kernel, the input devices registered successfully will be displayed in /dev/input. As your information output, you should check you Keypad driver and confirm whether it is registered successfully. what's more, your 'cat proc/bus/input/devices' shows only input0 for touchscreen. And handlers for kbd, mousedev, evdev are the generic high-level handler not just for your input devices. Good Luck.... On Thu, Feb 19, 2009 at 10:59 AM, bfriedman <bfriedma...@gmail.com> wrote: > > I am porting Android to a PXA development platform. I am using a > UCB1400 touchscreen. I have built the kernel and I can get Android to > boot however the touchscreen is not working. The touch screen is > assigned to event0 and there is no event1. Inside dev/input I only > have event0 and mice. I have enabled the PXA keypad support yet it > still only sets up the touchscreen on event0. I ran getevent and > touched the screen and here is what i got: > > # getevent > add device 1: /dev/input/event0 > name: "UCB1400 touchscreen interface" > could not get driver version for /dev/input/mice, Not a typewriter > > /dev/input/event0: 0003 0000 0000018c > /dev/input/event0: 0003 0001 00000128 > /dev/input/event0: 0003 0018 0000020f > /dev/input/event0: 0000 0000 00000000 > /dev/input/event0: 0003 0000 00000180 > /dev/input/event0: 0003 0001 0000011c > /dev/input/event0: 0003 0018 0000025e > /dev/input/event0: 0000 0000 00000000 > /dev/input/event0: 0003 0000 0000017e > /dev/input/event0: 0003 0001 00000124 > /dev/input/event0: 0003 0018 0000028e > /dev/input/event0: 0000 0000 00000000 > /dev/input/event0: 0003 0018 00000000 > /dev/input/event0: 0000 0000 00000000 > /dev/input/event0: 0003 0000 00000152 > /dev/input/event0: 0003 0001 0000011a > /dev/input/event0: 0003 0018 0000026a > /dev/input/event0: 0000 0000 00000000 > /dev/input/event0: 0003 0000 0000015c > /dev/input/event0: 0003 0001 0000012e > /dev/input/event0: 0003 0018 0000023a > /dev/input/event0: 0000 0000 00000000 > /dev/input/event0: 0003 0018 00000000 > /dev/input/event0: 0000 0000 00000000 > > Here is what I have in my dev/input and proc/bus/input/{devices, > handlers}: > # ls dev/input > event0 > mice > # cat proc/bus/input/devices > I: Bus=0000 Vendor=5053 Product=4304 Version=0000 > N: Name="UCB1400 touchscreen interface" > P: Phys= > S: Sysfs=/class/input/input0 > U: Uniq= > H: Handlers=event0 > B: EV=9 > B: ABS=1000003 > > # cat proc/bus/input/handlers > N: Number=0 Name=kbd > N: Number=1 Name=mousedev Minor=32 > N: Number=2 Name=evdev Minor=64 > # > > My question is, how do I get Android to assign my touchscreen to > event1 and PXA keypad to event0? Am I missing a step? Any help would > be greatly appreciated. > > Ben > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---