So I just setup PCI passthrough using QEMU. Is there a way to share my mouse and keyboard with both instead of using two mice and keyboard?
Just wondering if it was possible. I've seen people suggest synergy but it's a paid product now. Does anyone have any ideas on sharing them? I have two monitors.
About this post
- Posted
- Archived
- Score
- 2 · 100% up
- Kind
- Text
- ID
- 5v41tm
9 comments
The problem with Synergy is that its developers seem to have no idea how to support Wayland, I would gladly pay for it if not for its incompetence developers.
Passing through an USB keyboard with QEMU is its own can of worms, at least on Wayland, though mouse works perfectly.
What I end up doing is to add a PCIe card with an USB 3.0 controller/hub (and GbE) and connecting my keyboard and mouse through a cheap USB A/B switch (~2$, it's basically a 4PDT mechanical switch). I did found out that the added USB controller causing a bug in my MB firmware to resurface in which the USB keyboard isn't available until the kernel is loaded, meaning I can't enter UEFI menu or GRUB menu without PS/2 keyboard or removing the PCIe card.
I just installed the nightly of synergy (which is free) and its all working fine. no gripes i guess.
It's not their fault. Wayland puts an end to any external tools for input control - it mandates that only composer should get access to it. Hence all the gnome shell extensions - for example, redshift had been ported to GNOME shell. This is really shitty, imo. I am sticking with X for time being, there is a lot of things I would be missing.
Yes, you can use evdev passthrough or usb attach/detach.
Check this recent discussion on the /r/VFIO subreddit:
https://www.reddit.com/r/VFIO/comments/5uztgn/evdev_passthrough_for_keyboard_andor_mouse/
Will that work as something seamless? (As if I just had 2 monitors normally and can move my mouse between)
No, AFAIK. For that you'll need Synergy which can be used without buying a license if I remember correctly.
You can download an installer for windows from https://symless.com/nightly
Deleted before we saved it.
synergy is GPL licensed. You can build it yourself if you don't want to pay. https://github.com/symless/synergy