kevin760515 / android-x86

Automatically exported from code.google.com/p/android-x86
0 stars 0 forks source link

No mouse input when using "grabless mousepointer" in Qemu #75

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. boot Android 1.6 x86 image with qemu and usbdevice ('$ qemu -hda
~/android1.6-x86-eeepc.qcow2 -m 512 -usb -usbdevice tablet -net
user,hostfwd=tcp::5555-:5555 -net nic')
2. move the mouse in and out of the qemu window.

What is the expected output? What do you see instead?
It is expected to have a "grabless mousepointer" in android. Qemu does not
grab the mouse but also mouse events does not effect the android GUI.

What version of the product are you using? On what operating system?
QEMU PC emulator version 0.12.1 on a Ubuntu 9.04 system booting the an
Android x86 eeepc image from
http://android-x86.googlecode.com/files/android-x86-1.6.iso

Please provide any additional information below.

It seems the mouse events are processd by the kernel and OS just fine:

$ adb shell getevent
add device 1: /dev/input/event3
  name:     "QEMU 0.12.1 QEMU USB Mouse"
could not get driver version for /dev/input/mouse1, Not a typewriter
add device 2: /dev/input/event0
  name:     "Power Button (FF)"
could not get driver version for /dev/input/mice, Not a typewriter
add device 3: /dev/input/event2
  name:     "ImExPS/2 Generic Explorer Mouse"
could not get driver version for /dev/input/mouse0, Not a typewriter
add device 4: /dev/input/event1
  name:     "AT Translated Set 2 keyboard"
add device 5: /dev/input/event4
  name:     "PC Speaker"
/dev/input/event3: 0002 0000 0000007f
/dev/input/event3: 0002 0001 0000007f
/dev/input/event3: 0000 0000 00000000
/dev/input/event3: 0002 0000 0000007f
/dev/input/event3: 0002 0001 0000007f
/dev/input/event3: 0000 0000 00000000
/dev/input/event3: 0002 0000 0000007f
/dev/input/event3: 0002 0001 0000007f
/dev/input/event3: 0000 0000 00000000
/dev/input/event3: 0002 0000 0000007f
....

When not using the "-usbdevice tablet" or "-usbdevice mouse" the GUI can be
controlled as expected (though, it grabs the cursor and must be relased via
Ctrl+Alt each time).

Original issue reported on code.google.com by rodja.tr...@googlemail.com on 5 Feb 2010 at 11:41

GoogleCodeExporter commented 9 years ago
maybe the qemu issue, need to check on it

Original comment by beyounn@gmail.com on 8 Feb 2010 at 6:09

GoogleCodeExporter commented 9 years ago

Original comment by beyounn@gmail.com on 8 Feb 2010 at 6:10

GoogleCodeExporter commented 9 years ago
I don't think this is a duplicate of Issue 62. Without "-usbdevice" the system 
works
as expected. Permissions of /sys/power are not changing between this two modes.

Original comment by rodja.tr...@googlemail.com on 8 Feb 2010 at 1:26