All of lore.kernel.org
 help / color / mirror / Atom feed
* bisected regression in tuner-xc2028 on DVICO dual digital 4
@ 2009-11-05  3:00 Robert Lowery
  2009-11-05  4:51 ` Devin Heitmueller
  0 siblings, 1 reply; 33+ messages in thread
From: Robert Lowery @ 2009-11-05  3:00 UTC (permalink / raw)
  To: linux-media

Hi,

I have been having some difficulties getting my DVICO dual digital 4
(rev1) working with recent kernels, failing to tune and getting errors
like the following

kernel: [ 315.032076] dvb-usb: bulk message failed: -110 (4/0)
kernel: [ 315.032080] cxusb: i2c read failed

and making the machine very slow as documented at
https://bugs.launchpad.net/ubuntu/+source/linux-meta/+bug/459523

Using the v4l-dvb tree, I was able to bisect the issue down to
http://linuxtv.org/hg/v4l-dvb/rev/7276a5854219

At first I though I could workaround the issue by setting no_poweroff=1,
but that did not work.  The following diff did however resolve the issue.

diff -r 43878f8dbfb0 linux/drivers/media/common/tuners/tuner-xc2028.c
--- a/linux/drivers/media/common/tuners/tuner-xc2028.c        Sun Nov 01
07:17:46
2009 -0200
+++ b/linux/drivers/media/common/tuners/tuner-xc2028.c        Tue Nov 03
14:24:05
2009 +1100
@@ -1240,7 +1240,7 @@
         .get_frequency     = xc2028_get_frequency,
         .get_rf_strength   = xc2028_signal,
         .set_params        = xc2028_set_params,
-        .sleep             = xc2028_sleep,
+        //.sleep             = xc2028_sleep,
 #if 0
         int (*get_bandwidth)(struct dvb_frontend *fe, u32 *bandwidth);
         int (*get_status)(struct dvb_frontend *fe, u32 *status);

This led me to dvb_frontend.c where I could see i2c_gate_ctrl() was being
called if .sleep was non zero.  Setting dvb_powerdown_on_sleep=0 worked
around the issue by stoppign i2c_gate_ctrl() being called, so I suspect
i2c_gate_ctrl() is triggering the issue somehow.

Any thoughts on a proper solution for this issue?

-Rob




^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: bisected regression in tuner-xc2028 on DVICO dual digital 4
@ 2009-11-09  1:43 Barry Williams
  2009-11-09  1:52 ` Devin Heitmueller
  0 siblings, 1 reply; 33+ messages in thread
From: Barry Williams @ 2009-11-09  1:43 UTC (permalink / raw)
  To: linux-media

Devin Heitmueller wrote:
> On Sun, Nov 8, 2009 at 6:46 PM, Barry Williams <bazzawill@gmail.com> wrote:
>> Where would I find your local tree as I can't seem to get the patch to
>> apply and I would like to take advantage of this patch asap.
>> Thanks
>> Barry
>
> I pushed out my tree with the fix:
>
> http://kernellabs.com/hg/~dheitmueller/misc-fixes-4
>
> I haven't issued a PULL yet to put it into the mainline since I have a
> couple of other things pending.
>
> Devin
>

Hi Devin
I tried your tree and I seem to get the same problem on one box I get
the flood of 'dvb-usb: bulk message failed: -110 (1/0'.
Scan shows: 'ATAL: failed to open '/dev/dvb/adapter0/frontend0': 2 No
such file or directory on adapter0' and fails to tune adapter1 with :
scanning /usr/share/dvb/dvb-t/au-Adelaide
using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
initial transponder 226500000 1 3 9 3 1 1 0
initial transponder 177500000 1 3 9 3 1 1 0
initial transponder 191625000 1 3 9 3 1 1 0
initial transponder 219500000 1 3 9 3 1 1 0
initial transponder 564500000 1 2 9 3 1 2 0
>>> tune to: 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 177500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 191625000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 191625000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 219500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_3_4:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_16:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 564500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 564500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.

On my second box with the same card I get a flood of :
[12341.364016] dvb-usb: bulk message failed: -2 (4/0)
[12341.364019] cxusb: i2c read failed
but similar results with scan.
Barry

^ permalink raw reply	[flat|nested] 33+ messages in thread

end of thread, other threads:[~2009-11-09 16:49 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-05  3:00 bisected regression in tuner-xc2028 on DVICO dual digital 4 Robert Lowery
2009-11-05  4:51 ` Devin Heitmueller
2009-11-05  5:23   ` Robert Lowery
2009-11-05  7:37     ` Building a distribution with v4l-dvb vdr
2009-11-05 14:02     ` bisected regression in tuner-xc2028 on DVICO dual digital 4 Devin Heitmueller
2009-11-05 20:57       ` Vincent McIntyre
2009-11-05 21:04         ` Devin Heitmueller
2009-11-05 23:45           ` Robert Lowery
2009-11-05 23:51             ` Devin Heitmueller
2009-11-06  0:13               ` Robert Lowery
2009-11-06  2:31                 ` Robert Lowery
2009-11-06  2:43                   ` Devin Heitmueller
2009-11-07  0:59                     ` Vincent McIntyre
2009-11-07  1:43                       ` Devin Heitmueller
2009-11-07 11:28                         ` Vincent McIntyre
2009-11-08  2:40                           ` Devin Heitmueller
2009-11-08 14:16                             ` Devin Heitmueller
     [not found]                               ` <4AF75844.2040601@gmail.com>
2009-11-08 23:55                                 ` Devin Heitmueller
2009-11-08 22:51                             ` Vincent McIntyre
2009-11-09  1:43 Barry Williams
2009-11-09  1:52 ` Devin Heitmueller
2009-11-09  2:01   ` Barry Williams
2009-11-09  2:16     ` Vincent McIntyre
2009-11-09  2:34     ` Devin Heitmueller
2009-11-09  3:58       ` Barry Williams
2009-11-09  4:06         ` Devin Heitmueller
2009-11-09  4:35           ` Barry Williams
2009-11-09  4:47             ` Devin Heitmueller
2009-11-09  5:17               ` Barry Williams
2009-11-09  5:59                 ` Barry Williams
2009-11-09 16:50                   ` Devin Heitmueller
2009-11-09  2:54     ` Robert Lowery
2009-11-09  3:04       ` Devin Heitmueller

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.