Skip to contentSkip to conversation

Proposed patch for libv4l-0.6.4 to support Asus K70AD where webcam is upsid down

DISCUSSION Luc Bruninx 1 participant 1 message Mar 10, 2010 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore 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)