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

2012-05-15 Thread Jozsef Marton
From: Jozsef Marton jmar...@users.sourceforge.net

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 jmar...@users.sourceforge.net
---
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.0 +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
 pac7302093a:2624   PAC7302
 pac7302093a:2625   Genius iSlim 310
 pac7302093a:2626   Labtec 2200
+pac7302093a:2627   Genius FaceCam 300
 pac7302093a:2628   Genius iLook 300
 pac7302093a:2629   Genious iSlim 300
 pac7302093a: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.0 +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)},
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2012-05-15 Thread Németh Márton

Acked-by: Márton Németh nm...@freemail.hu

Jozsef Marton wrote:
 From: Jozsef Marton jmar...@users.sourceforge.net
 
 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 jmar...@users.sourceforge.net
 ---
 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.0 +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.0 +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)},
 
 

--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html