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>
2010-04-02 14:05:46 +08:00
|
|
|
config RC_MAP
|
|
|
|
tristate "Compile Remote Controller keymap modules"
|
2010-11-18 00:28:38 +08:00
|
|
|
depends on RC_CORE
|
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>
2010-04-02 14:05:46 +08:00
|
|
|
default y
|
|
|
|
|
|
|
|
---help---
|
|
|
|
This option enables the compilation of lots of Remote
|
|
|
|
Controller tables. They are short tables, but if you
|
|
|
|
don't use a remote controller, or prefer to load the
|
|
|
|
tables on userspace, you should disable it.
|
|
|
|
|
|
|
|
The ir-keytable program, available at v4l-utils package
|
|
|
|
provide the tool and the same RC maps for load from
|
|
|
|
userspace. Its available at
|
2014-10-03 04:45:48 +08:00
|
|
|
http://git.linuxtv.org/cgit.cgi/v4l-utils.git/
|