Bug 15235 - Unable to scan/view channel for Magic Pro HDTV DMB-TH Tuner unless draining video is disabled in driver
Summary: Unable to scan/view channel for Magic Pro HDTV DMB-TH Tuner unless draining v...
Status: RESOLVED OBSOLETE
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: dvb-usb (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: dvb-usb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-05 15:39 UTC by H.W. Wan
Modified: 2013-12-10 18:04 UTC (History)
2 users (show)

See Also:
Kernel Version: 2.6.32
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description H.W. Wan 2010-02-05 15:39:19 UTC
Without commenting out the following lines in cxusb, I'm not able to use the tuner probably:


--- cxusb.c.orig        2009-12-03 11:51:21.000000000 +0800
+++ cxusb.c     2010-02-05 02:08:41.000000000 +0800
@@ -370,7 +370,7 @@
 {
       if (onoff) {
               u8 buf[2] = { 0x03, 0x00 };
-               cxusb_d680_dmb_drain_video(adap->dev);
+//             cxusb_d680_dmb_drain_video(adap->dev);
               return cxusb_ctrl_msg(adap->dev, CMD_STREAMING_ON,
                       buf, sizeof(buf), NULL, 0);
       } else {
@@ -1135,8 +1135,8 @@

       /* Drain USB pipes to avoid hang after reboot */
       for (n = 0;  n < 5;  n++) {
-               cxusb_d680_dmb_drain_message(d);
-               cxusb_d680_dmb_drain_video(d);
+//             cxusb_d680_dmb_drain_message(d);
+//             cxusb_d680_dmb_drain_video(d);
               msleep(200);
       }


This is not a formal patch submission since this may break other user.Hope someone can get a proper fix.

Note You need to log in before you can comment on or make changes to this bug.