USBIPD: Using serial ports in WSL2

  Рет қаралды 7,485

oniro-with-zyga

oniro-with-zyga

Күн бұрын

Пікірлер: 17
@Jane--Smith
@Jane--Smith Жыл бұрын
Very helpful. Thank you very much!
@negimox
@negimox 2 жыл бұрын
mine shows, usbipd: error: Failed to attach device with busid '2-9'. Tried moving it to different port still didn't work,
@petterpin2163
@petterpin2163 10 ай бұрын
I am able to connect to an arduino, and it is listed using «lsusb». How can I serial monitor it? In wsl1 I can call it using /dev/ttyS*, but that does not work in wsl2.
@callirgos01
@callirgos01 7 ай бұрын
This assumes you are using a USB adapter, I am using a virtual COM port, no USB device involved, how can I forward the COM port over to WSL?
@oniro-with-zyga499
@oniro-with-zyga499 7 ай бұрын
it depends on what you need. Usually full USB is needed with more complex devices. Plain old serial ports used to work in WSL-1 automatically. In WSL-2 this functionality was lost, AFIAIR.
@pieterruys4397
@pieterruys4397 Жыл бұрын
I'm having an issue where the device does connect to my wsl2 but the comport doesn't seem to follow, and I can't acces the serial port through my wsl.
@oniro-with-zyga499
@oniro-with-zyga499 Жыл бұрын
I have no suggestion beyond trying a few more times. Perhaps the versions have drifted over time. Perhaps there's something flaky in the process. I've since moved on from working on Onrio and I'm not as constrained with working on Windows devices.
@Kiki0622
@Kiki0622 2 жыл бұрын
thank you so much!
@myusrn
@myusrn 2 жыл бұрын
Can i use usbipd installed on two different windows installs to project a localhost usb thumbdrive into a remote windows virtual machine host environment?
@oniro-with-zyga499
@oniro-with-zyga499 2 жыл бұрын
I have not tried that but in principle the answer is yes. The whole idea of USB over TCP/IP is that you can treat this as network traffic.
@myusrn
@myusrn 2 жыл бұрын
@@oniro-with-zyga499 thanks, I wasn't sure if the usbip-win install has ability to act as both a server and a client. Scenario I'm thinking for windows to windows / macOS usb device sharing over ip is a fido2 security key for authentication and thumbprint for diskpart / disk utilities activities while asking the remote console over rdp / vnc.
@nethomas1968
@nethomas1968 Жыл бұрын
The 'wsl' command has been removed from uspipd.
@oniro-with-zyga499
@oniro-with-zyga499 Жыл бұрын
Thanks for sharing. This is the problem with all kinds of video tutorials, they do get out of date eventually.
@SCIENindustries
@SCIENindustries 2 жыл бұрын
what about controllers (xbox controller for example) I tried, and it appears under usb-devices but with no driver attached, although looking into WSL github there should be driver for that. Any suggestions to solve that problem?
@ZygmuntKrynicki
@ZygmuntKrynicki 2 жыл бұрын
I didn't try with Xbox controllers, depending on how it is showing up in the kernel you may or may not need a kernel level driver. Through libusb it should work but I, again, have not tried that particular case.
@cameronduffy6979
@cameronduffy6979 7 ай бұрын
Hi, sadly your screenshots are blurry and unreadable.
@suzonchowdhury9134
@suzonchowdhury9134 Ай бұрын
There goes my hope of using WSL as daily driver through the window. Adding additional steps to already complicated tasks isn't helpful.
Set up guide: preparing Ubuntu 22.04 (Jammy) for building Oniro
9:07
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
NEVER install these programs on your PC... EVER!!!
19:26
JayzTwoCents
Рет қаралды 4,7 МЛН
Tutorial: Access the UART (Serial Port) on GNU/Linux with a simple C program
12:53
Linux Tips - Record Video from USB Camera in WSL (2022)
9:54
AgileDevArt
Рет қаралды 21 М.
SOCAT - you won't believe what this Linux tool can do!
24:29
LinuxCloudHacks
Рет қаралды 10 М.
Inside the V3 Nazi Super Gun
19:52
Blue Paw Print
Рет қаралды 2,3 МЛН
VS Code WSL (C++) - Create Project, Compile, Run
10:02
Brian Fraser
Рет қаралды 41 М.
the TRUTH about C++ (is it worth your time?)
3:17
Low Level
Рет қаралды 820 М.
Linux Tips - Add USB Drive to WSL (Ext4) (2022)
9:23
AgileDevArt
Рет қаралды 18 М.
Install Desktop GUI for WSL | WSL Enable Desktop Guide
7:21
TroubleChute
Рет қаралды 274 М.