PDA

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




MayPeng
Apr 5, 2011, 11:32 PM
Is there a usb trace tool in mac like USB Trace or Bus hound in win os ?



subsonix
Apr 5, 2011, 11:35 PM
The developer tools include USB Prober.

MayPeng
Apr 6, 2011, 01:48 AM
The developer tools include USB Prober.

I know it. But it seems that USB Prober can not catch usb data when plugging a custom usb device.

pilotError
Apr 9, 2011, 04:48 PM
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.

MayPeng
Apr 11, 2011, 01:43 AM
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.

Wireshark is used for network data analysis,but I am looking for usb data analysis tool in mac.

mufflon
Apr 11, 2011, 02:23 AM
Wireshark is used for network data analysis,but I am looking for usb data analysis tool in mac.

A simple google query proves the opposite - it's a very versatile application ;-)

http://wiki.wireshark.org/CaptureSetup/USB

jiminaus
Apr 11, 2011, 02:50 AM
A simple google query proves the opposite - it's a very versatile application ;-)

http://wiki.wireshark.org/CaptureSetup/USB

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?

subsonix
Apr 11, 2011, 04:03 AM
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.

jiminaus
Apr 11, 2011, 04:14 AM
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.

Thanks for indulging me Subsonix. Perhaps this is the route the OP should also use.