Click here to Skip to main content
12,395,645 members (75,430 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: DLL USB
Hi,
I'm looking for a way to snif a usb protocol between a software and a card plugged.
All the lib I've found are not able to snif a plugged hardware.
I don't mind the langage even if I prefer c#
Thanks a lot
Posted 31-May-11 5:06am
Comments
SAKryukov 31-May-11 12:39pm
   
First, re-phrase your question title to make it less confusing -- there is not "USB Sniffer protocol". Just write "How to sniff USB" or something.
Do you want to develop such tool or you just need to use one?
--SA
SAKryukov 31-May-11 12:40pm
   
The question is interesting, my 5.
--SA
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Did you see this Open Source product: http://sourceforge.net/projects/usbsnoop/[^]?

—SA
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

You can use Open Source sniffer: USBPcap[^]

This logs data on specified roothub and then you can analyse it using Wireshark.

It shows the basic IRP information like USBD_STATUS, URB function, IRP direction (from PDO to FDO or the other way round) and basic USB information like device address, endpoint and transfer type alongside the transfer buffer data.
  Permalink  
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

USB Sniffer (driver filter) source code http://tellmeword.com/dh9ic/usb_sniffer_(source_code)
  Permalink  
v2
Comments
H.Brydon 23-Jun-13 9:45am
   
The question is over 2 years old. Why are you answering it now?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 23 Jun 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100