Linux-Media Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] media: em28xx: Add support for Magix Wideowandler 2
@ 2019-09-01 21:27 Dominik Danelski
  2019-09-10 20:59 ` Dominik Danelski
  0 siblings, 1 reply; 3+ messages in thread
From: Dominik Danelski @ 2019-09-01 21:27 UTC (permalink / raw)
  To: mchehab, linux-media; +Cc: Dominik Danelski

Add support for Magix Wideowandler 2 - analog USB capture card

Co-author: Cornelius Porosanu <cornelius591@gmail.com>
Signed-off-by: Dominik Danelski <dominik@danelski.pl>
---
 drivers/media/usb/em28xx/em28xx-cards.c | 20 ++++++++++++++++++++
 drivers/media/usb/em28xx/em28xx.h       |  1 +
 2 files changed, 21 insertions(+)

diff --git a/drivers/media/usb/em28xx/em28xx-cards.c b/drivers/media/usb/em28xx/em28xx-cards.c
index 1283c7ca9ad5..2faeb91c5afd 100644
--- a/drivers/media/usb/em28xx/em28xx-cards.c
+++ b/drivers/media/usb/em28xx/em28xx-cards.c
@@ -2487,6 +2487,24 @@ const struct em28xx_board em28xx_boards[] = {
 		.ir_codes      = RC_MAP_HAUPPAUGE,
 		.leds          = hauppauge_dualhd_leds,
 	},
+	/*
+	 * 1b80:e349 Magix USB Videowandler-2
+	 * (same chips as Honestech VIDBOX NW03)
+	 * Empia EM2860, Philips SAA7113, Empia EMP202, No Tuner
+	 */
+	[EM2861_BOARD_MAGIX_VIDEOWANDLER2] = {
+		.name                = "Magix USB Videowandler-2",
+		.tuner_type          = TUNER_ABSENT,
+		.decoder             = EM28XX_SAA711X,
+		.input               = { {
+			.type     = EM28XX_VMUX_COMPOSITE,
+			.vmux     = SAA7115_COMPOSITE0,
+			.amux     = EM28XX_AMUX_LINE_IN,
+		}, {
+			.type     = EM28XX_VMUX_SVIDEO,
+			.amux     = EM28XX_AMUX_LINE_IN,
+		} },
+	},
 };
 EXPORT_SYMBOL_GPL(em28xx_boards);
 
@@ -2696,6 +2714,8 @@ struct usb_device_id em28xx_id_table[] = {
 			.driver_info = EM28178_BOARD_PLEX_PX_BCUD },
 	{ USB_DEVICE(0xeb1a, 0x5051), /* Ion Video 2 PC MKII / Startech svid2usb23 / Raygo R12-41373 */
 			.driver_info = EM2860_BOARD_TVP5150_REFERENCE_DESIGN },
+	{ USB_DEVICE(0x1b80, 0xe349), /* Magix USB Videowandler-2 */
+		.driver_info = EM2861_BOARD_MAGIX_VIDEOWANDLER2 },
 	{ },
 };
 MODULE_DEVICE_TABLE(usb, em28xx_id_table);
diff --git a/drivers/media/usb/em28xx/em28xx.h b/drivers/media/usb/em28xx/em28xx.h
index a551072e62ed..ef8f2729f7b8 100644
--- a/drivers/media/usb/em28xx/em28xx.h
+++ b/drivers/media/usb/em28xx/em28xx.h
@@ -149,6 +149,7 @@
 #define EM28174_BOARD_HAUPPAUGE_WINTV_DUALHD_01595 100
 #define EM2884_BOARD_TERRATEC_H6		  101
 #define EM2882_BOARD_ZOLID_HYBRID_TV_STICK		102
+#define EM2861_BOARD_MAGIX_VIDEOWANDLER2          103
 
 /* Limits minimum and default number of buffers */
 #define EM28XX_MIN_BUF 4
-- 
2.20.1


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

* Re: [PATCH] media: em28xx: Add support for Magix Wideowandler 2
  2019-09-01 21:27 [PATCH] media: em28xx: Add support for Magix Wideowandler 2 Dominik Danelski
@ 2019-09-10 20:59 ` Dominik Danelski
  2019-09-11  8:31   ` Sean Young
  0 siblings, 1 reply; 3+ messages in thread
From: Dominik Danelski @ 2019-09-10 20:59 UTC (permalink / raw)
  To: mchehab, linux-media

W dniu nie, 01.09.2019 o godzinie 23∶27 +0200, użytkownik Dominik Danelski napisał:
> Add support for Magix Wideowandler 2 - analog USB capture card
> 
> Co-author: Cornelius Porosanu <cornelius591@gmail.com>
> Signed-off-by: Dominik Danelski <dominik@danelski.pl>
> ---
>  drivers/media/usb/em28xx/em28xx-cards.c | 20 ++++++++++++++++++++
>  drivers/media/usb/em28xx/em28xx.h       |  1 +
>  2 files changed, 21 insertions(+)
> 
> diff --git a/drivers/media/usb/em28xx/em28xx-cards.c
> b/drivers/media/usb/em28xx/em28xx-cards.c
> index 1283c7ca9ad5..2faeb91c5afd 100644
> --- a/drivers/media/usb/em28xx/em28xx-cards.c
> +++ b/drivers/media/usb/em28xx/em28xx-cards.c
> @@ -2487,6 +2487,24 @@ const struct em28xx_board em28xx_boards[] = {
>  		.ir_codes      = RC_MAP_HAUPPAUGE,
>  		.leds          = hauppauge_dualhd_leds,
>  	},
> +	/*
> +	 * 1b80:e349 Magix USB Videowandler-2
> +	 * (same chips as Honestech VIDBOX NW03)
> +	 * Empia EM2860, Philips SAA7113, Empia EMP202, No Tuner
> +	 */
> +	[EM2861_BOARD_MAGIX_VIDEOWANDLER2] = {
> +		.name                = "Magix USB Videowandler-2",
> +		.tuner_type          = TUNER_ABSENT,
> +		.decoder             = EM28XX_SAA711X,
> +		.input               = { {
> +			.type     = EM28XX_VMUX_COMPOSITE,
> +			.vmux     = SAA7115_COMPOSITE0,
> +			.amux     = EM28XX_AMUX_LINE_IN,
> +		}, {
> +			.type     = EM28XX_VMUX_SVIDEO,
> +			.amux     = EM28XX_AMUX_LINE_IN,
> +		} },
> +	},
>  };
>  EXPORT_SYMBOL_GPL(em28xx_boards);
>  
> @@ -2696,6 +2714,8 @@ struct usb_device_id em28xx_id_table[] = {
>  			.driver_info = EM28178_BOARD_PLEX_PX_BCUD },
>  	{ USB_DEVICE(0xeb1a, 0x5051), /* Ion Video 2 PC MKII / Startech
> svid2usb23 / Raygo R12-41373 */
>  			.driver_info =
> EM2860_BOARD_TVP5150_REFERENCE_DESIGN },
> +	{ USB_DEVICE(0x1b80, 0xe349), /* Magix USB Videowandler-2 */
> +		.driver_info = EM2861_BOARD_MAGIX_VIDEOWANDLER2 },
>  	{ },
>  };
>  MODULE_DEVICE_TABLE(usb, em28xx_id_table);
> diff --git a/drivers/media/usb/em28xx/em28xx.h
> b/drivers/media/usb/em28xx/em28xx.h
> index a551072e62ed..ef8f2729f7b8 100644
> --- a/drivers/media/usb/em28xx/em28xx.h
> +++ b/drivers/media/usb/em28xx/em28xx.h
> @@ -149,6 +149,7 @@
>  #define EM28174_BOARD_HAUPPAUGE_WINTV_DUALHD_01595 100
>  #define EM2884_BOARD_TERRATEC_H6		  101
>  #define EM2882_BOARD_ZOLID_HYBRID_TV_STICK		102
> +#define EM2861_BOARD_MAGIX_VIDEOWANDLER2          103
>  
>  /* Limits minimum and default number of buffers */
>  #define EM28XX_MIN_BUF 4

Hello,
It's been 9 days now without any reponse. Do I need to change anything in my patch to have it accepted?
Regards
Dominik Danelski


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

* Re: [PATCH] media: em28xx: Add support for Magix Wideowandler 2
  2019-09-10 20:59 ` Dominik Danelski
