All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darron Broad <darron@kewl.org>
To: "Udo A. Steinberg" <udo@hypervisor.org>
Cc: darron@kewl.org, 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 00:26:47 +0000	[thread overview]
Message-ID: <29212.1238027207@kewl.org> (raw)
In-Reply-To: <20090326000932.6aa1a456@laptop.hypervisor.org>

In message <20090326000932.6aa1a456@laptop.hypervisor.org>, "Udo A. Steinberg" wrote:
>
>Hi,
>
>The following patch
>http://kerneltrap.org/mailarchive/git-commits-head/2008/10/13/3643574
>that was added between 2.6.27 and 2.6.28 has resulted in my Hauppauge
>WinTV IR remote not working anymore. I've tracked down the breakage to:
>
>if (dev!=3D0x1e && dev!=3D0x1f)=20
>  return 0;
>
>in drivers/media/video/ir-kbd-i2c.c
>
>My remote sends with dev=3D0x0 and is the following model:
>http://www.phphuoc.com/reviews/tvtuner_hauppauge_wintv_theater/index_files/=
>image001.jpg
>
>Removing the check results in the remote working again. Is there a way to
>convince the remote to send a different dev? Otherwise I guess the check
>should be relaxed.

You are correct. I happen to have one of those ancient remote
controls myself and it does use device address 0.

Please refer to http://www.sbprojects.com/knowledge/ir/rc5.htm
for an overview of device addresses.

It's something I forget to deal with in that patch. A solution
would be to allow a device address to be a module param to
override the more modern addresses of 0x1e and 0x1f.

I can't remember addresses off the top of my head but I believe
the modern silver remotes use 0x1f and the older black ones
use 0x1e. I think the black one I have came with a now dead
DEC2000.

The problem with reverting the patch is that it makes modern
systems unusable as HTPCs when the television uses RC5. This
is a more important IMHO than supporting what in reality is
an obsolete remote control.

cya!

--

 // /
{:)==={ Darron Broad <darron@kewl.org>
 \\ \ 


  reply	other threads:[~2009-03-26  0:56 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 [this message]
2009-03-26  1:38   ` Udo A. Steinberg
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=29212.1238027207@kewl.org \
    --to=darron@kewl.org \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@redhat.com \
    --cc=udo@hypervisor.org \
    --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 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.