Is there a usb trace tool in mac like USB Trace or Bus hound in win os ?

Discussion in 'Mac Programming' started by MayPeng, Apr 5, 2011.

  1. macrumors member

    Joined:
    Nov 21, 2010
    #1
    Is there a usb trace tool in mac like USB Trace or Bus hound in win os ?
     
  2. macrumors 68040

    Joined:
    Feb 2, 2008
    #2
    The developer tools include USB Prober.
     
  3. thread starter macrumors member

    Joined:
    Nov 21, 2010
    #3
    I know it. But it seems that USB Prober can not catch usb data when plugging a custom usb device.
     
  4. macrumors 68020

    pilotError

    Joined:
    Apr 12, 2006
    Location:
    Long Island
    #4
    I would go to the Wireshark forums and ask your question. I know Wireshark can do it, I don't know about the situation your specifically looking at.
     
  5. thread starter macrumors member

    Joined:
    Nov 21, 2010
    #5
    Wireshark is used for network data analysis,but I am looking for usb data analysis tool in mac.
     
  6. macrumors 6502

    Joined:
    Sep 15, 2006
    #6
    A simple google query proves the opposite - it's a very versatile application ;-)

    http://wiki.wireshark.org/CaptureSetup/USB
     
  7. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #7
    Huh, I didn't know that either. It's been a staple of mine when I play with low-level network protocols. But too bad it seems to only work when the device is plugged into Linux.

    I guess this raises the broader question. How do people developing USB drivers for Mac generally debug them?
     
  8. macrumors 68040

    Joined:
    Feb 2, 2008
    #8
    You need a debug version of IOUSBFamily.kext for the USB Prober, that output log information. More about that here: http://developer.apple.com/hardwaredrivers/download/usbdebug.html

    On that page you also find a link to a Q&A about USB development on machintosh, with information regarding 3rd party USB analyzers, both hardware and software.

    There are 4 companies mentioned in the Q&A.
     
  9. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #9
    Thanks for indulging me Subsonix. Perhaps this is the route the OP should also use.
     

Share This Page