{"id":1124,"date":"2010-01-02T18:41:34","date_gmt":"2010-01-02T18:41:34","guid":{"rendered":"http:\/\/www.fbcs.co.uk\/wp\/?p=38"},"modified":"2010-01-02T18:41:34","modified_gmt":"2010-01-02T18:41:34","slug":"mythtv-vs-lircd","status":"publish","type":"post","link":"https:\/\/wp.fbcs.co.uk\/mythtv-vs-lircd\/","title":{"rendered":"MythTV vs lircd"},"content":{"rendered":"
I’ve got an IR receiver plugged in to the serial port, which works with minimyth, but lircd keeps saying I’ve got an IR receiver plugged in to the serial port, which works with minimyth, but lircd keeps saying Jan 2 18:33:32 theboxhd lircd-0.8.6[2516]: caught signal Jan 2 18:33:32 theboxhd lircd-0.8.6[2516]: closing ‘\/dev\/lirc0’ Jan 2 18:33:32 theboxhd lircd-0.8.6[3144]: lircd(devinput) ready, using \/var\/run\/lirc\/lircd Jan 2 18:33:34 theboxhd lircd-0.8.6[3144]: accepted new client on \/var\/run\/lirc\/lircd Jan 2 18:33:34 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,29],"tags":[30,60],"_links":{"self":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts\/1124"}],"collection":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/comments?post=1124"}],"version-history":[{"count":0,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts\/1124\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/media?parent=1124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/categories?post=1124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/tags?post=1124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\nJan 2 18:33:32 theboxhd lircd-0.8.6[2516]: caught signal
\nJan 2 18:33:32 theboxhd lircd-0.8.6[2516]: closing '\/dev\/lirc0'
\nJan 2 18:33:32 theboxhd lircd-0.8.6[3144]: lircd(devinput) ready, using \/var\/run\/lirc\/lircd
\nJan 2 18:33:34 theboxhd lircd-0.8.6[3144]: accepted new client on \/var\/run\/lirc\/lircd
\nJan 2 18:33:34 theboxhd lircd-0.8.6[3144]: initializing '\/dev\/lirc0'
\nJan 2 18:33:34 theboxhd lircd-0.8.6[3144]: can't get exclusive access to events coming from `\/dev\/lirc0' interface<\/code>
\nso I followed the instructions at http:\/\/www.lirc.org\/html\/devinput.html<\/a> to make HAL ignore the IR device (in fact it will ignore any serial device) by creating the following in a new file called \/etc\/hal\/fdi\/preprobe\/10-ignore-lirc.fdi:
\n
\n
\n
\n
\n
\n
\n
\n <\/match>
\n<\/device>
\n<\/deviceinfo><\/code> (after getting clues about what key to use from lshal<\/code>).
\nRestarting hal and running lshal confirms that HAL is now ignoring the IR device.
\nRestarting lirc … gives the same result as before. It still doesn’t have exclusive access to \/dev\/lirc0. Even after a reboot.<\/p>\n","protected":false},"excerpt":{"rendered":"