Skip to contentSkip to conversation

Convert Wideview WT220 DVB USB driver to rc-core

PATCH New Jonathan McDowell 1 participant 1 message May 20, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Convert Wideview WT220 DVB USB driver to rc-core

(I don't know if this sort of patch is welcome, but if it is I have a couple of other USB DVB sticks I will convert over as well. My main motivation was to be able to easily use a better remote than the mini one that comes with these devices.)

This patch converts the dtt200u DVB USB driver over to the rc-core infrastructure for its handling of IR remotes. This device can receive generic NEC / NEC Extended signals and the switch to the newer core enables the easy use of tools such as ir-keytable to modify the active key map.

-----

drivers/media/rc/keymaps/Makefile +1 -0
index fbbd3bb..3bc5714 100644
@@ -28,6 +28,7 @@ obj-$(CONFIG_RC_MAP) += rc-adstech-dvb-t-pci.o \
 			rc-dm1105-nec.o \
 			rc-dntv-live-dvb-t.o \
 			rc-dntv-live-dvbt-pro.o \
+			rc-dtt200u.o \
 			rc-dvbsky.o \
 			rc-em-terratec.o \
 			rc-encore-enltv2.o \
drivers/media/rc/keymaps/rc-dtt200u.c new file +59 -0

59 lines not on this page · raw message

drivers/media/usb/dvb-usb/dtt200u.c +37 -37

117 lines not on this page · raw message

include/media/rc-map.h +1 -0
index 7844e98..595f7cf 100644
@@ -133,6 +133,7 @@ void rc_map_init(void);
 #define RC_MAP_DM1105_NEC                "rc-dm1105-nec"
 #define RC_MAP_DNTV_LIVE_DVBT_PRO        "rc-dntv-live-dvbt-pro"
 #define RC_MAP_DNTV_LIVE_DVB_T           "rc-dntv-live-dvb-t"
+#define RC_MAP_DTT200U                   "rc-dtt200u"
 #define RC_MAP_DVBSKY                    "rc-dvbsky"
 #define RC_MAP_EMPTY                     "rc-empty"
 #define RC_MAP_EM_TERRATEC               "rc-em-terratec"

-----

J.

Signature · 3 lines
I'm a *daemon*! Demons are evil. Daemons are not!
This .sig brought to you by the letter S and the number  6
Product of the Republic of HuggieTag