http://www.perlmonks.org?node_id=898808


in reply to Reading real-time USB data

  1. what OS?
  2. when you say 'intercept', do you really mean take it, or are you looking for something like pcap, which gives you a copy without interrupting the existing flow?
  3. have you looked at Device::USB::*?

fnord

Replies are listed 'Best First'.
Re^2: Reading real-time USB data
by Mattk470 (Novice) on Apr 12, 2011 at 15:08 UTC
    A1. its windows vista A2. I'd want to copy as not to interupt the current software from doing its job A3. I haven't looked at Device::USB yet, thought I'd get some feedback first before jumping into it
      I don't think you're going to find a perl module that will do this. However, this page has some links to tools that should be able to capture the data ala wireshark/windump. I have not looked at any of these tools, but you should hopefully find one that can pipe the raw data to your perl app

      fnord