Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qemu aarch64 gentoo: invisible xorg mouse [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3638

PostPosted: Sat Apr 20, 2019 9:46 pm    Post subject: qemu aarch64 gentoo: invisible xorg mouse [solved] Reply with quote

Hi,
Here's a qemu gentoo aarch64 install with 4.9 kernel.
All of pure xorg,lxde and even sddm display manager have a mouse, but invisible.
As a side note,console mouse works fine.

What am I missing?

Thks 4 ur attention.


Last edited by CaptainBlood on Wed Apr 24, 2019 12:23 am; edited 1 time in total
Back to top
View user's profile Send private message
CaptainBlood
Advocate
Advocate


Joined: 24 Jan 2010
Posts: 3638

PostPosted: Wed Apr 24, 2019 12:22 am    Post subject: Reply with quote

-device virtio-tablet-pci instead of -device virtio-mouse-pci made the trick

Sorry I gave no details.
Here they are!
Code:
qemu-system-aarch64 -s -S -m 2024m -M virt -cpu cortex-a57 -kernel /home/luc/arm64/gentoo/kernel/Image-4.9 -append "root=/dev/vda raid=noautodetect" -drive file=/dev/sda2,cache=none,if=virtio,format=host_device -device virtio-net,netdev=net0 -netdev tap,id=net0,script=/etc/qemu-ifup,downscript=no -device virtio-gpu-pci -device virtio-keyboard-pci -device virtio-tablet-pci
e.g.
an aarch64 minimal virtual machine with a partition as /, a kernel provided from host location & virtio drivers for gpu, network, keyboard a graphical pointer.

There seems to be no virtio driver for tablet, my guess is that the virtio mouse does the trick, as it remains in kernel.

Maybe this will help others with a bottom up approach.

Thks 4 ur attention
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum