* Re: Bug in HVR1300. Found part of a patch, if reverted
@ 2011-05-12 14:14 Mike
2011-07-05 1:17 ` Devin Heitmueller
0 siblings, 1 reply; 3+ messages in thread
From: Mike @ 2011-05-12 14:14 UTC (permalink / raw)
To: linux-media
Hi there
in the latest kernel (and all those since when the patch was written)
this patch is still required for the HVR-1300 to work, any chance of it
getting incorporated?
thanks
Mike
> Hi list,
>
> there seems to be a bug in cx88 (HVR1300) that is responsible for not
> switching channels, and not being able to scan.
> Complete description can be found on launchpad:
>
> https://bugs.launchpad.net/mythtv/+bug/439163 (starting from comment #16)
>
> Anyway, i digged it down to this patch:
> http://www.mail-archive.com/linuxtv-commits@xxxxxxxxxxx/msg02195.html
>
> When reverting the following part of the patch it starts working again:
>
> snip----------
>
> diff -r 576096447a45 -r d2eedb425718
> linux/drivers/media/video/cx88/cx88-dvb.c
> - --- a/linux/drivers/media/video/cx88/cx88-dvb.c Thu Dec 18 07:28:18
2008
> - -0200
> +++ b/linux/drivers/media/video/cx88/cx88-dvb.c Thu Dec 18 07:28:35 2008
> - -0200
> @@ -1135,40 +1135,44 @@ static int cx8802_dvb_advise_acquire(str
> * on the bus. Take the bus from the cx23416 and enable the
> * cx22702 demod
> */
> - - cx_set(MO_GP0_IO, 0x00000080); /* cx22702 out of reset and
> enable */
> + /* Toggle reset on cx22702 leaving i2c active */
> + cx_set(MO_GP0_IO, 0x00000080);
> + udelay(1000);
> + cx_clear(MO_GP0_IO, 0x00000080);
> + udelay(50);
> + cx_set(MO_GP0_IO, 0x00000080);
> + udelay(1000);
> + /* enable the cx22702 pins */
> cx_clear(MO_GP0_IO, 0x00000004);
> udelay(1000);
> break;
> - ---------snip
>
> Regards
>
> Frank Sagurna
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug in HVR1300. Found part of a patch, if reverted
2011-05-12 14:14 Bug in HVR1300. Found part of a patch, if reverted Mike
@ 2011-07-05 1:17 ` Devin Heitmueller
2011-07-09 17:12 ` Mike
0 siblings, 1 reply; 3+ messages in thread
From: Devin Heitmueller @ 2011-07-05 1:17 UTC (permalink / raw)
To: Mike; +Cc: linux-media
On Thu, May 12, 2011 at 10:14 AM, Mike <michael.stock@iinet.net.au> wrote:
> Hi there
>
> in the latest kernel (and all those since when the patch was written) this
> patch is still required for the HVR-1300 to work, any chance of it getting
> incorporated?
>
> thanks
> Mike
Hello Mike,
Please try out the following patch which has been submitted upstream,
which should fix the actual underlying problem (the patch that has
been circulating in Launchpad 439163 doesn't fix the *actual* issue).
https://launchpadlibrarian.net/74557311/frontend_dvb_init.patch
The above patch has been submitted for upstream inclusion, so feedback
from users would be useful.
Thanks,
Devin
--
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bug in HVR1300. Found part of a patch, if reverted
2011-07-05 1:17 ` Devin Heitmueller
@ 2011-07-09 17:12 ` Mike
0 siblings, 0 replies; 3+ messages in thread
From: Mike @ 2011-07-09 17:12 UTC (permalink / raw)
To: Devin Heitmueller; +Cc: linux-media
On Thu, May 12, 2011 at 10:14 AM, Mike <michael.stock@iinet.net.au> wrote:
>> Hi there
>>
>> in the latest kernel (and all those since when the patch was written) this
>> patch is still required for the HVR-1300 to work, any chance of it getting
>> incorporated?
>>
>> thanks
>> Mike
> Hello Mike,
>
> Please try out the following patch which has been submitted upstream,
> which should fix the actual underlying problem (the patch that has
> been circulating in Launchpad 439163 doesn't fix the *actual* issue).
>
> https://launchpadlibrarian.net/74557311/frontend_dvb_init.patch
>
> The above patch has been submitted for upstream inclusion, so feedback
> from users would be useful.
>
> Thanks,
>
> Devin
>
Hi Devin,
thankyou very much for investigating and patching.
unfortunately for me, my system (ubuntu 10.04 with 2.6.32-32) will not
boot to try it...
After downloading source via "git clone
git://linuxtv.org/media_build.git" and successfully patching, compiling
and installing the modules using a text terminal, i reboot and before i
get to X my system hangs about 30 seconds into the boot process right
after a bunch of messages warning me about using backported media build
on an old kernel ("don't use it for production" etc etc).
i would be more than happy to test your patch but i'm sorry i'm not sure
what to do about that booting problem. i think i will need to try to
find a way to re-install the standard ubuntu media modules into my
2.6.32-32 module directories (whilst running a different kernel) to even
allow my system to boot on 2.6.32-32 !!
Mike
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-07-09 17:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-12 14:14 Bug in HVR1300. Found part of a patch, if reverted Mike
2011-07-05 1:17 ` Devin Heitmueller
2011-07-09 17:12 ` Mike
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).