[arch-general] QEMU: mouse not working in arch guest
i've switched from virtualbox to QEMU recently and am quite happy with it -- except that i can't get any mouse working properly in arch guests. others distro i've installed as guests (fedora 19, debian wheezy, even ubuntu) don't have that problem, for some reason only arch does. (i've got xf86-input-vmmouse installed on the guest.) i've exported "SDL_VIDEO_X11_DGAMOUSE=0" before starting qemu, and this seems to lessen the erratical jumping around of the mouse, but it's still unusable. i've also tried to specify "-usbdevice mouse," "-usbdevice tablet," and passing the USB device via vendor- and product ID, to no avail. have been searching quite a bit, but didn't find anything relevant. i'm using quemu-git from AUR now, and while the mouse doesn't jump around erratically, neither the left button nor it's position are being registered, while right button click is (always at the screen's center position, irrespective of mouse movement). would be grateful for any hints re. this. -- phani.
2013/8/4 phanisvara <listmail@phanisvara.com>
i've switched from virtualbox to QEMU recently and am quite happy with it -- except that i can't get any mouse working properly in arch guests.
others distro i've installed as guests (fedora 19, debian wheezy, even ubuntu) don't have that problem, for some reason only arch does.
(i've got xf86-input-vmmouse installed on the guest.)
i've exported "SDL_VIDEO_X11_DGAMOUSE=0" before starting qemu, and this seems to lessen the erratical jumping around of the mouse, but it's still unusable.
i've also tried to specify "-usbdevice mouse," "-usbdevice tablet," and passing the USB device via vendor- and product ID, to no avail.
have been searching quite a bit, but didn't find anything relevant.
i'm using quemu-git from AUR now, and while the mouse doesn't jump around erratically, neither the left button nor it's position are being registered, while right button click is (always at the screen's center position, irrespective of mouse movement).
would be grateful for any hints re. this.
-- phani.
Hi. While I do not have the problem you're mentioning, I'd suggest trying to use either VNC or better yet, spice, instead of SDL. This is the default when using libvirt, and it might not behave the same way as it does with SDL.
On Sunday 04 Aug 2013 18:12:11 Joan Rieu wrote:
While I do not have the problem you're mentioning, I'd suggest trying to use either VNC or better yet, spice, instead of SDL.
thank you, i've solved this for SDL, as i wrote in a comment to my own post. can't get it to work properly via VNC yet, but isn't that important, since i'm using the arch guest headless most of the time. -- phani.
On Sunday 04 Aug 2013 15:54:34 phanisvara wrote:
i've also tried to specify "-usbdevice mouse," "-usbdevice tablet," and passing the USB device via vendor- and product ID, to no avail.
i'm sorry, mistake was mine. when i tried to pass the usbdevice via vendor/product, i didn't notice a permisson error preventing that from actually happening. after fixing permissions, passing the USB device, and then _also_ specifying "-usbdevice mouse," my mouse works properly in the arch guest. -- phani
participants (2)
-
Joan Rieu
-
phanisvara