public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* cx23885-alsa + Mygica X8507
@ 2011-10-28 19:58 Alfredo Jesús Delaiti
  2011-11-07 14:46 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: Alfredo Jesús Delaiti @ 2011-10-28 19:58 UTC (permalink / raw)
  To: linux-media; +Cc: liplianin, mchehab, stoth

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

Hi

For 15 days "alsa cx23885 cleaner" worked well with my Mygica X8507 card 
and with the 3.0.2 kernel in OpenSuSE 11.4.

Please if you are going to add "cx23885-alsa" to kernel, add Mygica 
X8507 card.

Best regards,

Alfredo


-- 
Dona tu voz
http://www.voxforge.org/es


[-- Attachment #2: cx23885.h.diff3 --]
[-- Type: text/plain, Size: 638 bytes --]

--- /home/alfredo/ISDB/Nuevo Driver/alsa_suport_12_oct_2011/Para_Video4Linux/Kernel/cx23885.h	2011-10-28 16:13:26.011668530 -0300
+++ /home/alfredo/ISDB/Nuevo Driver/alsa_suport_12_oct_2011/Para_Video4Linux/Mi_kernel_para_V4L/cx23885.h	2011-10-17 16:09:23.000000000 -0300
@@ -86,8 +86,9 @@
 #define CX23885_BOARD_GOTVIEW_X5_3D_HYBRID     29
 #define CX23885_BOARD_NETUP_DUAL_DVB_T_C_CI_RF 30
 #define CX23885_BOARD_LEADTEK_WINFAST_PXDVR3200_H_XC4000 31
 #define CX23885_BOARD_MPX885                   32
+#define CX23885_BOARD_MYGICA_X8507             33
 
 #define GPIO_0 0x00000001
 #define GPIO_1 0x00000002
 #define GPIO_2 0x00000004

[-- Attachment #3: cx23885-cards.c.diff3 --]
[-- Type: text/plain, Size: 2396 bytes --]

--- /home/alfredo/ISDB/Nuevo Driver/alsa_suport_12_oct_2011/Para_Video4Linux/Kernel/cx23885-cards.c	2011-10-28 16:11:22.579672203 -0300
+++ /home/alfredo/ISDB/Nuevo Driver/alsa_suport_12_oct_2011/Para_Video4Linux/Mi_kernel_para_V4L/cx23885-cards.c	2011-10-28 15:12:10.147777939 -0300
@@ -302,8 +302,39 @@
 					CX25840_VIN7_CH3,
 			},
 		},
 	},
+	[CX23885_BOARD_MYGICA_X8507] = {
+		.name		= "Mygica X8507",
+		.tuner_type = TUNER_XC5000,
+		.tuner_addr = 0x61,
+		.tuner_bus	= 1,
+		.porta		= CX23885_ANALOG_VIDEO,
+		.input		= {
+			{
+				.type   = CX23885_VMUX_TELEVISION,
+				.vmux   = CX25840_COMPOSITE2,
+				.amux   = CX25840_AUDIO8,
+			},
+			{
+				.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_MAGICPRO_PROHDTVE2] = {
 		.name		= "Magic-Pro ProHDTV Extreme 2",
 		.tuner_type = TUNER_XC5000,
 		.tuner_addr = 0x61,
@@ -606,8 +637,12 @@
 		.subdevice = 0x8651,
 		.card      = CX23885_BOARD_MYGICA_X8506,
 	}, {
 		.subvendor = 0x14f1,
+		.subdevice = 0x8502,
+		.card      = CX23885_BOARD_MYGICA_X8507,
+	}, {
+		.subvendor = 0x14f1,
 		.subdevice = 0x8657,
 		.card      = CX23885_BOARD_MAGICPRO_PROHDTVE2,
 	}, {
 		.subvendor = 0x0070,
@@ -1067,11 +1102,12 @@
 		cx23885_gpio_set(dev, GPIO_9);
 		break;
 	case CX23885_BOARD_MYGICA_X8506:
 	case CX23885_BOARD_MAGICPRO_PROHDTVE2:
+	case CX23885_BOARD_MYGICA_X8507:
 		/* GPIO-0 (0)Analog / (1)Digital TV */
 		/* GPIO-1 reset XC5000 */
-		/* GPIO-2 reset LGS8GL5 / LGS8G75 */
+		/* GPIO-2 reset LGS8GL5 / LGS8G75 / MB86A20S */
 		cx23885_gpio_enable(dev, GPIO_0 | GPIO_1 | GPIO_2, 1);
 		cx23885_gpio_clear(dev, GPIO_1 | GPIO_2);
 		mdelay(100);
 		cx23885_gpio_set(dev, GPIO_0 | GPIO_1 | GPIO_2);
@@ -1461,8 +1497,9 @@
 	case CX23885_BOARD_COMPRO_VIDEOMATE_E800:
 	case CX23885_BOARD_HAUPPAUGE_HVR1270:
 	case CX23885_BOARD_HAUPPAUGE_HVR1850:
 	case CX23885_BOARD_MYGICA_X8506:
+	case CX23885_BOARD_MYGICA_X8507:
 	case CX23885_BOARD_MAGICPRO_PROHDTVE2:
 	case CX23885_BOARD_HAUPPAUGE_HVR1290:
 	case CX23885_BOARD_LEADTEK_WINFAST_PXTV1200:
 	case CX23885_BOARD_GOTVIEW_X5_3D_HYBRID:

[-- Attachment #4: cx23885-video.c.diff3 --]
[-- Type: text/plain, Size: 699 bytes --]

--- /home/alfredo/ISDB/Nuevo Driver/alsa_suport_12_oct_2011/Para_Video4Linux/Kernel/cx23885-video.c	2011-10-28 16:13:03.741669193 -0300
+++ /home/alfredo/ISDB/Nuevo Driver/alsa_suport_12_oct_2011/Para_Video4Linux/Mi_kernel_para_V4L/cx23885-video.c	2011-10-17 16:17:09.000000000 -0300
@@ -491,9 +491,10 @@
 		INPUT(input)->gpio2, INPUT(input)->gpio3);
 	dev->input = input;
 
 	if (dev->board == CX23885_BOARD_MYGICA_X8506 ||
-		dev->board == CX23885_BOARD_MAGICPRO_PROHDTVE2) {
+		dev->board == CX23885_BOARD_MAGICPRO_PROHDTVE2 ||
+		dev->board == CX23885_BOARD_MYGICA_X8507) {
 		/* Select Analog TV */
 		if (INPUT(input)->type == CX23885_VMUX_TELEVISION)
 			cx23885_gpio_clear(dev, GPIO_0);
 	}

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

* Re: cx23885-alsa + Mygica X8507
  2011-10-28 19:58 cx23885-alsa + Mygica X8507 Alfredo Jesús Delaiti
@ 2011-11-07 14:46 ` Mauro Carvalho Chehab
  2011-11-08 13:31   ` Alfredo Jesús Delaiti
  0 siblings, 1 reply; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2011-11-07 14:46 UTC (permalink / raw)
  To: Alfredo Jesús Delaiti; +Cc: linux-media, liplianin, stoth

Em 28-10-2011 17:58, Alfredo Jesús Delaiti escreveu:
> Hi
> 
> For 15 days "alsa cx23885 cleaner" worked well with my Mygica X8507 card and with the 3.0.2 kernel in OpenSuSE 11.4.
> 
> Please if you are going to add "cx23885-alsa" to kernel, add Mygica X8507 card.
> 
> Best regards,
> 
> Alfredo
> 
> 
Alfredo,

Please, one patch per email. Also, send them at -p1 format, as I don't have any path
here that looks like:
 /home/alfredo/ISDB/Nuevo Driver/alsa_suport_12_oct_2011/Para_Video4Linux/Mi_kernel_para_V4L

Developers section on our wiki is your friend:
	http://linuxtv.org/wiki/index.php/Developer_Section

In particular, take a look at:
	http://linuxtv.org/wiki/index.php/Development:_How_to_submit_patches

Thanks!
Mauro

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

* Re: cx23885-alsa + Mygica X8507
  2011-11-07 14:46 ` Mauro Carvalho Chehab
@ 2011-11-08 13:31   ` Alfredo Jesús Delaiti
  0 siblings, 0 replies; 3+ messages in thread
From: Alfredo Jesús Delaiti @ 2011-11-08 13:31 UTC (permalink / raw)
  To: linux-media; +Cc: Mauro Carvalho Chehab

Hi
El 07/11/11 11:46, Mauro Carvalho Chehab escribió:
> Em 28-10-2011 17:58, Alfredo Jesús Delaiti escreveu:
>> Hi
>>
>> For 15 days "alsa cx23885 cleaner" worked well with my Mygica X8507 card and with the 3.0.2 kernel in OpenSuSE 11.4.
>>
>> Please if you are going to add "cx23885-alsa" to kernel, add Mygica X8507 card.
>>
>> Best regards,
>>
>> Alfredo
>>
>>
> Alfredo,
>
> Please, one patch per email. Also, send them at -p1 format, as I don't have any path
> here that looks like:
>   /home/alfredo/ISDB/Nuevo Driver/alsa_suport_12_oct_2011/Para_Video4Linux/Mi_kernel_para_V4L
>
> Developers section on our wiki is your friend:
> 	http://linuxtv.org/wiki/index.php/Developer_Section
>
> In particular, take a look at:
> 	http://linuxtv.org/wiki/index.php/Development:_How_to_submit_patches
>
> Thanks!
> Mauro
I will read the documentation and I will send the patch again.

Thanks,

Alfredo

-- 
Dona tu voz
http://www.voxforge.org/es


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

end of thread, other threads:[~2011-11-08 21:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-28 19:58 cx23885-alsa + Mygica X8507 Alfredo Jesús Delaiti
2011-11-07 14:46 ` Mauro Carvalho Chehab
2011-11-08 13:31   ` Alfredo Jesús Delaiti

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