All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mauro Carvalho Chehab <mchehab@redhat.com>
To: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] saa7134: add support for one more remote control for Avermedia M135A
Date: Fri, 19 Mar 2010 19:29:17 -0300	[thread overview]
Message-ID: <4BA3FABD.5070604@redhat.com> (raw)
In-Reply-To: <201003191925.38256.herton@mandriva.com.br>

Herton Ronaldo Krzesinski wrote:
> Em Sex 19 Mar 2010, às 18:56:57, Mauro Carvalho Chehab escreveu:
>> Hi Herton,
>>
>> Herton Ronaldo Krzesinski wrote:
>>> This change adds support for one more remote control type for Avermedia
>>> M135A. The new remote control reports slightly different codes, and was
>>> necessary to extend the mask_keycode to differentiate between original
>>> remote control. One of the remote controls I had matched the original
>>> binding, but some keys reported duplicated codes, probably because the
>>> previous mask_keycode missing valid bits, so this should fix also
>>> original remote control support ("The keys bellow aren't ok" comment).
>> It would be a way better to extend it to use the full address+command scancode
>> (16 bits, being 13 or 14 used). This would allow using this board with
>> universal IR's and other third party ones.
>>
>> That's said, I have one of such board here, with one IR control (mine has the
>> small control labaled RM-JX).
>>
>> As I have some things to do with IR core support, I'll do some tests in order
>> to extend the IR support on saa7134 in order to get the full IR code and remap
>> this IR.
> 
> Ok, when you have done it feel free to ask me to test any patches you have
> etc., my control is labeled RM-K6, supplied by Avermedia I suppose to Positivo
> (this controler comes with Positivo "PC-TV" machine with Avermedia card) , and
> the original IR control unfortunately I don't have anymore here to test. I
> suppose there would be more control types as well which Avermedia ships...

I had once one of those "Positivo" IR's from Avermedia. Yes, for sure there are more
IR's. By doing it right, replacing the IR map will be just a matter of calling
ir-keycode application, from v4l-utils (assuming the latest V4L/DVB drivers with the
proper /sys/class/irrcv nodes).

-- 

Cheers,
Mauro

      reply	other threads:[~2010-03-19 22:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-19 17:55 [PATCH] saa7134: add support for one more remote control for Avermedia M135A Herton Ronaldo Krzesinski
2010-03-19 21:56 ` Mauro Carvalho Chehab
2010-03-19 22:25   ` Herton Ronaldo Krzesinski
2010-03-19 22:29     ` Mauro Carvalho Chehab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BA3FABD.5070604@redhat.com \
    --to=mchehab@redhat.com \
    --cc=herton@mandriva.com.br \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.