Board.KolibriOS.org
http://board.kolibrios.org/

mouse capture issue
http://board.kolibrios.org/viewtopic.php?f=23&t=3653
Страница 1 из 1

Автор:  timbatty [ Вт янв 02, 2018 10:08 am ]
Заголовок сообщения:  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.

Автор:  JohnXenox [ Вт янв 02, 2018 2:09 pm ]
Заголовок сообщения:  Re: mouse capture issue

timbatty писал(а):
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! :roll:

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):
Код:
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
Of course you can try to replace qemu-system-x86_64 with qemu-system-i386, if you use 32 bit Ubuntu Linux. May be it works.

Автор:  timbatty [ Вт янв 02, 2018 4:46 pm ]
Заголовок сообщения:  Re: mouse capture issue

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.

Автор:  JohnXenox [ Вт янв 02, 2018 6:28 pm ]
Заголовок сообщения:  Re: mouse capture issue

timbatty писал(а):
THANK YOU!
Your welcome! :D
timbatty писал(а):
that worked...
Great. :)
timbatty писал(а):
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.
Qemu is well documented. :wink: Type in terminal:
Код:
man qemu-doc
But ok, i can try to explain command line to you, that i wrote above.
Код:
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.
I hope everything is clear. :roll:

Автор:  baggacfreak [ Ср янв 03, 2018 4:55 pm ]
Заголовок сообщения:  Re: mouse capture issue

-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.

Страница 1 из 1 Часовой пояс: UTC+03:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/