public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: "Udo A. Steinberg" <udo@hypervisor.org>
To: Darron Broad <darron@kewl.org>
Cc: v4l-dvb-maintainer@linuxtv.org, linux-media@vger.kernel.org,
	mchehab@redhat.com
Subject: Re: Hauppauge/IR breakage with 2.6.28/2.6.29
Date: Thu, 26 Mar 2009 02:38:41 +0100	[thread overview]
Message-ID: <20090326023841.40ab3ad1@laptop.hypervisor.org> (raw)
In-Reply-To: <29212.1238027207@kewl.org>

[-- Attachment #1: Type: text/plain, Size: 1739 bytes --]

On Thu, 26 Mar 2009 00:26:47 +0000 Darron Broad (DB) wrote:

DB> It's something I forget to deal with in that patch. A solution
DB> would be to allow a device address to be a module param to
DB> override the more modern addresses of 0x1e and 0x1f.
DB> 
DB> I can't remember addresses off the top of my head but I believe
DB> the modern silver remotes use 0x1f and the older black ones
DB> use 0x1e. I think the black one I have came with a now dead
DB> DEC2000.
DB> 
DB> The problem with reverting the patch is that it makes modern
DB> systems unusable as HTPCs when the television uses RC5. This
DB> is a more important IMHO than supporting what in reality is
DB> an obsolete remote control.

Hi,

Maybe there aren't many old remotes out there anymore, but from looking at
the table at http://www.sbprojects.com/knowledge/ir/rc5.htm it appears the
remote is not doing anything wrong by using RC5 address 0x0 to talk to what
could be considered a TV (card).

The more fundamental issue here is that both devices/remotes use the same
RC5 address - not surprising if you own two devices of the same device class.

So I'm all for your suggestion of adding a parameter that will allow the
user to either specify the address(es) to accept or ignore. Which of the
following options would you consider most convenient for the unknowing user?

1) parameter specifies the only device id that ir-kbd-i2c will accept
2) parameter specifies a 32-bit mask of acceptable device ids. Any device id
   whose bit is set will be accepted, others will be filtered
3) parameter specifies a 32-bit mask of device ids to filter. Any device id
   whose bit is set will be filtered, others will be accepted

Cheers,

	- Udo

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-03-26  1:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-25 23:09 Hauppauge/IR breakage with 2.6.28/2.6.29 Udo A. Steinberg
2009-03-26  0:26 ` Darron Broad
2009-03-26  1:38   ` Udo A. Steinberg [this message]
2009-03-26  2:01     ` Darron Broad

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=20090326023841.40ab3ad1@laptop.hypervisor.org \
    --to=udo@hypervisor.org \
    --cc=darron@kewl.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@redhat.com \
    --cc=v4l-dvb-maintainer@linuxtv.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox