Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
1  
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
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.