{"id":237,"date":"2012-12-16T16:09:35","date_gmt":"2012-12-17T00:09:35","guid":{"rendered":"http:\/\/kaytat.com\/?p=237"},"modified":"2012-12-16T16:12:05","modified_gmt":"2012-12-17T00:12:05","slug":"raspbmc-and-the-remote-round-3","status":"publish","type":"post","link":"https:\/\/kaytat.com\/blog\/?p=237","title":{"rendered":"Raspbmc and the remote &#8211; round 3"},"content":{"rendered":"<p>Another update, another battle with the remote.<\/p>\n<p><a href=\"https:\/\/kaytat.com\/?attachment_id=236\" rel=\"attachment wp-att-236\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-236 aligncenter\" alt=\"StreetFighterIV_2009_08_12_17_19_15_16\" src=\"https:\/\/kaytat.com\/blog\/wp-content\/uploads\/2012\/12\/StreetFighterIV_2009_08_12_17_19_15_16.jpg\" width=\"500\" height=\"313\" srcset=\"https:\/\/kaytat.com\/blog\/wp-content\/uploads\/2012\/12\/StreetFighterIV_2009_08_12_17_19_15_16.jpg 500w, https:\/\/kaytat.com\/blog\/wp-content\/uploads\/2012\/12\/StreetFighterIV_2009_08_12_17_19_15_16-300x187.jpg 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p>I did all the usual stuff, as mentioned in the previous posts.<\/p>\n<p>Nothing.<\/p>\n<p>Looking at the logs, it turns out all this module stuff is already built into the most recent kernel. I even see the tell-tale &#8220;fixing aureal&#8221; message in dmesg. I added the changes to \/etc\/rc.local, but no success. Only the mouse worked.<\/p>\n<p>After a bunch of trial and error, I think there&#8217;s some sort of conflict between lirc and eventlirc. Only after I started killing a bunch of lircd processes did the remote start sputtering to life.<\/p>\n<p>My fix right now? Yet another &#8220;what am I doing?&#8221; hack. Here it goes.\u00a0 Start from a fresh build\/image.<\/p>\n<p>ssh into your raspberry pi using putty<\/p>\n<pre># sudo nano \/lib\/udev\/lircd_helper<\/pre>\n<p>This will bring up an editor. Skip the first bunch of lines that start with #.<br \/>\nRight before you see<\/p>\n<pre>logger -t \"lircd_helper\" ACTION ${ACTION}<\/pre>\n<p>add the following<\/p>\n<pre># I don't know why this works.  It just does.\r\nlogger -t \"lircd_helper\" Crash and burn.\r\nexit 1;\r\n\r\nlogger -t \"lircd_helper\" ACTION ${ACTION}<\/pre>\n<p>To exit, the editor, hit control-o (to write the file) and then control-x to exit. And reboot.\u00a0 No custom kernel.\u00a0 No downloading headers.\u00a0 None of that.\u00a0 Just a hack to stop lircd from running.<\/p>\n<p>All this does is prevent lircd from running. This seems to allow eventlircd to run. Which seems to be the key.<\/p>\n<p>This is how I feel:<\/p>\n<p style=\"text-align: center;\"><a href=\"https:\/\/kaytat.com\/?attachment_id=235\" rel=\"attachment wp-att-235\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-235\" alt=\"pacquiamarquez4\" src=\"https:\/\/kaytat.com\/blog\/wp-content\/uploads\/2012\/12\/pacquiamarquez4.jpg\" width=\"450\" height=\"255\" srcset=\"https:\/\/kaytat.com\/blog\/wp-content\/uploads\/2012\/12\/pacquiamarquez4.jpg 450w, https:\/\/kaytat.com\/blog\/wp-content\/uploads\/2012\/12\/pacquiamarquez4-300x170.jpg 300w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p style=\"text-align: left;\">\u00a0&#8230; a little bit Pacquiou and a little bit Marquez &#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another update, another battle with the remote. I did all the usual stuff, as mentioned in the previous posts. Nothing. Looking at the logs, it turns out all this module stuff is already built into the most recent kernel. I even see the tell-tale &#8220;fixing aureal&#8221; message in dmesg. I added the changes to \/etc\/rc.local, &#8230; <a title=\"Raspbmc and the remote &#8211; round 3\" class=\"read-more\" href=\"https:\/\/kaytat.com\/blog\/?p=237\" aria-label=\"More on Raspbmc and the remote &#8211; round 3\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-237","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/kaytat.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kaytat.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kaytat.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kaytat.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kaytat.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=237"}],"version-history":[{"count":10,"href":"https:\/\/kaytat.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":246,"href":"https:\/\/kaytat.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/237\/revisions\/246"}],"wp:attachment":[{"href":"https:\/\/kaytat.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kaytat.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kaytat.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}