[GIT,PATCHES,FOR,2.6.38] gspca for_2.6.38
Message ID | 20110113115953.4636c392@tele (mailing list archive) |
---|---|
State | Superseded, archived |
Headers |
Return-path: <mchehab@pedra> Envelope-to: mchehab@pedra Delivery-date: Thu, 13 Jan 2011 10:14:06 -0200 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from <mchehab@pedra>) id 1PdM45-00072s-JO for mchehab@pedra; Thu, 13 Jan 2011 10:14:05 -0200 Received: from casper.infradead.org [85.118.1.10] by pedra with IMAP (fetchmail-6.3.17) for <mchehab@localhost> (single-drop); Thu, 13 Jan 2011 10:14:05 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1PdKrd-0002rY-Jt; Thu, 13 Jan 2011 10:57:09 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756492Ab1AMK5H (ORCPT <rfc822; kmpark@infradead.org> + 1 other); Thu, 13 Jan 2011 05:57:07 -0500 Received: from smtp5-g21.free.fr ([212.27.42.5]:55642 "EHLO smtp5-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756285Ab1AMK5G convert rfc822-to-8bit (ORCPT <rfc822;linux-media@vger.kernel.org>); Thu, 13 Jan 2011 05:57:06 -0500 Received: from tele (unknown [82.245.201.222]) by smtp5-g21.free.fr (Postfix) with ESMTP id 1E2E0D4808E for <linux-media@vger.kernel.org>; Thu, 13 Jan 2011 11:56:58 +0100 (CET) Date: Thu, 13 Jan 2011 11:59:53 +0100 From: Jean-Francois Moine <moinejf@free.fr> To: linux-media@vger.kernel.org Subject: [GIT PATCHES FOR 2.6.38] gspca for_2.6.38 Message-ID: <20110113115953.4636c392@tele> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org Sender: <mchehab@pedra> |
Pull-request
git://linuxtv.org/jfrancois/gspca.git for_2.6.38Message
Jean-Francois Moine
Jan. 13, 2011, 10:59 a.m. UTC
The following changes since commit 353b61709a555fab9745cb7aea18e1c376c413ce: [media] radio-si470x: Always report support for RDS (2011-01-11 14:44:28 -0200) are available in the git repository at: git://linuxtv.org/jfrancois/gspca.git for_2.6.38 Jean-François Moine (9): gspca: Version change. gspca: Remove __devinit, __devinitconst and __devinitdata gspca: Remove useless instructions gspca - ov519: Cleanup source and add a comment gspca - ov534: Clearer debug messages gspca - ov534: Propagate errors to higher level gspca - ov534: Use the new video control mechanism gspca - sonixj: Infrared bug fix and enhancement gspca - sonixj: Add LED (illuminator) control to the webcam 0c45:614a. drivers/media/video/gspca/benq.c | 2 +- drivers/media/video/gspca/conex.c | 4 +- drivers/media/video/gspca/cpia1.c | 2 +- drivers/media/video/gspca/etoms.c | 4 +- drivers/media/video/gspca/finepix.c | 2 +- drivers/media/video/gspca/gl860/gl860.c | 2 +- drivers/media/video/gspca/gspca.c | 2 +- drivers/media/video/gspca/jeilinj.c | 2 +- drivers/media/video/gspca/jpeg.h | 4 +- drivers/media/video/gspca/konica.c | 2 +- drivers/media/video/gspca/m5602/m5602_core.c | 2 +- drivers/media/video/gspca/mars.c | 2 +- drivers/media/video/gspca/mr97310a.c | 2 +- drivers/media/video/gspca/ov519.c | 8 +- drivers/media/video/gspca/ov534.c | 473 +++++++------------------- drivers/media/video/gspca/ov534_9.c | 2 +- drivers/media/video/gspca/pac207.c | 2 +- drivers/media/video/gspca/pac7302.c | 4 +- drivers/media/video/gspca/pac7311.c | 4 +- drivers/media/video/gspca/sn9c2028.c | 2 +- drivers/media/video/gspca/sn9c20x.c | 2 +- drivers/media/video/gspca/sonixb.c | 4 +- drivers/media/video/gspca/sonixj.c | 92 +++--- drivers/media/video/gspca/spca1528.c | 2 +- drivers/media/video/gspca/spca500.c | 2 +- drivers/media/video/gspca/spca501.c | 2 +- drivers/media/video/gspca/spca505.c | 2 +- drivers/media/video/gspca/spca508.c | 2 +- drivers/media/video/gspca/spca561.c | 2 +- drivers/media/video/gspca/sq905.c | 2 +- drivers/media/video/gspca/sq905c.c | 2 +- drivers/media/video/gspca/sq930x.c | 2 +- drivers/media/video/gspca/stk014.c | 2 +- drivers/media/video/gspca/stv0680.c | 2 +- drivers/media/video/gspca/stv06xx/stv06xx.c | 2 +- drivers/media/video/gspca/sunplus.c | 2 +- drivers/media/video/gspca/t613.c | 2 +- drivers/media/video/gspca/tv8532.c | 2 +- drivers/media/video/gspca/vc032x.c | 2 +- drivers/media/video/gspca/xirlink_cit.c | 2 +- drivers/media/video/gspca/zc3xx.c | 2 +- 41 files changed, 218 insertions(+), 443 deletions(-)
Comments
On Thu, 13 Jan 2011 11:59:53 +0100 Jean-Francois Moine <moinejf@free.fr> wrote: > The following changes since commit > 353b61709a555fab9745cb7aea18e1c376c413ce: > > [media] radio-si470x: Always report support for RDS (2011-01-11 14:44:28 -0200) > > are available in the git repository at: > git://linuxtv.org/jfrancois/gspca.git for_2.6.38 > Hi Jean-François, I had a look at the ov534 changes. > Jean-François Moine (9): [...] > gspca - ov534: Use the new video control mechanism In this commit, is there a reason why you didn't rename also sd_setagc() into setagc() like for the other functions? I am going to test the changes and report back if there's anything more, I like the cleanup tho. Thanks, Antonio
On Thu, 13 Jan 2011 12:38:04 +0100 Antonio Ospite <ospite@studenti.unina.it> wrote: > > Jean-François Moine (9): > [...] > > gspca - ov534: Use the new video control mechanism > > In this commit, is there a reason why you didn't rename also > sd_setagc() into setagc() like for the other functions? > > I am going to test the changes and report back if there's anything > more, I like the cleanup tho. Hi Antonio, With the new video control mechanism, the '.set_control' function is called only when capture is active. Otherwise, the '.set' function is called in any case, and here, it activates/inactivates the auto white balance control... Oh, I forgot to disable the awb when the agc is disabled! Thank you for reporting any problem. BTW, the webcam 06f8:3002 which had been removed some time ago is being tested. I will add it to this subdriver as soon as it works correctly. Cheers.
On Thu, 13 Jan 2011 17:30:21 +0100 Jean-Francois Moine <moinejf@free.fr> wrote: > On Thu, 13 Jan 2011 12:38:04 +0100 > Antonio Ospite <ospite@studenti.unina.it> wrote: > > > > Jean-François Moine (9): > > [...] > > > gspca - ov534: Use the new video control mechanism > > > > In this commit, is there a reason why you didn't rename also > > sd_setagc() into setagc() like for the other functions? > > > > I am going to test the changes and report back if there's anything > > more, I like the cleanup tho. > > Hi Antonio, > > With the new video control mechanism, the '.set_control' function is > called only when capture is active. Otherwise, the '.set' function is > called in any case, and here, it activates/inactivates the auto white > balance control... Oh, I forgot to disable the awb when the agc is > disabled! > So the convention you used for function names is: .set = sd_setFOO; and .set_control = setBAR; right? Tested with guvcview, when toggling the Autoexposure control I get this message: control id: 0x009a0901 failed to set (error -1) control id: 0x009a0901 failed to get value (error -1) Similar error with qv4l2: Error Auto Exposure (1): Invalid argument And because of that the manual Exposure control does not work either. However I verified these errors are also in 2.6.35, so I think your conversion is fine, there must be something else going on; maybe I should open another thread, as there is also the pending issue of changing framerates "live", unrelated to the control changes as well. I hope to be able to look at these issues soon, if nobody else does before. Thanks, Antonio
Em 13-01-2011 14:30, Jean-Francois Moine escreveu: > On Thu, 13 Jan 2011 12:38:04 +0100 > Antonio Ospite <ospite@studenti.unina.it> wrote: > >>> Jean-François Moine (9): >> [...] >>> gspca - ov534: Use the new video control mechanism >> >> In this commit, is there a reason why you didn't rename also >> sd_setagc() into setagc() like for the other functions? >> >> I am going to test the changes and report back if there's anything >> more, I like the cleanup tho. > > Hi Antonio, > > With the new video control mechanism, the '.set_control' function is > called only when capture is active. Otherwise, the '.set' function is > called in any case, and here, it activates/inactivates the auto white > balance control... Oh, I forgot to disable the awb when the agc is > disabled! > > Thank you for reporting any problem. BTW, the webcam 06f8:3002 which > had been removed some time ago is being tested. I will add it to this > subdriver as soon as it works correctly. I'm applying the remaining 8 patches from this series, as they seem to be ok. Please send me a new pull request when you fix the issues with the ov534 new video control mechanism. Thanks, Mauro -- 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