I try to do a qvm-usb attachment to pass a usb device through, but it doesn't let me, it tells me it fails but provides no description of error.
Is there a way to find out the errors and have them display when there is an error please?
I try to do a qvm-usb attachment to pass a usb device through, but it doesn't let me, it tells me it fails but provides no description of error.
I agree with you. But they do not really have decent documentation for Qubes anywhere.
You ahve to get the basics then experiment.
Options:
-h, --help show this help message and exit
-l, --list
-a, --attach
-d, --detach
--no-auto-detach Fail when device already connected to other VM
--force-root Force to run, even with root privileges
[{username}@dom0 Desktop]$ qvm-usb -a win7-labeller dom0:4-1.2
ERROR: Device attach failed:
[{username}@dom0 Desktop]$
----------------
When I had things attached to a sys-usb, the sys-usb kept losing things.
It kept saying it had them then a moment later it powered the usb device down.
Or else it just forgot it was there.
Or never told Dom0 that it had the device.
https://www.qubes-os.org/doc/usb/
Scroll to the bottom until you find "How to attach USB drives"
I just tried this today and it worked well
Attaching as a BLOCK DEVICE works fine. it's not qvm-block that I am having issues with.
Thanks for trying.
Ran into this a couple of months ago. Rafael Susewind's fix:
start the template for sys-usb, or in dom0: edit /usr/lib/qubes/udev-usb-add-change and add
ID_SERIAL=`echo ${ID_SERIAL} | iconv -t ASCII//TRANSLIT`
immediately before
DESC="${ID_VENDOR_ID}:${ID_MODEL_ID} ${ID_SERIAL}"
should work. :)
help pleeeeease?
when I added his resolution, no change.
I have a similar problem - qvm-usb retuns an empty list.
[root@dom0 zby]# qvm-usb
BACKEND:DEVID DESCRIPTION USED BY
[root@dom0 zby]# lsusb
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp.
Bus 001 Device 011: ID 148f:761a Ralink Technology, Corp.
Bus 001 Device 004: ID 03f0:0641 Hewlett-Packard
Bus 001 Device 003: ID 413c:2111 Dell Computer Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
This is Qubes 4.0
I tried the recoding suggestion - I added "ID_SERIAL=`echo ${ID_SERIAL} | iconv -t ASCII//TRANSLIT`" in /usr/lib/qubes/udev-usb-add-change and then removed and put back the device - but that did not change the result.
Cheers,
Zbigniew