Skip to content

Connect the PS3 Eye camera with the new Silicon Macbooks.

License

madalintat/PS3Eye-Driver-MacOS-Silicon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building a camera driver from scratch - PS3 Eye Camera on Mac Silicon

I wrote a blog post about the project: building a camera driver from scratch.

PS3 Eye Camera

Steps to run the project

Clone the repo

 git clone https://github.com/madalintat/PS3Eye-Driver-MacOS-Silicon.git

Enter the repo

cd PS3Eye-Driver-MacOS-Silicon

Compile the driver

gcc -o ps3eye_test ps3eye_test.c -I/opt/homebrew/Cellar/libusb/1.0.27/include/libusb-1.0 -L/opt/homebrew/Cellar/libusb/1.0.27/lib -lusb-1.0

Run the driver

./ps3eye_test

Success: Prints device info, "Camera initialized...", and "Camera test successful!" then exits cleanly.
Failure: Prints an error message at any step (e.g., device not found, permission denied) and exits with return 1.

Disclaimer: the driver creates the connection between the PS3 Eye camera and the Macbook device. Capturing video is a different job, but it's part of my upcoming project. Follow my website for updates.

About

Connect the PS3 Eye camera with the new Silicon Macbooks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages