Letux Kernel

Issue 525: Infrared receiver

Reported by Nikolaus Schaller, Dec 1, 2013

IR-RX: GPIO 165
IR-TX: GPIO 166
enable IR (disable RS232) through GPIO13

drivers:
gpio-ir (for receiving)
leds-gpio (for transmitting); based on triggers - or create some 
gpio-ir-transmit driver

Comment 1 by Nikolaus Schaller, Dec 1, 2013

Here is some info about the RC5 protocol

Comment 2 by Nikolaus Schaller, Dec 1, 2013

Todo in Board file:

#include <media/gpio-ir-recv.h>

static struct gpio_ir_recv_platform_data ir_platform_data = {
	.gpio_nr = 165,
	.active_low = 1,
// constants defined in include/media/rc-map.h
	.allowed_protos = RC_BIT_ALL /* RC_BIT_RC5 */,
	.map_name = RC_MAP_RC5_TV  /* "rc-rc5-tv" */,
};

// and register a platform device for driver "gpio-rc-recv"
Summary: Infrared receiver

Comment 3 by Marek Belisko, Dec 2, 2013

Seems there is already a way: 
http://forum.odroid.com/viewtopic.php?f=24&t=2426

Comment 4 by Nikolaus Schaller, Dec 17, 2013

Relations: is related to 471

Created: 7 years 7 months ago by Nikolaus Schaller

Updated: 7 years 1 month ago

Status: New

Followed by: 1 person

Labels:
Type:Enhancement
Priority:Low

This issue is related to
471 - Add IrDA driver