Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb attach of specific device fails #6392

Closed
aborrecimento opened this issue Feb 10, 2021 · 2 comments
Closed

usb attach of specific device fails #6392

aborrecimento opened this issue Feb 10, 2021 · 2 comments
Labels
P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@aborrecimento
Copy link

Qubes OS version

Qubes release 4.0 (R4.0)

  • dom0: 5.4.88-1.qubes.x86_64
  • sys-usb: same

Affected component(s) or functionality

  • qubes-app-linux-usb-proxy

Brief summary

Attaching a device and recognizing in sys-usb works. Attaching to other qubes does not work.

How Reproducible

  • 100%

To Reproduce

Steps to reproduce the behavior:

  1. Connect specific device (Android mobile device, MTP and/or adb ) to any USB-Port
  2. Device appears in sys-usb and works there
  3. Attach device to any other qube (fedora or debian)

Expected behavior

  • The device appears in other qube and is usable

Actual behavior

Case 1 MTP:

  • device can get attached to any qube, but does not work
  • it gets detached from qube
    dmesg in qube with device attached:
[38053.453091] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[38053.453944] usb 1-1: USB disconnect, device number 2

Case 2 adb:

  • device appears functional in sys-usb, but cannot be attached to any other qube
    Error message:
Device attach failed: /usr/lib/qubes/usb-import: 94: echo: echo: I/O errorAttach timeout, check kernel log for details. VM: "personal" File: "/usr/lib/qubes/usb-import" Version Control: https://github.com/QubesOS/qubes-app-linux-usb-proxy/blob/master/src/usb-import
  • There is no useful information in any kernel log (dom0 none, sys-usb just a disconnect and reconnect).

Solutions you've tried

  • different android connection modes
  • different USB-Ports/Hubs (USB3, USB2)
  • fedora and debian qubes
@aborrecimento aborrecimento added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Feb 10, 2021
@0spinboson
Copy link

duplicate: #6330

@aborrecimento
Copy link
Author

@0spinboson Sry for the duplicate. Haven't found the issue for some reason.

@andrewdavidwong andrewdavidwong added the R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one. label Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. R: duplicate Resolution: Another issue exists that is very similar to or subsumes this one. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

3 participants