public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Proposed patch for libv4l-0.6.4 to support Asus K70AD where webcam is upsid down
@ 2010-03-10  9:46 Luc Bruninx
  0 siblings, 0 replies; only message in thread
From: Luc Bruninx @ 2010-03-10  9:46 UTC (permalink / raw)
  To: linux-media

I installed Ubuntu Karmic on a Asus laptop PRO79A equipped with a
motherboard K70AD. However, with the original libv4l-0.6.4 library, the
image of the webcam is upside down. I suggest you this little patch that
solved the problem on my machine.

<!--- libv4lcontrol.diff -->

--- libv4l-0.6.4/libv4lconvert/control/libv4lcontrol.c    2010-01-16
03:37:23.000000000 +0100
+++ libv4l-0.6.4-2/libv4lconvert/control/libv4lcontrol.c    2010-03-10
09:59:09.000000000 +0100
@@ -128,6 +128,10 @@
     V4LCONTROL_HFLIPPED|V4LCONTROL_VFLIPPED },
   { 0x04f2, 0xb071, 0, "ASUSTeK Computer Inc.        ", "K70AB     ",
     V4LCONTROL_HFLIPPED|V4LCONTROL_VFLIPPED },
+  /* Ajout Asus PRO79A: Motherboard K70AD ici... */
+  { 0x04f2, 0xb071, 0, "ASUSTeK Computer Inc.        ", "K70AD     ",
+    V4LCONTROL_HFLIPPED|V4LCONTROL_VFLIPPED },
+  /* Webcam Chicony CNF7129 */
   { 0x04f2, 0xb071, 0, "ASUSTeK Computer Inc.        ", "K70IC     ",
     V4LCONTROL_HFLIPPED|V4LCONTROL_VFLIPPED },
   { 0x04f2, 0xb071, 0, "ASUSTeK Computer Inc.        ", "K70IJ     ",

<!-- END libv4lcontrol.diff -->

Thank you for the interest you will bring to this suggestion.
 
Luc BRUNINX
(Belgium)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-03-10  9:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10  9:46 Proposed patch for libv4l-0.6.4 to support Asus K70AD where webcam is upsid down Luc Bruninx

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