2012-05-15 16:05:40

by Jozsef Marton

[permalink] [raw]
Subject: [PATCH] media: add support to gspca/pac7302.c for 093a:2627 (Genius FaceCam 300)

From: Jozsef Marton <[email protected]>

gspca_pac7302 module supports the webcam with usb id: 093a:2627.
It is a Genius FaceCam 300.
The module does not need any changes but listing the usb id along with a vertical flip flag.
The included patch adds this to the module source.

Signed-off-by: Jozsef Marton <[email protected]>
---
diff -uprN -X dontdiff linux-3.4-rc7-vanilla/Documentation/video4linux/gspca.txt linux-3.4-rc7/Documentation/video4linux/gspca.txt
--- linux-3.4-rc7-vanilla/Documentation/video4linux/gspca.txt 2012-05-13 03:37:47.000000000 +0200
+++ linux-3.4-rc7/Documentation/video4linux/gspca.txt 2012-05-15 16:56:55.603514846 +0200
@@ -276,6 +276,7 @@ pac7302 093a:2622 Genius Eye 312
pac7302 093a:2624 PAC7302
pac7302 093a:2625 Genius iSlim 310
pac7302 093a:2626 Labtec 2200
+pac7302 093a:2627 Genius FaceCam 300
pac7302 093a:2628 Genius iLook 300
pac7302 093a:2629 Genious iSlim 300
pac7302 093a:262a Webcam 300k
diff -uprN -X dontdiff linux-3.4-rc7-vanilla/drivers/media/video/gspca/pac7302.c linux-3.4-rc7/drivers/media/video/gspca/pac7302.c
--- linux-3.4-rc7-vanilla/drivers/media/video/gspca/pac7302.c 2012-05-13 03:37:47.000000000 +0200
+++ linux-3.4-rc7/drivers/media/video/gspca/pac7302.c 2012-05-15 15:15:03.355624405 +0200
@@ -940,6 +940,7 @@ static const struct usb_device_id device
{USB_DEVICE(0x093a, 0x2624), .driver_info = FL_VFLIP},
{USB_DEVICE(0x093a, 0x2625)},
{USB_DEVICE(0x093a, 0x2626)},
+ {USB_DEVICE(0x093a, 0x2627), .driver_info = FL_VFLIP},
{USB_DEVICE(0x093a, 0x2628)},
{USB_DEVICE(0x093a, 0x2629), .driver_info = FL_VFLIP},
{USB_DEVICE(0x093a, 0x262a)},


2012-05-15 20:50:48

by Németh Márton

[permalink] [raw]
Subject: Re: [PATCH] media: add support to gspca/pac7302.c for 093a:2627 (Genius FaceCam 300)


Acked-by: Márton Németh <[email protected]>

Jozsef Marton wrote:
> From: Jozsef Marton <[email protected]>
>
> gspca_pac7302 module supports the webcam with usb id: 093a:2627.
> It is a Genius FaceCam 300.
> The module does not need any changes but listing the usb id along with a vertical flip flag.
> The included patch adds this to the module source.
>
> Signed-off-by: Jozsef Marton <[email protected]>
> ---
> diff -uprN -X dontdiff linux-3.4-rc7-vanilla/Documentation/video4linux/gspca.txt linux-3.4-rc7/Documentation/video4linux/gspca.txt
> --- linux-3.4-rc7-vanilla/Documentation/video4linux/gspca.txt 2012-05-13 03:37:47.000000000 +0200
> +++ linux-3.4-rc7/Documentation/video4linux/gspca.txt 2012-05-15 16:56:55.603514846 +0200
> @@ -276,6 +276,7 @@ pac7302 093a:2622 Genius Eye 312
> pac7302 093a:2624 PAC7302
> pac7302 093a:2625 Genius iSlim 310
> pac7302 093a:2626 Labtec 2200
> +pac7302 093a:2627 Genius FaceCam 300
> pac7302 093a:2628 Genius iLook 300
> pac7302 093a:2629 Genious iSlim 300
> pac7302 093a:262a Webcam 300k
> diff -uprN -X dontdiff linux-3.4-rc7-vanilla/drivers/media/video/gspca/pac7302.c linux-3.4-rc7/drivers/media/video/gspca/pac7302.c
> --- linux-3.4-rc7-vanilla/drivers/media/video/gspca/pac7302.c 2012-05-13 03:37:47.000000000 +0200
> +++ linux-3.4-rc7/drivers/media/video/gspca/pac7302.c 2012-05-15 15:15:03.355624405 +0200
> @@ -940,6 +940,7 @@ static const struct usb_device_id device
> {USB_DEVICE(0x093a, 0x2624), .driver_info = FL_VFLIP},
> {USB_DEVICE(0x093a, 0x2625)},
> {USB_DEVICE(0x093a, 0x2626)},
> + {USB_DEVICE(0x093a, 0x2627), .driver_info = FL_VFLIP},
> {USB_DEVICE(0x093a, 0x2628)},
> {USB_DEVICE(0x093a, 0x2629), .driver_info = FL_VFLIP},
> {USB_DEVICE(0x093a, 0x262a)},
>
>