I decided to check out the current state of the PS3 Eye in Linux and was happy to find that there is now support in the 2.6.31 kernel.
Linux ps3 eye cam drivers#
I've had a PS3 Eye lying around for a while but I hadn't gotten around to using it because when it first came out there were no drivers for it so it sat in my closet for almost a year.
![linux ps3 eye cam linux ps3 eye cam](https://i3.ytimg.com/vi/dFcpKvrpBPg/hqdefault.jpg)
The main line kernel now includes most of these fixes! There is another driver, but kaswy's is the most promising at the moment.Update: A lot has happened since this was posted. This is the thread on forums about the PS3 Eye drivers.
Linux ps3 eye cam install#
Side note #1: credit to kaswy for helping me install his drivers.
Linux ps3 eye cam how to#
Update 18-feb-09: new driver V0.3 released by kaswy on 15-feb-09, new video modes added! See this post on how to update. Voila, you should now have a video feed from the PS3 Eye on Ubuntu! Enjoy! $ vlc v4l2:///dev/video0(change /dev/video0 to the correct device if you have more than 1 video device plugged in.) To preview the stream, we're going to use VLC, this is an excellent media player, if you don't have it installed, you can simply get it with:įinally, we can open the web cam's video stream: It should display a(nother) video device, e.g. $ ls /dev/video*before you plug in the camera, and then run it again after it's plugged in. We can verify that it has been plugged in by doing a Adjust the video mode to your own preference. $ sudo modprobe gspca_ov534 videomode= 04This loads the driver and sets the desired video mode. Say we want to use the mode 640x480 pixels at 60 frames per second (mode 04), we issue the following command: Now we load the driver, the working modes for the web cam are: The building process may contain some warnings, but it should finish without errors (some terminology: a warning isn't as bad as an error and warnings should not prevent a successful build). $ sudo apt-get install build-essentialNext, we can start compiling, that's done like this: If you haven't already, get the build tools for Ubuntu with the following command: $ lsmod | grep gspcaNow, there should be no output. $ sudo modprobe -r gspca_pac207Verify the driver is unloaded by doing a It's done like this according to the example: You want to unload the driver that has a 0 in the third column, this unloads the drivers recursively.
![linux ps3 eye cam linux ps3 eye cam](https://i.pinimg.com/736x/72/54/98/725498eccac1b070e46637f60041d084--playstation-games-ps.jpg)
So to be on the safe side, it's best you not skip this step.
![linux ps3 eye cam linux ps3 eye cam](https://www.picclickimg.com/d/l400/pict/185190338321_/Sony-PlayStation-3-PS3-Official-Move-Eye-Camera.jpg)
The loaded drivers were older, when I tried to load the new gspca driver, the two conflicted. The drivers loaded at the time gave me problems because my computer was running for a long time without rebooting. $ lsmod | grep gspcaIf this command gives you any output, you have to unload the module(s) first. Then issue the following command in a terminal: If you are looking for drivers for the PS3 Eye on Windows or Mac, see this thread or this thread, respectively.įirst, get the gspca modified driver from kaswy. In this post I'll be explaining how to get it working on Ubuntu and the problems I faced while installing the driver. This beasty doesn't directly work out of the box, you need to get drivers first. The high frame rate allows for a smaller delay when processing (multi) touch input, see an example here. When I heard about the PS3 Eye cam and what it's capable of, I immediately ordered one for my DIY multi touch table project! It can deliver a staggering 120 frames per second, and it's relatively cheap to other cameras that can do this.