public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Add new TV cards of Beholder
@ 2009-11-10  4:37 Dmitri Belimov
  2009-11-23 21:28 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 16+ messages in thread
From: Dmitri Belimov @ 2009-11-10  4:37 UTC (permalink / raw)
  To: linux-media, video4linux-list

[-- Attachment #1: Type: text/plain, Size: 1888 bytes --]

Hi All

Add new TV cards of Beholder for autodetect.

diff -r 3919b17dc88e linux/drivers/staging/tm6000/tm6000-cards.c
--- a/linux/drivers/staging/tm6000/tm6000-cards.c	Wed Oct 14 12:52:55 2009 -0300
+++ b/linux/drivers/staging/tm6000/tm6000-cards.c	Tue Nov 10 08:05:15 2009 +0900
@@ -33,6 +33,7 @@
 #include "tm6000.h"
 #include "tm6000-regs.h"
 #include "tuner-xc2028.h"
+#include "tuner-xc5000.h"
 
 #define TM6000_BOARD_UNKNOWN			0
 #define TM5600_BOARD_GENERIC			1
@@ -193,6 +194,36 @@
 		},
 		.gpio_addr_tun_reset = TM6000_GPIO_2,
 	},
+	[TM6010_BOARD_BEHOLD_WANDER] = {
+		.name         = "Beholder Wander DVB-T/TV/FM USB2.0",
+		.tuner_type   = TUNER_XC5000,
+		.tuner_addr   = 0xc2 >> 1,
+		.demod_addr   = 0x1e >> 1,
+		.type         = TM6010,
+		.caps = {
+			.has_tuner    = 1,
+			.has_dvb      = 1,
+			.has_zl10353  = 1,
+			.has_eeprom   = 1,
+			.has_remote   = 1,
+		},
+		.gpio_addr_tun_reset = TM6000_GPIO_2,
+	},
+	[TM6010_BOARD_BEHOLD_VOYAGER] = {
+		.name         = "Beholder Voyager TV/FM USB2.0",
+		.tuner_type   = TUNER_XC5000,
+		.tuner_addr   = 0xc2 >> 1,
+		.type         = TM6010,
+		.caps = {
+			.has_tuner    = 1,
+			.has_dvb      = 0,
+			.has_zl10353  = 0,
+			.has_eeprom   = 1,
+			.has_remote   = 1,
+		},
+		.gpio_addr_tun_reset = TM6000_GPIO_2,
+	},
+
 };
 
 /* table of devices that work with this driver */
@@ -203,6 +234,8 @@
 	{ USB_DEVICE(0x14aa, 0x0620), .driver_info = TM6000_BOARD_FREECOM_AND_SIMILAR },
 	{ USB_DEVICE(0x06e1, 0xb339), .driver_info = TM6000_BOARD_ADSTECH_MINI_DUAL_TV },
 	{ USB_DEVICE(0x2040, 0x6600), .driver_info = TM6010_BOARD_HAUPPAUGE_900H },
+	{ USB_DEVICE(0x6000, 0xdec0), .driver_info = TM6010_BOARD_BEHOLD_WANDER },
+	{ USB_DEVICE(0x6000, 0xdec1), .driver_info = TM6010_BOARD_BEHOLD_VOYAGER },
 	{ },
 };
 
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>

With my best regards, Dmitry.

[-- Attachment #2: behold_usb.patch --]
[-- Type: text/x-patch, Size: 1803 bytes --]

diff -r 3919b17dc88e linux/drivers/staging/tm6000/tm6000-cards.c
--- a/linux/drivers/staging/tm6000/tm6000-cards.c	Wed Oct 14 12:52:55 2009 -0300
+++ b/linux/drivers/staging/tm6000/tm6000-cards.c	Tue Nov 10 08:05:15 2009 +0900
@@ -33,6 +33,7 @@
 #include "tm6000.h"
 #include "tm6000-regs.h"
 #include "tuner-xc2028.h"
+#include "tuner-xc5000.h"
 
 #define TM6000_BOARD_UNKNOWN			0
 #define TM5600_BOARD_GENERIC			1
@@ -193,6 +194,36 @@
 		},
 		.gpio_addr_tun_reset = TM6000_GPIO_2,
 	},
+	[TM6010_BOARD_BEHOLD_WANDER] = {
+		.name         = "Beholder Wander DVB-T/TV/FM USB2.0",
+		.tuner_type   = TUNER_XC5000,
+		.tuner_addr   = 0xc2 >> 1,
+		.demod_addr   = 0x1e >> 1,
+		.type         = TM6010,
+		.caps = {
+			.has_tuner    = 1,
+			.has_dvb      = 1,
+			.has_zl10353  = 1,
+			.has_eeprom   = 1,
+			.has_remote   = 1,
+		},
+		.gpio_addr_tun_reset = TM6000_GPIO_2,
+	},
+	[TM6010_BOARD_BEHOLD_VOYAGER] = {
+		.name         = "Beholder Voyager TV/FM USB2.0",
+		.tuner_type   = TUNER_XC5000,
+		.tuner_addr   = 0xc2 >> 1,
+		.type         = TM6010,
+		.caps = {
+			.has_tuner    = 1,
+			.has_dvb      = 0,
+			.has_zl10353  = 0,
+			.has_eeprom   = 1,
+			.has_remote   = 1,
+		},
+		.gpio_addr_tun_reset = TM6000_GPIO_2,
+	},
+
 };
 
 /* table of devices that work with this driver */
@@ -203,6 +234,8 @@
 	{ USB_DEVICE(0x14aa, 0x0620), .driver_info = TM6000_BOARD_FREECOM_AND_SIMILAR },
 	{ USB_DEVICE(0x06e1, 0xb339), .driver_info = TM6000_BOARD_ADSTECH_MINI_DUAL_TV },
 	{ USB_DEVICE(0x2040, 0x6600), .driver_info = TM6010_BOARD_HAUPPAUGE_900H },
+	{ USB_DEVICE(0x6000, 0xdec0), .driver_info = TM6010_BOARD_BEHOLD_WANDER },
+	{ USB_DEVICE(0x6000, 0xdec1), .driver_info = TM6010_BOARD_BEHOLD_VOYAGER },
 	{ },
 };
 
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>

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

* Re: [PATCH] Add new TV cards of Beholder
  2009-11-10  4:37 [PATCH] Add new TV cards of Beholder Dmitri Belimov
@ 2009-11-23 21:28 ` Mauro Carvalho Chehab
  2009-11-23 21:39   ` Devin Heitmueller
  2010-01-12  8:24   ` tm6000 Dmitri Belimov
  0 siblings, 2 replies; 16+ messages in thread
From: Mauro Carvalho Chehab @ 2009-11-23 21:28 UTC (permalink / raw)
  To: Dmitri Belimov; +Cc: linux-media, video4linux-list

Hi Dmitri,

I added this patch, but the driver is essentially broken. It would
be wonderful if you have some time to fix it.

Cheers,
Mauro.

Dmitri Belimov wrote:
> Hi All
> 
> Add new TV cards of Beholder for autodetect.
> 
> diff -r 3919b17dc88e linux/drivers/staging/tm6000/tm6000-cards.c
> --- a/linux/drivers/staging/tm6000/tm6000-cards.c	Wed Oct 14 12:52:55 2009 -0300
> +++ b/linux/drivers/staging/tm6000/tm6000-cards.c	Tue Nov 10 08:05:15 2009 +0900
> @@ -33,6 +33,7 @@
>  #include "tm6000.h"
>  #include "tm6000-regs.h"
>  #include "tuner-xc2028.h"
> +#include "tuner-xc5000.h"
>  
>  #define TM6000_BOARD_UNKNOWN			0
>  #define TM5600_BOARD_GENERIC			1
> @@ -193,6 +194,36 @@
>  		},
>  		.gpio_addr_tun_reset = TM6000_GPIO_2,
>  	},
> +	[TM6010_BOARD_BEHOLD_WANDER] = {
> +		.name         = "Beholder Wander DVB-T/TV/FM USB2.0",
> +		.tuner_type   = TUNER_XC5000,
> +		.tuner_addr   = 0xc2 >> 1,
> +		.demod_addr   = 0x1e >> 1,
> +		.type         = TM6010,
> +		.caps = {
> +			.has_tuner    = 1,
> +			.has_dvb      = 1,
> +			.has_zl10353  = 1,
> +			.has_eeprom   = 1,
> +			.has_remote   = 1,
> +		},
> +		.gpio_addr_tun_reset = TM6000_GPIO_2,
> +	},
> +	[TM6010_BOARD_BEHOLD_VOYAGER] = {
> +		.name         = "Beholder Voyager TV/FM USB2.0",
> +		.tuner_type   = TUNER_XC5000,
> +		.tuner_addr   = 0xc2 >> 1,
> +		.type         = TM6010,
> +		.caps = {
> +			.has_tuner    = 1,
> +			.has_dvb      = 0,
> +			.has_zl10353  = 0,
> +			.has_eeprom   = 1,
> +			.has_remote   = 1,
> +		},
> +		.gpio_addr_tun_reset = TM6000_GPIO_2,
> +	},
> +
>  };
>  
>  /* table of devices that work with this driver */
> @@ -203,6 +234,8 @@
>  	{ USB_DEVICE(0x14aa, 0x0620), .driver_info = TM6000_BOARD_FREECOM_AND_SIMILAR },
>  	{ USB_DEVICE(0x06e1, 0xb339), .driver_info = TM6000_BOARD_ADSTECH_MINI_DUAL_TV },
>  	{ USB_DEVICE(0x2040, 0x6600), .driver_info = TM6010_BOARD_HAUPPAUGE_900H },
> +	{ USB_DEVICE(0x6000, 0xdec0), .driver_info = TM6010_BOARD_BEHOLD_WANDER },
> +	{ USB_DEVICE(0x6000, 0xdec1), .driver_info = TM6010_BOARD_BEHOLD_VOYAGER },
>  	{ },
>  };
>  
> Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
> 
> With my best regards, Dmitry.
> 


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

* Re: [PATCH] Add new TV cards of Beholder
  2009-11-23 21:28 ` Mauro Carvalho Chehab
@ 2009-11-23 21:39   ` Devin Heitmueller
  2009-11-24  6:40     ` Dmitri Belimov
  2010-01-12  8:24   ` tm6000 Dmitri Belimov
  1 sibling, 1 reply; 16+ messages in thread
From: Devin Heitmueller @ 2009-11-23 21:39 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: Dmitri Belimov, linux-media, video4linux-list

On Mon, Nov 23, 2009 at 4:28 PM, Mauro Carvalho Chehab
<mchehab@redhat.com> wrote:
> Hi Dmitri,
>
> I added this patch, but the driver is essentially broken. It would
> be wonderful if you have some time to fix it.
>
> Cheers,
> Mauro.

Yeah, I saw his patch and was wondering why on Earth he submitted a
patch adding card support for a completely broken driver.  How could
he have validated the patch is correct?

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com

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

* Re: [PATCH] Add new TV cards of Beholder
  2009-11-23 21:39   ` Devin Heitmueller
@ 2009-11-24  6:40     ` Dmitri Belimov
  0 siblings, 0 replies; 16+ messages in thread
From: Dmitri Belimov @ 2009-11-24  6:40 UTC (permalink / raw)
  To: Devin Heitmueller; +Cc: Mauro Carvalho Chehab, linux-media, video4linux-list

Hi

Working tm6000 driver is my next task. I'll start with tm6000 around New Year.

With my best regards, Dmitry.

> On Mon, Nov 23, 2009 at 4:28 PM, Mauro Carvalho Chehab
> <mchehab@redhat.com> wrote:
> > Hi Dmitri,
> >
> > I added this patch, but the driver is essentially broken. It would
> > be wonderful if you have some time to fix it.
> >
> > Cheers,
> > Mauro.
> 
> Yeah, I saw his patch and was wondering why on Earth he submitted a
> patch adding card support for a completely broken driver.  How could
> he have validated the patch is correct?
> 
> Devin
> 
> -- 
> Devin J. Heitmueller - Kernel Labs
> http://www.kernellabs.com

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

* tm6000
  2009-11-23 21:28 ` Mauro Carvalho Chehab
  2009-11-23 21:39   ` Devin Heitmueller
@ 2010-01-12  8:24   ` Dmitri Belimov
  2010-01-12 11:50     ` tm6000 Mauro Carvalho Chehab
  1 sibling, 1 reply; 16+ messages in thread
From: Dmitri Belimov @ 2010-01-12  8:24 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media, video4linux-list

Hi

Who is maintainer of the tm6000 module??

With my best regards, Dmitry.

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

* Re: tm6000
  2010-01-12  8:24   ` tm6000 Dmitri Belimov
