Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bengtmartensson/lirc_rpi

**DISCONTINUED -- not compatible with current Raspian ** Improved Lirc driver for Raspberry Pi
https://github.com/bengtmartensson/lirc_rpi

Last synced: 3 months ago
JSON representation

**DISCONTINUED -- not compatible with current Raspian ** Improved Lirc driver for Raspberry Pi

Awesome Lists containing this project

README

        

# lirc_rpi: GPIO-based Lirc driver for Raspberry Pi

This code is a further development of the [Lirc driver for the
Raspberry Pi by Aron Szabo](http://aron.ws/projects/lirc_rpi/), which
was derived from the Lirc serial driver.

The added features are: Multiple transmitter support, support for
"modulation frequency 0", and the programmable inversion of outputs.

It is described in greater detail in
[this article](http://harctoolbox.org/lirc_rpi.html) (not quite up-to-data). Please also see
[this article](http://harctoolbox.org/rpi_daughterboard.html) for possible hardware.

The original work is copyrighted under the GNU General Public License,
version 2 "or later". Being a derived work, this goes for my version
too.

## Update 2016-12-06
Updated for current Raspberry Pi OS, including device tree (the file lirc-rpi-overlay.dts).
Tested with Raspian May 2016 kernel 4.4.11-v7+. Changes:

* The option `gpio_out_pins` has been renamed to `gpio_out_pin` (singular), to be compatible by the original `lirc_rpi`.
Suggested by Aron.
* New option `gpio_in_pull` (from the Raspian `lirc_rpi`).
* The option `tx_mask` has been removed (not really a module parameter, but a user parameter).
* Support for devicetree; the new file `lirc-rpi-overlay.dts`. (Note the hyphens; there is an
underscore in `lirc_rpi`.) Note that the actually used pins (or a superset thereof)
have to be defined in this file, which is subsequently compiled,
for example when building the kernel.

## Update 2017-07-05
Verified that the current version compiles and runs on the current official Raspian (with 4.9 kernel).
In the light of [issue 8](https://github.com/bengtmartensson/lirc_rpi/issues/8) create a version
that runs with the new media distribution. This is checked in into the `media` branch.