USB Attachment "Backend Side" Logs?

28 views
Skip to first unread message

Matthew Roy

unread,
Nov 15, 2019, 10:40:04 AM11/15/19
to qubes...@googlegroups.com
When attaching a USB device from a new, disposable & minimal-template-based, sys-usb, I get the following error:

user@dom0 ~]$ qvm-usb attach disp6xx5 sys-usb-dvm:2-2
Device attach failed: No device info received, connection failed, check backend side for details

I'm not sure where to look for logs or error output on the "backend side". Can anyone shed some light on this?

When I looked in the source code I can see the error comes from qubes-app-linux-usb-proxy in the bash shell script "usb-import", line 101:

# check for unexpected EOF
if [ -z "$untrusted_devid" -a -z "$untrusted_speed" ]; then
    echo "No device info received, connection failed, check backend side for details" >&2
    exit 1
fi

But I'm not really sure at a higher level what's going on in those lines and where I should look for the issue.

Thank you,
Matthew

awokd

unread,
Nov 15, 2019, 12:48:25 PM11/15/19
to qubes...@googlegroups.com
Matthew Roy:
> When attaching a USB device from a new, disposable &
> minimal-template-based, sys-usb, I get the following error:
>
> user@dom0 ~]$ qvm-usb attach disp6xx5 sys-usb-dvm:2-2
>> Device attach failed: No device info received, connection failed, check
>> backend side for details

Try making a regular AppVM sys-usb from that same template and see if
you have the same issue. You might not have the required usb proxy
packages installed in the template.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

Matthew Roy

unread,
Nov 21, 2019, 1:26:43 PM11/21/19
to awokd, qubes...@googlegroups.com
Thanks, that approach helped.

While I never did find any "backend" logs, I solved this problem by also installing the package `qubes-usb-proxy` in the template for the new disposable sys-usb.

Matthew


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/07c04284-2aac-c96e-7d2a-1dd64aa791eb%40danwin1210.me.
Reply all
Reply to author
Forward
0 new messages