Success for Compro E650F analog television and alsa sound.

Message ID 200912070400.03469.liplianin@me.by (mailing list archive)
State Superseded, archived
Headers

Commit Message

Igor M. Liplianin Dec. 7, 2009, 2 a.m. UTC
  Hi Steve

I'm able to watch now analog television with Compro E650F.
I rich this by merging your cx23885-alsa tree and adding some modifications
for Compro card definition.
Actually, I take it from Mygica definition, only tuner type and DVB port is different.
Tested with Tvtime.

tvtime | arecord -D hw:2,0 -r 32000 -c 2 -f S16_LE | aplay -

My tv card is third for alsa, so parameter -D for arecord is hw:2,0.
SECAM works well also.
I didn't test component input, though it present in my card.


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  

Comments

Samuel Rakitnican Dec. 7, 2009, 10:55 a.m. UTC | #1
On Mon, 07 Dec 2009 03:00:03 +0100, Igor M. Liplianin <liplianin@me.by>  
wrote:

> I'm able to watch now analog television with Compro E650F.

That's great news for somebody :)

Is remote working for this card? My card (T750F) and this card share the  
same remote, so I thought maybe keymap may be shared too. I started  
working on it several months ago but I didn't finished the keys  
associations due to that my card is not supported at all.
	http://www.spinics.net/lists/linux-media/msg07705.html

Regards,
Samuel
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  
Igor M. Liplianin Dec. 7, 2009, 12:29 p.m. UTC | #2
2009/12/7 Samuel Rakitnican <samuel.rakitnican@gmail.com>:
> On Mon, 07 Dec 2009 03:00:03 +0100, Igor M. Liplianin <liplianin@me.by>
> wrote:
>
>> I'm able to watch now analog television with Compro E650F.
>
> That's great news for somebody :)
>
> Is remote working for this card? My card (T750F) and this card share the
> same remote, so I thought maybe keymap may be shared too. I started
> working on it several months ago but I didn't finished the keys
> associations due to that my card is not supported at all.
>        http://www.spinics.net/lists/linux-media/msg07705.html
>
Currently Andy makes IR support for PCI-e cx23885 chip (like in
E650F), but I can test remote on some PCI cx23883 card or even saa7134
(I have one).
Why not to take your table as basic for them all?


> Regards,
> Samuel
> --
> To unsubscribe from this list: send the line "unsubscribe linux-media" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  
Steven Toth Dec. 7, 2009, 4:04 p.m. UTC | #3
On Sun, Dec 6, 2009 at 9:00 PM, Igor M. Liplianin <liplianin@me.by> wrote:
> Hi Steve
>
> I'm able to watch now analog television with Compro E650F.
> I rich this by merging your cx23885-alsa tree and adding some modifications
> for Compro card definition.
> Actually, I take it from Mygica definition, only tuner type and DVB port is different.
> Tested with Tvtime.
>
> tvtime | arecord -D hw:2,0 -r 32000 -c 2 -f S16_LE | aplay -
>
> My tv card is third for alsa, so parameter -D for arecord is hw:2,0.
> SECAM works well also.
> I didn't test component input, though it present in my card.

Thanks Igor, I'll merge this into the cx23885-alsa tree in the next
couple of days.

Regards,
  
Igor M. Liplianin Dec. 16, 2009, 2:19 a.m. UTC | #4
On 7 ??????? 2009 18:04:14 Steven Toth wrote:
> On Sun, Dec 6, 2009 at 9:00 PM, Igor M. Liplianin <liplianin@me.by> wrote:
> > Hi Steve
> >
> > I'm able to watch now analog television with Compro E650F.
> > I rich this by merging your cx23885-alsa tree and adding some
> > modifications for Compro card definition.
> > Actually, I take it from Mygica definition, only tuner type and DVB port
> > is different. Tested with Tvtime.
> >
> > tvtime | arecord -D hw:2,0 -r 32000 -c 2 -f S16_LE | aplay -
> >
> > My tv card is third for alsa, so parameter -D for arecord is hw:2,0.
> > SECAM works well also.
> > I didn't test component input, though it present in my card.
>
> Thanks Igor, I'll merge this into the cx23885-alsa tree in the next
> couple of days.
>
> Regards,
Tested Television and Composite inputs.

			{
				.type	= CX23885_VMUX_TELEVISION,
				.vmux	= CX25840_COMPOSITE2,
			}, {
				.type	= CX23885_VMUX_COMPOSITE1,
				.vmux	= CX25840_COMPOSITE1,
			}
The card also have Svideo and Component inputs.
I will try to test them later.
  

Patch

diff -r 121066e283e5 linux/drivers/media/video/cx23885/Kconfig
--- a/linux/drivers/media/video/cx23885/Kconfig	Sun Dec 06 09:32:49 2009 -0200
+++ b/linux/drivers/media/video/cx23885/Kconfig	Mon Dec 07 03:48:12 2009 +0200
@@ -1,6 +1,7 @@ 
 config VIDEO_CX23885
 	tristate "Conexant cx23885 (2388x successor) support"
-	depends on DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT
+	depends on DVB_CORE && VIDEO_DEV && PCI && I2C && INPUT && SND
+	select SND_PCM
 	select I2C_ALGOBIT
 	select VIDEO_BTCX
 	select VIDEO_TUNER
diff -r 121066e283e5 linux/drivers/media/video/cx23885/cx23885-cards.c
--- a/linux/drivers/media/video/cx23885/cx23885-cards.c	Sun Dec 06 09:32:49 2009 -0200
+++ b/linux/drivers/media/video/cx23885/cx23885-cards.c	Mon Dec 07 03:48:12 2009 +0200
@@ -163,7 +163,29 @@ 
 	},
 	[CX23885_BOARD_COMPRO_VIDEOMATE_E650F] = {
 		.name		= "Compro VideoMate E650F",
+		.porta		= CX23885_ANALOG_VIDEO,
 		.portc		= CX23885_MPEG_DVB,
+		.tuner_type	= TUNER_XC2028,
+		.tuner_addr	= 0x61,
+		.input		= {
+			{
+				.type   = CX23885_VMUX_TELEVISION,
+				.vmux   = CX25840_COMPOSITE2,
+			}, {
+				.type   = CX23885_VMUX_COMPOSITE1,
+				.vmux   = CX25840_COMPOSITE8,
+			}, {
+				.type   = CX23885_VMUX_SVIDEO,
+				.vmux   = CX25840_SVIDEO_LUMA3 |
+					CX25840_SVIDEO_CHROMA4,
+			}, {
+				.type   = CX23885_VMUX_COMPONENT,
+				.vmux   = CX25840_COMPONENT_ON |
+					CX25840_VIN1_CH1 |
+					CX25840_VIN6_CH2 |
+					CX25840_VIN7_CH3,
+			},
+		},
 	},
 	[CX23885_BOARD_TBS_6920] = {
 		.name		= "TurboSight TBS 6920",