{"id":751,"date":"2012-07-21T01:42:39","date_gmt":"2012-07-21T01:42:39","guid":{"rendered":"http:\/\/kraftek.com\/blog\/?p=751"},"modified":"2012-07-21T01:42:39","modified_gmt":"2012-07-21T01:42:39","slug":"mceusbubuntu-precise-without-lirc","status":"publish","type":"post","link":"\/blog\/index.php\/mceusbubuntu-precise-without-lirc\/","title":{"rendered":"mceusb+xbmc+ubuntu precise without lirc"},"content":{"rendered":"<p>For this remote:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"MCE usb\" src=\"http:\/\/kraftek.com\/images\/mceusb.jpg\" alt=\"\" width=\"231\" height=\"176\" \/><\/p>\n<p>i run this inside an initscript<\/p>\n<pre>ir-keytable -D 1000 -P 1000 -p RC6 -w \/etc\/rc_keymaps\/rc6_mce<\/pre>\n<p>my \/etc\/rc_keymaps\/rc6_mce looks like this:<\/p>\n<pre># table rc6_mce, type: RC-6\n0x800f0400 KEY_KP0\n0x800f0401 KEY_KP1\n0x800f0402 KEY_KP2\n0x800f0403 KEY_KP3\n0x800f0404 KEY_KP4\n0x800f0405 KEY_KP5\n0x800f0406 KEY_KP6\n0x800f0407 KEY_KP7\n0x800f0408 KEY_KP8\n0x800f0409 KEY_KP9\n0x800f040a KEY_DELETE\n0x800f040c KEY_KPSLASH\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Power\n0x800f040d KEY_MEDIA\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Left Meta, Start\n0x800f040e KEY_MUTE\n0x800f040f KEY_I\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Info\n0x800f0410 KEY_VOLUMEUP\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Volume Up\n0x800f0411 KEY_VOLUMEDOWN\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Volume Down\n0x800f0412 KEY_CHANNELUP\n0x800f0413 KEY_CHANNELDOWN\n0x800f0434 KEY_EJECTCD\n0x800f0425 KEY_REWIND\n0x800f0414 KEY_FASTFORWARD\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Fast forward\n0x800f0415 KEY_REWIND\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Rewind\n0x800f0416 KEY_PLAY\n0x800f0417 KEY_RECORD\n0x800f0418 KEY_PAUSE\n0x800f046e KEY_PLAYPAUSE\n0x800f0419 KEY_STOP\n0x800f041a KEY_NEXT\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Skip Next\n0x800f041b KEY_PREVIOUS\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Skip Previous\n0x800f041c KEY_NUMERIC_POUND\n0x800f041d KEY_NUMERIC_STAR\n0x800f041e KEY_UP\n0x800f041f KEY_DOWN\n0x800f0420 KEY_LEFT\n0x800f0421 KEY_RIGHT\n0x800f0422 KEY_ENTER\n0x800f0423 KEY_BACK\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Back \/ Exit\n0x800f0424 KEY_DVD\n0x800f0425 KEY_TUNER\n0x800f0426 KEY_EPG\n0x800f0427 KEY_ZOOM\n0x800f043a KEY_BRIGHTNESSUP\n0x800f0432 KEY_MODE\n0x800f0446 KEY_TV\n0x800f0447 KEY_AUDIO\n0x800f0448 KEY_PVR\n0x800f0449 KEY_CAMERA\n0x800f044a KEY_VIDEO\n0x800f044c KEY_LANGUAGE\n0x800f044d KEY_TITLE\n0x800f044e KEY_PRINT\n0x800f0450 KEY_RADIO\n0x800f045a KEY_SUBTITLE\n0x800f0465 KEY_POWER2\n0x800f046e KEY_PLAYPAUSE\n0x800f0480 KEY_BRIGHTNESSDOWN\n0x800f0481 KEY_PLAYPAUSE\n0x800f0401 KEY_NUMERIC_1\n0x800f0402 KEY_NUMERIC_2\n0x800f0403 KEY_NUMERIC_3\n0x800f0404 KEY_NUMERIC_4\n0x800f0405 KEY_NUMERIC_5\n0x800f0406 KEY_NUMERIC_6\n0x800f0407 KEY_NUMERIC_7\n0x800f0408 KEY_NUMERIC_8\n0x800f0409 KEY_NUMERIC_9\n0x800f041d KEY_NUMERIC_STAR\n0x800f0400 KEY_NUMERIC_0\n0x800f041c KEY_NUMERIC_POUND\n0x800f040a KEY_DELETE\n# 0x800f040b KEY_ENTER<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>For this remote: i run this inside an initscript ir-keytable -D 1000 -P 1000 -p RC6 -w \/etc\/rc_keymaps\/rc6_mce my \/etc\/rc_keymaps\/rc6_mce looks like this: # table rc6_mce, type: RC-6 0x800f0400 KEY_KP0 0x800f0401 KEY_KP1 0x800f0402 KEY_KP2 0x800f0403 KEY_KP3 0x800f0404 KEY_KP4 0x800f0405 KEY_KP5 0x800f0406 KEY_KP6 0x800f0407 KEY_KP7 0x800f0408 KEY_KP8 0x800f0409 KEY_KP9 0x800f040a KEY_DELETE 0x800f040c KEY_KPSLASH\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 # Power 0x800f040d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,1],"tags":[],"class_list":["post-751","post","type-post","status-publish","format-standard","hentry","category-linux","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/751","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=751"}],"version-history":[{"count":0,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/751\/revisions"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=751"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}