in reply to Re^7: USB module
in thread USB module

OK. This has gotten away from my original question. I am not asking how USB works or needing to develop drivers that deal with protocols and hardware devices. I wanted to know if there is a PERL module for USB that is similar to the Net::TelNet module that deals with ethernet communications. Maybe you can answer this one: I want to copy a file from a USB device on USB #1 to a device on USB #2 on my WinXP PC using Perl. How is this done? Assume the devices are HID.

Replies are listed 'Best First'.
Re^9: USB module
by GrandFather (Saint) on Sep 29, 2005 at 21:10 UTC

    If your USB device is a HID device and, I assume from the nature of your question, behaves like a disk drive, then it is a disk drive and you access it exactly as you would your hard disk. If it is a HID device then your software simply doesn't need to know that USB is involved.

    However your references to Net::Telnet and suggestion that the device is some sort of test device imply that that is not the case. You really have to make it clear what the device is. I can understand that you don't wish to do that in a public forum such as this and offer an exchange of email as a way I may be able to help in a more focused fashion. I am not offering to write drivers or planing lecture 101 in implementing USB devices :).


    Perl is Huffman encoded by design.