Skip to content

Fix macOS device detection by loading libusb drivers alongside native drivers#698

Open
ajpeng wants to merge 1 commit intoma1co:masterfrom
ajpeng:fix/macos-libusb-fallback
Open

Fix macOS device detection by loading libusb drivers alongside native drivers#698
ajpeng wants to merge 1 commit intoma1co:masterfrom
ajpeng:fix/macos-libusb-fallback

Conversation

@ajpeng
Copy link

@ajpeng ajpeng commented Feb 11, 2026

Summary

  • On macOS, the native OSX MSC driver may report as available (Sony kext installed) but fail to actually find devices
  • Without also loading libusb drivers as fallback, the camera is never detected via the GUI or any command using the default driver
  • This adds darwin alongside win32 in the libusb fallback conditions, mirroring the existing Windows behavior where both native and libusb drivers are loaded simultaneously

Test plan

  • Verified importDriver() now loads libusb-MSC on macOS alongside OS-X-MSC
  • Verified camera is detected on macOS with default driver settings
  • Verified GUI (pmca-gui.py) can detect and communicate with camera on macOS

… drivers

On macOS, the native OSX MSC driver may report as available (Sony kext installed)
but fail to find devices. Without also loading libusb drivers as fallback, the
camera is never detected. This mirrors the existing Windows behavior where both
native and libusb drivers are loaded simultaneously.
@ajpeng
Copy link
Author

ajpeng commented Feb 11, 2026

Note: macOS users also need libusb installed for this to work. It can be installed via Homebrew: brew install libusb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant