This shows you the differences between two versions of the page.
tutorials:cb1:customization:wireless_music_box [2013/11/23 20:16] soloforce [Player Program] |
tutorials:cb1:customization:wireless_music_box [2013/12/23 14:50] (current) |
||
---|---|---|---|
Line 8: | Line 8: | ||
===== Abstract ===== | ===== Abstract ===== | ||
- | Cubieboard series have support for infra-read (IR) support and analog sound ouput. Together with mplayer, Cubieboard could be turned into a great music box. | + | Cubieboard series have support for infra-red (IR) support and analog sound ouput. Together with mplayer & LIRC, Cubieboard could be turned into a great music box. |
===== Prerequisite ===== | ===== Prerequisite ===== | ||
* A Cubieboard (1,2,3 are ok, theoretically) | * A Cubieboard (1,2,3 are ok, theoretically) | ||
Line 43: | Line 43: | ||
0000070 c0d7 528c 273e 0004 0000 0000 0000 0000 | 0000070 c0d7 528c 273e 0004 0000 0000 0000 0000 | ||
</code> | </code> | ||
- | Pay attention to digits such as "0009", "0015", yes, they are the remote keycode, and you'd better write them down. | + | Pay attention to digits such as "0009", "0015", yes, they are the remote keycode, and you'd better write them down. Take notice that these keycodes are hexadecimal value. |
===== Software Installation ===== | ===== Software Installation ===== | ||
<code> | <code> | ||
Line 69: | Line 69: | ||
</file> | </file> | ||
==== LIRC keycode table ==== | ==== LIRC keycode table ==== | ||
- | Edit //**/etc/lirc/lircd.conf**// in your case. The **codes** section should be altered according to your own keycodes definitions. | + | Edit //**/etc/lirc/lircd.conf**// in your case. The **codes** section should be altered according to your own keycodes definitions, and they are in decimal form. |
<file> | <file> | ||
begin remote | begin remote | ||
Line 122: | Line 122: | ||
end remote | end remote | ||
</file> | </file> | ||
+ | The above keycode definitions are for the IR remote like this | ||
+ | |||
+ | {{:tutorials:cb1:customization:2013-11-23-202655_433x296_scrot.png?400 |}} | ||
==== LIRC control file ==== | ==== LIRC control file ==== | ||
Edit //**/etc/lirc/lircrc.conf**// in your case. | Edit //**/etc/lirc/lircrc.conf**// in your case. |