@ 2019-09-11  8:31   ` Sean Young
  0 siblings, 0 replies; 3+ messages in thread
From: Sean Young @ 2019-09-11  8:31 UTC (permalink / raw)
  To: Dominik Danelski; +Cc: mchehab, linux-media

Hi Dominik,

On Tue, Sep 10, 2019 at 10:59:49PM +0200, Dominik Danelski wrote:
> W dniu nie, 01.09.2019 o godzinie 23∶27 +0200, użytkownik Dominik Danelski napisał:
> > Add support for Magix Wideowandler 2 - analog USB capture card
> > 
> > Co-author: Cornelius Porosanu <cornelius591@gmail.com>
> > Signed-off-by: Dominik Danelski <dominik@danelski.pl>
> > ---
> >  drivers/media/usb/em28xx/em28xx-cards.c | 20 ++++++++++++++++++++
> >  drivers/media/usb/em28xx/em28xx.h       |  1 +
> >  2 files changed, 21 insertions(+)
> > 
> > diff --git a/drivers/media/usb/em28xx/em28xx-cards.c
> > b/drivers/media/usb/em28xx/em28xx-cards.c
> > index 1283c7ca9ad5..2faeb91c5afd 100644
> > --- a/drivers/media/usb/em28xx/em28xx-cards.c
> > +++ b/drivers/media/usb/em28xx/em28xx-cards.c
> > @@ -2487,6 +2487,24 @@ const struct em28xx_board em28xx_boards[] = {
> >  		.ir_codes      = RC_MAP_HAUPPAUGE,
> >  		.leds          = hauppauge_dualhd_leds,
> >  	},
> > +	/*
> > +	 * 1b80:e349 Magix USB Videowandler-2
> > +	 * (same chips as Honestech VIDBOX NW03)
> > +	 * Empia EM2860, Philips SAA7113, Empia EMP202, No Tuner
> > +	 */
> > +	[EM2861_BOARD_MAGIX_VIDEOWANDLER2] = {
> > +		.name                = "Magix USB Videowandler-2",
> > +		.tuner_type          = TUNER_ABSENT,
> > +		.decoder             = EM28XX_SAA711X,
> > +		.input               = { {
> > +			.type     = EM28XX_VMUX_COMPOSITE,
> > +			.vmux     = SAA7115_COMPOSITE0,
> > +			.amux     = EM28XX_AMUX_LINE_IN,
> > +		}, {
> > +			.type     = EM28XX_VMUX_SVIDEO,
> > +			.amux     = EM28XX_AMUX_LINE_IN,
> > +		} },
> > +	},
> >  };
> >  EXPORT_SYMBOL_GPL(em28xx_boards);
> >  
> > @@ -2696,6 +2714,8 @@ struct usb_device_id em28xx_id_table[] = {
> >  			.driver_info = EM28178_BOARD_PLEX_PX_BCUD },
> >  	{ USB_DEVICE(0xeb1a, 0x5051), /* Ion Video 2 PC MKII / Startech
> > svid2usb23 / Raygo R12-41373 */
> >  			.driver_info =
> > EM2860_BOARD_TVP5150_REFERENCE_DESIGN },
> > +	{ USB_DEVICE(0x1b80, 0xe349), /* Magix USB Videowandler-2 */
> > +		.driver_info = EM2861_BOARD_MAGIX_VIDEOWANDLER2 },
> >  	{ },
> >  };
> >  MODULE_DEVICE_TABLE(usb, em28xx_id_table);
> > diff --git a/drivers/media/usb/em28xx/em28xx.h
> > b/drivers/media/usb/em28xx/em28xx.h
> > index a551072e62ed..ef8f2729f7b8 100644
> > --- a/drivers/media/usb/em28xx/em28xx.h
> > +++ b/drivers/media/usb/em28xx/em28xx.h
> > @@ -149,6 +149,7 @@
> >  #define EM28174_BOARD_HAUPPAUGE_WINTV_DUALHD_01595 100
> >  #define EM2884_BOARD_TERRATEC_H6		  101
> >  #define EM2882_BOARD_ZOLID_HYBRID_TV_STICK		102
> > +#define EM2861_BOARD_MAGIX_VIDEOWANDLER2          103
> >  
> >  /* Limits minimum and default number of buffers */
> >  #define EM28XX_MIN_BUF 4
> 
> Hello,
> It's been 9 days now without any reponse. Do I need to change anything in my patch to have it accepted?

Patch looks good. We'll merge patches once we're past the next merge window
(unless there are comments from anyone in the mean time of course).


Sean

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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-01 21:27 [PATCH] media: em28xx: Add support for Magix Wideowandler 2 Dominik Danelski
2019-09-10 20:59 ` Dominik Danelski
2019-09-11  8:31   ` Sean Young

Linux-Media Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-media/0 linux-media/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-media linux-media/ https://lore.kernel.org/linux-media \
		linux-media@vger.kernel.org linux-media@archiver.kernel.org
	public-inbox-index linux-media

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-media


AGPL code for this site: git clone https://public-inbox.org/ public-inbox