common:application_note:gpio:lirc_gpio_blaster:irblaster_lirc_setup_ubuntu16.04

Differences

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

Link to this comparison view

Next revision
Previous revision
common:application_note:gpio:lirc_gpio_blaster:irblaster_lirc_setup_ubuntu16.04 [2020/03/18 12:06]
luke.go created
common:application_note:gpio:lirc_gpio_blaster:irblaster_lirc_setup_ubuntu16.04 [2020/04/23 16:09] (current)
luke.go ↷ Links adapted because of a move operation
Line 14: Line 14:
 Now you need to set up hardware.conf and lircd.conf first and then probe the modules with some parameters. \\ Now you need to set up hardware.conf and lircd.conf first and then probe the modules with some parameters. \\
  
-=== LIRC Configuration (1) - hardware.conf ===+==== LIRC Configuration ====
  
 +<tabbox hardware.conf>
 +<WRAP GROUP>
 hardware.conf is generated by default when lirc is installed\\ hardware.conf is generated by default when lirc is installed\\
 and in this conf file, devices and drivers information is supposed to be specified. \\ and in this conf file, devices and drivers information is supposed to be specified. \\
Line 35: Line 37:
  
 Please refer to this link for the whole contents of hardware.conf. \\ Please refer to this link for the whole contents of hardware.conf. \\
-[[odroid-c2:application_note:gpio:lirc_gpio_blaster:irblaster_lirc_setup_ubuntu16.04#hardwareconf | hardware.conf]]\\ +[[common:application_note:gpio:lirc_gpio_blaster:irblaster_lirc_setup_ubuntu16.04#hardwareconf| hardware.conf]]\\ 
- +</WRAP>
-=== LIRC Configuration (2) - lircd.conf ===+
  
 +<tabbox lircd.conf>
 +<WRAP GROUP>
 lircd.conf is also generated automatically via the Ubuntu LIRC package scripts.\\ lircd.conf is also generated automatically via the Ubuntu LIRC package scripts.\\
 It includes signal timing information and provides a mapping from button presses to key symbols.\\ It includes signal timing information and provides a mapping from button presses to key symbols.\\
Line 47: Line 50:
 </code> </code>
 This reference lircd.conf is generated to support Hardkernel IR remote controller.\\ This reference lircd.conf is generated to support Hardkernel IR remote controller.\\
-[[odroid-c2:application_note:gpio:lirc_gpio_blaster:irblaster_lirc_setup_ubuntu16.04#lircdconf| lircd.conf ]]\\+[[common:application_note:gpio:lirc_gpio_blaster:irblaster_lirc_setup_ubuntu16.04#lircdconf| lircd.conf ]]\\
 https://www.hardkernel.com/shop/ir-remote-controller/ \\ https://www.hardkernel.com/shop/ir-remote-controller/ \\
  
Line 57: Line 60:
     .....     .....
 </code> </code>
 +</WRAP>
 +</tabbox>
  
-\\ +==== Install module and Run lirc service ====
- +
-=== Install module and Run lirc service ===+
 All necessary configuration is done, you need to install lirc_odroid module and set some parameters.\\ All necessary configuration is done, you need to install lirc_odroid module and set some parameters.\\
 <code> <code>
Line 67: Line 70:
 </code> </code>
  
-== 1ODROID-C2 Example ==+=== Examples === 
 +<tabbox ODROID-N2> 
 +Supposing to use Pin#15 of ODROID-N2 (GPIO #483), 
 +<code bash target> 
 +$ service lirc stop 
 +$ modprobe lirc_dev 
 +$ modprobe lirc_odroid gpio_out_pin=483 softcarrier=1 invert=1 
 +(automatically, service lirc will be started) 
 +</code> 
 + 
 +<tabbox ODROID-C4> 
 +Supposing to use Pin#13 of ODROID-C4 (GPIO #480), 
 +<code bash target> 
 +$ service lirc stop 
 +$ modprobe lirc_dev 
 +$ modprobe lirc_odroid gpio_out_pin=480 softcarrier=1 invert=1 
 +(automatically, service lirc will be started) 
 +</code> 
 + 
 +<tabbox ODROID-C2>
 Supposing to use Pin#11 of ODROID-C2 (GPIO #247), Supposing to use Pin#11 of ODROID-C2 (GPIO #247),
 <code bash target> <code bash target>
Line 76: Line 98:
 </code> </code>
  
-== 2. ODROID-C1/C1+ Example ==+<tabbox ODROID-C1/C1+>
 Supposing to use Pin#7 of ODROID-C1/C1+ (GPIO #83), Supposing to use Pin#7 of ODROID-C1/C1+ (GPIO #83),
 <code bash target> <code bash target>
Line 85: Line 107:
 </code> </code>
  
-== 3. ODROID-XU4 Example ==+<tabbox ODROID-XU4>
 Supposing to use Pin#26 of ODROID-XU4 (GPIO #24), Supposing to use Pin#26 of ODROID-XU4 (GPIO #24),
 <code bash target> <code bash target>
Line 94: Line 116:
 </code> </code>
  
-\\+</tabbox>
  
 <WRAP round tip 80%> <WRAP round tip 80%>
  • common/application_note/gpio/lirc_gpio_blaster/irblaster_lirc_setup_ubuntu16.04.1584500767.txt.gz
  • Last modified: 2020/03/18 12:06
  • by luke.go