Skip to content

gwadej/perl-device-usb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Perl module wrapping libusb

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages