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