| 1 |
Device-USB |
| 2 |
|
| 3 |
This module is deprecated as of version 0.37. I have not had the time |
| 4 |
or need to update the module, and no one has been willing to take it |
| 5 |
over. This module has been superceded by USB::LibUSB, which supports |
| 6 |
the 1.0 version of the libusb API. |
| 7 |
|
| 8 |
This module provides a relatively complete Perl wrapper on the libusb |
| 9 |
library. Using this module provides an object-oriented interface to any |
| 10 |
installed USB devices. |
| 11 |
|
| 12 |
Obviously, the module requires a copy of the libusb library compiled for the |
| 13 |
target system. The module also requires a C compiler compatible with the |
| 14 |
Perl installation, because it uses the Inline::C module to create the |
| 15 |
interface to libusb. |
| 16 |
|
| 17 |
TODO |
| 18 |
|
| 19 |
The current version of the library does not fully support 'get_descriptor'. |
| 20 |
This method currently returns a binary string containing the data, the code |
| 21 |
to create a reasonable data structure has not yet been written. |
| 22 |
|
| 23 |
The device objects also do not contain pointers back to their busses at this |
| 24 |
time. This feature will be added once I am certain that it will not leak |
| 25 |
memory. |
| 26 |
|
| 27 |
INSTALLATION |
| 28 |
|
| 29 |
To install this module, run the following commands: |
| 30 |
|
| 31 |
perl Makefile.PL |
| 32 |
make |
| 33 |
make test |
| 34 |
make install |
| 35 |
|
| 36 |
|
| 37 |
SUPPORT AND DOCUMENTATION |
| 38 |
|
| 39 |
After installing, you can find documentation for this module with the perldoc command. |
| 40 |
|
| 41 |
perldoc Device::USB |
| 42 |
|
| 43 |
You can also look for information at: |
| 44 |
|
| 45 |
Search CPAN |
| 46 |
http://search.cpan.org/dist/Device-USB |
| 47 |
|
| 48 |
CPAN Request Tracker: |
| 49 |
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Device-USB |
| 50 |
|
| 51 |
AnnoCPAN, annotated CPAN documentation: |
| 52 |
http://annocpan.org/dist/Device-USB |
| 53 |
|
| 54 |
CPAN Ratings: |
| 55 |
http://cpanratings.perl.org/d/Device-USB |
| 56 |
|
| 57 |
COPYRIGHT AND LICENCE |
| 58 |
|
| 59 |
Copyright (C) 2006 G. Wade Johnson |
| 60 |
|
| 61 |
This program is free software; you can redistribute it and/or modify it |
| 62 |
under the same terms as Perl itself. |