USB OSX Monitor

How can I control all USB traffic on OSX? I downloaded the USB monitoring extensions from the Apple Dev website and launched USB Prober. When I start monitoring, nothing appears, and during monitoring, data is sent to and from the USB device.

I found 2 similar topics on this site but gave no answer other than using libusb. I was hoping that I would not have to write my own monitor from scratch using libusb. Having seen that questions were asked in 2010, I hope that since then tools have been developed to do this on OSX.

+5
source share
3 answers
+1

usbtracer USB Prober.app: https://developer.apple.com/library/mac/qa/qa1370/_index.html

  • HTML, " usbtracer ?"
  • , , , , - , USB Prober
+1

Perhaps in high sierra (and possibly in older versions) you will need Wireshark nightly build (I use V2.5.0rc0). After installing it, you will need to open the USB interface:

sudo ifconfig XHC20 up

And after that you can use wirehark to sniff all the traffic in the interface XHC20. When you're done, remember to disable the interface:

sudo ifconfig XHC20 down

Source: aud-ios .

+1
source

All Articles