We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:c2_lirc [2016/07/14 10:31]
joy.cho [Suppport Custom Remote Controller]
en:c2_lirc [2017/07/14 09:48] (current)
joy.cho [Registering own remote controller]
Line 1: Line 1:
-====== ​Suppport ​Custom Remote Controller ======+====== ​Support ​Custom Remote Controller ======
 <WRAP center round important>​ <WRAP center round important>​
 **To support custom remote controller with LIRC, your kernel version should be 3.14.29-56 (2016/​04/​20) or higher.** **To support custom remote controller with LIRC, your kernel version should be 3.14.29-56 (2016/​04/​20) or higher.**
-</​WRAP>​ 
- 
-<WRAP center round important>​ 
-There is a known issue with LIRC on ODROID-C2. Please refer to the sector, **Known Issue of LIRC on ODROID-C2** of this wiki page. 
 </​WRAP>​ </​WRAP>​
 ===== Install package ===== ===== Install package =====
Line 87: Line 83:
  
 ===== Registering own remote controller ===== ===== Registering own remote controller =====
 +
 +<WRAP center round important>​
 +Before runing irrecord, please make sure service lircd should release the node, /dev/lirc0.
 +<​code>​
 +root@odroid64:​~#​ sudo kill `pidof lircd`
 +</​code>​
 +https://​forum.odroid.com/​viewtopic.php?​f=141&​t=27593
 +</​WRAP>​
 +
 **Lirc** package provide a tool, **irrecord**,​ to help registering the buttons of own remote controller. Once the tool is started, for example, you will be asked to press the buttons and it will analyse the signals of your remote controller like protocol type or headers. After this analysis you can start register the buttons one by one. **Lirc** package provide a tool, **irrecord**,​ to help registering the buttons of own remote controller. Once the tool is started, for example, you will be asked to press the buttons and it will analyse the signals of your remote controller like protocol type or headers. After this analysis you can start register the buttons one by one.
 <​code>​ <​code>​
Line 175: Line 180:
 ===== GPIO based IR ===== ===== GPIO based IR =====
  
-If you want to use your extra IR receiver by connecting to GPIO port (ex. one of expantion ​connectors),​ gpio-ir-recv module with LIRC can be used.+If you want to use your extra IR receiver by connecting to GPIO port (ex. one of expansion ​connectors),​ gpio-ir-recv module with LIRC can be used.
  
 <WRAP center round important>​ <WRAP center round important>​
Line 185: Line 190:
  
 ^ IR Receiver ^ C2 Expansion Net ^ Description ^ ^ IR Receiver ^ C2 Expansion Net ^ Description ^
-|IR|Pin#GPIOX.BIT21|IR output ​ |+|IR|Pin#GPIOX.BIT21|IR output ​ |
 |GND|Pin#14 GND|Ground ​ | |GND|Pin#14 GND|Ground ​ |
 |3V3|Pin#17 3.3V Power| 3.3V Power| |3V3|Pin#17 3.3V Power| 3.3V Power|
Line 263: Line 268:
 </​code>​ </​code>​
  
-It seems lirc is stpped by systemd ​with unknown reason and it causes abnormal termination of lirc process.+It seems lirc is stpped by systemd ​caused by an unknown reason and it causes abnormal termination of lirc process.
  
 We are trying to fix it and you can use one of the following workarounds until we've done it. We are trying to fix it and you can use one of the following workarounds until we've done it.
en/c2_lirc.1468461682.txt.gz ยท Last modified: 2016/07/14 10:31 by joy.cho
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0