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 proxy: support SanDisk Extreme Portable SSD #6002

Closed
ygrek opened this issue May 12, 2020 · 12 comments
Closed

usb proxy: support SanDisk Extreme Portable SSD #6002

ygrek opened this issue May 12, 2020 · 12 comments

Comments

@ygrek
Copy link

ygrek commented May 12, 2020

when attaching the above device (over USB-C) usb-import complains about invalid speed. The following patch makes it work (maybe it should set higher speed value, I guess that depends on driver/kernel but I don't know)

diff --git a/src/usb-import b/src/usb-import
index 75be316..dad4e81 100755
--- a/src/usb-import
+++ b/src/usb-import
@@ -127,9 +127,9 @@ case "$untrusted_speed" in
     12)  speed=2 ;; # Full speed
     480) speed=3 ;; # High Speed
     53.3-480) speed=4 ;; # Wireless
-    5000) speed=5 ;; # Super Speed
+    5000|10000) speed=5 ;; # Super Speed
     *) ERROR "Invalid speed \"$untrusted_speed\" received." \
-             "Expected \"1.5\", \"12\", \"480\", \"53.3-480\" or \"5000\". " \
+             "Expected \"1.5\", \"12\", \"480\", \"53.3-480\", \"5000\" or \"10000\". " \
              "If the remote side sent nothing, this could mean "\
              "  - the device is invalid or unplugged" \
              "  - the VM crashed" \
@ygrek
Copy link
Author

ygrek commented Aug 14, 2020

ping

@marmarek marmarek transferred this issue from QubesOS/qubes-app-linux-usb-proxy Aug 14, 2020
@marmarek marmarek changed the title support SanDisk Extreme Portable SSD usb proxy: support SanDisk Extreme Portable SSD Aug 14, 2020
@marmarek
Copy link
Member

Sorry for not noticing your report earlier, we keep all the issues in a common repo (qubes-issues) - I've transferred it now.

According to the kernel code, speed "10000" has value 6 (USB_SPEED_SUPER_PLUS). But the usbip driver doesn't support it yet.

@qubesos-bot
Copy link

Automated announcement from builder-github

The package app-linux-usb-proxy has been pushed to the r4.0 testing repository for the CentOS centos7 template.
To test this update, please install it with the following command:

sudo yum update --enablerepo=qubes-vm-r4.0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy_1.0.29 has been pushed to the r4.0 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy-dom0-1.0.29-1.fc25 has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy-dom0-1.0.29-1.fc32 has been pushed to the r4.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy_1.0.29 has been pushed to the r4.1 testing repository for the Debian template.
To test this update, first enable the testing repository in /etc/apt/sources.list.d/qubes-*.list by uncommenting the line containing stretch-testing (or appropriate equivalent for your template version), then use the standard update command:

sudo apt-get update && sudo apt-get dist-upgrade

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package app-linux-usb-proxy has been pushed to the r4.0 stable repository for the CentOS centos7 template.
To install this update, please use the standard update command:

sudo yum update

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy-dom0-1.0.29-1.fc25 has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package qubes-usb-proxy-dom0-1.0.29-1.fc32 has been pushed to the r4.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment