radiomanV / TL866

Open source software for TL866
GNU General Public License v2.0
345 stars 80 forks source link

MiniPro TL866 II Plus #14

Closed levin-kelevra closed 6 years ago

levin-kelevra commented 6 years ago

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

radiomanV commented 6 years ago

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 commented 6 years ago

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

levin-kelevra commented 6 years ago

It works! Thank you!

artelse commented 6 years ago

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

serhi999 commented 6 years ago

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 commented 6 years ago

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

serhi999 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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

radiomanV commented 6 years ago

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

serhi999 commented 6 years ago

no information in the console.

radiomanV commented 6 years ago

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

serhi999 commented 6 years ago

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 commented 6 years ago

install libusb-1.0.0-dev:i386

radiomanV commented 6 years ago

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

radiomanV commented 6 years ago

Nevermind! you figured out!

serhi999 commented 6 years ago

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