-
Notifications
You must be signed in to change notification settings - Fork 77
Cynthion Hardware support for umap2 #41
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
base: master
Are you sure you want to change the base?
Cynthion Hardware support for umap2 #41
Conversation
…th endpoint enumeration
…because kitty does not support custom encodings for StrEncodeEncoder like utf_16_le for python >= 3
…t and promt the user to follow the documentation.
|
Hello Marius!
|
|
Hello @ikarus23, ~ Marius |
|
Hi @DeveloperMarius, thanks for the quick python2 fix! Not sure if the port to nu-map is of high priority. So far I don't even know what the major differences between umap2 and nu-map are. I also suggested that the nu-map project could become a part of GreatScottGadgetes (usb-tools#16 (comment)) since they already adopted the facedancer repository. And I'm not sure if Kate (https://github.com/ktemkin) is still around. She initiated the nu-map project and the USB-tools group (https://github.com/usb-tools). There is a discord server for the USB-tools group. I can ask there. Leaving the issue open on nu-map seams like a good idea too. Let's see if there will be feedback. |
|
I would appreciate it if you could ask in the discord. Just let me know if someone finds a good solution for this. |
Hello @bsharet,
first of all thank you for this awesome project!
This pull request adds Hardware support for the Cynthion (https://greatscottgadgets.com/cynthion/).
As stated in the cynthion_phy.py file, I used some code from the Facedancer software project that supports the Cynthion in form of the "Moondancer" Backend.
Because the MoondancerApp class uses internal Facedancer classes like facedancer.device.USBDevice it does not work with umap2.
Thus, I rewrote the code to use umap2's internal classes like umap2.core.usb_device.USBDevice but still use some of the Facedancer classes to reduce the amount of copied code.
Because I needed support for Python3 I merged PR #34 into this Pull Request and fixed some remaining code lines that did not work with Python3.
I'm looking forward to your Feedback!
~ Marius
ref. #39