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

Make it work on Manjaro and Arch #53

Open
JPT77 opened this issue Jun 10, 2024 · 5 comments
Open

Make it work on Manjaro and Arch #53

JPT77 opened this issue Jun 10, 2024 · 5 comments

Comments

@JPT77
Copy link

JPT77 commented Jun 10, 2024

Hi,

I get these errors when I place the DLL into the program folder:

024:err:module:import_dll Loading library SETUPAPI.dll (which is needed by L"C:\\Program Files (x86)\\Xgpro\\Xgpro.exe") failed (error c000012f).
0024:err:module:loader_init Importing dlls for L"C:\\Program Files (x86)\\Xgpro\\Xgpro.exe" failed, status c0000135

Do I need to install additional libraries? Or do I have to build it myself?

The udev rule must be changed to on Manjaro / Arch, as the user is uucp

SUBSYSTEM=="usb", ATTR{idVendor}=="a466", ATTR{idProduct}=="0a53", GROUP="uucp", MODE="0666"

I will try reducing the permissions as soon as it works, because 666 just allows access for everyone.

I probably will create a AUR entry for your library, so it can be installed automatically. Do you think there is a place where to install the setupapi.dll to when it's not in .wine but systemwide?

@BennehBoy
Copy link

From the readme:
"You should install the 32 bit version of the libusb library (Debian users libusb-1.0-0:i386, Arch users lib32-libusb)"

@JPT77
Copy link
Author

JPT77 commented Jul 23, 2024

My initial comment is totally unrelated to this project. Or is it?
This was a problem with wine and original software???
I'll close it.

@squaregrooper
Copy link

Im having the same problem. Ive installed an ubuntu 20.04 vm and installed wine-5.0 (Ubuntu 5.0-3ubuntu1) with Xgpro_10.15 from your repo. Ive copied the setupapi.dll to the install folder (~/.wine/drive_c/Xgpro) and get the same error.

0009:err:module:import_dll Loading library SETUPAPI.dll (which is needed by L"C:\\Xgpro\\Xgpro.exe") failed (error c000012f).
0009:err:module:LdrInitializeThunk Importing dlls for L"C:\\Xgpro\\Xgpro.exe" failed, status c0000135

the versions of libusb installed are:

libusb-1.0-0/focal,now 2:1.0.23-2build1 amd64 [installed,automatic]
libusb-1.0-0/focal,now 2:1.0.23-2build1 i386 [installed]
libusbmuxd6/focal,now 2.0.1-2 amd64 [installed,automatic]

i seem to have the 32bit version of the libusb library, so I have no idea what to do from here. Any thoughts? Ive followed all the instructions on adding the file to the rules.d directory and adding myself to the 'plugdev' group

@mCr86
Copy link

mCr86 commented Sep 30, 2024

The same issue in Manjaro:

0024:err:module:import_dll Loading library SETUPAPI.dll (which is needed by L"C:\\MiniPro\\MiniPro.exe") failed (error c000012f).
0024:err:module:loader_init Importing dlls for L"C:\\MiniPro\\MiniPro.exe" failed, status c0000135
Operating System: Manjaro Linux                   
          Kernel: Linux 6.9.12-3-MANJARO
    Architecture: x86-64
 Hardware Vendor: ASUSTeK Computer INC.
  Hardware Model: Z8NA-D6_C_
Firmware Version: 1303

Wine version: wine-9.15

lib32-libusb installed.

Without setupapi.dll, minipro.exe run. But the device is not detected.

Could you help me?

Thanks.

@mCr86
Copy link

mCr86 commented Sep 30, 2024

Solved!
I have compiled the setupapi.dll library and now it works!

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