Skip to content

Instantly share code, notes, and snippets.

@tawnkramer
Last active April 2, 2019 22:46
Show Gist options
  • Save tawnkramer/6c2d2b638bda8c75571950b4424218e6 to your computer and use it in GitHub Desktop.
Save tawnkramer/6c2d2b638bda8c75571950b4424218e6 to your computer and use it in GitHub Desktop.
adapted from http://wiki.tekkotsu.org/index.php/Sony_PlayStation_Eye_driver_install_instructions
sudo -s
cd /usr/src
apt-get update
apt-get install -y build-essential kernel-package linux-source libssl-dev
tar --bzip2 -xvf linux-source-*.tar.bz2
ln -s `find . -maxdepth 1 -type d -name "linux-source-*"` linux
#PS3 Eye Drivers
cd linux
find . -name ov534.c
#this should confirm that you have the file to compile the module you need.
make oldconfig
make modules_prepare
make SUBDIRS=drivers
make SUBDIRS=drivers/media/usb/gspca modules
#untested install based on
#https://github.com/jetsonhacks/installPlayStationEyeTX1/blob/master/setupPS3Eye.sh
sudo cp gspca_ov534.ko /lib/modules/$(uname -r)/kernel/drivers/media/usb/gspca/
sudo depmod -a
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/media/usb/gspca/gspca_main.ko
sudo insmod /lib/modules/$(uname -r)/kernel/drivers/media/usb/gspca/gspca_ov534.ko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment