Usb modem passthrough error how to fix?

27 views
Skip to first unread message

Eva Star

unread,
Mar 3, 2020, 12:43:56 PM3/3/20
to qubes-users
Get this error. Please, how to fix? Cable is fine. It work on non virtual environment on other machine.

[   64.124877] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   65.012805] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   65.900845] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   66.788871] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[   66.788982] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1000 with error -19
[   66.789062] ieee80211 phy0: rt2800_probe_rt: Error - Invalid RT chipset 0x0000, rev 0000 detected
[   66.789120] ieee80211 phy0: rt2x00lib_probe_dev: Error - Failed to allocate device
[   66.789253] usbcore: registered new interface driver rt2800usb
[   66.789833] usb 1-1: USB disconnect, device number 2

dhorf-hfre...@hashmail.org

unread,
Mar 3, 2020, 1:09:52 PM3/3/20
to Eva Star, qubes-users
On Tue, Mar 03, 2020 at 09:43:56AM -0800, Eva Star wrote:
> Get this error. Please, how to fix? Cable is fine. It work on non virtual
> environment on other machine.
> [ 64.124877] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?

this most likely means your device is not supported by the linux usbip
driver, so it will not work with qvm-usb forwarding between VMs.

you should still be able to use it in sys-usb, so you may have to use
sys-usb as your netvm while using that modem.

this problem applies to all USB devices that try to reset the USB device,
for example after loading firmware.

linux-5.5.6/drivers/net/wireless/ralink/rt2x00/rt2x00usb.c:
usb_reset_device(usb_dev);

collection ticket:
https://github.com/QubesOS/qubes-issues/issues/3778


Eva Star

unread,
Mar 3, 2020, 3:20:57 PM3/3/20
to qubes-users
collection ticket:
        https://github.com/QubesOS/qubes-issues/issues/3778



Thanks! Yes, exactly this issue. Can I use passthrough mode if I will connect external 2.0 usb hub to my current notebook usb port and then passthrough from it?
/ or maybe it will be possible to attach second usb hub as pci device to other appvm?

dhorf-hfre...@hashmail.org

unread,
Mar 3, 2020, 3:39:06 PM3/3/20
to Eva Star, qubes-users
if you have more than one pci-level usb-controller, you can (try to)
assign them to different VMs, sure.
but connecting some usb-to-usb hub and trying to assign that wont work.



Reply all
Reply to author
Forward
0 new messages