lorf / csr-spi-ftdi

USB SPI programmer/debugger for CSR BlueCore bluetooth chips, based on FTDI USB to UART converter, for Linux and Windows
560 stars 101 forks source link

wine 4.0 changes #44

Open T-2 opened 5 years ago

T-2 commented 5 years ago

Using Linux Mint 19.1 Mate and it updated wine from v 3 to v 4 and that broke PStools, pscli, and BlueFlashCmd. I discovered how to fix it however. In Wine 3 we needed to put your usbspi.dll.so into location /usr/lib/i386-linux-gnu/wine/. In Wine 4 That directory is not used. The directory you need to put your driver in is /opt/wine-stable/lib/wine/. Once you do that it all works again. Did this on 2 different machines with 2 different adapters and both work.

andrewshadura commented 2 years ago

@T-2, I believe the difference doesn’t stem from a different Wine release per se, but from the fact you installed wine from repositories at winehq.org and not from your distribution.