Skip to content

rkflashtool: fatal: cannot open device #5

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

Open
weiqifa0 opened this issue Feb 17, 2023 · 1 comment
Open

rkflashtool: fatal: cannot open device #5

weiqifa0 opened this issue Feb 17, 2023 · 1 comment

Comments

@weiqifa0
Copy link

rkflashtool: fatal: cannot open device

image

@Galland
Copy link
Owner

Galland commented Feb 20, 2023

Your device pid (330d) is unknown to this tool. It was tested against these pids: 0x290a, 0x281a, 0x300a, and 0x310b

Can you share what is the name of your device?
In any case, if you know that your device uses the same RK protocol, you can make the tool support it. You simply need to add a new line after this one:

if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x310b))) //RK3188

for "your new device pid" like:

       if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x310b))) //RK3188
           if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x330d))) //your new device pid
            fatal("cannot open device\n");

Test at your own risk, and please share your results

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