tzwcfq
May 11, 2022, 7:54am
44
There is a link to the guide on how to identify the right USB controller in the first step of the guide above:
after this procedure, this is what happened
tzwcfq
May 11, 2022, 8:35am
46
After you performed all these steps?
Find the controller used for input devices .
Open the file /etc/default/grub
in dom0.
Find the line that begins with GRUB_CMDLINE_LINUX
.
Add usbcore.authorized_default=0
and rd.qubes.dom0_usb=<BDF>
to that line, where <BDF>
is the USB controller identifier.
Save and close the file.
Run the command grub2-mkconfig -o /boot/grub2/grub.cfg
(legacy boot) or grub2-mkconfig -o /boot/efi/EFI/qubes/grub.cfg
(EFI) in dom0.
Reboot.
That’s the expected result. Now you need to perform last 8th step:
And create sys-usb. There is a link in the step on how to do it. You need to run this command in dom0:
sudo qubesctl state.sls qvm.sys-usb
tzwcfq
May 11, 2022, 8:54am
48
Here seems to be the same problem:
opened 12:59AM - 01 Jul 21 UTC
T: bug
C: installer
P: major
diagnosed
**Qubes OS version** 4.0.4
**Affected component(s) or functionality**
sys-… usb
**Summary**
In a default install on a ThinkPad T490, `sys-usb` was not created as expected, even though the installation defaults were not modified (`sys-net-usb` was also _not_ created; the USB controller was not attached to anything.)
Subsequent attempts to create it via `sudo qubesctl state.sls qvm.sys-usb` failed with a state failure on the ID `sys-net-usb`, as illustrated below.
<details>
<summary>Screenshot</summary>
![qubes-sls-failure](https://user-images.githubusercontent.com/213636/124049121-a9c8d880-d9cc-11eb-9341-0c3350db2402.png)
</details>
Creating the `sys-usb` Qube manually partially resolved, but `sys-usb` would not start, failing with "Unable to reset PCI device".
Following the instructions in https://www.qubes-os.org/doc/pci-troubleshooting/#domain--has-failed-to-start-internal-error-unable-to-reset-pci-device--no-flr-pm-reset-or-bus-reset-available appears to finally have resolved.
Check the output of this command in dom0:
sudo qubesctl top.enabled pillar=True
tzwcfq
May 11, 2022, 9:02am
50
Run this command in dom0:
sudo qubesctl top.disable qvm.sys-net-as-usbvm pillar=True
Then try to create sys-usb again:
sudo qubesctl state.sls qvm.sys-usb
tzwcfq
May 11, 2022, 9:24am
54
Do you have sys-net-usb VM?
tzwcfq
May 11, 2022, 9:30am
57
Then it’s better to address this issue to @marmarek here:
opened 12:59AM - 01 Jul 21 UTC
T: bug
C: installer
P: major
diagnosed
**Qubes OS version** 4.0.4
**Affected component(s) or functionality**
sys-… usb
**Summary**
In a default install on a ThinkPad T490, `sys-usb` was not created as expected, even though the installation defaults were not modified (`sys-net-usb` was also _not_ created; the USB controller was not attached to anything.)
Subsequent attempts to create it via `sudo qubesctl state.sls qvm.sys-usb` failed with a state failure on the ID `sys-net-usb`, as illustrated below.
<details>
<summary>Screenshot</summary>
![qubes-sls-failure](https://user-images.githubusercontent.com/213636/124049121-a9c8d880-d9cc-11eb-9341-0c3350db2402.png)
</details>
Creating the `sys-usb` Qube manually partially resolved, but `sys-usb` would not start, failing with "Unable to reset PCI device".
Following the instructions in https://www.qubes-os.org/doc/pci-troubleshooting/#domain--has-failed-to-start-internal-error-unable-to-reset-pci-device--no-flr-pm-reset-or-bus-reset-available appears to finally have resolved.
I don’t have much knowledge at this and can’t help with this salt issue.
Yeah. I think there are a lot of bugs in this system. Some are resolved in the unstable branch. I seem to be stable. When to solve problems dick knows. )) Thank you very much for your help.
sudo qubesctl state.sls qvm.sys-usb
created a virtual machine sys-usb
what to do next ?
tzwcfq
May 11, 2022, 9:57am
60
Do you see your USB devices (not keyboard/mouse) when you run this command in dom0?
qvm-usb
I managed. Launched sys-usb. In the tray, I connected it to the desired virtual machine, and now VM sees it. Once again, thank you very much.
YES!!! I see. Ave Maria. Fortune has turned
1 Like