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

Bring back libusb c output target #25

Open
JohnDMcMaster opened this issue Apr 1, 2020 · 4 comments
Open

Bring back libusb c output target #25

JohnDMcMaster opened this issue Apr 1, 2020 · 4 comments

Comments

@JohnDMcMaster
Copy link
Owner

JohnDMcMaster commented Apr 1, 2020

These were removed during the recent rework. But pyprinter.py is pretty straightforward, and it should be easy to replicate that as a template to bring them back

Other: I haven't needed C recently, so this hasn't been as high priority. But if someone wants it I can add it back likely pretty quickly

@himekifee
Copy link

Any chance to get this back? Kinda looking for it rn.

@JohnDMcMaster
Copy link
Owner Author

@himekifee not sure if this is still of use to you, but I have a WIP: #74

Did you want kernel or libusb?

@JohnDMcMaster JohnDMcMaster changed the title Bring back C output targets Bring back libusb c output target Apr 23, 2022
@himekifee
Copy link

Libusb is generally enough for me. I used to prototype in libusb and if necessary, port to kernel code.

@JohnDMcMaster
Copy link
Owner Author

JohnDMcMaster commented Apr 24, 2022

I've added experimental support but its pretty untested (compiles but not tested on real device). If you happen to test it definitely interested in your feedback, otherwise I'll test it properly when I can

Ubuntu quick start if you want to test:

sudo apt-get install -y libusb-1.0-0-dev
usbrply -l --wrapper my.pcapng ->main.c
gcc -I/usr/include/libusb-1.0 main.c -lusb-1.0 -o main
./main

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

2 participants