linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv
@ 2014-05-08 19:41 Hans de Goede
  2014-05-08 19:41 ` [PATCH 1/3] rc_keymaps: Add a keymap for the remote shipped with allwinner ba10 tv boxes Hans de Goede
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Hans de Goede @ 2014-05-08 19:41 UTC (permalink / raw)
  To: Linux Media Mailing List

Hi All,

These patches add keymaps for the remotes found with various allwinner android
tv boxes. I've checked that these are not duplicate with existing configs.

These tv-boxes can run regular Linux, and that is what these keymaps are
intended for.

If there are no objections I'm going to push these in a couple of days.

Regards,

Hans

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] rc_keymaps: Add a keymap for the remote shipped with allwinner ba10 tv boxes
  2014-05-08 19:41 [PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv Hans de Goede
@ 2014-05-08 19:41 ` Hans de Goede
  2014-05-08 19:41 ` [PATCH 2/3] rc_keymaps: Add a keymap for the remote shipped with allwinner i12-a20 " Hans de Goede
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Hans de Goede @ 2014-05-08 19:41 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Hans de Goede

This is an unbranded remote found with unbranded allwinner a10 based android
tv boxes, which are referred to as ba10 tv boxes since the pcb is marked ba10
(the ba10 name is also used in u-boot and for the devicetree files).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 utils/keytable/rc_keymaps/allwinner_ba10_tv_box | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 utils/keytable/rc_keymaps/allwinner_ba10_tv_box

diff --git a/utils/keytable/rc_keymaps/allwinner_ba10_tv_box b/utils/keytable/rc_keymaps/allwinner_ba10_tv_box
new file mode 100644
index 0000000..cfa7641
--- /dev/null
+++ b/utils/keytable/rc_keymaps/allwinner_ba10_tv_box
@@ -0,0 +1,15 @@
+# table allwinner_ba10_tv_box, type: NEC
+0x206 KEY_UP
+0x216 KEY_VOLUMEDOWN
+0x217 KEY_NEXTSONG
+0x21a KEY_POWER
+0x21b KEY_BACK
+0x21e KEY_OK
+0x21f KEY_DOWN
+0x244 KEY_VOLUMEUP
+0x254 KEY_PREVIOUSSONG
+0x255 KEY_PLAYPAUSE
+0x258 KEY_MENU
+0x259 KEY_HOME
+0x25c KEY_RIGHT
+0x25d KEY_LEFT
-- 
1.9.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] rc_keymaps: Add a keymap for the remote shipped with allwinner i12-a20 tv boxes
  2014-05-08 19:41 [PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv Hans de Goede
  2014-05-08 19:41 ` [PATCH 1/3] rc_keymaps: Add a keymap for the remote shipped with allwinner ba10 tv boxes Hans de Goede
