{"id":276,"date":"2016-10-24T01:12:10","date_gmt":"2016-10-24T00:12:10","guid":{"rendered":"http:\/\/simkin.org\/wordpress\/?p=276"},"modified":"2016-10-24T01:12:10","modified_gmt":"2016-10-24T00:12:10","slug":"pi-zero-and-camera-not-working","status":"publish","type":"post","link":"http:\/\/simkin.org\/wordpress\/?p=276","title":{"rendered":"Pi Zero and Camera not working"},"content":{"rendered":"<p><a href=\"http:\/\/simkin.org\/wordpress\/wp-content\/uploads\/2016\/10\/Pi-Camera_04.jpg\"><img loading=\"lazy\" class=\"size-full wp-image-338 aligncenter\" src=\"http:\/\/simkin.org\/wordpress\/wp-content\/uploads\/2016\/10\/Pi-Camera_04.jpg\" alt=\"pi-camera\" width=\"231\" height=\"173\" \/><\/a><br \/>\nI have a few Raspberry PIs. I&#8217;m an engineer at heart and these things allow me to tinker without expending a lot of money and the SD-Card nature of the filesystem makes it easy to try something, wipe it and try something new.<br \/>\nOne thing that has frustrated me for weeks is a camera failing to work. I checked config and it was good, so I thought it was the cable. Bought a new cable. It wasn&#8217;t the cable.<br \/>\nThought it might be the PI. Tried a different one. It wasn&#8217;t the PI.<br \/>\nArgh.<br \/>\nTried another camera. Different version. Nope.<br \/>\nThen I found this: <a href=\"https:\/\/www.raspberrypi.org\/forums\/viewtopic.php?f=43&amp;t=160611\">https:\/\/www.raspberrypi.org\/forums\/viewtopic.php?f=43&amp;t=160611<\/a><br \/>\nAnd one line of obscure, seemingly unrelated config later, it is working perfectly.<br \/>\nSeems there is a version bug in the Pi. Apparently it relates to certain versions of the Pi Zero and my board should not be affected. I checked the revision numbers and the OTP that the Pi thinks it is and they all check out. So I shouldn&#8217;t need this fix. But it turns out I do.<br \/>\nIf you have a Raspberry Pi and the camera doesn&#8217;t work, giving some mmal errors, please rad the post. It may be a simple job of adding<\/p>\n<pre>force_board_rev=0x900093<\/pre>\n<p>to \/boot\/config.txt and then running<\/p>\n<pre>sudo raspi-config<\/pre>\n<p>and enabling the camera. One reboot later and<\/p>\n<pre>sudo raspistill -o test.jpg<\/pre>\n<p>will give you a view of the world as the Pi sees it.<br \/>\nHooray!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a few Raspberry PIs. I&#8217;m an engineer at heart and these things allow me to tinker without expending &hellip; <a class=\"more-link\" href=\"http:\/\/simkin.org\/wordpress\/?p=276\">More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"image","meta":{"spay_email":""},"categories":[316,3],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/276"}],"collection":[{"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=276"}],"version-history":[{"count":0,"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/276\/revisions"}],"wp:attachment":[{"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=276"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/simkin.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}