Ive been using qubes for quite a while. Recently i wanted to pass my USB-Sound device to a appVM, which is located within a Powered Hub. I noticed that qvm-usb didn't display it at all. But a USB Storage device was accessable via the qubes-manager to attach to a appVM.
--------------------------------------- Location of issue: /usr/lib64/python2.7/site-packages/qubes/qubesutils.py lines: 472 , 473 usb_device_re = re.compile(r"^[0-9]+-[0-9]+(_[0-9]+)?$") usb_port_re = re.compile(r"^$|^[0-9]+-[0-9]+(\.[0-9]+)?$") As a temporary fix I replaced the above lines with: usb_device_re = re.compile(r"^[0-9]+-[0-9]+(_[0-9]+)+$") usb_port_re = re.compile(r"^$|^[0-9]+-[0-9]+(\.[0-9]+)+$") --------------------------------------- Now devices in a powered USB-Hub show up for me as. 2-1.1.1.1 -> 2-1.1.1.6 (first hub) 3-1.1.1.1 -> 3-1.1.1.4 (2nd hub) Hopefully this is of help to someone else and Devs can look after a more permanent fix for this issue. Additionally some Microsoft USB devices include the registered symbol in the USB Desc text, this causes qvm-usb to fail to display at all. Issue is in same file as before but on line 474, temp fix for anyone with such issues replace [ -~] with [ -~(\x20-\xE0)] kinda defeats the purposes of the usb_desc_re regex but atleast they display with qvm-usb now. -- You received this message because you are subscribed to the Google Groups "qubes-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to qubes-users+unsubscr...@googlegroups.com. To post to this group, send email to qubes-users@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/5bf0b034-5886-4a5e-b140-bb27d19ee445%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.