Hi, I am a newbie trying to run android on x86 environment. I have follow the instructions and apply the patch. Then i succeed running android on the vmware (but still no cursor support).
BTW, now I try to add one usb touchscreen device to android. The linux kernel load the usbtouchscreen driver and add device node to /dev/input # ls /dev/input/ event2 mouse0 event1 mice event0 the dmesg message as below: <6>[ 1761.592529] usbcore: registered new interface driver usbtouchscreen <6>[ 1775.320156] usb 1-1: new full speed USB device using uhci_hcd and address 2 <6>[ 1775.931282] usb 1-1: configuration #1 chosen from 1 choice <6>[ 1775.999985] input: USB TouchController as /class/input/input2 <6>[ 1776.002890] input: USB HID v1.00 Pointer [USB TouchController] on usb-0000:00:07.2-1 <6>[ 1776.120919] usb 1-2: new full speed USB device using uhci_hcd and address 3 <6>[ 1776.654504] usb 1-2: configuration #1 chosen from 1 choice <6>[ 1776.662174] hub 1-2:1.0: USB hub found <6>[ 1777.002898] hub 1-2:1.0: 7 ports detected But the touchscreen is still not available. Using getevent command, I can get touch event when I touch the screen. The message like these: # getevent add device 1: /dev/input/event2 name: "USB TouchController" could not get driver version for /dev/input/mouse0, Not a typewriter add device 2: /dev/input/event1 name: "AT Translated Set 2 keyboard" could not get driver version for /dev/input/mice, Not a typewriter add device 3: /dev/input/event0 name: "Power Button (FF)" /dev/input/event2: 0004 0004 00090001 /dev/input/event2: 0001 0110 00000001 /dev/input/event2: 0003 0000 00000536 /dev/input/event2: 0003 0001 00000968 /dev/input/event2: 0000 0000 00000000 /dev/input/event2: 0004 0004 00090001 /dev/input/event2: 0001 0110 00000000 /dev/input/event2: 0000 0000 00000000 Finally, I ran the logcat and get these message. E/EventHub( 1770): could not open /dev/input/mouse0, Permission denied E/EventHub( 1770): could not open /dev/input/event2, Permission denied D/dalvikvm( 1770): GC freed 9970 objects / 626256 bytes in 6ms The problem looked like that EventHub run open_device function and encounter the permission problem. Is it a secure issue? How do I solve this problem? Any help would be greatly appreciated. Thank you. --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---