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

Boleslaw Ciesielski bolek-mythtv at curl.com
Sat Aug 25 21:01:54 CEST 2007


On 8/7/07, Geoffrey Hausheer <inli3epy93n at phracturedblue.com> 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.
> It turns out that ever since the lgh06xf driver was removed, my card
> has been unable to tune.  However this is only true after a hard-boot.
>  If I boot into an earlier driver, tune it once and get a lock, then
> soft-boot unto a recent driver, it works fine.
>
> I didn't really dig into that, but comparing dvb_pll_attach to
> lgh06xf_attach I noticed the only significant difference was some
> extra i2c stuff.
>
> Specifically this:
>               ret = i2c_transfer (i2c, &msg, 1);
>               if (ret != 1)
>                       return NULL;
>
> Well, I checked, and, indeed, we fall through here and abort the
> attach before all the callbacks are registered.  Since the lgh06xf
> didn't even do this, I just ignored the return code, and voila, my
> HD5000 tunes fine again.

FWIW, I just wanted to confirm that I have the same problem and that
Geoffrey's patch/hack fixes it for me.

Bolek




More information about the linux-dvb mailing list