public inbox for linux-media@vger.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; 19+ 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] 19+ messages in thread

end of thread, other threads:[~2009-11-08 23:55 UTC | newest]

Thread overview: 19+ 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox