Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: DLL library 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 6:06am
Comments
SAKryukov at 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 at 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 at 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
0 OriginalGriff 304
1 Maciej Los 285
2 Sergey Alexandrovich Kryukov 255
3 Shweta N Mishra 216
4 PIEBALDconsult 174
0 OriginalGriff 7,660
1 Sergey Alexandrovich Kryukov 7,072
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,760


Advertise | Privacy | Mobile
Web03 | 2.8.1411023.1 | Last Updated 23 Jun 2013
Copyright © CodeProject, 1999-2014
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