From patchwork Fri May 6 06:04:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Stefan_L=C3=B6ffler?= X-Patchwork-Id: 760982 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4664OsH007150 for ; Fri, 6 May 2011 06:04:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751938Ab1EFGEV (ORCPT ); Fri, 6 May 2011 02:04:21 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:51828 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751792Ab1EFGEU (ORCPT ); Fri, 6 May 2011 02:04:20 -0400 Received: by bwz15 with SMTP id 15so2396624bwz.19 for ; Thu, 05 May 2011 23:04:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:content-type:content-transfer-encoding; bh=twmUVKx1ChjqTyOVFF6UHHmBgG/wa+K2woHuvI5d3/g=; b=NkxkACi/EFnwqKeYjx9SBGlgWgPJFabe/5Urjocl0aqQXGNBTK8/EZyEengWCT+naK +VI0Abmk3kPAaHp0+7TQFiVmsPZvbad+PtvDP37ZZYzQH44kaSZ4UyNEM+nx6fCgVVDj NTPLgl1eFG+KYKbSSgmQtbsb+NPqAu7DWz5aY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=vOvesufBMRzPNUBrGBH4nMLtCnMzfrOi5m6MXTcqqJ/e0oaD1nBV8Gc6Lit/HN4ZMb JHApif1mEsXCEoypY2eXlFyCkRHQVVAKKUylSCfnzxFzJAa/TkCnY1+PFn8gVCa83r0W MeNtsPMPbRY2OCySaU27eWiIRPjZXHIqdekEA= Received: by 10.204.42.76 with SMTP id r12mr1373059bke.154.1304661859115; Thu, 05 May 2011 23:04:19 -0700 (PDT) Received: from [192.168.0.5] (chello084114195212.1.15.vie.surfer.at [84.114.195.212]) by mx.google.com with ESMTPS id q18sm1792487bka.15.2011.05.05.23.04.18 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 May 2011 23:04:18 -0700 (PDT) Message-ID: <4DC38F61.9030506@gmail.com> Date: Fri, 06 May 2011 08:04:17 +0200 From: =?ISO-8859-15?Q?Stefan_L=F6ffler?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: linux-media@vger.kernel.org CC: =?ISO-8859-15?Q?Stefan_L=F6ffler?= Subject: [libv4l] [PATCH] Webcam image upside down on Asus Eee PC T101MT (13d3:5122) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Fri, 06 May 2011 06:04:24 +0000 (UTC) The caption pretty much says it all. Owing to different IDs, the flags for similar Asus products don't cut in. Originally reported for Ubuntu at https://bugs.launchpad.net/ubuntu/+source/libv4l/+bug/774123. Regards, Stefan Signed-off-by: Stefan Löffler { 0x13d3, 0x5130, 0, "ASUSTeK Computer INC.", "K40AF", --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/lib/libv4lconvert/control/libv4lcontrol.c b/lib/libv4lconvert/control/libv4lcontrol.c index 116bef5..6b3be9b 100644 --- a/lib/libv4lconvert/control/libv4lcontrol.c +++ b/lib/libv4lconvert/control/libv4lcontrol.c @@ -424,6 +424,8 @@ static const struct v4lcontrol_flags_info v4lcontrol_flags[] = { V4LCONTROL_HFLIPPED | V4LCONTROL_VFLIPPED }, { 0x13d3, 0x5122, 0, "ASUSTeK Computer Inc. ", "U53Jc", V4LCONTROL_HFLIPPED | V4LCONTROL_VFLIPPED }, + { 0x13d3, 0x5126, 0, "ASUSTeK Computer INC.", "T101MT", + V4LCONTROL_HFLIPPED | V4LCONTROL_VFLIPPED }, { 0x13d3, 0x5130, 0, "ASUSTeK Computer INC.", "K40AE", V4LCONTROL_HFLIPPED | V4LCONTROL_VFLIPPED },