Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed libusb via Homebrew, and trying to compile usbutils, but the utils tell me that /sys/bus/usb/devices can not be found. Of course I'm on Mac OS X (Mountain Lion), so I would need to change the path in the source and recompile.

Can anyone help me out as to where the location of /sys/bus/usb/devices is on Mac?

share|improve this question
Nowhere. OS X doesn't use sysfs. – Ignacio Vazquez-Abrams Jul 3 '13 at 8:32
So that would mean usbutils won't work on Mac, dammit! – josef.van.niekerk Jul 3 '13 at 8:35
Not unless it's ported to use OS X-specific USB mechanisms. – Ignacio Vazquez-Abrams Jul 3 '13 at 8:36
I haven't used libusb, but I did try to download it from Macports. It appears to have downloaded and installed properly. Try getting it through Macports and see if that helps. – RLH Jul 3 '13 at 18:29
Libusb is fine, it's the usbutils bit that come in addition to that. It hasn't been developed for Mac, but I've started a small C command line app that will give output enumerated devices and their USB descriptor details. – josef.van.niekerk Jul 4 '13 at 7:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.