Re: v4l2-compliance utility

2011-01-22 Thread Hans Verkuil
On Saturday, January 22, 2011 00:35:19 Andy Walls wrote: On Fri, 2011-01-21 at 23:37 +0100, Hans Verkuil wrote: Hi all, As you may have seen I have been adding a lot of tests to the v4l2-compliance utility in v4l-utils lately. It is now getting to the state that is becomes quite

[GIT PATCHES FOR 2.6.39] Switch cpia2 and pwc to video_ioctl2

2011-01-22 Thread Hans Verkuil
Tested with pwc, but we still have no hardware for cpia2 so that is untested. But the changes are pretty straightforward. Regards, Hans The following changes since commit cf720fed25b8078ce0d6a10036dbf7a0baded679: Mauro Carvalho Chehab (1): [media] add support for Encore FM3

[PATCH v2] Add support for M5MO-LS 8 Mega Pixel camera

2011-01-22 Thread Kim, HeungJun
Hello, This is second patch of I2C/V4L2 subdev driver for M5MOLS 8 Mega Pixel camera sensor using MIPI interface. The first version patch is here: http://www.spinics.net/lists/linux-media/msg26246.html And the first verion's issues was corrected referencing with quick reviews of Hans Verkuil

Re: camera on Freescale i.MX51

2011-01-22 Thread Anca Emanuel
On Tue, Jan 18, 2011 at 3:37 PM, Claudiu Covaci claudiu.cov...@gmail.com wrote: Hi, I'm have trouble receiving a video stream on the Freescale i.MX51 processor. I've tried everything I could think, so I'm trying my luck here. I'm using a 2.6.31 kernel with some modifications: the camera

[RFC PATCH 0/3] v4l2-ctrls: add new functionality

2011-01-22 Thread Hans Verkuil
This RFC patch series adds and documents two new features of the control framework. The first adds support to enable or disable specific controls or all controls from a control handler. This is needed to support drivers that need to change which controls are available based on the chosen input or

[RFC PATCH 2/3] v4l2-ctrls: add v4l2_ctrl_auto_cluster to simplify autogain/gain scenarios

2011-01-22 Thread Hans Verkuil
It is a bit tricky to handle autogain/gain type scenerios correctly. Such controls need to be clustered and the V4L2_CTRL_FLAG_UPDATE should be set on the non-auto controls. If you set a non-auto control without setting the auto control at the same time, then the auto control should switch to

[RFC PATCH 1/3] v4l2-ctrls: must be able to enable/disable controls

2011-01-22 Thread Hans Verkuil
Controls can be dependent on the chosen input/output. So it has to be possible to enable or disable groups of controls, preventing them from being seen in the application. We need to allow duplicate controls as well so that two control handlers that both have the same control will still work. The

[RFC PATCH 3/3] v4l2-ctrls: update control framework documentation

2011-01-22 Thread Hans Verkuil
Document how to enable/disable controls. Document the new v4l2_ctrl_auto_cluster function. Document the practical method of using anonymous structs to 'cluster' controls instead of using cumbersome control pointer arrays. Signed-off-by: Hans Verkuil hverk...@xs4all.nl ---

How to re-start m2m device after suspend ?

2011-01-22 Thread Jonghun Han
Hello, I don't know whether the way to restart m2m device after suspend is right or not. To go to suspend state, I think m2m device should stop the job even if there are remained jobs in ready queue. After suspend, driver should restart remained jobs in resume function without ioctl command like:

Re: [RFC PATCH 1/3] v4l2-ctrls: must be able to enable/disable controls

2011-01-22 Thread Andy Walls
On Sat, 2011-01-22 at 12:05 +0100, Hans Verkuil wrote: Controls can be dependent on the chosen input/output. So it has to be possible to enable or disable groups of controls, preventing them from being seen in the application. I'm not a human factors expert, but given some of the principles

Re: [PATCH 2/3] sr030pc30: Use the control framework

2011-01-22 Thread Sylwester Nawrocki
Hello Hans, On 2011-01-20 20:09, Hans Verkuil wrote: Hi Sylwester! I have some review comments below... Thank you for taking time to look at the patches. On Thursday, January 20, 2011 02:44:01 Sylwester Nawrocki wrote: Implement controls using the control framework. Add

Re: ngene Satix-S2 dual problems

2011-01-22 Thread Robert Longbottom
On 11 Jan 2011, at 15:25, Andre wrote: On 28 Dec 2010, at 17:25, Andre wrote: / / / I seems to work with the last patch commited by Oliver Endriss. Did you/ / try with a CI ?/ / / / No I didn't, I don't have a CI./ / / / I'll try Olivers latest commit in a few days, I'm a long way from

Re: [RFC PATCH 1/3] v4l2-ctrls: must be able to enable/disable controls

2011-01-22 Thread Hans Verkuil
On Saturday, January 22, 2011 17:11:12 Andy Walls wrote: On Sat, 2011-01-22 at 12:05 +0100, Hans Verkuil wrote: Controls can be dependent on the chosen input/output. So it has to be possible to enable or disable groups of controls, preventing them from being seen in the application.

