Skip to contentSkip to conversation

Success for Compro E650F analog television and alsa sound.

PATCH Igor M. Liplianin 3 participants 5 messages Dec 7, 2009 – Dec 16, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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.

linux/drivers/media/video/cx23885/Kconfig +2 -1
diff -r 121066e283e5 linux/drivers/media/video/cx23885/Kconfig
@@ -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
linux/drivers/media/video/cx23885/cx23885-cards.c +22 -0
diff -r 121066e283e5 linux/drivers/media/video/cx23885/cx23885-cards.c
@@ -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",
#1 lore raw
Quoted 1 line · Igor M. Liplianin

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

#2 lore raw

2009/12/7 Samuel Rakitnican <[email protected]>:

Quoted 5 lines
Quoted 1 line · Igor M. Liplianin

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

Quoted 8 lines

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?

Quoted 7 lines

Regards,
Samuel
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Igor M. Liplianin
Quoted 8 lines · Igor M. Liplianin

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.

Quoted 5 lines

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,

Signature · 2 lines
Steven Toth - Kernel Labs
http://www.kernellabs.com
#4 lore raw
Quoted 11 lines · On 7 декабря 2009 18:04:14 Steven Toth wrote:
Quoted 10 lines · Igor M. Liplianin

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 -

Quoted 8 lines
Quoted 3 lines

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.

Signature · 2 lines
Igor M. Liplianin
Microsoft Windows Free Zone - Linux used for all Computing Tasks