views:

30

answers:

1
 public static UsbDeviceFinder MyUsbFinder = new UsbDeviceFinder(0x20DF, 0x0001);

 // Find and open the usb device.
 MyUsbDevice = UsbDevice.OpenUsbDevice(MyUsbFinder);

 // If the device is open and ready
 if (MyUsbDevice == null) throw new Exception("Device Not Found.");

See the screen shot below for where I pulled the VendorID and ProductID

alt text

So why does the USBFinder Keep returning null?

A: 

I have found libusb does this too, not sure why, but you can retry the search a few times.

leppie
@leppie Even if I run it 5 times in a row, it still fails
Pino