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

Device widget not showing attached devices. #4878

Closed
yubiguel opened this issue Mar 12, 2019 · 5 comments
Closed

Device widget not showing attached devices. #4878

yubiguel opened this issue Mar 12, 2019 · 5 comments
Labels
R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one.

Comments

@yubiguel
Copy link

yubiguel commented Mar 12, 2019

Qubes OS version:

Qubes release 4.0 (R4.0)

Affected component(s) or functionality:

Qubes Devices Widget (qui-devices)


Steps to reproduce the behavior:

Insert USB device such as a yubikey or usb stick. Attach the device using the device widget. Check if attached device shows bold in the device widget. In some cases it will not show as attached (bold) even though it is attached (qvm-usb or qvm-block showing it is attached). In other cases it will show attached, if it shows attached, try to detach the device using the widget manager, this will fail to detach and the only way to detach the device is through command line (qvm-usb or qvm-block)

Expected or desired behavior:

Devices that are attached to vm's should show on the device Widget as attached. Additionally when a device is shown as attached it should be possible to detach it by clicking again on the device in the widget device manager.

Actual behavior:

After last update, when inserting any USB device (yubikey or usb stick) the device widget does not show that the device is attached to the VM even though it is. Additionally, you cannot detach the device from the VM anymore using the device widget as it thinks it has nothing attached. When doing qvm-usb or qvm-block on dom0 the devices show correctly attached.

When a device does show as attached in the widget it will not show detached if you click on it on the device widget. If you completely remove the usb from the computer, the device manager will still show it attached. This creates many problems when trying to attach detach and reattach devices to other vm's. Using qvm-usb and qvm-block works fine as an alternative for the time being.

General notes:


I have consulted the following relevant documentation:

https://www.qubes-os.org/doc/usb/

I am aware of the following related, non-duplicate issues:

#3525

@brendanhoar
Copy link

brendanhoar commented Mar 12, 2019

This may be a more succinctly written (thanks!) duplicate of #4849, in which I believe I noted the git change IDs that might be leading to this. That one is assigned to @marmarta.

@yubiguel
Copy link
Author

oh wow yes I missed that one completely seems like the same issue indeed.

@Eric678
Copy link

Eric678 commented Mar 12, 2019

Yes I commented on this elsewhere as well. The latest update wrapped the code and stopped it updating. You can kill the process (/usr/bin/python3 /usr/bin/qui-devices) before you want to use it to get the old functionality back.

@andrewdavidwong
Copy link
Member

Duplicate of #4849

@andrewdavidwong andrewdavidwong marked this as a duplicate of #4849 Mar 13, 2019
@andrewdavidwong
Copy link
Member

This appears to be a duplicate of an existing issue. If so, please comment on the appropriate existing issue instead. If you believe this is not really a duplicate, please leave a comment briefly explaining why. We'll be happy to take another look and, if appropriate, reopen this issue. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one.
Projects
None yet
Development

No branches or pull requests

4 participants