Skip to content

Commit

Permalink
[media] rc: Add support for the TechnoTrend USB IR Receiver
Browse files Browse the repository at this point in the history
This driver adds support for TechnoTrend USB IR Receiver. It is a complete
rewrite of the staging/media/lirc/lirc_ttusbir driver. It adds more
accurate sample reporting and led control.

Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Sean Young authored and Mauro Carvalho Chehab committed Aug 13, 2012
1 parent 6405838 commit 0938069
Show file tree
Hide file tree
Showing 4 changed files with 415 additions and 1 deletion.
13 changes: 13 additions & 0 deletions drivers/media/rc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,19 @@ config IR_IGUANA
To compile this driver as a module, choose M here: the module will
be called iguanair.

config IR_TTUSBIR
tristate "TechnoTrend USB IR Receiver"
depends on RC_CORE
select USB
select NEW_LEDS
select LEDS_CLASS
---help---
Say Y here if you want to use the TechnoTrend USB IR Receiver. The
driver can control the led.

To compile this driver as a module, choose M here: the module will
be called ttusbir.

config RC_LOOPBACK
tristate "Remote Control Loopback Driver"
depends on RC_CORE
Expand Down
1 change: 1 addition & 0 deletions drivers/media/rc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ obj-$(CONFIG_IR_WINBOND_CIR) += winbond-cir.o
obj-$(CONFIG_RC_LOOPBACK) += rc-loopback.o
obj-$(CONFIG_IR_GPIO_CIR) += gpio-ir-recv.o
obj-$(CONFIG_IR_IGUANA) += iguanair.o
obj-$(CONFIG_IR_TTUSBIR) += ttusbir.o
2 changes: 1 addition & 1 deletion drivers/media/rc/keymaps/rc-tt-1500.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ static struct rc_map_list tt_1500_map = {
.map = {
.scan = tt_1500,
.size = ARRAY_SIZE(tt_1500),
.rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
.rc_type = RC_TYPE_RC5,
.name = RC_MAP_TT_1500,
}
};
Expand Down
Loading

0 comments on commit 0938069

Please sign in to comment.