The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Tony Wan <wankai@sjtu.org>
To: "Nickolay V. Shmyrev" <nshmyrev@yandex.ru>
Cc: mchehab@infradead.org, michael@mihu.de,
	video4linux-list@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] v4l: saa7134: enable ir-remote for 10moons TM300 card
Date: Thu, 10 May 2007 16:54:21 +0800	[thread overview]
Message-ID: <1178787271.2337.12.camel@wankai.sjtu.org> (raw)
In-Reply-To: <1178777673.3120.6.camel@gnome.local>

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. So you should
> probably use mask_keycode with 0x47800000 instead of mask_keycode =
> 0x7f80000. Or even smaller mask. Include only bits which change the
> values, nothing more.
> 

The key codes confused me for some time and now I get solutions. I'll
change the mask value and calculate the new codes later.

Best regards.



      reply	other threads:[~2007-05-10  8:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-10  3:04 [PATCH 2/3] v4l: saa7134: enable ir-remote for 10moons TM300 card Tony Wan
2007-05-10  6:14 ` Nickolay V. Shmyrev
2007-05-10  8:54   ` Tony Wan [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=1178787271.2337.12.camel@wankai.sjtu.org \
    --to=wankai@sjtu.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@infradead.org \
    --cc=michael@mihu.de \
    --cc=nshmyrev@yandex.ru \
    --cc=video4linux-list@redhat.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox