User Tools

Site Tools



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
hardwaresettings [2014/04/22 01:47]
hardwaresettings [2015/11/27 21:09] (current)
Line 31: Line 31:
 </​code>​ </​code>​
 +== Note ==
 +Before you can use the lirc_rpi kernel module, you have to run the following command (for kernels with disabled "​Device tree support"​):​
 +<​code>​sudo modprobe lirc_rpi gpio_in_pin=18 gpio_out_pin=17</​code>​
 +To make sure this is done every reboot, edit ''/​etc/​modules''​ and add the following line:
 +<​code>​lirc_rpi gpio_in_pin=18 gpio_out_pin=17</​code>​
 +If you have enabled "​Device tree support"​ (since Raspbian with kernel 3.18 it's the default configuration),​ you have to add the following line to ''/​boot/​config.txt'':​
 +This will load the module lirc_rpi, so you don't have to add ''​lirc_rpi''​ to ''/​etc/​modules''​ or run ''​sudo modprobe lirc_rpi''​.
hardwaresettings.txt ยท Last modified: 2015/11/27 21:09 (external edit)