public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-09-04 23:26 stev391
  2008-09-05  4:17 ` Thomas Goerke
  2008-09-05 13:23 ` Steven Toth
  0 siblings, 2 replies; 33+ messages in thread
From: stev391 @ 2008-09-04 23:26 UTC (permalink / raw)
  To: Thomas Goerke, 'jackden'; +Cc: linux-dvb

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


> ----- Original Message -----
> From: "Thomas Goerke" <tom@goeng.com.au>
> To: stev391@email.com, "'jackden'" <jackden@gmail.com>
> Subject: RE: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> Date: Sun, 31 Aug 2008 19:22:31 +0800
>
>
> > Tom,
> > (Jackden please try first patch and provide feedback, if that doesn't
> > work for your card, then try this and provide feedback)
> >
> > The second dmesg (with debugging) didn't show me what I was looking
> > for, but from past experience I will try something else.  I was looking
> > for some dma errors from the cx23885 driver, these usually occured
> > while streaming is being attempted.
> >
> > Attached to this email is another patch.  The difference between the
> > first one and the second one is that I load an extra module (cx25840),
> > which normally is not required for DVB as it is part of the analog side
> > of this card.  This does NOT mean analog will be supported.
> >
> > As of today the main v4l-dvb can be used with this patch and this means
> > that the cx23885-leadtek tree will soon disappear. So step 2 above has
> > been modified to: "Check out the latest v4l-dvb source".
> >
> > Other then that step 4 has a different file name for the patch.
> >
> > Steps that need to be completed are: 2, 3, 4, 5, 7, 9, 10 & 11. (As you
> > have completed the missing steps already).
> >
> > If the patch works, please do not stop communicating, as I have to
> > perform one more patch to prove that cx25840 is required and my
> > assumptions are correct. Once this is completed I will send it to
> > Steven Toth for inclusion in his test tree. This will need to be tested
> > by you again, and if all is working well after a week or more it will
> > be included into the main tree.
> >
> > Regards,
> > Stephen
> >
> >
> > --
>
> Stephen,
>
> After following Steven Toth's advice re CPIA, applying your patch and then
> make, make install, I can now report that the Compro E800F card is working!
> This is very impressive and thanks for your help.
>
> I have added the card to MythTV and all channels were successfully added.  I
> am not sure about the comparable signal strength's compared to the Hauppauge
> Nova card I also have installed - this is something I can provide feedback
> on at a later stage.
>
> I have tried from a soft and hard reset and all seems ok.
>
> See below for the o/p from dmesg.  Please let  me know if there is anything
> else you would like to try/test.
>
> Tom
>
---Snip---


Tom,

Attached is another patch,  this will break the support for your card, but proves that the 
cx25840 module is required for the DVB-T side of this card.  So before applying the patch make 
sure you have a copy of the working patch handy (or even two copies of the source tree).

Follow the same steps I had for the v0.1 patch, but use the attached (v0.2) patch.  The symptons will be the same as the original patch, i.e. no errors in dmesg, but unable to scam/tune.

Also can you please look at the other IC's on the board and see if you identify them for me.  
I'm looking for an eeprom or similiar IC, as I will need to distinguish between the various 
different boards.  Also if you can get a dump of what is on the eeprom and provide it (or put it 
on the wiki page, or both).  I'm not sure how to do this safely yet, so if you have time google 
is your friend (i2cdump might to the trick).

Thanks,
Stephen


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


[-- Attachment #2: Compro_VideoMate_E650_V0.2.patch --]
[-- Type: application/octet-stream, Size: 4555 bytes --]

diff -Naur v4l-dvb/linux/Documentation/video4linux/CARDLIST.cx23885 v4l-dvb_dev/linux/Documentation/video4linux/CARDLIST.cx23885
--- v4l-dvb/linux/Documentation/video4linux/CARDLIST.cx23885	2008-08-31 07:55:32.000000000 +1000
+++ v4l-dvb_dev/linux/Documentation/video4linux/CARDLIST.cx23885	2008-09-05 08:07:19.000000000 +1000
@@ -11,3 +11,4 @@
  10 -> DViCO FusionHDTV7 Dual Express                      [18ac:d618]
  11 -> DViCO FusionHDTV DVB-T Dual Express                 [18ac:db78]
  12 -> Leadtek Winfast PxDVR3200 H                         [107d:6681]
+ 13 -> Compro VideoMate E650				   [185b:e800]
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885-cards.c v4l-dvb_dev/linux/drivers/media/video/cx23885/cx23885-cards.c
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885-cards.c	2008-08-31 07:55:32.000000000 +1000
+++ v4l-dvb_dev/linux/drivers/media/video/cx23885/cx23885-cards.c	2008-09-05 08:07:19.000000000 +1000
@@ -159,6 +159,10 @@
 		.name		= "Leadtek Winfast PxDVR3200 H",
 		.portc		= CX23885_MPEG_DVB,
 	},
+	[CX23885_BOARD_COMPRO_VIDEOMATE_E650] = {
+		.name		= "Compro VideoMate E650",
+		.portc		= CX23885_MPEG_DVB,
+	},
 };
 const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
 
@@ -238,6 +242,10 @@
 		.subvendor = 0x107d,
 		.subdevice = 0x6681,
 		.card      = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
+	}, {
+		.subvendor = 0x185b,
+		.subdevice = 0xe800,
+		.card      = CX23885_BOARD_COMPRO_VIDEOMATE_E650,
 	},
 };
 const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -358,6 +366,7 @@
 	case CX23885_BOARD_HAUPPAUGE_HVR1500:
 	case CX23885_BOARD_HAUPPAUGE_HVR1500Q:
 	case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
 		/* Tuner Reset Command */
 		bitmask = 0x04;
 		break;
@@ -510,6 +519,16 @@
 		mdelay(20);
 		cx_set(GP0_IO, 0x00040004);
 		break;
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
+		/* GPIO-2  xc3008 tuner reset */
+
+		/* Put the parts into reset and back */
+		cx_set(GP0_IO, 0x00040000);
+		mdelay(20);
+		cx_clear(GP0_IO, 0x00000004);
+		mdelay(20);
+		cx_set(GP0_IO, 0x00040004);
+		break;
 	}
 }
 
@@ -598,6 +617,7 @@
 	case CX23885_BOARD_HAUPPAUGE_HVR1700:
 	case CX23885_BOARD_HAUPPAUGE_HVR1400:
 	case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
 	default:
 		ts2->gen_ctrl_val  = 0xc; /* Serial bus + punctured clock */
 		ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -612,6 +632,7 @@
 	case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
 	case CX23885_BOARD_HAUPPAUGE_HVR1700:
 	case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
 		request_module("cx25840");
 		break;
 	}
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885-dvb.c v4l-dvb_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885-dvb.c	2008-08-31 07:55:32.000000000 +1000
+++ v4l-dvb_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c	2008-09-05 08:07:19.000000000 +1000
@@ -503,6 +503,7 @@
 		break;
 	}
 	case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
 		i2c_bus = &dev->i2c_bus[0];
 
 		port->dvb.frontend = dvb_attach(zl10353_attach,
diff -Naur v4l-dvb/linux/drivers/media/video/cx23885/cx23885.h v4l-dvb_dev/linux/drivers/media/video/cx23885/cx23885.h
--- v4l-dvb/linux/drivers/media/video/cx23885/cx23885.h	2008-08-31 07:55:32.000000000 +1000
+++ v4l-dvb_dev/linux/drivers/media/video/cx23885/cx23885.h	2008-09-05 08:07:19.000000000 +1000
@@ -67,6 +67,7 @@
 #define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
 #define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
 #define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12
+#define CX23885_BOARD_COMPRO_VIDEOMATE_E650 13
 
 /* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */
 #define CX23885_NORMS (\
diff -Naur v4l-dvb/linux/drivers/media/video/cx25840/cx25840-core.c v4l-dvb_dev/linux/drivers/media/video/cx25840/cx25840-core.c
--- v4l-dvb/linux/drivers/media/video/cx25840/cx25840-core.c	2008-08-31 07:55:32.000000000 +1000
+++ v4l-dvb_dev/linux/drivers/media/video/cx25840/cx25840-core.c	2008-09-05 08:08:04.000000000 +1000
@@ -1438,11 +1438,11 @@
 	state->id = id;
 	state->rev = device_id;
 
-	if (state->is_cx23885) {
+//	if (state->is_cx23885) {
 		/* Drive GPIO2 direction and values */
-		cx25840_write(client, 0x160, 0x1d);
-		cx25840_write(client, 0x164, 0x00);
-	}
+//		cx25840_write(client, 0x160, 0x1d);
+//		cx25840_write(client, 0x164, 0x00);
+//	}
 
 	return 0;
 }

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-09-07  1:44 stev391
  0 siblings, 0 replies; 33+ messages in thread
From: stev391 @ 2008-09-07  1:44 UTC (permalink / raw)
  To: jackden; +Cc: linux dvb

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


> ----- Original Message -----
> From: jackden@gmail.com
> To: stev391@email.com
> Subject: Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> Date: Fri, 5 Sep 2008 23:32:42 +0800
>
>
> 2008/9/5, stev391@email.com <stev391@email.com>:
> >
>   ---Snip---
> >> [  274.439468] xc2028 3-0061: seek_firmware called, want type=D2620
> >> DTV6 (28), id 0000000000000000.
> >> [  274.439472] xc2028 3-0061: Can't find firmware for type=D2620 DTV6
> >> (28), id 0000000000000000.
> >> [  274.439475] xc2028 3-0061: load_firmware called
> >> [  274.439477] xc2028 3-0061: seek_firmware called, want type=D2620
> >> DTV6 (28), id 0000000000000000.
> >> [  274.439481] xc2028 3-0061: Can't find firmware for type=D2620 DTV6
> >> (28), id 0000000000000000.
> >>
> >> hmm...
> >> have error message, Can't find firmware for want type=D2620 DTV6
> >>
> >> ----=Jackden in Google=----
> >> --=Jackden@Gmail.com=--
> >
> > Jackden,
> >
> > This seems to be an issue in tuner_xc2028 module.  I can reproduce this on
> > my computer and are currently looking into it.
> >
> > The firmware type it should be loading in this situation is D2620 DTV6 QAM,
> > as this is the only one available that partially matches the criteria.
> >
> > Can you also look at the IC's on the board, and try and identify the eeprom
> > and possibly grab the data off it.
> >
> > Regards,
> > Stephen.
> >
> > --
> > Be Yourself @ mail.com!
> > Choose From 200+ Email Addresses
> > Get a Free Account at www.mail.com
> >
> Stephen,
>    I updated chip's image on the board in wiki.
> (http://linuxtv.org/wiki/index.php/Compro_VideoMate_E650#Other_images)
> I can't look at the IC's on E650 board.
> What can i do,now?
>
> ----=Jackden in Google=----
> --=Jackden@Gmail.com=--

Jackden,

Attached is a patch that you should apply to the v4l-dvb tree that fixes the firmware load 
issue.  It is a quick fix, and is not the ideal solution (Does not break other firmwares, but 
should be automatically found).  I will have to find a better way of achieving this, but for now 
it should allow you to test my patches for the Compro VideoMate series.

So apply this patch then one of the previously provided patches for the Compro VideoMate, 
providing results as requested. (Repeat for each of the 3 previous patches).

Regards,

Stephen


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


[-- Attachment #2: D2620_DTV6_QAM_fix.patch --]
[-- Type: application/octet-stream, Size: 592 bytes --]

diff -Naur v4l-dvb/linux/drivers/media/common/tuners/tuner-xc2028.c v4l-dvb_tuner_fw_fix/linux/drivers/media/common/tuners/tuner-xc2028.c
--- v4l-dvb/linux/drivers/media/common/tuners/tuner-xc2028.c	2008-08-04 18:43:28.000000000 +1000
+++ v4l-dvb_tuner_fw_fix/linux/drivers/media/common/tuners/tuner-xc2028.c	2008-09-07 11:34:44.000000000 +1000
@@ -438,6 +438,10 @@
 
 	type &= type_mask;
 
+	/* Manually override type for D2620 DTV6 with D2620 DTV6 QAM as this is the only solution */
+	if (type == (D2620 + DTV6))
+		type = D2620 + DTV6 + QAM;
+
 	if (!(type & SCODE))
 		type_mask = ~0;
 

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-09-07  1:24 stev391
  0 siblings, 0 replies; 33+ messages in thread
From: stev391 @ 2008-09-07  1:24 UTC (permalink / raw)
  To: jackden; +Cc: linux dvb


> ----- Original Message -----
> From: jackden <jackden@gmail.com>
> To: stev391@email.com
> Subject: Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> Date: Sun, 7 Sep 2008 08:46:20 +0800
> 
> 
> 2008/9/7  <stev391@email.com>:
> >
> >> ----- Original Message -----
> >> From: "Thomas Goerke" <tom@goeng.com.au>
> >> To: stev391@email.com, "'jackden'" <jackden@gmail.com>
> >> Subject: RE: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> >> Date: Sat, 6 Sep 2008 12:56:15 +0800
> >>
> >>
> >> >
> >> > Tom,
> >> >
> >> > So the V0.2 patch worked after a cold reboot (No power to the computer
> >> > then starting up again). Is that what you are saying?
> >> > (Make sure that the v0.1 modules are not loaded on boot up if you are
> >> > testing V0.2)
> >> >
> >> > I was expecting the DMA timeout errors when using V0.2 from a cold
> >> > start, it should not have caused it to break for a warm start (i.e.
> >> > V0.1 modules loaded, then removed and v0.2 modules loaded).
> >> >
> >> > Sorry to ask for clarification, as the results were not what I was
> >> > expecting.
> >> >
> >> > Can you try the:
> >> > modprobe cx23885 i2c_scan=1
> >> > That Steve Suggested.
> >> >
> >> > Thanks
> >> >
> >> > Stephen
> >> Stephen,
> >>
> >> V0.1
> >>       Cold Reset (0ff for 10 second): No errors from dmesg
> >>                                                       Can tune and watch
> >> channels
> >>       Warm Reset (ie sudo reboot):            Many errors in dmesg
> >>                                                       Can tune and watch
> >> channels
> >> V0.2
> >>       Cold Reset (0ff for 10 second): No errors from dmesg
> >>                                                       Can tune and watch
> >> channels
> >>       Warm Reset (ie sudo reboot):            Many errors in dmesg
> >>                                                       Tuning fails.
> >> Unable to watch channels
> >>
> >> Wrt sudo modprobe cx23885 i2c_scan=1, where are you expecting the output?
> >> Given that the module is already loaded do I need to modify the
> >> modprobe.d/cx23885 file to include the option and then reboot?
> >>
> >> With regard to ensuring V0.1 modules are not loaded when using V0.2, the
> >> method I have used is to have two completely different v4l_dvb source
> >> directories and doing a make, sudo make install to use the different
> >> versions.  I have assumed that this will copy the modules over the top of
> >> the old modules.  Please let me know if this is not correct.
> >>
> >> If you want me to reboot with new option let me know.
> >>
> >> Thanks
> >>
> >> Tom
> >
> > Tom & Jackden,
> >
> > to use the i2c_scan:
> > sudo rmmod cx23885
> > sudo modprobe cx24885 i2c_scan=1
> >
> > dmesg
> >
> > Now in dmesg you should see something like:
> > [ 8235.464732] cx23885[0]: i2c bus 0 registered
> > [ 8235.467566] cx23885[0]: i2c scan: found device @ 0x1e  [???]
> > [ 8235.476222] cx23885[0]: i2c scan: found device @ 0xa0  [eeprom]
> > [ 8235.476698] cx23885[0]: i2c scan: found device @ 0xa4  [???]
> > [ 8235.477366] cx23885[0]: i2c scan: found device @ 0xa8  [???]
> > [ 8235.477640] cx23885[0]: i2c scan: found device @ 0xac  [???]
> > [ 8235.479082] cx23885[0]: i2c scan: found device @ 0xc2  [tuner/mt2131/tda8275/xc5000/xc3028]
> > [ 8235.480459] cx23885[0]: i2c scan: found device @ 0xd6  [???]
> > [ 8235.480987] cx23885[0]: i2c scan: found device @ 0xde  [???]
> > [ 8235.483249] cx23885[0]: i2c bus 1 registered
> > [ 8235.485687] cx23885[0]: i2c scan: found device @ 0x1e  [???]
> > [ 8235.496382] cx23885[0]: i2c scan: found device @ 0xc2  [tuner/mt2131/tda8275/xc5000/xc3028]
> > [ 8235.500428] cx23885[0]: i2c bus 2 registered
> > [ 8235.502458] cx23885[0]: i2c scan: found device @ 0x66  [???]
> > [ 8235.503269] cx23885[0]: i2c scan: found device @ 0x88  [cx25837]
> > [ 8235.503774] cx23885[0]: i2c scan: found device @ 0x98  [???]
> >
> > This will have the cards initialisation before and after it, I just need the i2c scan results.
> >
> > Then to get the results from the eeprom scan:
> > sudo modprobe i2c-dev
> > sudo i2cdetect -l
> > (take note which i2c device matches the one above with the eeprom, this example assumes 0)
> > sudo i2cdump 0 0x50
> > (Note the i2c address has to be divided by 2 from what the scan above states, so 0xa0 -> 0x50)
> >
> > Then you should get an output in the terminal, copy this and send it to me (and the list).
> >
> > Regards,
> >
> > Stephen.
> >
> >
> Stephen,
> 
> that is output in my computer.
> 
> sudo rmmod cx23885
> sudo modprobe cx24885 i2c_scan=1
> dmesg
> --
> [131266.163729] cx23885[0]: i2c bus 0 registered
> [131266.166447] cx23885[0]: i2c scan: found device @ 0x1e  [???]
> [131266.175808] cx23885[0]: i2c scan: found device @ 0xa0  [eeprom]
> [131266.179689] cx23885[0]: i2c scan: found device @ 0xd0  [???]
> [131266.185552] cx23885[0]: i2c bus 1 registered
> [131266.199921] cx23885[0]: i2c scan: found device @ 0xc2
---Snip---
> sudo modprobe i2c-dev
> --
> [131474.253584] i2c /dev entries driver
> 
> sudo i2cdetect -l
> --
> i2c-0	smbus     	SMBus nForce2 adapter at 4c00   	SMBus adapter
> i2c-1	smbus     	SMBus nForce2 adapter at 4c40   	SMBus adapter
> i2c-5	i2c       	NVIDIA i2c adapter              	I2C adapter
> i2c-6	i2c       	NVIDIA i2c adapter              	I2C adapter
> i2c-7	i2c       	NVIDIA i2c adapter              	I2C adapter
> i2c-2	i2c       	cx23885[0]                      	I2C adapter
> i2c-3	i2c       	cx23885[0]                      	I2C adapter
> i2c-4	i2c       	cx23885[0]                      	I2C adapter
> 
> 
> sudo i2cdump 0 0x50 (because E650 card's eeprom in 0xa0, 0xa0/2=0x50)
---Snip---
> ----=Jackden in Google=----
> --=Jackden@Gmail.com=--

Jackden,

in the i2cdump command you have queried the wrong i2c bus, from the results above you should have issued this command:
sudo i2cdump 2 0x50
Can you please try again (The 2 comes from the i2c device listed in i2cdetect -l that corresponds to the first bus of the cx23885)

Sorry if I was unclear in my previous email.

Regards,
Stephen.


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-09-07  0:29 stev391
  2008-09-07  1:06 ` Thomas Goerke
  0 siblings, 1 reply; 33+ messages in thread
From: stev391 @ 2008-09-07  0:29 UTC (permalink / raw)
  To: Thomas Goerke, 'jackden'; +Cc: linux-dvb


> ----- Original Message -----
> From: "Thomas Goerke" <tom@goeng.com.au>
> To: stev391@email.com, "'jackden'" <jackden@gmail.com>
> Subject: RE: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> Date: Sat, 6 Sep 2008 12:56:15 +0800
> 
> 
> >
> > Tom,
> >
> > So the V0.2 patch worked after a cold reboot (No power to the computer
> > then starting up again). Is that what you are saying?
> > (Make sure that the v0.1 modules are not loaded on boot up if you are
> > testing V0.2)
> >
> > I was expecting the DMA timeout errors when using V0.2 from a cold
> > start, it should not have caused it to break for a warm start (i.e.
> > V0.1 modules loaded, then removed and v0.2 modules loaded).
> >
> > Sorry to ask for clarification, as the results were not what I was
> > expecting.
> >
> > Can you try the:
> > modprobe cx23885 i2c_scan=1
> > That Steve Suggested.
> >
> > Thanks
> >
> > Stephen
> Stephen,
> 
> V0.1
> 	Cold Reset (0ff for 10 second):	No errors from dmesg
> 							Can tune and watch
> channels
> 	Warm Reset (ie sudo reboot):		Many errors in dmesg
> 							Can tune and watch
> channels
> V0.2
> 	Cold Reset (0ff for 10 second):	No errors from dmesg
> 							Can tune and watch
> channels
> 	Warm Reset (ie sudo reboot):		Many errors in dmesg
> 							Tuning fails.
> Unable to watch channels
> 
> Wrt sudo modprobe cx23885 i2c_scan=1, where are you expecting the output?
> Given that the module is already loaded do I need to modify the
> modprobe.d/cx23885 file to include the option and then reboot?
> 
> With regard to ensuring V0.1 modules are not loaded when using V0.2, the
> method I have used is to have two completely different v4l_dvb source
> directories and doing a make, sudo make install to use the different
> versions.  I have assumed that this will copy the modules over the top of
> the old modules.  Please let me know if this is not correct.
> 
> If you want me to reboot with new option let me know.
> 
> Thanks
> 
> Tom

Tom & Jackden,

to use the i2c_scan:
sudo rmmod cx23885
sudo modprobe cx24885 i2c_scan=1

dmesg

Now in dmesg you should see something like:
[ 8235.464732] cx23885[0]: i2c bus 0 registered
[ 8235.467566] cx23885[0]: i2c scan: found device @ 0x1e  [???]
[ 8235.476222] cx23885[0]: i2c scan: found device @ 0xa0  [eeprom]
[ 8235.476698] cx23885[0]: i2c scan: found device @ 0xa4  [???]
[ 8235.477366] cx23885[0]: i2c scan: found device @ 0xa8  [???]
[ 8235.477640] cx23885[0]: i2c scan: found device @ 0xac  [???]
[ 8235.479082] cx23885[0]: i2c scan: found device @ 0xc2  [tuner/mt2131/tda8275/xc5000/xc3028]
[ 8235.480459] cx23885[0]: i2c scan: found device @ 0xd6  [???]
[ 8235.480987] cx23885[0]: i2c scan: found device @ 0xde  [???]
[ 8235.483249] cx23885[0]: i2c bus 1 registered
[ 8235.485687] cx23885[0]: i2c scan: found device @ 0x1e  [???]
[ 8235.496382] cx23885[0]: i2c scan: found device @ 0xc2  [tuner/mt2131/tda8275/xc5000/xc3028]
[ 8235.500428] cx23885[0]: i2c bus 2 registered
[ 8235.502458] cx23885[0]: i2c scan: found device @ 0x66  [???]
[ 8235.503269] cx23885[0]: i2c scan: found device @ 0x88  [cx25837]
[ 8235.503774] cx23885[0]: i2c scan: found device @ 0x98  [???]

This will have the cards initialisation before and after it, I just need the i2c scan results.

Then to get the results from the eeprom scan:
sudo modprobe i2c-dev
sudo i2cdetect -l 
(take note which i2c device matches the one above with the eeprom, this example assumes 0)
sudo i2cdump 0 0x50 
(Note the i2c address has to be divided by 2 from what the scan above states, so 0xa0 -> 0x50)

Then you should get an output in the terminal, copy this and send it to me (and the list).

Regards,

Stephen.




-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-09-05 22:13 stev391
  2008-09-06  4:56 ` Thomas Goerke
  0 siblings, 1 reply; 33+ messages in thread
From: stev391 @ 2008-09-05 22:13 UTC (permalink / raw)
  To: Thomas Goerke, stev391, 'jackden'; +Cc: linux-dvb


> ----- Original Message -----
> From: "Thomas Goerke" <tom@goeng.com.au>
> To: stev391@email.com, "'jackden'" <jackden@gmail.com>
> Subject: RE: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog	TV/FM capture card
> Date: Fri, 5 Sep 2008 12:40:19 +0800
> 
> 
> >
> > OK..some interesting feedback.  Your patch works, but only after a cold
> > reset.   I initially double checked I had applied the correct patch
> > i.e.
> > 	hg clone http://linuxtv.org/hg/v4l-dvb
> > 	cd v4l-dvb
> > 	make
> > 	patch -p1 < ../patch/Compro_VideoMate_E650_V0.2.patch
> > 	make
> > 	sudo make install
> >
> > and it seems that I did ;-).
> >
> > After a warm reboot the card does not work.  See below for outputs from
> > both
> > dmesg.  You will notice that for the second one (fail condition) the
> > kernel
> > ring buffer has been filled and seems to have wiped out the initial
> > messages.
> >
> > In terms of the ic descriptions these are the chips on the board (I
> > will
> > update the wiki):
> > 	CX23885-132					- AV Decoder
> > 	CX23417-11Z					- MPEG 2 Encoder
> > 	ZL10353 0619T S				- Demodulator
> > 	ETRONTECH EM638325ts-6G			- 2M x 32 bit Synchronous
> > DRAM (SDRAM)
> > 	XCEIVE  XC3008ACQ AK50113.2		- Video Tuner
> > 	ELAN EM78P156ELMH-G			- 8 bit microprocessor
> > 	HT24LC02					- 2K 2-Wire CMOS
> > Serial EEPROM
> > 	IDT QS3257					- High-Speed CMOS
> > QuickSwitch Quad 2:1 Mux/Demux
> > 	1509						- PWM Buck DC/DC
> > Converter??
> >
> > With regard to reading the eeprom, I don't have time at the moment to
> > search
> > but will look into it if someone can provide somepointers.
> >
> > Tom
> >
> --snip --
> 
> 
> Stephen,
> 
> I have just loaded the working modules from previous patch and all worked
> fine after cold reset.  However, after warm reset (sudo reboot) I get
> similar errors in the kernel ring buffer.  The card is still working and I
> can view channels etc.
> 
> Output from dmesg:
> 

---Snip---

Tom,

So the V0.2 patch worked after a cold reboot (No power to the computer then starting up again). Is that what you are saying?
(Make sure that the v0.1 modules are not loaded on boot up if you are testing V0.2)

I was expecting the DMA timeout errors when using V0.2 from a cold start, it should not have caused it to break for a warm start (i.e. V0.1 modules loaded, then removed and v0.2 modules loaded).

Sorry to ask for clarification, as the results were not what I was expecting.

Can you try the:
modprobe cx23885 i2c_scan=1
That Steve Suggested.

Thanks

Stephen


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-09-01  0:12 stev391
  2008-09-02 16:15 ` Steven Toth
  0 siblings, 1 reply; 33+ messages in thread
From: stev391 @ 2008-09-01  0:12 UTC (permalink / raw)
  To: Steven Toth, Thomas Goerke; +Cc: linux-dvb, 'jackden'


> ----- Original Message -----
> From: "Steven Toth" <stoth@linuxtv.org>
> To: "Thomas Goerke" <tom@goeng.com.au>
> Subject: Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> Date: Sun, 31 Aug 2008 18:10:32 -0400
> 
> 
> Thomas Goerke wrote:
> >> Tom,
> >> (Jackden please try first patch and provide feedback, if that doesn't
> >> work for your card, then try this and provide feedback)
> >>
> >> The second dmesg (with debugging) didn't show me what I was looking
> >> for, but from past experience I will try something else.  I was looking
> >> for some dma errors from the cx23885 driver, these usually occured
> >> while streaming is being attempted.
> >>
> >> Attached to this email is another patch.  The difference between the
> >> first one and the second one is that I load an extra module (cx25840),
> >> which normally is not required for DVB as it is part of the analog side
> >> of this card.  This does NOT mean analog will be supported.
> >>
> >> As of today the main v4l-dvb can be used with this patch and this means
> >> that the cx23885-leadtek tree will soon disappear. So step 2 above has
> >> been modified to: "Check out the latest v4l-dvb source".
> >>
> >> Other then that step 4 has a different file name for the patch.
> >>
> >> Steps that need to be completed are: 2, 3, 4, 5, 7, 9, 10 & 11. (As you
> >> have completed the missing steps already).
> >>
> >> If the patch works, please do not stop communicating, as I have to
> >> perform one more patch to prove that cx25840 is required and my
> >> assumptions are correct. Once this is completed I will send it to
> >> Steven Toth for inclusion in his test tree. This will need to be tested
> >> by you again, and if all is working well after a week or more it will
> >> be included into the main tree.
> >>
> >> Regards,
> >> Stephen
> >>
> >>
> >> --
> >
> > Stephen,
> >
> > After following Steven Toth's advice re CPIA, applying your patch and then
> > make, make install, I can now report that the Compro E800F card is working!
> > This is very impressive and thanks for your help.
> >
> > I have added the card to MythTV and all channels were successfully added.  I
> > am not sure about the comparable signal strength's compared to the Hauppauge
> > Nova card I also have installed - this is something I can provide feedback
> > on at a later stage.
> >
> > I have tried from a soft and hard reset and all seems ok.
> >
> > See below for the o/p from dmesg.  Please let  me know if there is anything
> > else you would like to try/test.
> 
> Stephen,
> 
> It looks like your patches work. If you want this merged then mail me the patch, I'll put this 
> up on a ~stoth/cx23885-something tree and we can have Thomas test one more time before a merge 
> request is generated.
> 
> Good work.
> 
> Regards,
> 
> Steve

Steve,

A few items I need to get your thoughts on:
1)  The same sub vendor and sub device ID is used for a string of cards from Compro (E300, E500, E650, E800, E300F, E500F, E600F, E650F, E800F).  The F versions appear to be the same as the non F versions except for a MS MCE approved remote control. This patch should work with all versions (same windows driver), however when the analog side is implemented it might be an issue.  The E800 has a mpeg encoder on the board, while the other lower numbers do not (other differences are scheduled power on abilities or different remotes).  At the moment I have labeled the card in the driver as the E650 as this is the first one that caught my attention on the mailing list.  
   Do you think I should label it something else? (Such as CX23885_BOARD_COMPRO_VIDEOMATE_GENERIC and in the text description [cx23885_boards.name] list the cards?)
   Should I get Jackden & Tom to determine if there is an eprom and the information stored in it (to help distinguish the cards)?

2) So far I have proved the card will not work without the cx25840 module (1st patch was without it, second patch was with it).  
   Did you want me to temporary remove the GPIO set from the cx25840 code to ensure this is what is required for this card? 
   Or should I just make a similar comment in the GPIO set up section of cx23885-cards.c?

Other then these items, there is nothing else I'm concerned with, so a patch should will be prepared shortly. (I don't have access to my testing box from work at the moment).

Regards,
Stephen


-- 
Nothing says Labor Day like 500hp of American muscle
Visit OnCars.com today.


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-08-30 22:08 stev391
  0 siblings, 0 replies; 33+ messages in thread
From: stev391 @ 2008-08-30 22:08 UTC (permalink / raw)
  To: Thomas Goerke; +Cc: linux-dvb


> ----- Original Message -----
> From: "Steven Toth" <stoth@linuxtv.org>
> To: "Thomas Goerke" <tom@goeng.com.au>
> Subject: Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> Date: Sat, 30 Aug 2008 10:30:45 -0400
> 
> 
> Thomas Goerke wrote:
> >> Stephen,
> >>
> >> I downloaded latest version of v4l-dvb (30/08/08:11:30am WST), applied
> >> patch
> >> (which passed) and then tried a make.  This is the output:
> >>
> >> -- snip --
> >> include/asm/io_32.h: In function 'memcpy_fromio':
> >> include/asm/io_32.h:211: warning: passing argument 2 of '__memcpy'
> >> discards
> >> qualifiers from pointer target type
> >>   CC [M]  /home/tom/source/v4l-dvb/v4l/stradis.o
> >>   CC [M]  /home/tom/source/v4l-dvb/v4l/cpia.o
> >> /home/tom/source/v4l-dvb/v4l/cpia.c: In function 'cpia_open':
> >> /home/tom/source/v4l-dvb/v4l/cpia.c:3205: error: implicit declaration
> >> of
> >> function 'current_uid'
> >> make[3]: *** [/home/tom/source/v4l-dvb/v4l/cpia.o] Error 1
> >> make[2]: *** [_module_/home/tom/source/v4l-dvb/v4l] Error 2
> >> make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
> >> make[1]: *** [default] Error 2
> >> make[1]: Leaving directory `/home/tom/source/v4l-dvb/v4l'
> >> make: *** [all] Error 2
> >>
> >> I then tried make clean, make and the same error occurred.
> >>
> >> Tom
> >>
> > Stephen,
> > It seems that the latest source is at fault:
> > This:
> > hg clone http://linuxtv.org/hg/v4l-dvb
> > cd v4l-dvb
> > make
> > Produces:
> > -- snip ---
> > include/asm/io_32.h: In function 'memcpy_fromio':
> > include/asm/io_32.h:211: warning: passing argument 2 of '__memcpy' discards
> > qualifiers from pointer target type
> >   CC [M]  /home/tom/source/v4l-dvb/v4l/stradis.o
> >   CC [M]  /home/tom/source/v4l-dvb/v4l/cpia.o
> > /home/tom/source/v4l-dvb/v4l/cpia.c: In function 'cpia_open':
> > /home/tom/source/v4l-dvb/v4l/cpia.c:3205: error: implicit declaration of
> > function 'current_uid'
> > make[3]: *** [/home/tom/source/v4l-dvb/v4l/cpia.o] Error 1
> > make[2]: *** [_module_/home/tom/source/v4l-dvb/v4l] Error 2
> > make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
> > make[1]: *** [default] Error 2
> > make[1]: Leaving directory `/home/tom/source/v4l-dvb/v4l'
> > make: *** [all] Error 2
> >
> > Let me know if you have a separate archive of the source tree that I can use
> > to test, or alternatively let me know if I have done something wrong with
> > the clone and make.
> 
> CPIA is broken
> 
> # make menuconfig
> 
> (disable the CPIA+CPIA2 moduoes)
> 
> Exit, save,
> 
> then make.

Tom,

As a secondary option to Steve's email you can also try the previously downloaded cx23885-leadtek tree, the cx23885 driver will behave the same as it was recently merged into the main tree. (Make sure it is not the copy that the original patch was applied to).  However I do recommend trying to get the main tree working first.

I just updated my main tree and it compiled ok (Ubuntu Hardy Heron, kernel: 2.6.24-19-generic)

Regards,
Stephen.


-- 
Nothing says Labor Day like 500hp of American muscle
Visit OnCars.com today.


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-08-30  1:24 stev391
  2008-08-30  3:35 ` Thomas Goerke
                   ` (2 more replies)
  0 siblings, 3 replies; 33+ messages in thread
From: stev391 @ 2008-08-30  1:24 UTC (permalink / raw)
  To: Thomas Goerke, stev391, 'jackden'; +Cc: linux-dvb

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


> ----- Original Message -----
> From: "Thomas Goerke" <tom@goeng.com.au>
> To: stev391@email.com, "'jackden'" <jackden@gmail.com>
> Subject: RE: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> Date: Thu, 28 Aug 2008 23:12:14 +0800
>
>
>
> > Tom, Jackden,
> >
> > Please find attached a patch that should add support for the DVB side
> > of this card.  Please follow the following to the dot and provide the
> > outputs requested, this will ensure that I capture all possible issues
> > as soon as possible (and yes I do expect at least one issue).
> >
> > 1) Ensure that you have everything installed to build the v4l-dvb tree
> > (usually the kernel headers, build-essentials and patch)
> >
> > 2) Download and extract:
> > http://linuxtv.org/hg/~stoth/cx23885-
> > leadtek/archive/837860b92af5.tar.bz2
> >
> > 3) Download attached patch to the same directory as the above file.
> >
> > 4) Open up a terminal into the directory of the extracted files and
> > apply the patch with this
> > command:
> > patch -p1 < ../Compro_VideoMate_E650.patch
> >
> > 5) Make, install:
> > make;
> > sudo make install
> >
> > 6) Download the firmware (see
> > http://linuxtv.org/wiki/index.php/Xceive_XC3028/XC2028#How_to_Obtain_th
> > e_Firmware)
> >
> > 7) Now this is going to sound weird (for linux) but it puts the card in
> > a known state for me to work from:
> > Turn the computer off, count to 10 and turn back on (no a reset will
> > not do what I need). Ensure windows does NOT load, before going into
> > Linux, if it does turn it back off again.
> >
> > 8) Provide the dmesg for the lines after:
> > "Linux video capture interface: v2.00"
> >
> > 9) If no errors try scanning for channels (see
> > http://linuxtv.org/wiki/index.php/Scan if you are unsure how do this).
> > If this outputs tv channels then so far so good.
> >
> > 10) Open up your favourite player (ensure the channels config is the
> > correct directory e.g. for xine ~/.xine/) and try and watch a channel.
> >
> > 11) Provide output of dmesg (only the continuation from the previous
> > dmesg output).
> >
> > Now if at any stage it doesn't work here are a few things that you can
> > try (make sure you let me know which ones you did try):
> > a) Perform a computer restart (soft restart - a restart controlled by
> > the computer, not using any of the buttons on the front), and load
> > windows ensure the card is working by tuning to DVB and then perform a
> > soft restart into linux and resume at step above that caused errors.
> > This is typically going to solve an issue where you cannot get past
> > step 9.
> >
> > b) Turn debugging on for the following modules:
> > tuner_xc2028
> > cx23885
> > zl10353
> > This is usually performed in: /etc/modprobe.d/options (this is what
> > ubuntu has) by setting debug = 1. An example line is:
> > options cx23885 debug=1
> > Now go back to step 7 and try again when you run into a error message
> > or unable to do the above provide the dmesg output as referred to in
> > Step 11.
> >
> > Thanks
> >
> > Stephen
> >
> Stephen,
>
> Thanks for the latest patch.  FYI, I had previously been experimenting with
> the Dvico card source so to remove any of the changes I had made I did the
> following:
> 	hg clone http://linuxtv.org/hg/v4l-dvb
> 	cd v4l-dvb
> 	make
> 	sudo make install
> I then followed your instructions and restarted the PC after 10 second
> delay.  Please see below for output.
>
> In terms of debugging I am unable to do a soft restart as I need to swap
> drives over.  I did however enable debugging and you can see the output of
> dmesg at the end of the email.
>
---Snip----
>
> Output from scan:
---Snip---
>
> I then tried to tune to channels using the MythTV backend setup.  I was able
> to add the card but when I tried to scan all Australian channels none were
> detected.
>
> I then added the debugging option as requested and rebooted with 10 second
> power off on power supply switch ie no power to backplane.
>
> With Debugging On:
> root@quark:/etc/modprobe.d# cat cx23885
> options cx23885 debug=1
> root@quark:/etc/modprobe.d# cat zl10353
> options zl10353 debug=1
> root@quark:/etc/modprobe.d# cat tuner_xc2028
> options tuner_xc2028 debug=1
>
> Output from dmesg:
---Snip---
>
> Again thanks for your help and please let me know if you want me to try
> something else.
>
> Tom

Tom,
(Jackden please try first patch and provide feedback, if that doesn't work for your card, then 
try this and provide feedback)

The second dmesg (with debugging) didn't show me what I was looking for, but from past 
experience I will try something else.  I was looking for some dma errors from the cx23885 
driver, these usually occured while streaming is being attempted.

Attached to this email is another patch.  The difference between the first one and the second 
one is that I load an extra module (cx25840), which normally is not required for DVB as it is 
part of the analog side of this card.  This does NOT mean analog will be supported.

As of today the main v4l-dvb can be used with this patch and this means that the cx23885-leadtek 
tree will soon disappear. So step 2 above has been modified to: "Check out the latest v4l-dvb 
source".

Other then that step 4 has a different file name for the patch.

Steps that need to be completed are: 2, 3, 4, 5, 7, 9, 10 & 11. (As you have completed the 
missing steps already).

If the patch works, please do not stop communicating, as I have to perform one more patch to 
prove that cx25840 is required and my assumptions are correct. Once this is completed I will 
send it to Steven Toth for inclusion in his test tree. This will need to be tested by you again, 
and if all is working well after a week or more it will be included into the main tree.

Regards,
Stephen


-- 
Nothing says Labor Day like 500hp of American muscle
Visit OnCars.com today.


[-- Attachment #2: Compro_VideoMate_E650_V0.1.patch --]
[-- Type: application/octet-stream, Size: 4001 bytes --]

diff -Naur cx23885-leadtek/linux/Documentation/video4linux/CARDLIST.cx23885 cx23885-leadtek_dev/linux/Documentation/video4linux/CARDLIST.cx23885
--- cx23885-leadtek/linux/Documentation/video4linux/CARDLIST.cx23885	2008-08-27 16:40:14.000000000 +1000
+++ cx23885-leadtek_dev/linux/Documentation/video4linux/CARDLIST.cx23885	2008-08-27 16:52:56.000000000 +1000
@@ -11,3 +11,4 @@
  10 -> DViCO FusionHDTV7 Dual Express                      [18ac:d618]
  11 -> DViCO FusionHDTV DVB-T Dual Express                 [18ac:db78]
  12 -> Leadtek Winfast PxDVR3200 H                         [107d:6681]
+ 13 -> Compro VideoMate E650				   [185b:e800]
diff -Naur cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885-cards.c cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885-cards.c
--- cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885-cards.c	2008-08-27 16:40:15.000000000 +1000
+++ cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885-cards.c	2008-08-30 10:41:25.000000000 +1000
@@ -159,6 +159,10 @@
 		.name		= "Leadtek Winfast PxDVR3200 H",
 		.portc		= CX23885_MPEG_DVB,
 	},
+	[CX23885_BOARD_COMPRO_VIDEOMATE_E650] = {
+		.name		= "Compro VideoMate E650",
+		.portc		= CX23885_MPEG_DVB,
+	},
 };
 const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
 
@@ -238,6 +242,10 @@
 		.subvendor = 0x107d,
 		.subdevice = 0x6681,
 		.card      = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
+	}, {
+		.subvendor = 0x185b,
+		.subdevice = 0xe800,
+		.card      = CX23885_BOARD_COMPRO_VIDEOMATE_E650,
 	},
 };
 const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -358,6 +366,7 @@
 	case CX23885_BOARD_HAUPPAUGE_HVR1500:
 	case CX23885_BOARD_HAUPPAUGE_HVR1500Q:
 	case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
 		/* Tuner Reset Command */
 		bitmask = 0x04;
 		break;
@@ -510,6 +519,16 @@
 		mdelay(20);
 		cx_set(GP0_IO, 0x00040004);
 		break;
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
+		/* GPIO-2  xc3008 tuner reset */
+
+		/* Put the parts into reset and back */
+		cx_set(GP0_IO, 0x00040000);
+		mdelay(20);
+		cx_clear(GP0_IO, 0x00000004);
+		mdelay(20);
+		cx_set(GP0_IO, 0x00040004);
+		break;
 	}
 }
 
@@ -598,6 +617,7 @@
 	case CX23885_BOARD_HAUPPAUGE_HVR1700:
 	case CX23885_BOARD_HAUPPAUGE_HVR1400:
 	case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
 	default:
 		ts2->gen_ctrl_val  = 0xc; /* Serial bus + punctured clock */
 		ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
@@ -612,6 +632,7 @@
 	case CX23885_BOARD_HAUPPAUGE_HVR1800lp:
 	case CX23885_BOARD_HAUPPAUGE_HVR1700:
 	case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
 		request_module("cx25840");
 		break;
 	}
diff -Naur cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885-dvb.c cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c
--- cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885-dvb.c	2008-08-27 16:40:15.000000000 +1000
+++ cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c	2008-08-27 16:51:39.000000000 +1000
@@ -503,6 +503,7 @@
 		break;
 	}
 	case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
 		i2c_bus = &dev->i2c_bus[0];
 
 		port->dvb.frontend = dvb_attach(zl10353_attach,
diff -Naur cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885.h cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885.h
--- cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885.h	2008-08-27 16:40:15.000000000 +1000
+++ cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885.h	2008-08-27 16:42:06.000000000 +1000
@@ -67,6 +67,7 @@
 #define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
 #define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
 #define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12
+#define CX23885_BOARD_COMPRO_VIDEOMATE_E650 13
 
 /* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */
 #define CX23885_NORMS (\

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-08-28 11:26 stev391
  2008-08-28 15:12 ` Thomas Goerke
  0 siblings, 1 reply; 33+ messages in thread
From: stev391 @ 2008-08-28 11:26 UTC (permalink / raw)
  To: Thomas Goerke, jackden; +Cc: linux-dvb

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


> ----- Original Message -----
> From: "Thomas Goerke" <tom@goeng.com.au>
> To: "'Steven Toth'" <stoth@linuxtv.org>
> Subject: RE: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> Date: Thu, 28 Aug 2008 08:40:21 +0800
>
>
> >
> > http://steventoth.net/ReverseEngineering/PCI/
> >
> > This was the version I originally added cx23885/7/8 support to.
> >
> > It assumes dscaler is installed.
> >
> > - Steve
> I have updated http://linuxtv.org/wiki/index.php/Compro_VideoMate_E800F to
> include the Register dumps. Note that I was unable to get the Compro FM
> Tuner Application to work correctly even after several reboots.  For some
> reason the FM tuner application starts, scans through all the channels and
> then hangs.  I have included the register dump for this state but cannot
> guarantee that the register values are correct.  Analog and Digital TV work
> fine.
>
> Let me know if you need anything else.
>
> Thanks
>
> Tom

>

Tom, Jackden,

Please find attached a patch that should add support for the DVB side of this card.  Please 
follow the following to the dot and provide the outputs requested, this will ensure that I 
capture all possible issues as soon as possible (and yes I do expect at least one issue).

1) Ensure that you have everything installed to build the v4l-dvb tree (usually the kernel 
headers, build-essentials and patch)

2) Download and extract:
http://linuxtv.org/hg/~stoth/cx23885-leadtek/archive/837860b92af5.tar.bz2

3) Download attached patch to the same directory as the above file.

4) Open up a terminal into the directory of the extracted files and apply the patch with this 
command:
patch -p1 < ../Compro_VideoMate_E650.patch

5) Make, install:
make;
sudo make install

6) Download the firmware (see 
http://linuxtv.org/wiki/index.php/Xceive_XC3028/XC2028#How_to_Obtain_the_Firmware)

7) Now this is going to sound weird (for linux) but it puts the card in a known state for me to 
work from:
Turn the computer off, count to 10 and turn back on (no a reset will not do what I need). Ensure 
windows does NOT load, before going into Linux, if it does turn it back off again.

8) Provide the dmesg for the lines after:
"Linux video capture interface: v2.00"

9) If no errors try scanning for channels (see http://linuxtv.org/wiki/index.php/Scan if you are 
unsure how do this). If this outputs tv channels then so far so good.

10) Open up your favourite player (ensure the channels config is the correct directory e.g. for 
xine ~/.xine/) and try and watch a channel.

11) Provide output of dmesg (only the continuation from the previous dmesg output).

Now if at any stage it doesn't work here are a few things that you can try (make sure you let me 
know which ones you did try):
a) Perform a computer restart (soft restart - a restart controlled by the computer, not using 
any of the buttons on the front), and load windows ensure the card is working by tuning to DVB 
and then perform a soft restart into linux and resume at step above that caused errors.  This is 
typically going to solve an issue where you cannot get past step 9.

b) Turn debugging on for the following modules:
tuner_xc2028
cx23885
zl10353
This is usually performed in: /etc/modprobe.d/options (this is what ubuntu has) by setting debug 
= 1. An example line is:
options cx23885 debug=1
Now go back to step 7 and try again when you run into a error message or unable to do the above 
provide the dmesg output as referred to in Step 11.

Thanks

Stephen


-- 
Nothing says Labor Day like 500hp of American muscle
Visit OnCars.com today.


[-- Attachment #2: Compro_VideoMate_E650.patch --]
[-- Type: application/octet-stream, Size: 3761 bytes --]

diff -Naur cx23885-leadtek/linux/Documentation/video4linux/CARDLIST.cx23885 cx23885-leadtek_dev/linux/Documentation/video4linux/CARDLIST.cx23885
--- cx23885-leadtek/linux/Documentation/video4linux/CARDLIST.cx23885	2008-08-27 16:40:14.000000000 +1000
+++ cx23885-leadtek_dev/linux/Documentation/video4linux/CARDLIST.cx23885	2008-08-27 16:52:56.000000000 +1000
@@ -11,3 +11,4 @@
  10 -> DViCO FusionHDTV7 Dual Express                      [18ac:d618]
  11 -> DViCO FusionHDTV DVB-T Dual Express                 [18ac:db78]
  12 -> Leadtek Winfast PxDVR3200 H                         [107d:6681]
+ 13 -> Compro VideoMate E650				   [185b:e800]
diff -Naur cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885-cards.c cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885-cards.c
--- cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885-cards.c	2008-08-27 16:40:15.000000000 +1000
+++ cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885-cards.c	2008-08-27 16:52:54.000000000 +1000
@@ -159,6 +159,10 @@
 		.name		= "Leadtek Winfast PxDVR3200 H",
 		.portc		= CX23885_MPEG_DVB,
 	},
+	[CX23885_BOARD_COMPRO_VIDEOMATE_E650] = {
+		.name		= "Compro VideoMate E650",
+		.portc		= CX23885_MPEG_DVB,
+	},
 };
 const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);
 
@@ -238,6 +242,10 @@
 		.subvendor = 0x107d,
 		.subdevice = 0x6681,
 		.card      = CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H,
+	}, {
+		.subvendor = 0x185b,
+		.subdevice = 0xe800,
+		.card      = CX23885_BOARD_COMPRO_VIDEOMATE_E650,
 	},
 };
 const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -358,6 +366,7 @@
 	case CX23885_BOARD_HAUPPAUGE_HVR1500:
 	case CX23885_BOARD_HAUPPAUGE_HVR1500Q:
 	case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
 		/* Tuner Reset Command */
 		bitmask = 0x04;
 		break;
@@ -510,6 +519,16 @@
 		mdelay(20);
 		cx_set(GP0_IO, 0x00040004);
 		break;
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
+		/* GPIO-2  xc3008 tuner reset */
+
+		/* Put the parts into reset and back */
+		cx_set(GP0_IO, 0x00040000);
+		mdelay(20);
+		cx_clear(GP0_IO, 0x00000004);
+		mdelay(20);
+		cx_set(GP0_IO, 0x00040004);
+		break;
 	}
 }
 
@@ -598,6 +617,7 @@
 	case CX23885_BOARD_HAUPPAUGE_HVR1700:
 	case CX23885_BOARD_HAUPPAUGE_HVR1400:
 	case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
 	default:
 		ts2->gen_ctrl_val  = 0xc; /* Serial bus + punctured clock */
 		ts2->ts_clk_en_val = 0x1; /* Enable TS_CLK */
diff -Naur cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885-dvb.c cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c
--- cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885-dvb.c	2008-08-27 16:40:15.000000000 +1000
+++ cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885-dvb.c	2008-08-27 16:51:39.000000000 +1000
@@ -503,6 +503,7 @@
 		break;
 	}
 	case CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H:
+	case CX23885_BOARD_COMPRO_VIDEOMATE_E650:
 		i2c_bus = &dev->i2c_bus[0];
 
 		port->dvb.frontend = dvb_attach(zl10353_attach,
diff -Naur cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885.h cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885.h
--- cx23885-leadtek/linux/drivers/media/video/cx23885/cx23885.h	2008-08-27 16:40:15.000000000 +1000
+++ cx23885-leadtek_dev/linux/drivers/media/video/cx23885/cx23885.h	2008-08-27 16:42:06.000000000 +1000
@@ -67,6 +67,7 @@
 #define CX23885_BOARD_DVICO_FUSIONHDTV_7_DUAL_EXP 10
 #define CX23885_BOARD_DVICO_FUSIONHDTV_DVB_T_DUAL_EXP 11
 #define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H 12
+#define CX23885_BOARD_COMPRO_VIDEOMATE_E650 13
 
 /* Currently unsupported by the driver: PAL/H, NTSC/Kr, SECAM B/G/H/LC */
 #define CX23885_NORMS (\

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-08-27  6:13 stev391
  2008-08-27 10:11 ` Thomas Goerke
  0 siblings, 1 reply; 33+ messages in thread
From: stev391 @ 2008-08-27  6:13 UTC (permalink / raw)
  To: Thomas Goerke; +Cc: linux-dvb


> ----- Original Message -----
> From: "Thomas Goerke" <tom@goeng.com.au>
> To: stev391@email.com
> Subject: RE: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> Date: Tue, 26 Aug 2008 21:40:40 +0800
> 
> 
> > From: stev391@email.com [mailto:stev391@email.com]
> ---snip---
> > Thomas,
> >
> > I'm happy to give it a go...
> >
> > The Zarlink demod is the exact same chip as the Intel one mentioned
> > previously.  Zarlink sold there demodulator (and possibly others) to
> > Intel.  The driver in Linux is still known as the Zarlink 10353, this
> > is not going to be a problem.
> >
> > The same windows driver controls both of these cards (and the E300,
> > E500 both normal and F versions), so they should be pretty similar
> > (except got for the HW mpeg encoder, and the power on support). (The
> > driver is based on the reference design as well)
> >
> > Create a wiki page for this card with the same information I need for
> > the E650, hopefully when I get the DVB-T going in one it will be a
> > simple matter for the other.
> >
> > I don't want to get your hopes up with the analog side yet, as I have
> > not managed to quite work out what I need to do there.
> >
> > Thanks for the email
> >
> > Regards,
> >
> > Stephen
> >
> > P.S. Please do not top post, reply to the email at the bottom. This
> > will help people who are catching up with this thread...
> >
> >
> > --
> > Be Yourself @ mail.com!
> > Choose From 200+ Email Addresses
> > Get a Free Account at www.mail.com
> Stephen,
> 
> I have created the page as requested:
> http://linuxtv.org/wiki/index.php/Compro_VideoMate_E800F.
> 
> I was able to run the regspy as requested but it was unclear to me how I was
> supposed to provide you with registry outputs.  Using the save command only
> seemed to provide vb or java script which didn't include anything specific
> as to registry contents.  If you can let me know the specific registry entry
> you are interested in (or a rough description) I can reboot under XP and
> find these values for you.
> 
> Thanks in advance
> 
> Tom

Tom,

Thanks for doing that, it appears that the two cards (E800F and E650) have the same subvendor and product ids. Also the same i2c output...

So this means that if I make a patch for DVB support in one, it will automatically be loaded for the other.  This however does pose a dilemma when looking at the analog side of the card.  However this can be hopefully tackled at a later stage.

The key registers that I'm after are the states of:
VID_A_INT_MSK
VID_B_INT_MSK
VID_C_INT_MSK

As I need to determine which port has the digital stream connected to it.

Typically these are zero when not in use, so if you run the program when the tuner is not in use then run the DVB program you should see a change in state of one of these only.

Can you also tune to an analog channel as well and let me know which one it is on (a, b or c).

Thanks,

Stephen.


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-08-26  6:50 stev391
  2008-08-26 13:40 ` Thomas Goerke
  0 siblings, 1 reply; 33+ messages in thread
From: stev391 @ 2008-08-26  6:50 UTC (permalink / raw)
  To: Thomas Goerke; +Cc: linux-dvb


> ----- Original Message -----
> From: "Thomas Goerke" <tom@goeng.com.au>
> To: stev391@email.com
> Subject: RE: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> Date: Tue, 26 Aug 2008 13:48:05 +0800
> 
> 
> Stephen,
> 
> I have the Compro VideoMate E800F Hybrid D/A HW2 PCIe card which has the
> following:
> 	Conexant PCIe A/V decoder. CX23885-132	- AV Decoder
> 	Conexant MPEG II A/V Encoder CX23417-11Z	- MPEG 2 Encoder
> 	ZL10353 0619T S					- Demodulator
> 	ETRONTECHEM638325ts-6G
> 	XCEIVE XC3008ACQ AK50113.2			- Video Tuner
> 
> It appears very similar to the E650 except for the Zarlink demod.  I am
> happy to provide all the information and test if you have the time to
> provide a patch.  Please let me know and I will do the testing you required.
> I also have a XP boot drive for windows debugging as well.
> 
> Tom
> 
> -----Original Message-----
> From: linux-dvb-bounces@linuxtv.org [mailto:linux-dvb-bounces@linuxtv.org]
> On Behalf Of stev391@email.com
> Sent: Tuesday, 26 August 2008 6:03 AM
> To: jackden
> Cc: linux dvb
> Subject: Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog
> TV/FM capture card
> 
> 
> > ----- Original Message -----
> > From: jackden <jackden@gmail.com>
> > To: stev391@email.com
> > Subject: Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and
> analog TV/FM capture card
> > Date: Mon, 25 Aug 2008 21:40:08 +0800
> >
> >
> > Stephen,
> >
> > > 1) A high resolution photo so I can identify the main items on the board
> > ok. see http://linuxtv.org/wiki/index.php/Compro_VideoMate_E650
> >
> > > 2) A list of chips used on board, (The two key chips that I need to know
> are the tuner &
> > > demodulator)
> > ok.
> >
> > > 3) The output of `lspci -vv` and `lspci -n` that are relevant for this
> card.
> > ok.
> >
> > > 4) The output of `i2cdetect -l` and `i2cdetect #` where # is the number
> associated with a
> > > cx23885 adapter (see >
> http://linuxtv.org/wiki/index.php/AVerMedia_AVerTV_Hybrid_Express_Slim_HC81R
> #i2cdetect for
> > > example)
> > hmm... I run 'i2cdetect -l' ,but the output is empty. : (
> >
> >
> > > 5) The Regspy output, for: idle straight after boot, dvb channel tuned
> and working, analog
> > > tuned and working. (This needs windows, to get regspy just google
> "regspy dscaler".
> > Regspy is windows only? I no have windows operating system.  : (
> >
> > 6) An external link to the compro product page.
> >
> > ----=Jackden in Google=----
> > --=Jackden@Gmail.com=--
> 
> Jackden,
> 
> Thanks for completing the information on the wiki page.
> 
> To use i2cdetect you need to load i2c_dev module (or something similar).
> i2cdetect is part of lm sensors so maybe you should install this if you
> haven't already. (perhaps try Google for an answer...)
> 
>  From what you have posted I still think it is possible to support this card
> easily, but as you cannot provide me with the output of Regspy (which is
> windows) I will have do a little of trial and error.  So hopefully you are
> very patient. (I still need the output of i2cdetect before I create a
> patch).
> 
> Regards,
> Stephen.
> 
> 
> --
> Be Yourself @ mail.com!
> Choose From 200+ Email Addresses
> Get a Free Account at www.mail.com
> 
> 
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Thomas,

I'm happy to give it a go...

The Zarlink demod is the exact same chip as the Intel one mentioned previously.  Zarlink sold there demodulator (and possibly others) to Intel.  The driver in Linux is still known as the Zarlink 10353, this is not going to be a problem.

The same windows driver controls both of these cards (and the E300, E500 both normal and F versions), so they should be pretty similar (except got for the HW mpeg encoder, and the power on support). (The driver is based on the reference design as well)

Create a wiki page for this card with the same information I need for the E650, hopefully when I get the DVB-T going in one it will be a simple matter for the other.

I don't want to get your hopes up with the analog side yet, as I have not managed to quite work out what I need to do there.

Thanks for the email

Regards,

Stephen

P.S. Please do not top post, reply to the email at the bottom. This will help people who are catching up with this thread...


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-08-25 22:03 stev391
  2008-08-26  5:48 ` Thomas Goerke
  2008-08-26 13:22 ` jackden
  0 siblings, 2 replies; 33+ messages in thread
From: stev391 @ 2008-08-25 22:03 UTC (permalink / raw)
  To: jackden; +Cc: linux dvb


> ----- Original Message -----
> From: jackden <jackden@gmail.com>
> To: stev391@email.com
> Subject: Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
> Date: Mon, 25 Aug 2008 21:40:08 +0800
> 
> 
> Stephen,
> 
> > 1) A high resolution photo so I can identify the main items on the board
> ok. see http://linuxtv.org/wiki/index.php/Compro_VideoMate_E650
> 
> > 2) A list of chips used on board, (The two key chips that I need to know are the tuner & 
> > demodulator)
> ok.
> 
> > 3) The output of `lspci -vv` and `lspci -n` that are relevant for this card.
> ok.
> 
> > 4) The output of `i2cdetect -l` and `i2cdetect #` where # is the number associated with a 
> > cx23885 adapter (see 
> > http://linuxtv.org/wiki/index.php/AVerMedia_AVerTV_Hybrid_Express_Slim_HC81R#i2cdetect for 
> > example)
> hmm... I run 'i2cdetect -l' ,but the output is empty. : (
> 
> 
> > 5) The Regspy output, for: idle straight after boot, dvb channel tuned and working, analog 
> > tuned and working. (This needs windows, to get regspy just google "regspy dscaler".
> Regspy is windows only? I no have windows operating system.  : (
> 
> 6) An external link to the compro product page.
> 
> ----=Jackden in Google=----
> --=Jackden@Gmail.com=--

Jackden,

Thanks for completing the information on the wiki page.

To use i2cdetect you need to load i2c_dev module (or something similar).  i2cdetect is part of lm sensors so maybe you should install this if you haven't already. (perhaps try Google for an answer...)

>From what you have posted I still think it is possible to support this card easily, but as you cannot provide me with the output of Regspy (which is windows) I will have do a little of trial and error.  So hopefully you are very patient. (I still need the output of i2cdetect before I create a patch).

Regards,
Stephen.


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* Re: [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-08-24  2:14 stev391
  0 siblings, 0 replies; 33+ messages in thread
From: stev391 @ 2008-08-24  2:14 UTC (permalink / raw)
  To: jackden; +Cc: linux dvb

> I have Compro VideoMate E650.
> VideoMate E650 hybrid PCI-Express DVB-T and analog TV/FM capture card.
> But it can't correct run. I use Ubuntu 8.04. vga card is ATI Radeon HD2600 Pro.

--Snip--

> ps.sorry, my english is very poor.
> 
> ----=Jackden in Google=----
> --=Jackden at Gmail.com=--


Jackden,

As you have found out the current drivers do not provide support for this card.
However I think with your help, and others with this card, we can get at least DVB-T support running.
This card seems similar to the Leadtek Winfast PxDVR 3200 H, which I wrote support for (however not similar enough to work straight away).

Can you update the wiki page (http://linuxtv.org/wiki/index.php/Compro_VideoMate_E650) with the following:

1) A high resolution photo so I can identify the main items on the board

2) A list of chips used on board, (The two key chips that I need to know are the tuner & demodulator)

3) The output of `lspci -vv` and `lspci -n` that are relevant for this card.

4) The output of `i2cdetect -l` and `i2cdetect #` where # is the number associated with a cx23885 adapter (see http://linuxtv.org/wiki/index.php/AVerMedia_AVerTV_Hybrid_Express_Slim_HC81R#i2cdetect for example)

5) The Regspy output, for: idle straight after boot, dvb channel tuned and working, analog tuned and working. (This needs windows, to get regspy just google "regspy dscaler".

6) An external link to the compro product page.

To get an idea of what I need see: http://linuxtv.org/wiki/index.php/Leadtek_Winfast_PxDVR_3200_H

To be able to edit wiki pages you need to create a login and sign in.

Once any of these items have been posted please let me know and I can see if it is possible to write the driver.

Regards,

Stephen.



-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

^ permalink raw reply	[flat|nested] 33+ messages in thread
* [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card
@ 2008-08-22 10:05 jackden
  0 siblings, 0 replies; 33+ messages in thread
From: jackden @ 2008-08-22 10:05 UTC (permalink / raw)
  To: linux-dvb

I have Compro VideoMate E650.
VideoMate E650 hybrid PCI-Express DVB-T and analog TV/FM capture card.
But it can't correct run. I use Ubuntu 8.04. vga card is ATI Radeon HD2600 Pro.

lspci -vvnn
02:00.0 Multimedia video controller [0400]: Conexant Unknown device
[14f1:8852] (rev 02)
	Subsystem: Compro Technology, Inc. Unknown device [185b:e800]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
	Latency: 0, Cache Line Size: 32 bytes
	Interrupt: pin A routed to IRQ 20
	Region 0: Memory at fdc00000 (64-bit, non-prefetchable) [size=2M]
	Capabilities: <access denied>

dmesg
[   40.804089] cx23885 driver version 0.0.1 loaded
[   40.804156] ACPI: PCI Interrupt 0000:02:00.0[A] -> Link [APC2] ->
GSI 17 (level, low) -> IRQ 20
[   40.804179] CORE cx23885[0]: subsystem: 185b:e800, board: DViCO
FusionHDTV5 Express [card=4,insmod option]
[   41.372335] uvcvideo: disagrees about version of symbol v4l_compat_ioctl32
[   41.372341] uvcvideo: Unknown symbol v4l_compat_ioctl32
[   41.372612] uvcvideo: disagrees about version of symbol video_devdata
[   41.372614] uvcvideo: Unknown symbol video_devdata
[   41.372906] uvcvideo: disagrees about version of symbol
video_unregister_device
[   41.372908] uvcvideo: Unknown symbol video_unregister_device
[   41.372997] uvcvideo: disagrees about version of symbol video_device_alloc
[   41.372999] uvcvideo: Unknown symbol video_device_alloc
[   41.373061] uvcvideo: disagrees about version of symbol video_register_device
[   41.373063] uvcvideo: Unknown symbol video_register_device
[   41.373222] uvcvideo: disagrees about version of symbol video_usercopy
[   41.373224] uvcvideo: Unknown symbol video_usercopy
[   41.373249] uvcvideo: disagrees about version of symbol video_device_release
[   41.373251] uvcvideo: Unknown symbol video_device_release
[   41.437139] cx23885[0]: i2c bus 0 registered
[   41.437166] cx23885[0]: i2c bus 1 registered
[   41.437189] cx23885[0]: i2c bus 2 registered
[   41.462891] usbcore: registered new interface driver snd-usb-audio
[   41.551818] cx23885[0]: cx23885 based dvb card
[   41.704254] tuner-simple 2-0061: creating new instance
[   41.704259] tuner-simple 2-0061: type set to 64 (LG TDVS-H06xF)
[   41.704263] DVB: registering new adapter (cx23885[0])
[   41.704266] DVB: registering frontend 0 (LG Electronics LGDT3303
VSB/QAM Frontend)...
[   41.704464] cx23885_dev_checkrevision() Hardware revision = 0xb0
[   41.704470] cx23885[0]/0: found at 0000:02:00.0, rev: 2, irq: 20,
latency: 0, mmio: 0xfdc00000

ps.sorry, my english is very poor.

----=Jackden in Google=----
--=Jackden@Gmail.com=--

_______________________________________________
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

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

end of thread, other threads:[~2008-09-07  1:44 UTC | newest]

Thread overview: 33+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 23:26 [linux-dvb] Compro VideoMate E650 hybrid PCIe DVB-T and analog TV/FM capture card stev391
2008-09-05  4:17 ` Thomas Goerke
2008-09-05  4:40   ` Thomas Goerke
2008-09-05 13:23 ` Steven Toth
  -- strict thread matches above, loose matches on Subject: below --
2008-09-07  1:44 stev391
2008-09-07  1:24 stev391
2008-09-07  0:29 stev391
2008-09-07  1:06 ` Thomas Goerke
2008-09-05 22:13 stev391
2008-09-06  4:56 ` Thomas Goerke
2008-09-01  0:12 stev391
2008-09-02 16:15 ` Steven Toth
2008-08-30 22:08 stev391
2008-08-30  1:24 stev391
2008-08-30  3:35 ` Thomas Goerke
2008-08-30  4:03   ` Thomas Goerke
2008-08-30 14:30     ` Steven Toth
2008-08-31  5:29 ` jackden
2008-08-31 11:22 ` Thomas Goerke
2008-08-31 22:10   ` Steven Toth
2008-08-28 11:26 stev391
2008-08-28 15:12 ` Thomas Goerke
2008-08-27  6:13 stev391
2008-08-27 10:11 ` Thomas Goerke
2008-08-27 14:07   ` Steven Toth
2008-08-28  0:40     ` Thomas Goerke
2008-08-26  6:50 stev391
2008-08-26 13:40 ` Thomas Goerke
2008-08-25 22:03 stev391
2008-08-26  5:48 ` Thomas Goerke
2008-08-26 13:22 ` jackden
2008-08-24  2:14 stev391
2008-08-22 10:05 jackden

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