-
Notifications
You must be signed in to change notification settings - Fork 11
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
Preparation in order to support multiple OS #9
base: main
Are you sure you want to change the base?
Conversation
These changes allow for initial support for Issues #7 however it is still heavily depended on WCH releasing a compatible driver update which I was notified by them its on their roadmap this year. |
@@ -357,7 +357,7 @@ def create_downloading_firmware_window(self): | |||
self.downloading_window_status = 1 | |||
self.downloading_window.overrideredirect(True) | |||
|
|||
self._main_window.attributes('-disable', True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unknown Tinker option. Supported options are as follows:
_tkinter.TclError: bad attribute "-disable": must be -alpha, -fullscreen, -modified, -notify, -titlepath, -topmost, -transparent, or -type
how may i test on Linux? (commands?) |
At the moment only windows works but the refactoring allows the code to run on other OS but lacks the programming functionality until ch341 is ported to work on macOS and if someone is willing to perform the same porting of ch341 for Linux and tie into the application hooks. but the issue you are running into is new. I wonder if TCL used by the app compatible with your version? Try an older version of TCL. |
i have not tested, but this fork has Linux |
the aforementioned fork seemed to have worked. it flashed, i have to assume successfully; uncertain how to check version/commit SHA of powered on VTX. EDIT: before the recent commits/SYNC from upstream, it worked, now with recent commits i cannot get the fork to run successfully. the fork works at commit |
Commit 3b1d0df of https://github.com/FiorixF1/hdzero-programmer works both on Windows and Linux. On Linux you can read and write to VTXs. Monitor and Event RX have not been tested and probably they do not work because they use some functions that I don't find in the Linux driver. UPDATE: I didn't think it could be possible, but I managed to make the communication work also with the monitor. I can change settings and flash firmware to it. |
Would this driver version not work? I see other projects have success with it. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@nerdCopter - I put in a pull request to the fork https://github.com/FiorixF1/hdzero-programmer to handle multiple device numbers because on Linux the device number can vary. It has been merged. Flashing should work smoother for you now. |
Tested on MacOS even though currently the ch341 driver has not been updated by WCH these changes will allow us to eventually add support for when WCH releases an update. The main issues here was the overshadowing of the built-in module called "download" and having the UI thread moved to the main thread is required by macOS and potentially other operating systems.