New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USB devices are not auto-detached when DispVM is destroyed #3053

Open
Yethal opened this Issue Aug 27, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@Yethal

Yethal commented Aug 27, 2017

Qubes OS version (e.g., R3.2):

R3.2

Affected TemplateVMs (e.g., fedora-23, if applicable):

fedora-25 but the issue is not template-dependent


Expected behavior:

USB devices are detached before DispVM gets destroyed

Actual behavior:

USB devices are not detached which makes it impossible to attach them to another VM without physically replugging/power-cycling the device. "Invalid speed received" error message is printed.

Steps to reproduce the behavior:

  1. Launch a DispVM
  2. Attach a USB device to DispVM
  3. Close all windows belonging to DispVM (to trigger its destruction)
  4. Try attaching the USB device anywhere else.

General notes:

Everything works fine if the device is manually detached from DispVM so adding an additional step to the shutdown script should solve the issue. Something akin to this could be used:
qvm-usb -d $(qvm-usb|grep disp|cut -f1)

Related issues:

@hyperfekt

This comment has been minimized.

Show comment
Hide comment
@hyperfekt

hyperfekt Feb 19, 2018

It appears to me this bug also occurs when shutting down any other VM normally.

It appears to me this bug also occurs when shutting down any other VM normally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment