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

RK3128 #2

Open
jonsmirl opened this issue Jul 21, 2015 · 1 comment
Open

RK3128 #2

jonsmirl opened this issue Jul 21, 2015 · 1 comment

Comments

@jonsmirl
Copy link

I needed to add the USB ID for the RK3128

ID 2207:310c

@Galland
Copy link
Owner

Galland commented Feb 20, 2023

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

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 "RK3128" like:

       if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x310b))) //RK3188
           if (!(h = libusb_open_device_with_vid_pid(c, 0x2207, 0x310c))) //RK3128
            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