Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Linux support #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add Linux support #4

wants to merge 2 commits into from

Conversation

thp
Copy link

@thp thp commented Dec 30, 2022

This does a few things:

  1. Remove CinderOpenCV.h from driver/include/ps4eye.h (so it can be built without Cinder)
  2. Fix missing includes
  3. Implement performance counters / performance frequency for Linux using CLOCK_MONOTONIC_RAW
  4. Fix a deprecated libusb call (debug logging)
  5. Mention the firmware filename when it's missing or cannot be loaded

Tested only uploading of firmware for PS4 Camera (CUH-ZEY2, using firmware with SHA-1 of fe86162309518a0ffe267075a2fcf728c5856b3e from this repo) and PS5 Camera (CFI-ZEY1, using firmware with SHA-1 of 0fa4da31a12b662a9a80abc8b84932770df8f7e1 from here). On Linux, after uploading of firmware is complete, the normal "uvcvideo" kernel module and V4L2 can be used to access the cameras.

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