@ 2010-01-12 11:50     ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 16+ messages in thread
From: Mauro Carvalho Chehab @ 2010-01-12 11:50 UTC (permalink / raw)
  To: Dmitri Belimov; +Cc: linux-media, video4linux-list

Dmitri Belimov wrote:
> Hi
> 
> Who is maintainer of the tm6000 module??
> 
> With my best regards, Dmitry.
I wrote it, although I'm currently lacking time to fix the bugs.
Feel free to fix if you want. I have some boards here and I can
help testing on them.

Cheers,
Mauro.

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

* tm6000
  2010-03-14 20:19     ` Stefan Ringel
@ 2010-03-27 14:55       ` Stefan Ringel
  0 siblings, 0 replies; 16+ messages in thread
From: Stefan Ringel @ 2010-03-27 14:55 UTC (permalink / raw)
  To: linux-media; +Cc: Mauro Carvalho Chehab

Hi Mauro,

First, I have a question, in the function "int tm6000_cards_setup(struct
tm6000_core *dev)" have you reset gpio 1 and 4, but why? In my lastest
patch I have add a few sticks and it's works with and without this
part.What for sticks use this part? For a week I have become a email
with usbsnoop log from a tm5600 based stick and I have analysed it.
Resume is that I think it use two reset gpio's.

1. GPIO1  = 0
2. GPIO4 = 0
3. wait a few ms
4. GPIO1 = 1
5. GPIO4 = 1

/*
     * Default initialization. Most of the devices seem to use GPIO1
     * and GPIO4.on the same way, so, this handles the common sequence
     * used by most devices.
     * If a device uses a different sequence or different GPIO pins for
     * reset, just add the code at the board-specific part
     */
    for (i = 0; i < 2; i++) {
        rc = tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
                    dev->gpio.tuner_reset, 0x00);
        if (rc < 0) {
            printk(KERN_ERR "Error %i doing GPIO1 reset\n", rc);
            return rc;
        }

        msleep(10); /* Just to be conservative */
        rc = tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN,
                    dev->gpio.tuner_reset, 0x01);
        if (rc < 0) {
            printk(KERN_ERR "Error %i doing GPIO1 reset\n", rc);
            return rc;
        }

        msleep(10);
        rc = tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN, TM6000_GPIO_4, 0);
        if (rc < 0) {
            printk(KERN_ERR "Error %i doing GPIO4 reset\n", rc);
            return rc;
        }

        msleep(10);
        rc = tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN, TM6000_GPIO_4, 1);
        if (rc < 0) {
            printk(KERN_ERR "Error %i doing GPIO4 reset\n", rc);
            return rc;
        }

        if (!i) {
            rc = tm6000_get_reg16(dev, 0x40, 0, 0);
            if (rc >= 0)
                printk(KERN_DEBUG "board=%d\n", rc);
        }
    }

For a week I have become a email with usbsnoop log from a tm5600 based
stick and I have analysed it. Resume is that I think it use two reset
gpio's.

1. GPIO1  = 0
2. GPIO4 = 0
3. wait a few ms
4. GPIO1 = 1
5. GPIO4 = 1

So I think, if it a part from function tm6000_cards_setup is, then is
that part wrong and must remove to tuner_callback function.

Second, I will rewrite the gpio's into a struct.

for example:

in tm6000.h

struct tm6000_gpio {
    int        tuner_reset;
    int        tuner_on;
    int        demod_reset;
    int        demod_on;
    int        power_led;
    int        dvb_led;
    int        ir;
};

in tm6000_card.c

[TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE] = {
        .name         = "Terratec Cinergy Hybrid XE / Cinergy Hybrid-Stick",
        .tuner_type   = TUNER_XC2028, /* has a XC3028 */
        .tuner_addr   = 0xc2 >> 1,
        .demod_addr   = 0x1e >> 1,
        .type         = TM6010,
        .caps = {
            .has_tuner    = 1,
            .has_dvb    = 1,
            .has_zl10353    = 1,
            .has_eeprom    = 1,
            .has_remote    = 1,
        },
        .gpio = {
            .tuner_reset     = TM6010_GPIO_2,
            .tuner_on    = TM6010_GPIO_3,
            .demod_reset    = TM6010_GPIO_1,
            .demod_on    = TM6010_GPIO_4,
            .power_led    = TM6010_GPIO_7,
            .dvb_led    = TM6010_GPIO_5,
            .ir        = TM6010_GPIO_0,
        },
    },

The rest I send in the patch email. So can the gpio's define in the
board struct and using per label in the functions.

Stefan Ringel

-- 
Stefan Ringel <stefan.ringel@arcor.de>


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

* tm6000
  2010-04-27  6:07         ` Bee Hock Goh
@ 2010-04-28  5:49           ` Dmitri Belimov
  2010-04-28  7:32             ` tm6000 Bee Hock Goh
  2010-04-28 12:14             ` tm6000 Mauro Carvalho Chehab
  0 siblings, 2 replies; 16+ messages in thread
From: Dmitri Belimov @ 2010-04-28  5:49 UTC (permalink / raw)
  To: Bee Hock Goh; +Cc: Stefan Ringel, linux-media, Mauro Carvalho Chehab

Hi

Anyone can watch TV with tm6000 module??

I try mplayer. My PC crashed inside copy_streams function after some time.

With my best regards, Dmitry.

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

* Re: tm6000
  2010-04-28  5:49           ` tm6000 Dmitri Belimov
@ 2010-04-28  7:32             ` Bee Hock Goh
  2010-04-28 12:14             ` tm6000 Mauro Carvalho Chehab
  1 sibling, 0 replies; 16+ messages in thread
From: Bee Hock Goh @ 2010-04-28  7:32 UTC (permalink / raw)
  To: Dmitri Belimov; +Cc: Stefan Ringel, linux-media, Mauro Carvalho Chehab

its working fine on my tm5600. Run fine for more than 5mins without crashing.

But it does crashed everytime when its playing on the first channel
and I switch channel in mythtv. I am waiting for usb/serial cable to
arrive from ebay to find out why.

I hope to work on the audio part though.

On Wed, Apr 28, 2010 at 1:49 PM, Dmitri Belimov <d.belimov@gmail.com> wrote:
> Hi
>
> Anyone can watch TV with tm6000 module??
>
> I try mplayer. My PC crashed inside copy_streams function after some time.
>
> With my best regards, Dmitry.
>

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

* Re: tm6000
  2010-04-28  5:49           ` tm6000 Dmitri Belimov
  2010-04-28  7:32             ` tm6000 Bee Hock Goh
@ 2010-04-28 12:14             ` Mauro Carvalho Chehab
  1 sibling, 0 replies; 16+ messages in thread
From: Mauro Carvalho Chehab @ 2010-04-28 12:14 UTC (permalink / raw)
  To: Dmitri Belimov; +Cc: Bee Hock Goh, Stefan Ringel, linux-media

Dmitri Belimov wrote:
> Hi
> 
> Anyone can watch TV with tm6000 module??
> 
> I try mplayer. My PC crashed inside copy_streams function after some time.
> 
> With my best regards, Dmitry.

It is still causing panic on my tests. Probably, the routine is still writing
something out of the buffer area.

-- 

Cheers,
Mauro

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

* tm6000
@ 2010-05-05  4:50 Dmitri Belimov
  2010-05-05  5:44 ` tm6000 Bee Hock Goh
  0 siblings, 1 reply; 16+ messages in thread
From: Dmitri Belimov @ 2010-05-05  4:50 UTC (permalink / raw)
  To: linux-media, mchehab, Stefan Ringel, Bee Hock Goh

Hi 

At this moment I can start mplayer and see green field with some junk without crash.
Info from mplayer - received 497 frames, drop 69 incorrect frames.

Compile without support DVB-T for our cards.

Now try understand init process working drivers and diff with linux.

P.S. Linux kernel is 2.6.33

With my best regards, Dmitry.

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

* Re: tm6000
  2010-05-05  4:50 tm6000 Dmitri Belimov
@ 2010-05-05  5:44 ` Bee Hock Goh
  2010-05-05  7:27   ` tm6000 Dmitri Belimov
  0 siblings, 1 reply; 16+ messages in thread
From: Bee Hock Goh @ 2010-05-05  5:44 UTC (permalink / raw)
  To: Dmitri Belimov; +Cc: linux-media, mchehab, Stefan Ringel

Did you comment off the code in the get_next_buff that clear the
previous frame data?

On Wed, May 5, 2010 at 12:50 PM, Dmitri Belimov <d.belimov@gmail.com> wrote:
> Hi
>
> At this moment I can start mplayer and see green field with some junk without crash.
> Info from mplayer - received 497 frames, drop 69 incorrect frames.
>
> Compile without support DVB-T for our cards.
>
> Now try understand init process working drivers and diff with linux.
>
> P.S. Linux kernel is 2.6.33
>
> With my best regards, Dmitry.
>

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

* Re: tm6000
  2010-05-05  5:44 ` tm6000 Bee Hock Goh
@ 2010-05-05  7:27   ` Dmitri Belimov
  2010-05-05  7:47     ` tm6000 Bee Hock Goh
  2010-05-05 13:58     ` tm6000 Mauro Carvalho Chehab
  0 siblings, 2 replies; 16+ messages in thread
From: Dmitri Belimov @ 2010-05-05  7:27 UTC (permalink / raw)
  To: Bee Hock Goh; +Cc: linux-media, mchehab, Stefan Ringel

On Wed, 5 May 2010 13:44:38 +0800
Bee Hock Goh <beehock@gmail.com> wrote:

> Did you comment off the code in the get_next_buff that clear the
> previous frame data?

No. 

Git tree + my last patch.

With my best regards, Dmitry.

> On Wed, May 5, 2010 at 12:50 PM, Dmitri Belimov <d.belimov@gmail.com>
> wrote:
> > Hi
> >
> > At this moment I can start mplayer and see green field with some
> > junk without crash. Info from mplayer - received 497 frames, drop
> > 69 incorrect frames.
> >
> > Compile without support DVB-T for our cards.
> >
> > Now try understand init process working drivers and diff with linux.
> >
> > P.S. Linux kernel is 2.6.33
> >
> > With my best regards, Dmitry.
> >

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

* Re: tm6000
  2010-05-05  7:27   ` tm6000 Dmitri Belimov
@ 2010-05-05  7:47     ` Bee Hock Goh
  2010-05-05 13:58     ` tm6000 Mauro Carvalho Chehab
  1 sibling, 0 replies; 16+ messages in thread
From: Bee Hock Goh @ 2010-05-05  7:47 UTC (permalink / raw)
  To: Dmitri Belimov; +Cc: linux-media, mchehab, Stefan Ringel

If you do that you will get some decent looking video.

On Wed, May 5, 2010 at 3:27 PM, Dmitri Belimov <d.belimov@gmail.com> wrote:
> On Wed, 5 May 2010 13:44:38 +0800
> Bee Hock Goh <beehock@gmail.com> wrote:
>
>> Did you comment off the code in the get_next_buff that clear the
>> previous frame data?
>
> No.
>
> Git tree + my last patch.
>
> With my best regards, Dmitry.
>
>> On Wed, May 5, 2010 at 12:50 PM, Dmitri Belimov <d.belimov@gmail.com>
>> wrote:
>> > Hi
>> >
>> > At this moment I can start mplayer and see green field with some
>> > junk without crash. Info from mplayer - received 497 frames, drop
>> > 69 incorrect frames.
>> >
>> > Compile without support DVB-T for our cards.
>> >
>> > Now try understand init process working drivers and diff with linux.
>> >
>> > P.S. Linux kernel is 2.6.33
>> >
>> > With my best regards, Dmitry.
>> >
>

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

* Re: tm6000
  2010-05-05  7:27   ` tm6000 Dmitri Belimov
  2010-05-05  7:47     ` tm6000 Bee Hock Goh
@ 2010-05-05 13:58     ` Mauro Carvalho Chehab
  1 sibling, 0 replies; 16+ messages in thread
From: Mauro Carvalho Chehab @ 2010-05-05 13:58 UTC (permalink / raw)
  To: Dmitri Belimov; +Cc: Bee Hock Goh, linux-media, Stefan Ringel

Dmitri Belimov wrote:
> On Wed, 5 May 2010 13:44:38 +0800
> Bee Hock Goh <beehock@gmail.com> wrote:
> 
>> Did you comment off the code in the get_next_buff that clear the
>> previous frame data?
> 
> No. 
> 
> Git tree + my last patch.
> 

A "green" tree can happen due to lots of conditions, like:
	1) it is not receiving data from xc3028 (or xc5000);
	2) wrong gpio setup;
	3) data sent too fast to tm6000;
	4) need to add some new workarounds to another tm6000 firmware/hardware bug;
	5) the device stopped answer and got disconnected from USB buffer;
	6) signal were too weak after changing to some channel (it seems that the tm6000 
	   chip stops reception with weak signals - I remember I had to add a code that 
	   re-enables xc3028 every time a channel is changed due to this bug, since,
	   after disabled, even if the signal become strong, it keeps showing a green
	   screen);
	7) you hit yet another bug on this device ;)

-- 

Cheers,
Mauro

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

* tm6000
@ 2010-05-18  7:35 Dmitri Belimov
  0 siblings, 0 replies; 16+ messages in thread
From: Dmitri Belimov @ 2010-05-18  7:35 UTC (permalink / raw)
  To: linux-media, mchehab, Stefan Ringel, Bee Hock Goh

Hi 

tm6000 progress bar :-)

At this moment I can watch TV with mplayer without sound.
Our card based on the xc5000 and tm6010
It is possible with my last patch for xc5000 tuner.

Next task is a sound, check init process and stds settings.

P.S. Compile without support DVB-T frontend for our cards. Linux kernel is 2.6.33

With my best regards, Dmitry.

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

end of thread, other threads:[~2010-05-18  7:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-10  4:37 [PATCH] Add new TV cards of Beholder Dmitri Belimov
2009-11-23 21:28 ` Mauro Carvalho Chehab
2009-11-23 21:39   ` Devin Heitmueller
2009-11-24  6:40     ` Dmitri Belimov
2010-01-12  8:24   ` tm6000 Dmitri Belimov
2010-01-12 11:50     ` tm6000 Mauro Carvalho Chehab
  -- strict thread matches above, loose matches on Subject: below --
2010-03-10 17:57 [PATCH] tm6000: add new hybrid-stick stefan.ringel
2010-03-14  7:11 ` Stefan Ringel
2010-03-14 18:26   ` Mauro Carvalho Chehab
2010-03-14 20:19     ` Stefan Ringel
2010-03-27 14:55       ` tm6000 Stefan Ringel
2010-04-23  0:48 [PATCH] tm6000 fix i2c Dmitri Belimov
2010-04-23 15:15 ` Stefan Ringel
2010-04-26  0:25   ` Dmitri Belimov
2010-04-26 12:58     ` Bee Hock Goh
2010-04-27  5:15       ` Dmitri Belimov
2010-04-27  6:07         ` Bee Hock Goh
2010-04-28  5:49           ` tm6000 Dmitri Belimov
2010-04-28  7:32             ` tm6000 Bee Hock Goh
2010-04-28 12:14             ` tm6000 Mauro Carvalho Chehab
2010-05-05  4:50 tm6000 Dmitri Belimov
2010-05-05  5:44 ` tm6000 Bee Hock Goh
2010-05-05  7:27   ` tm6000 Dmitri Belimov
2010-05-05  7:47     ` tm6000 Bee Hock Goh
2010-05-05 13:58     ` tm6000 Mauro Carvalho Chehab
2010-05-18  7:35 tm6000 Dmitri Belimov

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