@ 2014-05-08 19:41 ` Hans de Goede
  2014-05-08 19:41 ` [PATCH 3/3] rc_keymaps: Add keymap for the remote shipped with the Wobo i5 tv box Hans de Goede
  2014-07-22  6:38 ` [PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv Hans Verkuil
  3 siblings, 0 replies; 5+ messages in thread
From: Hans de Goede @ 2014-05-08 19:41 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Hans de Goede

This is an unbranded remote found with unbranded allwinner a20 based android
tv boxes, which are referred to as i12 tv boxes since the pcb is marked i12
(the i12 name is also used in u-boot and for the devicetree files).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 utils/keytable/rc_keymaps/allwinner_i12_a20_tv_box | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 utils/keytable/rc_keymaps/allwinner_i12_a20_tv_box

diff --git a/utils/keytable/rc_keymaps/allwinner_i12_a20_tv_box b/utils/keytable/rc_keymaps/allwinner_i12_a20_tv_box
new file mode 100644
index 0000000..edbc7a7
--- /dev/null
+++ b/utils/keytable/rc_keymaps/allwinner_i12_a20_tv_box
@@ -0,0 +1,28 @@
+# table allwinner_i12_a20_tv_box, type: NEC
+0x00 KEY_7
+0x01 KEY_4
+0x02 KEY_1
+0x03 KEY_VOLUMEDOWN
+0x04 KEY_8
+0x05 KEY_5
+0x06 KEY_2
+0x07 KEY_BACK
+0x08 KEY_9
+0x09 KEY_6
+0x0a KEY_3
+0x0b KEY_NEXTSONG
+0x0c KEY_WWW
+0x0d KEY_0
+0x0e KEY_BACKSPACE
+0x40 KEY_VOLUMEUP
+0x41 KEY_LEFT
+0x42 KEY_HOME
+0x43 KEY_POWER
+0x44 KEY_DOWN
+0x45 KEY_OK
+0x46 KEY_UP
+0x47 KEY_CONTEXT_MENU
+0x48 KEY_PREVIOUSSONG
+0x49 KEY_RIGHT
+0x4a KEY_MENU
+0x4b KEY_MUTE
-- 
1.9.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] rc_keymaps: Add keymap for the remote shipped with the Wobo i5 tv box
  2014-05-08 19:41 [PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv Hans de Goede
  2014-05-08 19:41 ` [PATCH 1/3] rc_keymaps: Add a keymap for the remote shipped with allwinner ba10 tv boxes Hans de Goede
  2014-05-08 19:41 ` [PATCH 2/3] rc_keymaps: Add a keymap for the remote shipped with allwinner i12-a20 " Hans de Goede
@ 2014-05-08 19:41 ` Hans de Goede
  2014-07-22  6:38 ` [PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv Hans Verkuil
  3 siblings, 0 replies; 5+ messages in thread
From: Hans de Goede @ 2014-05-08 19:41 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Hans de Goede

The Wobo i5 is an allwinner based android tv box, with its own custom remote,
this adds a keymap for this remote (like all allwinner devices, the wobo i5
can run plain Linux).

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
---
 utils/keytable/rc_keymaps/wobo_i5 | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 utils/keytable/rc_keymaps/wobo_i5

diff --git a/utils/keytable/rc_keymaps/wobo_i5 b/utils/keytable/rc_keymaps/wobo_i5
new file mode 100644
index 0000000..38362c5
--- /dev/null
+++ b/utils/keytable/rc_keymaps/wobo_i5
@@ -0,0 +1,9 @@
+# table wobo_i5, type: NEC
+0x01 KEY_POWER
+0x05 KEY_UP
+0x06 KEY_LEFT
+0x08 KEY_RIGHT
+0x09 KEY_PLAYPAUSE
+0x0a KEY_DOWN
+0x0c KEY_MENU
+0x0e KEY_BACK
-- 
1.9.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv
  2014-05-08 19:41 [PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv Hans de Goede
                   ` (2 preceding siblings ...)
  2014-05-08 19:41 ` [PATCH 3/3] rc_keymaps: Add keymap for the remote shipped with the Wobo i5 tv box Hans de Goede
@ 2014-07-22  6:38 ` Hans Verkuil
  3 siblings, 0 replies; 5+ messages in thread
From: Hans Verkuil @ 2014-07-22  6:38 UTC (permalink / raw)
  To: Hans de Goede, Linux Media Mailing List

Hi Hans,

On 05/08/2014 09:41 PM, Hans de Goede wrote:
> Hi All,
> 
> These patches add keymaps for the remotes found with various allwinner android
> tv boxes. I've checked that these are not duplicate with existing configs.
> 
> These tv-boxes can run regular Linux, and that is what these keymaps are
> intended for.
> 
> If there are no objections I'm going to push these in a couple of days.

These keymaps pose a problem: every time I sync with the latest kernel version
(make sync-with-kernel) the keymaps are regenerated from the source code and
you three keymaps are deleted.

I saw it in time and prevented their deletion, but I (or someone else) is going
to miss it and they are gone.

The gen_keytables.pl is the one that regenerates them, so you'll have to take
a look at that to see what the correct solution is. I know little about keymaps,
all I see is that something is guaranteed to go wrong in the near future :-)

Regards,

	Hans

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-07-22  6:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-08 19:41 [PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv Hans de Goede
2014-05-08 19:41 ` [PATCH 1/3] rc_keymaps: Add a keymap for the remote shipped with allwinner ba10 tv boxes Hans de Goede
2014-05-08 19:41 ` [PATCH 2/3] rc_keymaps: Add a keymap for the remote shipped with allwinner i12-a20 " Hans de Goede
2014-05-08 19:41 ` [PATCH 3/3] rc_keymaps: Add keymap for the remote shipped with the Wobo i5 tv box Hans de Goede
2014-07-22  6:38 ` [PATCH 0/3] rc_keymaps: Add 3 keymaps for various allwinner android tv Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).