Hi, I am trying to mount a smartphone of mine to a qube. I am getting the following error:
Error Attaching device [Smartphone] to [qube] failed. Error: QubesException - Device attach failed: /usr/lib/qubes/-usb-import: 94: echo: echo: I/O errorAttach timeout, check kernel log for details. VM: "[qube]" File: "/usr/lib/qubes/usb-import" Version Control: https://github.com/QubesOS/qubes-app-linux-usb-proxy/blob/master/src/usb-import
I have been able to mount another smartphone, using the same qube, which is meant for this specific purpose. There are a number of difference between the two devices (for instance, the phone I am trying to connect is using a custom ROM, /e/) but given that the error is happening on Qubes, I am asking about it here.
I find this message a bit opaque. I’ve called up the kernel logs for the qube as well as sys-usb and can’t determine anything.
What’s more is that I am able to easy attach the same /e/ smartphone to another computer using Linux Mint.
Any direction in resolving this issue will be appreciated!
1 Like
Hello, I have the same problem as you, have you found a solution?
1 Like
Unfortunately no. I have sort of moved on from trying to get it fixed, as it’s not especially important to my workflow, it’d just be a nice feature
1 Like
Possible cause
opened 10:34PM - 05 Jan 21 UTC
T: bug
P: default
hardware support
C: usb proxy
needs diagnosis
<!-- IMPORTANT: Please read our issue tracker guidelines before submitting this … issue:
https://www.qubes-os.org/doc/reporting-bugs/
Please do not delete or remove any part of this issue template. -->
### Qubes OS version:
R4.0 up to date current, Android 11 (Pixel phone up to date 5 dec 20 - reference platform)
f32 target Qube, f32-min sys-usb
### Affected component(s) or functionality:
USB handling - dom0
---
### Steps to reproduce the behavior:
Attach Android 11 device with file transfer enabled to a Qube running Nautilus.
### Expected or desired behavior:
Entry for device appears in menu in Nautilus and I can select that item to browse the filesystem on the Android device.
### Actual behavior:
Menu item appears as expected, however selection goes away for 5-10 sec then gives a popup "Unable to connect to MTP device 00n,00n" and deletes the Nautilus menu item.
### General notes:
Please see forum thread for more details:
https://qubes-os.discourse.group/t/how-can-i-connect-to-android-via-usb/2101
An older v8 Android does partially work: same error popup in Nautilus, dismiss that, detach and reattach, then works as expected.
If looking into this I did notice another bug in the device widget communication - if Android file transfer is enabled or disabled while attached to a Qube the attachment is dropped in dom0, however the widget is not notified. Attempting detach in the widget gives a not attached error popup.
---
### I have consulted the following relevant [documentation](https://www.qubes-os.org/doc/):
### I am aware of the following related, [non-duplicate](https://www.qubes-os.org/doc/reporting-bugs/#new-issues-should-not-be-duplicates-of-existing-issues) issues:
Your best bet would be to directly assign a USB controller
to the qube you wish to use to perform whatever operation
you want on your phone. Then plug your phone into a USB port
that matches that controller. Likely requires trial and error.
1 Like
This was also discussed numerous times here and elsewhere.
1 Like
I have the same issue right now.
1 Like