Re: camera on Freescale i.MX51

2011-01-22 Thread Hans Verkuil
On Saturday, January 22, 2011 11:28:33 Anca Emanuel wrote: On Tue, Jan 18, 2011 at 3:37 PM, Claudiu Covaci claudiu.cov...@gmail.com wrote: Hi, I'm have trouble receiving a video stream on the Freescale i.MX51 processor. I've tried everything I could think, so I'm trying my luck here.

Re: camera on Freescale i.MX51

2011-01-22 Thread Fabio Estevam
Hi Claudiu, On Tue, Jan 18, 2011 at 11:37 AM, Claudiu Covaci claudiu.cov...@gmail.com wrote: Hi, I'm have trouble receiving a video stream on the Freescale i.MX51 processor. I've tried everything I could think, so I'm trying my luck here. I'm using a 2.6.31 kernel with some modifications:

[cron job] v4l-dvb daily build: OK

2011-01-22 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Sat Jan 22 19:00:26 CET 2011 git master: 1b59be2a6cdcb5a12e18d8315c07c94a624de48f git media-master: gcc version:

Re: [RFC PATCH 02/12] sh_mobile_ceu_camera: implement the control handler.

2011-01-22 Thread Guennadi Liakhovetski
On Wed, 12 Jan 2011, Hans Verkuil wrote: And since this is the last and only host driver that uses controls, also remove the now obsolete control fields from soc_camera.h. Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/video/sh_mobile_ceu_camera.c | 95

Re: [RFC PATCH 03/12] mt9m001: convert to the control framework.

2011-01-22 Thread Guennadi Liakhovetski
On Wed, 12 Jan 2011, Hans Verkuil wrote: Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/video/mt9m001.c | 210 +++-- 1 files changed, 75 insertions(+), 135 deletions(-) diff --git a/drivers/media/video/mt9m001.c

Re: [RFC PATCH 04/12] mt9m111.c: convert to the control framework.

2011-01-22 Thread Guennadi Liakhovetski
On Wed, 12 Jan 2011, Hans Verkuil wrote: Signed-off-by: Hans Verkuil hverk...@xs4all.nl --- drivers/media/video/mt9m111.c | 184 - 1 files changed, 54 insertions(+), 130 deletions(-) diff --git a/drivers/media/video/mt9m111.c

Re: [RFC PATCH 06/12] mt9t031: convert to the control framework.

2011-01-22 Thread Guennadi Liakhovetski
Same questions as to the previous ones: 1. how is V4L2_CID_EXPOSURE taken care of? I see, that the functionality is provided by the control cluster, but, AFAIU, user just issuing that control will not get the desired result? 2. separate handlers 3. v4l2_device_unregister_subdev() Thanks

[RFC PATCH] Getting Hauppauge WinTV HVR-1400 (XC3028L) to work

2011-01-22 Thread Alina Friedrichsen
With this patch my DVB-T receiver works now like before 2.6.34, only the first four tunings fails, after that all works fine. The code was still in there, only commented out. As the original author says, please test it with different XC3028 hardware. If no one has problems with it, please commit

Re: [PATCH V3] v4l: OMAP3 ISP CCDC: Add support for 8bit greyscale sensors

2011-01-22 Thread Laurent Pinchart
Hi Martin, Thanks for the patch. On Friday 21 January 2011 00:43:31 Martin Hostettler wrote: Adds support for V4L2_MBUS_FMT_Y8_1X8 format and 8bit data width in synchronous interface. When using V4L2_MBUS_FMT_Y8_1X8 (or possibly another 8bit per pixel) mode set the CDCC to output 8bit per

Re: [PATCH] media-ctl: subdev: add Y8 format.

2011-01-22 Thread Laurent Pinchart
Hi Martin, On Friday 21 January 2011 00:00:29 Martin Hostettler wrote: --- subdev.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) This is a trivial patch for media-ctl to support monochrome 8bit video formats. Thanks for the patch. I've applied it. -- Regards, Laurent

Re: [RFC PATCH 03/12] mt9m001: convert to the control framework.

2011-01-22 Thread Kim HeungJun
Hello, I'm reading threads about the new v4l2_ctrl framework and If you don't mind I gotta tell you my humble opinion about testing result the new v4l2_ctrl framework subdev. I have actually similar curcumstance, with I2C subdev M5MOLS Fujitsu device which is just send the patch and S5PC210 board

Re: [PATCH v2] Add support for M5MO-LS 8 Mega Pixel camera

2011-01-22 Thread Sylwester Nawrocki
HeungJun, as I didn't really get a chance to review this patch in its current form before, please let me now add some further comments. On 01/22/2011 11:12 AM, Kim, HeungJun wrote: Hello, This is second patch of I2C/V4L2 subdev driver for M5MOLS 8 Mega Pixel camera sensor using MIPI