{"id":58,"date":"2010-05-12T10:08:17","date_gmt":"2010-05-12T17:08:17","guid":{"rendered":"https:\/\/blog.sijie.me\/?p=58"},"modified":"2010-05-12T10:08:17","modified_gmt":"2010-05-12T17:08:17","slug":"sony-ps3-eye-webcam-with-v4l2","status":"publish","type":"post","link":"https:\/\/blog.sijie.me\/?p=58","title":{"rendered":"Sony PS3 Eye webcam with v4l2"},"content":{"rendered":"<p>Finally got this working again.  The two webcams worked perfectly on my old desktop computer with Linux kernel 2.6.30 (which has gspca 2.6.0 built in). I could send commands to them via v4l2 to change exposure etc. Then I ported the code to a new machine running 64-bit Ubuntu 10.04, kernel 2.6.32 (comes with gspca 2.7.0). The cam still worked, but I had no access to the controls, e.g. exposure, gain and flipping. I spent two days switching back to kernel 2.6.30\/31, trying different patches posted on open source forums, modifying the kernels, making an identical OS from the old machine to the new one&#8230; no luck. But the solution turns out to be simple: check out the latest source code (2.9.0) from www.linuxtv.org, compile it and load it into the kernel. Bang. But I still don&#8217;t know why an identical OS with identical driver wouldn&#8217;t work on the new computer. Well, at least problem solved, time to move forward.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Finally got this working again. The two webcams worked perfectly on my old desktop computer with Linux kernel 2.6.30 (which has gspca 2.6.0 built in). I could send commands to them via v4l2 to change exposure etc. Then I ported the code to a new machine running 64-bit Ubuntu 10.04, kernel 2.6.32 (comes with gspca &hellip; <a href=\"https:\/\/blog.sijie.me\/?p=58\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Sony PS3 Eye webcam with v4l2<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[8,14],"class_list":["post-58","post","type-post","status-publish","format-standard","hentry","category-2","tag-computer-vision","tag-multi-touch"],"_links":{"self":[{"href":"https:\/\/blog.sijie.me\/index.php?rest_route=\/wp\/v2\/posts\/58","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.sijie.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.sijie.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.sijie.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.sijie.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=58"}],"version-history":[{"count":0,"href":"https:\/\/blog.sijie.me\/index.php?rest_route=\/wp\/v2\/posts\/58\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.sijie.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=58"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.sijie.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=58"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.sijie.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=58"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}