in reply to Re^3: How to Access USB Device on Windows
in thread How to Access USB Device on Windows

Here's what the FAQ.pod of Device::USB says:

There is a port of the C<libusb> library to the Windows environment called C<LibUsb-Win32>. Because I don't have a development environment for testing this library, C<Device::USB> does not yet support this library.

Unfortunately I read this after spending half a day installing Device::USB and its prerequisites.

I found here a post of the author, that says, that only libusb Version 0.14 is supported:

https://rt.cpan.org/Public/Bug/Display.html?id=100852

However on http://libusb-win32.sourceforge.net/ I only find Versions 1.2.x, 1.1.x and 0.1.12.x.

I tried the Installation with 1.2.6.0 first, then removed it again and tried with 0.1.12.2. Both installations succeeded (once I had removed the USB.pm in the distribution dir and moved the dump_usb.pl away).

Unfortunately, no USB devices are detected (although I have USB keyboard and mouse plugged in).

I need access to a proprietary USB HID device, but with Device::USB I failed.

Any further suggestions?
  • Comment on Re^4: How to Access USB Device on Windows

Replies are listed 'Best First'.
Re^5: How to Access USB Device on Windows
by Anonymous Monk on Feb 19, 2015 at 10:04 UTC

    ... Both installations succeeded (once I had removed the USB.pm in the distribution dir and moved the dump_usb.pl away). ... Any further suggestions?

    Um, USB.pm is the whole thing, what do you mean you removed it?

    It can't possibly do any thing if you ditched USB.pm