Skip to contentSkip to conversation

Bug in HVR1300. Found part of a patch, if reverted bug seems to be gone

DISCUSSION Frank Sagurna 3 participants 3 messages Oct 13, 2009 – Oct 16, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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/[email protected]/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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrTliUACgkQrcfRHnkKaDb/SQCgg5g/dfWvESwwKPLM0Jy6j0gb dx4AoIDDqZvHzZMaEp9Sml7lUDM9WirF
=ry/E
-----END PGP SIGNATURE-----

#1 lore raw

Re: Bug in HVR1300. Found part of a patch, if reverted bug seems to be gone [spam-bayes][heur][spf]

Quoted 9 lines · Frank Sagurna

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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:

Quoted 8 lines

https://bugs.launchpad.net/mythtv/+bug/439163 (starting from comment #16)

Anyway, i digged it down to this patch:
http://www.mail-archive.com/[email protected]/msg02195.html

When reverting the following part of the patch it starts working again:

snip----------

Thanks Frank. I'll pick up this patch and start the merge process.

Regards,

- Steve

#2 lore raw
In reply to Frank Sagurna
Quoted 3 lines

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:

Noted.

Thanks

Signature · 2 lines
Steven Toth - Kernel Labs
http://www.kernellabs.com