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

Could not passthrough COM port to WSL using STDIO #12

Open
vvavrychuk opened this issue Sep 14, 2024 · 0 comments
Open

Could not passthrough COM port to WSL using STDIO #12

vvavrychuk opened this issue Sep 14, 2024 · 0 comments

Comments

@vvavrychuk
Copy link

vvavrychuk commented Sep 14, 2024

I have succeeded with COM port passthrough to WSL using TCP. For this I run on WSL

socat TCP-LISTEN:1234,reuseaddr pty,link=pty

then on Windows run

winsocat sp:COM<n> TCP:127.0.0.1:1234

I would like to simplify this to one command using STDIO.

But if I run from Windows

winsocat sp:COM<n> WSL:"socat STDIO pty,link=pty"

file pty is not created.

@vvavrychuk vvavrychuk changed the title Could not achieve COM port passthrough to WSL using STDIO Could not passthrough COM port to WSL using STDIO Sep 15, 2024
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

1 participant