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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux