{"id":1010,"date":"2017-02-10T17:37:11","date_gmt":"2017-02-10T17:37:11","guid":{"rendered":"http:\/\/ofalcao.pt\/blog\/?p=1010"},"modified":"2017-02-10T17:43:52","modified_gmt":"2017-02-10T17:43:52","slug":"using-ftdi-as-ir-2","status":"publish","type":"post","link":"https:\/\/ofalcao.pt\/blog\/2017\/using-ftdi-as-ir-2","title":{"rendered":"Using a FTDI adapter as an IR emitter &#8211; 2"},"content":{"rendered":"<div class=\"seriesmeta\">This post is part 2 of 5 of \u00a0<a href=\"https:\/\/ofalcao.pt\/blog\/series\/using-a-ftdi-adapter-as-an-ir\" class=\"series-287\" title=\"Using a FTDI adapter as an IR\">Using a FTDI adapter as an IR<\/a><\/div><p>We should now compile LIRC\u00a0 but as I said before I never got it working\u00a0 without also compiling libftdi.<\/p>\n<p>I <a href=\"https:\/\/www.intra2net.com\/en\/developer\/libftdi\/download.php\">downloaded<\/a> and extracted ibftdi1-1.3 source code. Then:<\/p>\n<pre>cd\u00a0 libftdi1-1.3\r\nmkdir build\r\ncd build\r\ncmake -DCMAKE_INSTALL_PREFIX=\"\/usr\" ..\/<\/pre>\n<p>If everything is OK, we see:<\/p>\n<pre>...\r\n-- Building unit test\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: \/home\/robot\/libftdi1-1.3\/build<\/pre>\n<p>Then<\/p>\n<pre>make<\/pre>\n<p>If everything OK:<\/p>\n<pre>...\r\n[100%] Built target test_libftdi1<\/pre>\n<p>And finally:<\/p>\n<pre>sudo make install<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"seriesmeta\">This post is part 2  of 5 of \u00a0<a href=\"https:\/\/ofalcao.pt\/blog\/series\/using-a-ftdi-adapter-as-an-ir\" class=\"series-287\" title=\"Using a FTDI adapter as an IR\">Using a FTDI adapter as an IR<\/a><\/div><p>We should now compile LIRC\u00a0 but as I said before I never got it working\u00a0 without also compiling libftdi. I downloaded and extracted ibftdi1-1.3 source code. Then: cd\u00a0 libftdi1-1.3 mkdir build cd build cmake -DCMAKE_INSTALL_PREFIX=&#8221;\/usr&#8221; ..\/ If everything is OK, we see: &#8230; &#8212; Building unit test &#8212; Configuring done &#8212; Generating done &#8212; Build &hellip; <a href=\"https:\/\/ofalcao.pt\/blog\/2017\/using-ftdi-as-ir-2\" class=\"more-link\">Continuar a ler<span class=\"screen-reader-text\"> &#8220;Using a FTDI adapter as an IR emitter &#8211; 2&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[1],"tags":[],"series":[287],"class_list":["post-1010","post","type-post","status-publish","format-standard","hentry","category-sem-categoria","series-using-a-ftdi-adapter-as-an-ir"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2Mhyv-gi","_links":{"self":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts\/1010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/comments?post=1010"}],"version-history":[{"count":0,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/posts\/1010\/revisions"}],"wp:attachment":[{"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/media?parent=1010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/categories?post=1010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/tags?post=1010"},{"taxonomy":"series","embeddable":true,"href":"https:\/\/ofalcao.pt\/blog\/wp-json\/wp\/v2\/series?post=1010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}