How to resume pci (usb) operation on dom0, after turning off the VM to which the device was connecte

29 views
Skip to first unread message

getout...@gmail.com

unread,
Sep 6, 2018, 3:56:59 PM9/6/18
to qubes-users

Good day.
In order to connect a usb webcamera in VM, I had to connect a pci device with all usb connectors. Unfortunately I only have 1 ps \ 2 connector.

I used a command to connect a pci device:
attach --persistent --option permissive = true --option no-strict-reset = true skype dom0: 00_14.0

How can I resume pci usb on dom0 when the VM to which I connected the pci device will be disabled?

Or just restart the computer only?

awokd

unread,
Sep 7, 2018, 6:38:33 AM9/7/18
to getout...@gmail.com, qubes-users
See
https://www.qubes-os.org/doc/assigning-devices/#bringing-pci-device-back-to-dom0.
However, assuming your keyboard is on the ps/2 connector, a better option
might be to create a sys-usb qube. Only one qube can own a PCI device at a
time, but you could shutdown your "skype" qube then start sys-usb back up
and it would take back the USB controller.
https://www.qubes-os.org/doc/usb/#how-to-use-a-usb-mouse describes how to
configure sys-usb to pass mouse input to dom0.




getout...@gmail.com

unread,
Sep 7, 2018, 7:48:29 AM9/7/18
to qubes-users

Thank you very much for your answer.
Reply all
Reply to author
Forward
0 new messages