Skip to content

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.

2 points8 comments
Open on Reddit
About this post
Posted
Archived
Score
2 · 100% up
Kind
Text
ID
5v41tm

Author

34
posts
102
comments
6
media
View profile

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.

2 points

I just installed the nightly of synergy (which is free) and its all working fine. no gripes i guess.

1 points

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.

1 points

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/

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.