Skip to contentSkip to conversation

rc: port IgorPlug-USB to rc-core

PATCH New Sean Young 1 participant 2 messages Oct 23, 2014

Subsystems (4)
lore
Share & tools
lore

Sean Young

author maintainer
#0 lore raw

PATCH 1/2 rc: port IgorPlug-USB to rc-core

This is a complete re-write inspired by the original lirc driver.

---
 MAINTAINERS                    |    6 +
 drivers/media/rc/Kconfig       |   15 +++
 drivers/media/rc/Makefile      |    1 +
 drivers/media/rc/igorplugusb.c |  261 ++++++++++++++++++++++++++++++++++++++++
 4 files changed, 283 insertions(+)
 create mode 100644 drivers/media/rc/igorplugusb.c
MAINTAINERS +6 -0
index a20df9b..33f4c1a4 100644
@@ -4688,6 +4688,12 @@ F:	net/mac802154/
 F:	drivers/net/ieee802154/
 F:	Documentation/networking/ieee802154.txt
 
+IGORPLUG-USB IR RECEIVER
+M:	Sean Young <[email protected]>
+L:	[email protected]
+S:	Maintained
+F:	drivers/media/rc/igorplugusb.c
+
 IGUANAWORKS USB IR TRANSCEIVER
 M:	Sean Young <[email protected]>
 L:	[email protected]
drivers/media/rc/Kconfig +15 -0
index 8ce0810..1aea732 100644
@@ -277,6 +277,21 @@ config IR_WINBOND_CIR
 	   To compile this driver as a module, choose M here: the module will
 	   be called winbond_cir.
 
+config IR_IGORPLUGUSB
+	tristate "IgorPlug-USB IR Receiver"
+	depends on USB_ARCH_HAS_HCD
+	depends on RC_CORE
+	select USB
+	---help---
+	   Say Y here if you want to use the IgorPlug-USB IR Receiver by
+	   Igor Cesko. This device is included on the Fit-PC2.
+
+	   Note that this device can only record bursts of 36 IR pulses and
+	   spaces, which is not enough for the NEC, Sanyo and RC-6 protocol.
+
+	   To compile this driver as a module, choose M here: the module will
+	   be called igorplugusb.
+
 config IR_IGUANA
 	tristate "IguanaWorks USB IR Transceiver"
 	depends on USB_ARCH_HAS_HCD
drivers/media/rc/Makefile +1 -0
index 0989f94..8f509e0 100644
@@ -30,6 +30,7 @@ obj-$(CONFIG_IR_STREAMZAP) += streamzap.o
 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_IGORPLUGUSB) += igorplugusb.o
 obj-$(CONFIG_IR_IGUANA) += iguanair.o
 obj-$(CONFIG_IR_TTUSBIR) += ttusbir.o
 obj-$(CONFIG_RC_ST) += st_rc.o
drivers/media/rc/igorplugusb.c new file +261 -0

261 lines not on this page · raw message

Signature · 1 line
1.7.10.4
author maintainer
#1 lore raw

PATCH 2/2 lirc_igorplugusb: remove

This driver has been replaced by an rc-core driver for the same hardware.

---
 drivers/staging/media/lirc/Kconfig            |    6 -
 drivers/staging/media/lirc/Makefile           |    1 -
 drivers/staging/media/lirc/lirc_igorplugusb.c |  508 -------------------------
 3 files changed, 515 deletions(-)
 delete mode 100644 drivers/staging/media/lirc/lirc_igorplugusb.c
drivers/staging/media/lirc/Kconfig +0 -6
index e60a59f..6879c46 100644
@@ -18,12 +18,6 @@ config LIRC_BT829
 	help
 	  Driver for the IR interface on BT829-based hardware
 
-config LIRC_IGORPLUGUSB
-	tristate "Igor Cesko's USB IR Receiver"
-	depends on LIRC && USB
-	help
-	  Driver for Igor Cesko's USB IR Receiver
-
 config LIRC_IMON
 	tristate "Legacy SoundGraph iMON Receiver and Display"
 	depends on LIRC && USB
drivers/staging/media/lirc/Makefile +0 -1
index b90fcab..5430adf 100644
@@ -4,7 +4,6 @@
 # Each configuration option enables a list of files.
 
 obj-$(CONFIG_LIRC_BT829)	+= lirc_bt829.o
-obj-$(CONFIG_LIRC_IGORPLUGUSB)	+= lirc_igorplugusb.o
 obj-$(CONFIG_LIRC_IMON)		+= lirc_imon.o
 obj-$(CONFIG_LIRC_PARALLEL)	+= lirc_parallel.o
 obj-$(CONFIG_LIRC_SASEM)	+= lirc_sasem.o
drivers/staging/media/lirc/lirc_igorplugusb.c deleted +0 -508

508 lines not on this page · raw message

Signature · 1 line
1.7.10.4