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

2.3.11 breaks USBIPD #11795

Closed
1 of 2 tasks
ferrellsl opened this issue Jul 18, 2024 · 9 comments
Closed
1 of 2 tasks

2.3.11 breaks USBIPD #11795

ferrellsl opened this issue Jul 18, 2024 · 9 comments

Comments

@ferrellsl
Copy link

ferrellsl commented Jul 18, 2024

Windows Version

Microsoft Windows [Version 10.0.22631.3880]

WSL Version

Ubuntu 22.04 Version 2

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.6.36.3-microsoft-standard-WSL2

Distro Version

Ubuntu 22.04.4 LTS on Windows 11 x86_64

Other Software

No response

Repro Steps

Run the following command: usbipd attach --wsl --busid 2-3
My SDR dongle in on busid 2-3 and is shared.
Results in the following error:
usbipd: info: Using WSL distribution 'Ubuntu-22.04' to attach; the device will be available in all WSL 2 distributions.
usbipd: error: WSL kernel is not USBIP capable; update with 'wsl --update'.

Expected Behavior

USB IP device successfully connects.

Actual Behavior

Results in the following error:
usbipd: info: Using WSL distribution 'Ubuntu-22.04' to attach; the device will be available in all WSL 2 distributions.
usbipd: error: WSL kernel is not USBIP capable; update with 'wsl --update'.

Diagnostic Logs

No response

Tasks

Preview Give feedback
No tasks being tracked yet.

WslLogs-2024-07-17_23-49-05.zip

Copy link

Logs are required for review from WSL team

If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'.
Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.

How to collect WSL logs

Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:

Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1

The scipt will output the path of the log file once done.

Once completed please upload the output files to this Github issue.

Click here for more info on logging
If you choose to email these logs instead of attaching to the bug, please send them to wsl-gh-logs@microsoft.com with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.

View similar issues

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@ferrellsl
Copy link
Author

Copy link

Diagnostic information
.wslconfig found
Detected appx version: 2.3.11.0

@shigenobuokamoto
Copy link

@ferrellsl
try this

$ sudo modprobe usbip-host

Copy link

Diagnostic information
Issue was edited and new log file was found: https://github.com/user-attachments/files/16278991/WslLogs-2024-07-17_23-49-05.zip
.wslconfig found
Detected appx version: 2.3.11.0

@ferrellsl
Copy link
Author

@ferrellsl try this

$ sudo modprobe usbip-host

The command completes successfully in bash with no output, but when I try to attach my device in an admin cmd shell, I get the same error message that the kernel isn't USBIPD capable

@shigenobuokamoto
Copy link

@ferrellsl
sorry, looks like you need this module.

$ sudo modprobe vhci_hcd

@jmange
Copy link

jmange commented Jul 18, 2024

@ferrellsl sorry, looks like you need this module.

$ sudo modprobe vhci_hcd

For what it is worth, I was having the same issue and this solved it. Thanks!

@ferrellsl
Copy link
Author

@ferrellsl sorry, looks like you need this module.

$ sudo modprobe vhci_hcd

Yes, this is working for me. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants