Skip to contentSkip to conversation

Leadtek DTV2000H rev J - no digital tv, no sound but I have got analog vision

linux-dvb mick 3 participants 6 messages Jul 16, 2008 – Aug 24, 2008 Media (V4L/DVB)

lore
Share & tools
lore

mick

author
#0 lore raw

A couple of days ago I finally managed to get the latest source for v4l-dvb to d/l & build and then add a patch (from a croatian contributor - lost the link) for my Leadtek DTV2000H rev J.

I now have picture on analog using either motv or tvtime applications but can get no sound or digital tv.

Where can I turn next?

/]/]ik

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#1 lore raw

Hi Mick,

Am Mittwoch, den 16.07.2008, 16:21 +1000 schrieb mick:

Quoted 11 lines

A couple of days ago I finally managed to get the latest source for v4l-dvb to d/l & build and then add a patch (from a croatian contributor - lost the link) for my Leadtek DTV2000H rev J.

I now have picture on analog using either motv or tvtime applications but can get no sound or digital tv.

Where can I turn next?

/]/]ik

have a look at the patch here and further messages.
http://www.spinics.net/lists/vfl/msg37257.html

Mauro is waiting for somebody to test it and giving him at least a Reviewed-by-line before adding the card.

Cheers,
Hermann

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

author
#2 lore raw
Quoted 10 lines · On Thu, 17 Jul 2008 04:19:08 you wrote:

Hi Mick,

Am Mittwoch, den 16.07.2008, 16:21 +1000 schrieb mick:

Quoted 7 lines

A couple of days ago I finally managed to get the latest source for v4l-dvb to d/l & build and then add a patch (from a croatian contributor
- lost the link) for my Leadtek DTV2000H rev J.

I now have picture on analog using either motv or tvtime applications but can get no sound or digital tv.

Quoted 6 lines
Quoted 3 lines

Where can I turn next?

/]/]ik

have a look at the patch here and further messages.
http://www.spinics.net/lists/vfl/msg37257.html

I downloaded the latest v4l-dvb and this patch (which contains a patch to cx88-mpeg.c that wasn't in the patch I had), applied it and got the following error trying to build.

root@cave:~/v4l-dvb# make
make -C /root/v4l-dvb/v4l
make[1]: Entering directory `/root/v4l-dvb/v4l'
creating symbolic links...
Kernel build directory is /lib/modules/2.6.26cave1/build
make -C /lib/modules/2.6.26cave1/build SUBDIRS=/root/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-2.6.26'
  CC [M]  /root/v4l-dvb/v4l/cx88-video.o
  CC [M]  /root/v4l-dvb/v4l/cx88-vbi.o
  CC [M]  /root/v4l-dvb/v4l/cx88-mpeg.o
/root/v4l-dvb/v4l/cx88-mpeg.c: In function 'cx8802_start_dma':
/root/v4l-dvb/v4l/cx88-mpeg.c:108: error: invalid operands to binary ==
make[3]: *** [/root/v4l-dvb/v4l/cx88-mpeg.o] Error 1
make[2]: *** [_module_/root/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.26'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/v4l-dvb/v4l'
make: *** [all] Error 2
root@cave:~/v4l-dvb#

The failing code is
...

	/* FIXME: this needs a review.
	 * also: move to cx88-blackbird + cx88-dvb source files? */
/*****/
	if ((core->board) == CX88_BOARD_WINFAST_DTV2000H_J)
                  cx_write(MO_GP0_IO, 0x00017300);

/******/ /*switch signal input to antena*/

	dprintk( 1, "core->active_type_id = 0x%08x\n", core->active_type_id);

	if ( (core->active_type_id == CX88_MPEG_DVB) &&
		(core->board.mpeg & CX88_MPEG_DVB) ) {

		dprintk( 1, "cx8802_start_dma doing .dvb\n");

...

I've looked for something obvious but nothing jump out at me I'm using kubuntu 8.04 x86_64 with gcc 4.2.3 and fresh kernel.org 2.6.26 source

mick

Quoted 5 lines

Mauro is waiting for somebody to test it and giving him at least a Reviewed-by-line before adding the card.

Cheers,
Hermann

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

author
#3 lore raw
Quoted 42 lines · On Wed, 30 Jul 2008 12:44:16 mick wrote:
Quoted 10 lines · On Thu, 17 Jul 2008 04:19:08 you wrote:

Hi Mick,

Am Mittwoch, den 16.07.2008, 16:21 +1000 schrieb mick:

Quoted 7 lines

A couple of days ago I finally managed to get the latest source for v4l-dvb to d/l & build and then add a patch (from a croatian contributor - lost the link) for my Leadtek DTV2000H rev J.

I now have picture on analog using either motv or tvtime applications but can get no sound or digital tv.

Quoted 6 lines
Quoted 3 lines

Where can I turn next?

/]/]ik

have a look at the patch here and further messages.
http://www.spinics.net/lists/vfl/msg37257.html

I downloaded the latest v4l-dvb and this patch (which contains a patch to cx88-mpeg.c that wasn't in the patch I had), applied it and got the following error trying to build.

root@cave:~/v4l-dvb# make
make -C /root/v4l-dvb/v4l
make[1]: Entering directory `/root/v4l-dvb/v4l'
creating symbolic links...
Kernel build directory is /lib/modules/2.6.26cave1/build
make -C /lib/modules/2.6.26cave1/build SUBDIRS=/root/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-2.6.26'
  CC [M]  /root/v4l-dvb/v4l/cx88-video.o
  CC [M]  /root/v4l-dvb/v4l/cx88-vbi.o
  CC [M]  /root/v4l-dvb/v4l/cx88-mpeg.o
/root/v4l-dvb/v4l/cx88-mpeg.c: In function 'cx8802_start_dma':
/root/v4l-dvb/v4l/cx88-mpeg.c:108: error: invalid operands to binary ==
make[3]: *** [/root/v4l-dvb/v4l/cx88-mpeg.o] Error 1
make[2]: *** [_module_/root/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.26'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/v4l-dvb/v4l'
make: *** [all] Error 2
root@cave:~/v4l-dvb#
Quoted 9 lines

The failing code is
...

	/* FIXME: this needs a review.
	 * also: move to cx88-blackbird + cx88-dvb source files? */
/*****/
	if ((core->board) == CX88_BOARD_WINFAST_DTV2000H_J)
                  cx_write(MO_GP0_IO, 0x00017300);

/******/ /*switch signal input to antena*/

I think I have found the problem with that bit of code;
replacing Zbynek Hrabovsky's patch of cx88-mpeg.c with:
diff -Naur /usr/src/linux/drivers/media/video/cx88/cx88-mpeg.c /usr/src/linux/drivers/media/video/cx88-patched/cx88-mpeg.c
--- /usr/src/linux/drivers/media/video/cx88/cx88-mpeg.c 2007-10-09
22:31:38.000000000 +0200
+++ /usr/src/linux/drivers/media/video/cx88-patched/cx88-mpeg.c 2008-01-07
23:28:29.000000000 +0100
@@ -103,6 +103,7 @@
/* FIXME: this needs a review.
* also: move to cx88-blackbird + cx88-dvb source files? */

+ if ((core->boardnr) == CX88_BOARD_WINFAST_DTV2000H_2)
+ cx_write(MO_GP0_IO, 0x00017300);
+ /*switch signal input to antena*/
dprintk( 1, "core->active_type_id = 0x%08x\n", core->active_type_id);

if ( (core->active_type_id == CX88_MPEG_DVB) &&

compiles successfully.

still can't get the a tv app to find channels

mick

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#4 lore raw
Quoted 72 lines · mick
Quoted 42 lines · On Wed, 30 Jul 2008 12:44:16 mick wrote:
Quoted 10 lines · On Thu, 17 Jul 2008 04:19:08 you wrote:

Hi Mick,

Am Mittwoch, den 16.07.2008, 16:21 +1000 schrieb mick:

Quoted 7 lines

A couple of days ago I finally managed to get the latest source for v4l-dvb to d/l & build and then add a patch (from a croatian contributor - lost the link) for my Leadtek DTV2000H rev J.

I now have picture on analog using either motv or tvtime applications but can get no sound or digital tv.

Quoted 6 lines
Quoted 3 lines

Where can I turn next?

/]/]ik

have a look at the patch here and further messages.
http://www.spinics.net/lists/vfl/msg37257.html

I downloaded the latest v4l-dvb and this patch (which contains a patch to cx88-mpeg.c that wasn't in the patch I had), applied it and got the following error trying to build.

root@cave:~/v4l-dvb# make
make -C /root/v4l-dvb/v4l
make[1]: Entering directory `/root/v4l-dvb/v4l'
creating symbolic links...
Kernel build directory is /lib/modules/2.6.26cave1/build
make -C /lib/modules/2.6.26cave1/build SUBDIRS=/root/v4l-dvb/v4l  modules
make[2]: Entering directory `/usr/src/linux-2.6.26'
  CC [M]  /root/v4l-dvb/v4l/cx88-video.o
  CC [M]  /root/v4l-dvb/v4l/cx88-vbi.o
  CC [M]  /root/v4l-dvb/v4l/cx88-mpeg.o
/root/v4l-dvb/v4l/cx88-mpeg.c: In function 'cx8802_start_dma':
/root/v4l-dvb/v4l/cx88-mpeg.c:108: error: invalid operands to binary ==
make[3]: *** [/root/v4l-dvb/v4l/cx88-mpeg.o] Error 1
make[2]: *** [_module_/root/v4l-dvb/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.26'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/root/v4l-dvb/v4l'
make: *** [all] Error 2
root@cave:~/v4l-dvb#
Quoted 9 lines

The failing code is
...

	/* FIXME: this needs a review.
	 * also: move to cx88-blackbird + cx88-dvb source files? */
/*****/
	if ((core->board) == CX88_BOARD_WINFAST_DTV2000H_J)
                  cx_write(MO_GP0_IO, 0x00017300);

/******/ /*switch signal input to antena*/

I think I have found the problem with that bit of code;
replacing Zbynek Hrabovsky's patch of cx88-mpeg.c with:
diff -Naur /usr/src/linux/drivers/media/video/cx88/cx88-mpeg.c /usr/src/linux/drivers/media/video/cx88-patched/cx88-mpeg.c
--- /usr/src/linux/drivers/media/video/cx88/cx88-mpeg.c 2007-10-09
22:31:38.000000000 +0200
+++ /usr/src/linux/drivers/media/video/cx88-patched/cx88-mpeg.c 2008-01-07
23:28:29.000000000 +0100

(quoted diff) +3 -0
@@ -103,6 +103,7 @@
 	/* FIXME: this needs a review.
 	 * also: move to cx88-blackbird + cx88-dvb source files? */
 
+	if ((core->boardnr) == CX88_BOARD_WINFAST_DTV2000H_2)
+                 cx_write(MO_GP0_IO, 0x00017300);
+             /*switch signal input to antena*/
 	dprintk( 1, "core->active_type_id = 0x%08x\n", core->active_type_id);
 
 	if ( (core->active_type_id == CX88_MPEG_DVB) &&

compiles successfully.

Quoted 8 lines

still can't get the a tv app to find channels

mick

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Hi Mick,

Are you getting radio, analogue and digital TV with this card now? I've got digital TV, which is reasonably easy, (see
http://wiki.linuxmce.org/index.php/Leadtek_DTV2000H if you don't) but haven't managed to get radio or analogue going.

On this topic, do you find this card seems to strugle with HD TV? or is something in my system?

cheers

Jon

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb