[GH-ISSUE #1227] USB device emulation #988

Closed
opened 2026-05-05 07:21:29 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @Tie-fighter on GitHub (Jul 14, 2021).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1227

Not really an issue/bug, but it would be really great to support Qubes OS.

I successfully installed and connected the client in a qube, but inputs do not get passed on correctly. (I also tried the sys-usb qube)
Qubes has some good documentation on the handling of USB devices, incl. external mice and keyboards, but I didn't find anthing on non-USB input devices.
Similarily I could not really figure out how Barrier passes the events on to the OS. I tried reading the source code but didn't get beyond the understanding that some form of IPC is used.

Maybe this is an documentation issue, maybe I am not knowledgeable enough about linux, maybe this should never work in the first place.
Either way I would really appreciate any hints/ideas/insights concerning this.

Originally created by @Tie-fighter on GitHub (Jul 14, 2021). Original GitHub issue: https://github.com/debauchee/barrier/issues/1227 Not really an issue/bug, but it would be really great to support Qubes OS. I successfully installed and connected the client in a qube, but inputs do not get passed on correctly. (I also tried the sys-usb qube) Qubes has some good documentation on the handling of USB devices, incl. external mice and keyboards, but I didn't find anthing on non-USB input devices. Similarily I could not really figure out how Barrier passes the events on to the OS. I tried reading the source code but didn't get beyond the understanding that some form of IPC is used. Maybe this is an documentation issue, maybe I am not knowledgeable enough about linux, maybe this should never work in the first place. Either way I would really appreciate any hints/ideas/insights concerning this.
gitea-mirror 2026-05-05 07:21:29 -06:00
Author
Owner

@Tie-fighter commented on GitHub (Jul 28, 2021):

From my understanding Barrier uses PS/2 (interrupts) which do not get passed on to dom0.

A way to solve this issue would be to emulate usb devices which could be handled just like external peripherals in qubes.
Such a solution might prove useful in other usecases too.

Unfortunately implementing such a solution is beyond my current skill level.
Qubes thread: https://forum.qubes-os.org/t/synergy-barrier-support/5072

<!-- gh-comment-id:888428841 --> @Tie-fighter commented on GitHub (Jul 28, 2021): From my understanding Barrier uses PS/2 (interrupts) which do not get passed on to dom0. A way to solve this issue would be to emulate usb devices which could be handled just like external peripherals in qubes. Such a solution might prove useful in other usecases too. Unfortunately implementing such a solution is beyond my current skill level. Qubes thread: https://forum.qubes-os.org/t/synergy-barrier-support/5072
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/barrier#988
No description provided.