Return-path: Received: from mail1.radix.net ([207.192.128.31]:54294 "EHLO mail1.radix.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752258AbZH1LjF (ORCPT ); Fri, 28 Aug 2009 07:39:05 -0400 Subject: Re: [RFC] Infrared Keycode standardization From: Andy Walls To: Devin Heitmueller Cc: Mauro Carvalho Chehab , Ville =?ISO-8859-1?Q?Syrj=E4l=E4?= , Linux Media Mailing List , Linux Input In-Reply-To: <829197380908271506i251b47caoe8c08d483e78e938@mail.gmail.com> References: <20090827045710.2d8a7010@pedra.chehab.org> <20090827183636.GG26702@sci.fi> <20090827185853.0aa2de76@pedra.chehab.org> <829197380908271506i251b47caoe8c08d483e78e938@mail.gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 28 Aug 2009 07:41:22 -0400 Message-Id: <1251459682.3187.38.camel@palomino.walls.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-media-owner@vger.kernel.org List-ID: On Thu, 2009-08-27 at 18:06 -0400, Devin Heitmueller wrote: > On Thu, Aug 27, 2009 at 5:58 PM, Mauro Carvalho > Chehab wrote: > > Em Thu, 27 Aug 2009 21:36:36 +0300 > > Ville Syrjälä escreveu: > Since we're on the topic of IR support, there are probably a couple of > other things we may want to be thinking about if we plan on > refactoring the API at all: > > 1. The fact that for RC5 remote controls, the tables in ir-keymaps.c > only have the second byte. In theory, they should have both bytes > since the vendor byte helps prevents receiving spurious commands from > unrelated remote controls. We should include the ability to "ignore > the vendor byte" so we can continue to support all the remotes > currently in the ir-keymaps.c where we don't know what the vendor byte > should contain. Since I uncovered this in my research, I thought I'd share... RC-6A has a third (or thrid and fouth) byte: http://www.picbasic.nl/frameload_uk.htm?http://www.picbasic.nl/info_rc6_uk.htm for the "Customer Identifier". It appears that the mode bits in the header determine if RC-6 (mode 0) or RC-6A is in use. The position of the mode bits in the header are documented here: http://www.sbprojects.com/knowledge/ir/rc6.htm I'm guesing some MCE remotes use RC-6A. When I get CX23888 IR support to the point of actually working, I'll check both of my MCE remotes. Regards, Andy