[linux-dvb] [PATCH] Fix for Air2PC HD5000

Geoffrey Hausheer inli3epy93n at phracturedblue.com
Wed Aug 8 17:21:31 CEST 2007

On 8/8/07, Michael Krufky mkrufky-at-linuxtv.org wrote:
> On 8/7/07, Geoffrey Hausheer wrote:
> > I have been unable to tune my HD5000 using recent kernels for quite
> > some time, and I finally broke down and tried to figure out what is
> > going on.
> Geoffrey,
> Could you give us some more information about your problem?
> ie:  What was the last working kernel version? / When did these
> problems first appear?  / Do you have the same problem after
> installing the newer modules from linuxtv.org v4l-dvb hg repository?
> /  Could you test using the hg modules against an older kernel
> revision?  /  When testing using hg modules against an older kernel
> revision, is your patch still required to allow tuning?

Sorry, I guess I didn't make that clear.  2.6.22 doesn't work with my
HD5000 and neither does latest hg.  I don't know the last kernel that
does, but I do know that this is the changeset that broke it for me:

changeset:   5365:77f63fdfba48
user:        Trent Piepho <xyzzy at speakeasy.org>
date:        Tue Feb 27 15:11:11 2007 -0800
summary:     dvb: Remove lgh06xf driver

If I go back one more from this, it works fine, anything after this, I
need to apply my patch.  I have tested this on both 2.6.19 and 2.6.22
(that this same changeset causes the issue).  So at least in my case,
it is localized to this single change and my card works fine using
latest hg and my patch on both 2.6.19 and 2.6.22.  It also works fine
on with my patch applied (not using hg drivers)

> My reasons for asking these questions are decribed below:
> I have been informed that the HD5000 has a problem under 2.6.22.y,
> where it will correctly tune the first set of params sent to the
> device, but all attempts thereafter do not work.  If you are always
> trying to tune the same frequency / pid, you would not notice the
> problem.  I don't think that this is the problem that you're
> experiencing.
No my problem doesn't seem to be the same.  It is odd though, because
my card does not work at all with any drivers since February, and
apparently not everyone sees this behavior.

> I did some testing last weekend, and I confirm the same problem under
> vanilla 2.6.22.y , and we'll have to do a git bisection test to
> discover the cause.  However, I am sure that the cause of this problem
> does NOT lie within the code of the dvb subsystem -- If you install
> the most recent hg against an older kernel, there is no problem -- all
> works correctly.
Again, for me running (debian kernel) I can use my card just
fine with both latest hg and the kernel supplied as long as I apply my

> Although your patch may appear to fix your problem, I suspect that it
> is really curing a symptom of the problem, and not the cause.
This is possible.  I don't know anything at all about i2c.  I just
tried to reverted the negative consequences of the patch which broke
my system.

I would be interested in confirmation whether this simple patch works
for others who are broken on 2.6.22 (though from what you've said it
doesn't sound too likely)

By the way, I am only using the card for ATSC broadcasts.  i don't
have digital cable, and can't test its QCAM support.

More information about the linux-dvb mailing list