Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^4: How to Access USB Device on Windows

by Anonymous Monk
on Feb 16, 2015 at 14:32 UTC ( #1116873=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1116873]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2018-07-22 09:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (453 votes). Check out past polls.

    Notices?