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

Support linux system #3

Closed
wants to merge 7 commits into from
Closed

Support linux system #3

wants to merge 7 commits into from

Conversation

ligenxxxx
Copy link
Member

No description provided.

@ligenxxxx ligenxxxx linked an issue May 29, 2023 that may be closed by this pull request
@wilderk
Copy link

wilderk commented Nov 29, 2023

I tested this on Ubuntu 22.04 with the hdzero whoop lite vtx. Followed steps in the README.md. All the fields in the UI are grayed out after connecting programmer to the vtx. Not sure what is wrong.

hdzero-vtx-programmer

a = 1 # print("Error: Can't find"+self.dll_path)

def open_device(self):
self.iIndex = self.dll.CH34xOpenDevice("/dev/ch34x_pis0".encode())
Copy link

@SumolX SumolX Jan 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend using an auto-detect method here.

import glob

def open_device(self):
        # Return first entry
        device = glob.glob('/dev/ch34x_pis[0-9]*')[0]
        self.iIndex = self.dll.CH34xOpenDevice(device.encode())
        return self.iIndex

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@SumolX
Copy link

SumolX commented Jan 18, 2024

I tested this on Ubuntu 22.04 with the hdzero whoop lite vtx. Followed steps in the README.md. All the fields in the UI are grayed out after connecting programmer to the vtx. Not sure what is wrong.

hdzero-vtx-programmer

My comment up above should resolve your issue as it will search for the first device attached to the system after you have updated the permissions to the device. There should probably be a udev-rule that sets the permissions of the device.... but that is once an installation method has been identified.

@ligenxxxx ligenxxxx closed this by deleting the head repository Mar 19, 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

Successfully merging this pull request may close these issues.

Linux version or alternative
3 participants