Modifided code to get PS3 Eye running on beaglebone