Comments (6)
Did you compile your own kernel? Did you enable "Debug messages for USB/IP" (you shouldn't...)?
See https://github.com/dorssel/usbipd-win/wiki/Troubleshooting on how to obtain more debugging information.
from usbipd-win.
No, i use the original kernel Linux lleaves 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
and I see the /proc/config.gz
CONFIG_USBIP_CORE=y
CONFIG_USBIP_VHCI_HCD=y
CONFIG_USBIP_VHCI_HC_PORTS=8
CONFIG_USBIP_VHCI_NR_HCS=1
# CONFIG_USBIP_HOST is not set
# CONFIG_USBIP_DEBUG is not set
I try the trace, but it seems everything is ok.
dbug: Microsoft.Extensions.Hosting.Internal.Host[2]
Hosting started
dbug: Usbipd.Server[1000]
new connection from 172.30.173.224
dbug: Usbipd.Server[1000]
connection close: Unable to read beyond the end of the stream.
dbug: Usbipd.Server[1000]
connection closed
dbug: Usbipd.Server[1000]
new connection from 172.30.173.224
dbug: Usbipd.ConnectedClient[1000]
Received opcode: OP_REQ_IMPORT
dbug: Usbipd.ConnectedClient[1000]
Claiming took 2000 ms
info: Usbipd.ConnectedClient[1]
Client 172.30.173.224 claimed device at 1-10 (USB\VID_18D1&PID_4EE0\08221FDD4005BA).
dbug: 1-10.0[1000]
Endpoint created
dbug: 1-10.0[1000]
Endpoint created
dbug: 1-10.0[1000]
Trapped SET_CONFIGURATION: 1
dbug: 1-10.1[1000]
Endpoint created
dbug: 1-10.1[1000]
Endpoint created
trce: 1-10.1[1001]
Unlinking: PendingSubmits=1, PendingUnlinks=1
trce: 1-10.1[1001]
Aborting endpoint
I noticed when i attach the device to wsl, output some strange code.I don't know if that has anything to do with the problem
usbipd attach --wsl --busid 1-10
usbipd: info: Using WSL distribution 'Ubuntu-20.04' to attach; the device will be available in all WSL 2 distributions.
usbipd: info: Using IP address 172.30.160.1 to reach the host.
WSL wsl: �hKm0R localhost �NtM�n
�FO*g\��P0R WSL0NAT !j_
N�v WSL
WSL N/ec localhost �Nt0
WSL
WSL
Now,i use fastboot.exe in wsl2, it works well.
from usbipd-win.
The logging from the WSL usbip
is a bit weird. I've not seen it before (the strange characters are simply terminal codes, probably to set the color). Normally, usbip
is quiet (i.e., no output).
Is there anything in syslog?
Now,i use fastboot.exe in wsl2, it works well.
Are you saying the problem does not occur anymore?
from usbipd-win.
Now,i use fastboot.exe in wsl2, it works well.
means I used a soft symlink to link the windows fastboot.exe into wsl2 to use it as a fastboot, which is actually still using the windows fastboot.exe.
I checked the syslog
Apr 15 11:48:54 lleaves kernel: [49190.447646] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(3)
Apr 15 11:48:54 lleaves kernel: [49190.447683] vhci_hcd vhci_hcd.0: devid(65546) speed(3) speed_str(high-speed)
Apr 15 11:48:54 lleaves kernel: [49190.447701] vhci_hcd vhci_hcd.0: Device attached
Apr 15 11:48:54 lleaves kernel: [49190.794250] usb 1-1: new high-speed USB device number 3 using vhci_hcd
Apr 15 11:48:55 lleaves kernel: [49191.154261] usb 1-1: SetAddress Request (3) to port 0
Apr 15 11:48:55 lleaves kernel: [49192.006621] usb 1-1: New USB device found, idVendor=18d1, idProduct=4ee0, bcdDevice= 1.00
Apr 15 11:48:55 lleaves kernel: [49192.006624] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 15 11:48:55 lleaves kernel: [49192.006624] usb 1-1: Product: Pixel 5
Apr 15 11:48:55 lleaves kernel: [49192.006625] usb 1-1: Manufacturer: Google
Apr 15 11:48:55 lleaves kernel: [49192.006625] usb 1-1: SerialNumber: 08221FDD4005BA
Apr 15 11:51:36 lleaves kernel: [49352.695340] vhci_hcd: unlink->seqnum 3582
Apr 15 11:51:36 lleaves kernel: [49352.695343] vhci_hcd: urb->status -104
Apr 15 11:51:42 lleaves kernel: [49359.006370] vhci_hcd: unlink->seqnum 3585
Apr 15 11:51:42 lleaves kernel: [49359.006373] vhci_hcd: urb->status -104
Apr 15 11:52:02 lleaves kernel: [49378.849341] vhci_hcd: connection closed
Apr 15 11:52:02 lleaves kernel: [49378.849457] vhci_hcd: stop threads
Apr 15 11:52:02 lleaves kernel: [49378.849459] vhci_hcd: release socket
Apr 15 11:52:02 lleaves kernel: [49378.849461] vhci_hcd: disconnect device
Apr 15 11:52:02 lleaves kernel: [49378.849534] usb 1-1: USB disconnect, device number 3
Apr 15 11:52:30 lleaves kernel: [49406.016467] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(3)
Apr 15 11:52:30 lleaves kernel: [49406.016470] vhci_hcd vhci_hcd.0: devid(65546) speed(3) speed_str(high-speed)
Apr 15 11:52:30 lleaves kernel: [49406.016486] vhci_hcd vhci_hcd.0: Device attached
Apr 15 11:52:30 lleaves kernel: [49406.364347] usb 1-1: new high-speed USB device number 4 using vhci_hcd
Apr 15 11:52:30 lleaves kernel: [49406.714311] usb 1-1: SetAddress Request (4) to port 0
Apr 15 11:52:31 lleaves kernel: [49407.556052] usb 1-1: New USB device found, idVendor=18d1, idProduct=4ee0, bcdDevice= 1.00
Apr 15 11:52:31 lleaves kernel: [49407.556059] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 15 11:52:31 lleaves kernel: [49407.556062] usb 1-1: Product: Pixel 5
Apr 15 11:52:31 lleaves kernel: [49407.556063] usb 1-1: Manufacturer: Google
Apr 15 11:52:31 lleaves kernel: [49407.556065] usb 1-1: SerialNumber: 08221FDD4005BA
Apr 15 11:59:10 lleaves kernel: [49806.059881] vhci_hcd: connection closed
Apr 15 11:59:10 lleaves kernel: [49806.059997] vhci_hcd: stop threads
Apr 15 11:59:10 lleaves kernel: [49806.059999] vhci_hcd: release socket
Apr 15 11:59:10 lleaves kernel: [49806.060002] vhci_hcd: disconnect device
Apr 15 11:59:10 lleaves kernel: [49806.060032] usb 1-1: USB disconnect, device number 4
Apr 15 12:04:45 lleaves kernel: [50141.416076] vhci_hcd vhci_hcd.0: pdev(0) rhport(0) sockfd(3)
Apr 15 12:04:45 lleaves kernel: [50141.416078] vhci_hcd vhci_hcd.0: devid(65546) speed(3) speed_str(high-speed)
Apr 15 12:04:45 lleaves kernel: [50141.416094] vhci_hcd vhci_hcd.0: Device attached
Apr 15 12:04:45 lleaves kernel: [50141.762820] usb 1-1: new high-speed USB device number 5 using vhci_hcd
Apr 15 12:04:45 lleaves kernel: [50141.912770] usb 1-1: SetAddress Request (5) to port 0
Apr 15 12:04:45 lleaves kernel: [50141.963310] usb 1-1: New USB device found, idVendor=18d1, idProduct=4ee0, bcdDevice= 4.19
Apr 15 12:04:45 lleaves kernel: [50141.963312] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 15 12:04:45 lleaves kernel: [50141.963313] usb 1-1: Product: AOSP on redfin
Apr 15 12:04:45 lleaves kernel: [50141.963313] usb 1-1: Manufacturer: Google
Apr 15 12:04:45 lleaves kernel: [50141.963314] usb 1-1: SerialNumber: 08221FDD4005BA
from usbipd-win.
All looks well. Nothing I can do...
from usbipd-win.
Thank you again! Maybe i will check later.
from usbipd-win.
Related Issues (20)
- usbipd: error: Unable to run 'usbip' client tool. HOT 4
- Mounting within WSL failed HOT 4
- connecting devices over 3 machines HOT 7
- Unable to install usbpid-win HOT 1
- Dropped bulk transfer ZLP writes through WSL2 HOT 2
- Update to wiki section HOT 3
- When is 4.1.1 with mount issue release as a signed installer? HOT 2
- usbipd error : run command as administrator first, but i'm administrator.
- could you possibly release a signed usbip client for win? HOT 1
- Whats the limit to how many devices can be plugged in HOT 1
- Cant Detect devices plugged in as usbipd has them bound HOT 2
- Device appears and disappears from list HOT 2
- How to connect WSL2 Ubuntu 22.04 to Windows Joystick HOT 5
- Auto attach is not immediately stopped after exiting the attach loop HOT 2
- Failed to connect ThorLabs HOT 7
- [Question] Use automation dll to attach all devices that are connected+bound but not attached HOT 2
- "Incompatible Hub" when using SEH UTN Manager (network USB hub) HOT 7
- No longer able to access FTDI device in WSL2 HOT 12
- Rebooted from a bug check HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from usbipd-win.