Skip to content

Add Linux support - #4

Open
thp wants to merge 2 commits into
bigboss-ps3dev:masterfrom
thp:linux-support
Open

Add Linux support#4
thp wants to merge 2 commits into
bigboss-ps3dev:masterfrom
thp:linux-support

Conversation

@thp

@thp thp commented Dec 30, 2022

Copy link
Copy Markdown

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