Skip to content
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

Devices Widget: can't detach USB device #3525

Closed
awokd opened this issue Feb 3, 2018 · 23 comments
Closed

Devices Widget: can't detach USB device #3525

awokd opened this issue Feb 3, 2018 · 23 comments

Comments

@awokd
Copy link

awokd commented Feb 3, 2018

Qubes OS version:

R4.0rc4

Affected TemplateVMs:


Steps to reproduce the behavior:

Connect (non-block) USB device to a VM
Click on Eject in Device Widget to attempt to disconnect from VM

Expected behavior:

USB device detached from VM

Actual behavior:

USB device remains bold and attached to VM

General notes:

Target VM syslog/journalctl displays message similar to "Device attach failed: No device info received, connection failed, check backend side for details"


Related issues:

#3215

@awokd
Copy link
Author

awokd commented Feb 3, 2018

Attempting to use qvm-usb to attach results in the same "backend side failed" message.
Installing qubes-usb-proxy in sys-usb's template restored correct function to Device Widget's Eject. It already had qubes-input-proxy-sender.

Potential cause: Devices Widget not recognizing a failure message when used to connect a USB device

@andrewdavidwong andrewdavidwong added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. C: manager/widget labels Feb 3, 2018
@andrewdavidwong andrewdavidwong added this to the Release 4.0 milestone Feb 3, 2018
@awokd
Copy link
Author

awokd commented Feb 4, 2018

Same behavior noted when using widget to assign device to an AppVM that doesn't have qubes-usb-proxy installed. It gets "stuck" there and can't be unassigned with the widget. Physically removing the USB device works around it.

@marmarta
Copy link
Member

Found the cause - events in the backend were firing even if the device was not successfully attached/detached. @marmarek - that's one of yours.

@kototama
Copy link

I have the same problem when the VM where the USB device was attached is shutdown before detaching. It's not possible then to detach from command line or UX. Should I create another ticket for that?

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy-dom0-1.0.16-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy-dom0-1.0.16-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component app-linux-usb-proxy (including package qubes-usb-proxy-1.0.16-1.fc26) has been pushed to the r4.0 testing repository for the Fedora template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy_1.0.16+deb10u1 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing buster-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy_1.0.16+deb9u1 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy_1.0.16+deb10u1 has been pushed to the r3.2 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing buster-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package app-linux-usb-proxy has been pushed to the r4.0 stable repository for the Fedora centos7 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy-dom0-1.0.16-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy-dom0-1.0.16-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy_1.0.16+deb10u1 has been pushed to the r3.2 stable repository for the Debian template.
To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy_1.0.16+deb9u1 has been pushed to the r3.2 stable repository for the Debian template.
To install this update, please use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The component app-linux-usb-proxy (including package qubes-usb-proxy-1.0.16-1.fc26) has been pushed to the r3.2 stable repository for the Fedora template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

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