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 clickin

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-04-03 10:00:06

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.

Update-1: The correct syntax is 'usbredirect --device "/dev/bus/usb/001/031" --to 127.0.0.1:23456'. Now 'termux-usb -e usbredirect --device "/dev/bus/usb/001/031" --to 127.0.0.1:23456' returns "termux-usb: illegal option --".

Update-2: Workaround-version-2 passes device bus-string by hard-coding the device bus-string in a separate shell script: echo 'FULL-PATH/usbredirect --device /dev/bus/usb/001/031 --to 127.0.0.1:23456' > u.sh; chmod a+rx u.sh ; termux-usb -e FULL-PATH/u.sh "/dev/bus/usb/001/031" and printf argv[2] in usbredirect displays the hard-coded bus-string.

Update-3: Replaced usbredirect.c source code with the latest version. Used the suggestion from @Grimler91 at #19635 (comment) and the result is posted in the "Termux session: testing usbredirect" section. Major progress and very good news!

Leave a Comment