public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Luc Bruninx <luc2005@lbruninx.be>
To: linux-media@vger.kernel.org
Subject: Proposed patch for libv4l-0.6.4 to support Asus K70AD where webcam is upsid down
Date: Wed, 10 Mar 2010 10:46:02 +0100	[thread overview]
Message-ID: <4B976A5A.400@lbruninx.be> (raw)

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)

                 reply	other threads:[~2010-03-10  9:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B976A5A.400@lbruninx.be \
    --to=luc2005@lbruninx.be \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox