![]() On Debian like Linux: $ apt-get install libusb-1.0-0-dev pkg-config This requires libusb (>= 1.0.17) development files and pkg-config installed. Easy to build more functionality without knowing about XS. device discovery with vid, pid and serial number). Staying as close as possible to the libusb-1.0 API, this module adds convenient error handling and additional high-level functionality (e.g. It provides access to most basic libusb functionality including read-out of device descriptors and synchronous device I/O. This module provides a Perl interface to the libusb-1.0 API. My $data = $handle->bulk_transfer_read($endpoint, $length, $timeout) $handle->bulk_transfer_write($endpoint, $data, $timeout) $handle->set_auto_detach_kernel_driver(1) # Linux only My $desc = $dev->get_device_descriptor() My $device_address = $dev->get_device_address() # simple program to list all devices on the USB USB::LibUSB - Perl interface to the libusb-1.0 API. ![]() ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |