libwdi icon indicating copy to clipboard operation
libwdi copied to clipboard

wdi-simple fails with "Requested resource not found"

Open jensanjo opened this issue 9 months ago • 1 comments

I have used Zadig to install a libusb-win32 driver for a Canon camera on Windows. But I would prefer to use wdi-simple instead, using the command line.

I configured and built the latest libwdi (1.5.1) and wdi-simple with mingw32.

./autogen.sh
./configure --with-libusb0=../libusb-win32-bin-1.4.0.0/
make
cd examples ; make

But if I run it I get an error almost immediately:

wdi-simple.exe -n "Canon Digital Camera"  -v 0x04a9 -p 0x327f  -l 0                                                 
Extracting driver files...
  Success
Installing driver(s)...
  USB\VID_04A9&PID_327F&REV_0002: Requested resource not found

There is no further log output even though I specified debug logging.

Any suggestions?

jensanjo avatar Feb 06 '25 15:02 jensanjo

I had the same error message last night when I tried to install a driver. Did you ever get an answer or solution to the Zadig error. Are you using windows or Parallels on MAC? Regards

KarenFischer79 avatar May 29 '25 12:05 KarenFischer79

@jensanjo, you built wdi-simple without the WinUSB driver, and wdi-simple will try to install that driver by default. If you want to use libusb-win32, you need to pass the option -t 1.

pbatard avatar Jul 17 '25 15:07 pbatard