Re: [PATCH] V4L: em28xx: add support for Digitus/Plextor PX-AV200U grabbers

From: Devin Heitmueller
Date: Fri Mar 20 2009 - 15:28:31 EST


On Fri, Mar 20, 2009 at 2:54 PM, Mikhail Jiline <misha@xxxxxxxxxxx> wrote:
> From: Misha Zhilin <misha@xxxxxxxxxxx>
>
> Adds support for Digitus/Plextor PX-AV200U grabbers
> Signed-off-by: Misha Zhilin <misha@xxxxxxxxxxx>
> ---
>
> diff -urN linux-2.6.27.x86_64.orig/drivers/media/video/em28xx/em28xx-cards.c linux-2.6.27.x86_64.new/drivers/media/video/em28xx/em28xx-cards.c
> --- linux-2.6.27.x86_64.orig/drivers/media/video/em28xx/em28xx-cards.c  2008-10-09 18:13:53.000000000 -0400
> +++ linux-2.6.27.x86_64.new/drivers/media/video/em28xx/em28xx-cards.c   2009-03-04 16:18:03.000000000 -0500
> @@ -1087,6 +1087,21 @@
>                        .amux     = EM28XX_AMUX_LINE_IN,
>                } },
>        },
> +       [EM2820_BOARD_PLEXTOR_PX_AV200U] = {
> +               .name         = "Plextor PX-AV200U",
> +               .valid        = EM28XX_BOARD_NOT_VALIDATED,
> +               .vchannels    = 2,
> +               .decoder      = EM28XX_SAA7113,
> +               .input          = { {
> +                       .type     = EM28XX_VMUX_COMPOSITE1,
> +                       .vmux     = SAA7115_COMPOSITE0,
> +                       .amux     = EM28XX_AMUX_AC97_LINE_IN,
> +               }, {
> +                       .type     = EM28XX_VMUX_SVIDEO,
> +                       .vmux     = SAA7115_SVIDEO3,
> +                       .amux     = EM28XX_AMUX_AC97_LINE_IN,
> +               } },
> +       },
>  };
>  const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards);
>
> Binary files linux-2.6.27.x86_64.orig/drivers/media/video/em28xx/.em28xx-cards.c.swp and linux-2.6.27.x86_64.new/drivers/media/video/em28xx/.em28xx-cards.c.swp differ
> diff -urN linux-2.6.27.x86_64.orig/drivers/media/video/em28xx/em28xx.h linux-2.6.27.x86_64.new/drivers/media/video/em28xx/em28xx.h
> --- linux-2.6.27.x86_64.orig/drivers/media/video/em28xx/em28xx.h        2008-10-09 18:13:53.000000000 -0400
> +++ linux-2.6.27.x86_64.new/drivers/media/video/em28xx/em28xx.h 2009-03-04 15:33:24.000000000 -0500
> @@ -97,6 +97,8 @@
>  #define EM2882_BOARD_PINNACLE_HYBRID_PRO         56
>  #define EM2883_BOARD_KWORLD_HYBRID_A316                  57
>  #define EM2820_BOARD_COMPRO_VIDEOMATE_FORYOU     58
> +#define EM2820_BOARD_PLEXTOR_PX_AV200U            59
> +
>
>  /* Limits minimum and default number of buffers */
>  #define EM28XX_MIN_BUF 4
> diff -urN linux-2.6.27.x86_64.orig/Documentation/video4linux/CARDLIST.em28xx linux-2.6.27.x86_64.new/Documentation/video4linux/CARDLIST.em28xx
> --- linux-2.6.27.x86_64.orig/Documentation/video4linux/CARDLIST.em28xx  2008-10-09 18:13:53.000000000 -0400
> +++ linux-2.6.27.x86_64.new/Documentation/video4linux/CARDLIST.em28xx   2009-03-18 11:15:00.000000000 -0400
> @@ -57,3 +57,4 @@
>  56 -> Pinnacle Hybrid Pro (2)                  (em2882)        [2304:0226]
>  57 -> Kworld PlusTV HD Hybrid 330              (em2883)        [eb1a:a316]
>  58 -> Compro VideoMate ForYou/Stereo           (em2820/em2840) [185b:2041]
> + 59 -> Plextor PX-AV200U                        (em2880)
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>

Is this patch incomplete? Where is the registration for the USB ID of
the device?

Devin

--
Devin J. Heitmueller
http://www.devinheitmueller.com
AIM: devinheitmueller
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/