Hello Andreas,

libv4l already knows about two K70IJ models:
http://git.linuxtv.org/v4l-utils.git/blob/HEAD:/lib/libv4lconvert/control/libv4lcontrol.c

{ 0x064e, 0xa116, 0, "ASUSTeK Computer Inc.        ", "K70IJ     ",
 354                 V4LCONTROL_HFLIPPED | V4LCONTROL_VFLIPPED },
{ 0x04f2, 0xb071, 0, "ASUSTeK Computer Inc.        ", "K70IJ     ",
 179                 V4LCONTROL_HFLIPPED | V4LCONTROL_VFLIPPED },

To create another entry for the table I'd need the exact content of the following DMI entries (including whitespaces) and the camera USB-ID:

echo _$(cat /sys/class/dmi/id/board_vendor)_
echo _$(cat /sys/class/dmi/id/board_name)_
echo _$(cat /sys/class/dmi/id/board_version)_
lsusb

To find the correct flipping mode you need to try combinations of the following flags:

http://git.linuxtv.org/v4l-utils.git/blob/HEAD:/lib/libv4lconvert/control/libv4lcontrol.h
#define V4LCONTROL_HFLIPPED              0x01
#define V4LCONTROL_VFLIPPED              0x02
#define V4LCONTROL_ROTATED_90_JPEG       0x04

You can simulate the flip-table entries by exporting LIBV4LCONTROL_FLAGS. Please try the following combinations and report which one works for you. (In case Skype gives no output with LIBV4LCONTROL_FLAGS defined, please use cheese. With cheese you don't need to preload any libs because gstreamer already uses libv4l directly [you can see it by cat /proc/12345/maps |grep v4l])

export LIBV4LCONTROL_FLAGS=0 # none
export LIBV4LCONTROL_FLAGS=1 # H
export LIBV4LCONTROL_FLAGS=2 # V
export LIBV4LCONTROL_FLAGS=3 # H + V

Thanks,
Gregor




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to