{"id":644,"date":"2010-05-12T15:49:37","date_gmt":"2010-05-12T22:49:37","guid":{"rendered":"http:\/\/130.211.243.36\/523b3.cn\/?p=644"},"modified":"2010-05-12T15:49:37","modified_gmt":"2010-05-12T22:49:37","slug":"sony-ps3-eye-webcam-with-v4l2","status":"publish","type":"post","link":"https:\/\/www.523b3.com\/?p=644","title":{"rendered":"Sony PS3 Eye webcam with v4l2"},"content":{"rendered":"<p>Finally got this working again.<\/p>\n<ol>\n<li>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.<\/li>\n<li>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.<\/li>\n<li>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.<\/li>\n<\/ol>\n<p>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;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[35,67],"class_list":["post-644","post","type-post","status-publish","format-standard","hentry","category-tech","tag-coding","tag-thesis"],"_links":{"self":[{"href":"https:\/\/www.523b3.com\/index.php?rest_route=\/wp\/v2\/posts\/644","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.523b3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.523b3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.523b3.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.523b3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=644"}],"version-history":[{"count":0,"href":"https:\/\/www.523b3.com\/index.php?rest_route=\/wp\/v2\/posts\/644\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.523b3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.523b3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.523b3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}