mouse capture issue
-
I have a chromebook running a crouton Ubuntu linux installation with xfce desktop. I am using QEMU to run KolibriOS inside that. So "qemu-system-i386 -fda ~/Downloads/kolibrios/kolibri.img -boot a" loads a stable instance of Kolibri but the mouse capture won't work. I tried to find a solution but the only thing that kinda worked was "qemu-system-i386 -fda ~/Downloads/kolibrios/kolibri.img -boot a -usb -usbdevice tablet"... this makes the mouse capture work but the instance of Kolibri crashes two seconds later with the error "Segmentation fault (core dumped)". Can anyone help me here. I have no idea what is going on.
Hi, timbatty!timbatty wrote:I have a chromebook running a crouton Ubuntu linux installation with xfce desktop. I am using QEMU to run KolibriOS inside that. So "qemu-system-i386 -fda ~/Downloads/kolibrios/kolibri.img -boot a" loads a stable instance of Kolibri but the mouse capture won't work. I tried to find a solution but the only thing that kinda worked was "qemu-system-i386 -fda ~/Downloads/kolibrios/kolibri.img -boot a -usb -usbdevice tablet"... this makes the mouse capture work but the instance of Kolibri crashes two seconds later with the error "Segmentation fault (core dumped)". Can anyone help me here. I have no idea what is going on.
I don't no what is going on, but you can try this command line (i use Ubuntu Linux and QEMU too and it works ideally):
Code: Select all
qemu-system-x86_64 -L . -m 256 -fda ~/Downloads/kolibrios/kolibri.img -localtime -vga vmware -net nic,model=rtl8139 -net user -soundhw ac97 -usb -usbdevice tablet
The Glass is Always Half Full!
THANK YOU! that worked... i'm a complete novice to using QEMU, but was sure it was because i was not describing the virtual machine enough. Can you explain this command line to me, each argument so I can build up a better understanding of how to describe specific virtual machines in QEMU.
Your welcome!timbatty wrote:THANK YOU!
Great.timbatty wrote:that worked...
Qemu is well documented. Type in terminal:timbatty wrote:Can you explain this command line to me, each argument so I can build up a better understanding of how to describe specific virtual machines in QEMU.
Code: Select all
man qemu-doc
Code: Select all
qemu-system-i386 - 32 bit QEMU Emulator.
qemu-system-x86_64 - 64 bit QEMU Emulator.
Keys:
-L . - sets bios location.
-m 256 - sets guest startup RAM size to 256 megabytes.
-fda ~/Downloads/kolibrios/kolibri.img - use file kolibri.img as floppy disk image.
-localtime - sets the local time.
-vga vmware - sets type of VGA card to emulate as vmware.
-net nic,model=rtl8139 - sets network card as rtl8139.
-net user - use the user mode network stack which requires no administrator privilege to run.
-soundhw ac97 - enable audio and selected ac97 sound hardware.
-usb - enable the USB driver.
-usbdevice tablet - adds the USB device as tablet.
The Glass is Always Half Full!
-usbdevice tablet seems to help with the mouse issue. Somewhere here I used qemu, too. I prefer virtual box though. It is available for linux, too. Maybe trying this out helps for future projects.
Who is online
Users browsing this forum: No registered users and 1 guest