[PATCH 5/5] v4l: saa7134: enable ir-remote for 10moons TM300

2007-05-11 Thread Tony Wan
Using Encore's key codes, we needn't add any additional key table. Signed-off-by: Tony Wan <[EMAIL PROTECTED]> --- drivers/media/video/saa7134/saa7134-cards.c |1 + drivers/media/video/saa7134/saa7134-input.c |6 ++ 2 files changed, 7 insertions(+), 0 deletions(

Re: [PATCH] v4l: saa7134: support ir-remote for 10moons TM300

2007-05-11 Thread Tony Wan
On Fri, 2007-05-11 at 13:00 +0400, Nickolay V. Shmyrev wrote: > Probably just remote is the same. Thanks for you correction. So, if I set the mask_keycode to "0x5f8", all the key codes of TM300 will be exactly same as Encore's boards. Then the remote will work with a small patch applied. I'll

Re: [PATCH] v4l: saa7134: support ir-remote for 10moons TM300

2007-05-11 Thread Tony Wan
On Fri, 2007-05-11 at 11:51 +0400, Nickolay V. Shmyrev wrote: > Great, now another correction, sorry for not noticing it before. With > correction of bit 0x4 -> 0x2 your remote is exactly the same as > ir_codes_encore_enltv so probably there is sense just to reuse old > codes. Elencore mask should

[PATCH] v4l: saa7134: support ir-remote for 10moons TM300

2007-05-10 Thread Tony Wan
Enable the IR-remote of the 10moons TM300 card and add the key-codes for it's remote. It has been tested using lirc. All the key codes are accepted. Signed-off-by: Tony Wan <[EMAIL PROTECTED]> --- drivers/media/common/ir-keymaps.c | 69 +++ dr

Re: [PATCH 2/3] v4l: saa7134: enable ir-remote for 10moons TM300 card

2007-05-10 Thread Tony Wan
Hi, Nickolay: Thanks for you suggestion! On Thu, 2007-05-10 at 10:14 +0400, Nickolay V. Shmyrev wrote: > Size of 256 is not required. You've just selected incorrect keymask, > that's why you have so big values. Look through your values, in the > upper 4 bits only two bits are used - 0x80 and 0x10.

[PATCH 2/3] v4l: saa7134: enable ir-remote for 10moons TM300 card

2007-05-09 Thread Tony Wan
CH 1/3] v4l: Support 10moons TM300 (saa7130) Card" Signed-off-by: Tony Wan <[EMAIL PROTECTED]> --- drivers/media/common/ir-keymaps.c | 71 +++ drivers/media/video/saa7134/saa7134-cards.c |1 + drivers/media/video/saa7134/saa7134-input.c |

[PATCH 3/3] v4l: enlarge the size of ir-key table to 256

2007-05-09 Thread Tony Wan
Some IR-remote will produce key codes larger than 128. Enlarge the size IR_KEYTAB_SIZE to 256 to enable all the keys. Signed-off-by: Tony Wan <[EMAIL PROTECTED]> --- include/media/ir-common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/media/ir-comm

[PATCH 1/3] v4l: saa7134: add support for 10moons TM300 card

2007-05-09 Thread Tony Wan
Support the 10moons TM300 TV card (so called TV Master 3), which is a 10moons saa7130 based board. Here not include features for the IR-remote. It has been tested using TVTIME. The card was auto-detected and all the input sources worked correct with sound. Signed-off-by: Tony Wan <[EM

[PATCH 1/3] v4l: Support 10moons TM300 (saa7130) Card

2007-05-08 Thread Tony Wan
Support the 10moons TM300 TV card (so called TV Master 3), which is a 10moons saa7130 based new board. Here not include features for the IR-remote. It has been tested using TVTIME. The card was auto-detected and all the input sources worked correct with sound. Signed-off-by: Tony Wan <[EM

[PATCH 2/3] v4l: Enable IR-Remote for the 10moons TM300 Card

2007-05-08 Thread Tony Wan
CH 1/3] v4l: Support 10moons TM300 (saa7130) Card" Signed-off-by: Tony Wan <[EMAIL PROTECTED]> --- drivers/media/common/ir-keymaps.c | 71 +++ drivers/media/video/saa7134/saa7134-cards.c |1 + drivers/media/video/saa7134/saa7134-input.c |

[PATCH 3/3] v4l: Enlarge the size of IR-KEY table to 256

2007-05-08 Thread Tony Wan
Some IR-remote will produce key codes larger than 128. Enlarge the size IR_KEYTAB_SIZE to 256 to enable all the keys. Signed-off-by: Tony Wan <[EMAIL PROTECTED]> --- include/media/ir-common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/media/ir-comm