This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision |
| docs:guide-developer:port.gpio:lirc [2018/02/20 18:51] – ↷ Links adapted because of a move operation bobafetthotmail | docs:guide-user:hardware:lirc [2018/03/31 23:23] – ↷ Links adapted because of a move operation bobafetthotmail |
|---|
| {{:media:doc:howtos:lirc-gpioblaster_reduced.png?nolink&300|}} | {{:media:doc:howtos:lirc-gpioblaster_reduced.png?nolink&300|}} |
| |
| See [[docs:user-guide:hardware:lirc-gpioblaster]] for more details. Although this circuit can be omited, if we are only interested on receiving. Later, we can configure the lirc-gpio-generic module with an unused dummy GPIO. | See [[docs:guide-user:hardware:lirc-gpioblaster]] for more details. Although this circuit can be omited, if we are only interested on receiving. Later, we can configure the lirc-gpio-generic module with an unused dummy GPIO. |
| |
| ===== Prepare your software ===== | ===== Prepare your software ===== |
| |
| * **Platform AR7240**: GPIO9, GPIO10 are used for the serial port (multiplexed pins). For using these pins as regular GPIOs for our LIRC transceiver, execute the command\\ ''devmem 0x18040028 32 0x48000''\\ The GPIO used for the receiver shouldn't have any pull down resistor, otherwise it won't work. The lirc-gpio-generic module package should copy a patch to the kernel patches directory for having GPIO IRQs available, check if the patch is applied. | * **Platform AR7240**: GPIO9, GPIO10 are used for the serial port (multiplexed pins). For using these pins as regular GPIOs for our LIRC transceiver, execute the command\\ ''devmem 0x18040028 32 0x48000''\\ The GPIO used for the receiver shouldn't have any pull down resistor, otherwise it won't work. The lirc-gpio-generic module package should copy a patch to the kernel patches directory for having GPIO IRQs available, check if the patch is applied. |
| * **brcm63xx**: only a few GPIOs have IRQs, check [[docs:hardware:soc:soc.broadcom.bcm63xx#external_irqs]]. Only those GPIOs can be used for the receiver. A patch is copied into the kernel patches directory for having gpio_to_irq function available in the lirc_gpio_generic module, check if the patch is applied when compiling the firmware. | * **brcm63xx**: only a few GPIOs have IRQs, check [[docs:techref:hardware:soc:soc.broadcom.bcm63xx#external_irqs]]. Only those GPIOs can be used for the receiver. A patch is copied into the kernel patches directory for having gpio_to_irq function available in the lirc_gpio_generic module, check if the patch is applied when compiling the firmware. |
| |
| |