OSDN Git Service

V4L/DVB: Break Remote Controller keymaps into modules
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 2 Apr 2010 06:05:46 +0000 (03:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:56:49 +0000 (12:56 -0300)
commit6686fa6917caaaaf3d595df6accedb87607517c9
tree718a1711608b4d8fe6ec7acb1a40bfd965ce4413
parent9ce50c1a5faad80cf6100ea4e8970416ee3b8b59
V4L/DVB: Break Remote Controller keymaps into modules

The original Remote Controller approach were very messy: a big file,
that were part of ir-common kernel module, containing 64 different
RC keymap tables, used by the V4L/DVB drivers.

Better to break each RC keymap table into a separate module,
registering them into rc core on a process similar to the fs/nls tables.

As an userspace program is now in charge of loading those tables,
adds an option to allow the complete removal of those tables from
kernelspace.

Yet, on embedded devices like Set Top Boxes and TV sets, maybe the
only available input device is the IR. So, we should keep allowing
the usage of in-kernel tables, but a latter patch should change
the default to 'n', after giving some time for distros to add
the v4l-utils with the ir-keytable program, to allow the table
load via userspace.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
68 files changed:
drivers/media/IR/Kconfig
drivers/media/IR/keymaps/Kconfig [new file with mode: 0644]
drivers/media/IR/keymaps/Makefile [new file with mode: 0644]
drivers/media/IR/keymaps/rc-adstech-dvb-t-pci.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-apac-viewcomp.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-asus-pc39.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-ati-tv-wonder-hd-600.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-avermedia-a16d.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-avermedia-cardbus.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-avermedia-dvbt.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-avermedia-m135a-rm-jx.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-avermedia.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-avertv-303.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-behold-columbus.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-behold.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-budget-ci-old.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-cinergy-1400.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-cinergy.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-dm1105-nec.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-dntv-live-dvb-t.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-dntv-live-dvbt-pro.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-em-terratec.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-empty.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-encore-enltv-fm53.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-encore-enltv.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-encore-enltv2.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-evga-indtube.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-eztv.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-flydvb.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-flyvideo.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-fusionhdtv-mce.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-gadmei-rm008z.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-genius-tvgo-a11mce.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-gotview7135.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-hauppauge-new.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-iodata-bctv7e.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-kaiomy.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-kworld-315u.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-kworld-plus-tv-analog.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-manli.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-msi-tvanywhere-plus.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-msi-tvanywhere.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-nebula.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-nec-terratec-cinergy-xs.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-norwood.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-npgtech.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-pctv-sedna.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-pinnacle-color.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-pinnacle-grey.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-pinnacle-pctv-hd.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-pixelview-new.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-pixelview.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-powercolor-real-angel.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-proteus-2309.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-purpletv.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-pv951.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-rc5-hauppauge-new.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-rc5-tv.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-real-audio-220-32-keys.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-tbs-nec.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-terratec-cinergy-xs.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-tevii-nec.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-tt-1500.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-videomate-s350.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-videomate-tv-pvr.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-winfast-usbii-deluxe.c [new file with mode: 0644]
drivers/media/IR/keymaps/rc-winfast.c [new file with mode: 0644]
drivers/media/IR/rc-map.c