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

MiniPro TL866 II Plus #14

Closed
levin-kelevra opened this issue Apr 9, 2018 · 17 comments
Closed

MiniPro TL866 II Plus #14

levin-kelevra opened this issue Apr 9, 2018 · 17 comments

Comments

@levin-kelevra
Copy link

Hi!
Can you provide how to use TL866II Plus v7.07?
setupapi.dll not work.

@radiomanV
Copy link
Owner

radiomanV commented Apr 9, 2018

The setupapi.dll is designed to work with minipro v6.x not 7.x which is another software implementation.
You can't use the setupapi.dll for now, the new software must be investigated (aka disassembled) and setupapi.dll must be reimplemented.
There's no action you can take for now.

@radiomanV
Copy link
Owner

A new version of setupapi.dll wrapper for TL866II Plus V7.x was released.
Check the wine directory.

@levin-kelevra
Copy link
Author

It works!
Thank you!

@artelse
Copy link

artelse commented Jun 26, 2018

Just to confirm, the wrapper works fine on my Linux Mint system with the new TL866II plus latest firmware. Thanks @radiomanV !

@serhi999
Copy link

serhi999 commented Aug 1, 2018

At me TL866 II plus does not work in wine! OS - Debian 9.3. The programmer received a couple of days ago, updated the firmware in Windows. The following error in the console:
err:module:import_dll Loading library WINUSB.DLL (which is needed by L"C:\Xgpro\Xgpro.exe") failed (error c000012f).
err:module:LdrInitializeThunk Main exe initialization for L"C:\Xgpro\Xgpro.exe" failed, status c0000135

@radiomanV
Copy link
Owner

radiomanV commented Aug 1, 2018

I think that you use wine64 right? if so please install 32 bit wine and try again. This is a wine problem.

@serhi999
Copy link

serhi999 commented Aug 1, 2018

installed the wine32 OS is selected XP. file winusb.dll copy from windows dir. Now the program starts but does not see the device. when installing the driver, you can see that it was not installed
wine .\UsbDriverIntall.exe
err:setupapi:SetupCopyOEMInfW Could not add catalog

@radiomanV
Copy link
Owner

radiomanV commented Aug 1, 2018

You don't have to install any driver. Just copy the setupapi.dll and put it in the minipro folder.
Then in terminal as root/superuser:
echo 'SUBSYSTEMS=="usb", ATTRS{idVendor}=="a466", ATTRS{idProduct}=="0a53", GROUP="plugdev", MODE="0666"' > /etc/udev/rules.d/51-minipro.rules && udevadm trigger
It should work.

@serhi999
Copy link

serhi999 commented Aug 1, 2018

I followed these instructions. the program does not see the device.

@radiomanV
Copy link
Owner

Something is wrong there.
Please do this in terminal:
wine ./MiniPro.exe
And paste here the entire output. Maybe there are missing libs.

@serhi999
Copy link

serhi999 commented Aug 1, 2018

no information in the console.

@radiomanV
Copy link
Owner

You do something wrong!
Copy this in the console wine ~/.wine/drive_c/Xgpro/Xgpro.exe
And paste here the output...

@serhi999
Copy link

serhi999 commented Aug 1, 2018

wine ~/.wine/drive_c/Xgpro/Xgpro.exe
Dll Loaded.
Found Xgpro v7.32
Base Address = 0x00400000
Code section = 0x00401000,0x00201C00
Open Devices found at 0x00461E70
Close Devices found at 0x00461C60
Usb Handle found at 0x00696B74
WinUsb Handle found at 0x0069E0E0
Devices count found at 0x0069DAD8
Open devices.
Close devices.
RegisterDeviceNotifications hWnd=1E02E04

@serhi999
Copy link

serhi999 commented Aug 1, 2018

install libusb-1.0.0-dev:i386

@radiomanV
Copy link
Owner

This is correct! the programmer should work in this condition. Libusb is installed?

@radiomanV
Copy link
Owner

Nevermind! you figured out!

@serhi999
Copy link

serhi999 commented Aug 1, 2018

all problems due to 64 bit OS. now everything works correctly! Many thanks for the possibility of working in Linux with the device!!

Repository owner deleted a comment from serhi999 Aug 2, 2018
Repository owner deleted a comment from serhi999 Aug 2, 2018
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

4 participants