Re: [RFC PATCH 1/4] v4l: Add V4L2_CID_PRESET_WHITE_BALANCE menu control

2012-01-11 Thread Sakari Ailus
On Wed, Jan 04, 2012 at 11:06:13PM +0100, Sylwester Nawrocki wrote: > Hi Sakari, > > On 01/04/2012 10:24 PM, Sakari Ailus wrote: > > I don't quite understand the purpose of the do_white_balance; the > > automatic white balance algorithm is operational until it's disabled, > > and after

Re: [RFC] Resolution change support in video codecs in v4l2

2012-01-11 Thread 'Sakari Ailus'
Hi Kamil, On Wed, Jan 04, 2012 at 11:19:08AM +0100, Kamil Debski wrote: ... > > > This takes care of the delay related problems by requiring more buffers. > > > You have an initial delay then the frames are returned with a constant > > rate. > > > > > > Dequeuing of any frame will be delayed until

[PATCH 04/23] v4l: VIDIOC_SUBDEV_S_SELECTION and VIDIOC_SUBDEV_G_SELECTION IOCTLs

2012-01-11 Thread Sakari Ailus
Add support for VIDIOC_SUBDEV_S_SELECTION and VIDIOC_SUBDEV_G_SELECTION IOCTLs. They replace functionality provided by VIDIOC_SUBDEV_S_CROP and VIDIOC_SUBDEV_G_CROP IOCTLs and also add new functionality (composing). VIDIOC_SUBDEV_G_CROP and VIDIOC_SUBDEV_S_CROP continue to be supported. Signed-of

[PATCH 09/23] v4l: Add DPCM compressed formats

2012-01-11 Thread Sakari Ailus
Add three other colour orders for 10-bit to 8-bit DPCM compressed formats. Signed-off-by: Sakari Ailus --- Documentation/DocBook/media/v4l/pixfmt-srggb10.xml |2 +- .../DocBook/media/v4l/pixfmt-srggb10dpcm8.xml | 29 Documentation/DocBook/media/v4l/pixfmt.xml

[PATCH 08/23] v4l: Image source control class

2012-01-11 Thread Sakari Ailus
Add image source control class. This control class is intended to contain low level controls which deal with control of the image capture process --- the A/D converter in image sensors, for example. Signed-off-by: Sakari Ailus --- Documentation/DocBook/media/v4l/controls.xml | 112 +++

[PATCH 10/23] omap3isp: Support additional in-memory compressed bayer formats

2012-01-11 Thread Sakari Ailus
This also prevents accessing NULL pointer in csi2_try_format(). Signed-off-by: Sakari Ailus --- drivers/media/video/omap3isp/ispvideo.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/omap3isp/ispvideo.c b/drivers/media/video/omap3isp/is

[PATCH 17/23] v4l: Implement v4l2_subdev_link_validate()

2012-01-11 Thread Sakari Ailus
v4l2_subdev_link_validate() is the default op for validating a link. In V4L2 subdev context, it is used to call a pad op which performs the proper link check without much extra work. Signed-off-by: Sakari Ailus --- drivers/media/video/v4l2-subdev.c | 62 + i

[PATCH 23/23] rm680: Add camera init

2012-01-11 Thread Sakari Ailus
From: Sakari Ailus This currently introduces an extra file to the arch/arm/mach-omap2 directory: board-rm680-camera.c. Keeping the device tree in mind, the context of the file could be represented as static data with one exception: the external clock to the sensor. This external clock is provide

[PATCH 05/23] v4l: Support s_crop and g_crop through s/g_selection

2012-01-11 Thread Sakari Ailus
Fall back to s_selection if s_crop isn't implemented by a driver. Same for g_selection / g_crop. Signed-off-by: Sakari Ailus --- drivers/media/video/v4l2-subdev.c | 37 +++-- 1 files changed, 35 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/v4l

[PATCH 02/23] v4l: Document integer menu controls

2012-01-11 Thread Sakari Ailus
Signed-off-by: Sakari Ailus --- Documentation/DocBook/media/v4l/compat.xml | 10 + Documentation/DocBook/media/v4l/v4l2.xml |7 .../DocBook/media/v4l/vidioc-queryctrl.xml | 39 +++- 3 files changed, 54 insertions(+), 2 deletions(-) diff

[PATCH 21/23] omap3isp: Move resizer link validation to ispresizer.c

2012-01-11 Thread Sakari Ailus
Also remove isp_pipeline_validate. Signed-off-by: Sakari Ailus --- drivers/media/video/omap3isp/ispresizer.c | 17 - drivers/media/video/omap3isp/ispvideo.c | 61 - 2 files changed, 16 insertions(+), 62 deletions(-) diff --git a/drivers/media/video/omap

[PATCH 19/23] omap3isp: Default error handling for ccp2, csi2, preview and resizer

2012-01-11 Thread Sakari Ailus
Signed-off-by: Sakari Ailus --- drivers/media/video/omap3isp/ispccp2.c|2 ++ drivers/media/video/omap3isp/ispcsi2.c|2 ++ drivers/media/video/omap3isp/isppreview.c |2 ++ drivers/media/video/omap3isp/ispresizer.c |2 ++ drivers/media/video/omap3isp/ispvideo.c | 18

[PATCH 20/23] omap3isp: Move CCDC link validation to ispccdc.c

2012-01-11 Thread Sakari Ailus
Signed-off-by: Sakari Ailus --- drivers/media/video/omap3isp/ispccdc.c | 75 ++ drivers/media/video/omap3isp/ispvideo.c | 88 ++ 2 files changed, 81 insertions(+), 82 deletions(-) diff --git a/drivers/media/video/omap3isp/ispccdc.c b/driv

[PATCH 14/23] omap3isp: Configure CSI-2 phy based on platform data

2012-01-11 Thread Sakari Ailus
Configure CSI-2 phy based on platform data in the ISP driver. For that, the new V4L2_CID_IMAGE_SOURCE_PIXEL_RATE control is used. Previously the same was configured from the board code. Signed-off-by: Sakari Ailus --- drivers/media/video/omap3isp/isp.c | 29 ++- drivers/media/vid

[PATCH 16/23] media: Add link_validate op to check links to the sink pad

2012-01-11 Thread Sakari Ailus
Signed-off-by: Sakari Ailus --- drivers/media/media-entity.c | 73 - include/media/media-entity.h |5 ++- 2 files changed, 74 insertions(+), 4 deletions(-) diff --git a/drivers/media/media-entity.c b/drivers/media/media-entity.c index 056138f..62ef4b

[PATCH 18/23] omap3isp: Assume media_entity_pipeline_start may fail

2012-01-11 Thread Sakari Ailus
Since media_entity_pipeline_start() now does link validation, it may actually fail. Perform the error handling. Signed-off-by: Sakari Ailus --- drivers/media/video/omap3isp/ispvideo.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/omap3isp/ispvi

[PATCH 11/23] omap3isp: Move definitions required by board code under include/media.

2012-01-11 Thread Sakari Ailus
XCLK definitions are often required by the board code. Move them to public include file. Signed-off-by: Sakari Ailus --- drivers/media/video/omap3isp/isp.h |4 include/media/omap3isp.h |4 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/vi

[PATCH 12/23] omap3: add definition for CONTROL_CAMERA_PHY_CTRL

2012-01-11 Thread Sakari Ailus
This register is available only in OMAP3630. The original patch was submitted by Vimarsh Zutshi. Signed-off-by: Sakari Ailus --- arch/arm/mach-omap2/control.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/control.h b/arch/arm/mach-omap2/control.h i

[PATCH 13/23] omap3isp: Add lane configuration to platform data

2012-01-11 Thread Sakari Ailus
Add lane configuration (order of clock and data lane) to platform data on both CCP2 and CSI-2. Signed-off-by: Sakari Ailus --- drivers/media/video/omap3isp/ispcsiphy.h | 15 ++- include/media/omap3isp.h | 25 + 2 files changed, 27 insertion

[PATCH 15/23] omap3isp: Do not attempt to walk the pipeline outside the ISP

2012-01-11 Thread Sakari Ailus
Do not attempt to walk the pipeline outside of the ISP. The external subdevs will handle this internally. Signed-off-by: Sakari Ailus --- drivers/media/video/omap3isp/isp.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/omap3isp/isp.c b/drivers/m

[PATCH 07/23] v4l: Mark VIDIOC_SUBDEV_G_CROP and VIDIOC_SUBDEV_S_CROP obsolete

2012-01-11 Thread Sakari Ailus
These two IOCTLS are obsoleted by VIDIOC_SUBDEV_G_SELECTION and VIDIOC_SUBDEV_S_SELECTION. Mark them obsolete. Signed-off-by: Sakari Ailus --- Documentation/DocBook/media/v4l/compat.xml |7 +++ .../DocBook/media/v4l/vidioc-subdev-g-crop.xml |9 ++--- 2 files changed,

[PATCH 01/23] v4l: Introduce integer menu controls

2012-01-11 Thread Sakari Ailus
Create a new control type called V4L2_CTRL_TYPE_INTEGER_MENU. Integer menu controls are just like menu controls but the menu items are 64-bit integers rather than strings. Signed-off-by: Sakari Ailus --- drivers/media/video/v4l2-ctrls.c | 73 +- include/linu

[PATCH 03/23] vivi: Add an integer menu test control

2012-01-11 Thread Sakari Ailus
Add an integer menu test control for the vivi driver. Signed-off-by: Sakari Ailus --- drivers/media/video/vivi.c | 22 ++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index 7d754fb..aab375b 100644 --

[PATCH 0/23] V4L2 subdev and sensor control changes, SMIA++ driver and N9 camera board code

2012-01-11 Thread Sakari Ailus
Hi everyone, This the second version of my patchset that contains: - Integer menu controls [2], - Selection IOCTL for subdevs [3], - Sensor control changes [5,7], - link_validate() media entity and V4L2 subdev pad ops, - OMAP 3 ISP driver improvements [4], - SMIA++ sensor driver and - rm680/rm696

[GIT PATCHES FOR 3.3] More pwc cleanups and fixes

2012-01-11 Thread Hans de Goede
Hi Mauro, Please pull from my tree for some more pwc cleanups and fixes. The following changes since commit 240ab508aa9fb7a294b0ecb563b19ead000b2463: [media] [PATCH] don't reset the delivery system on DTV_CLEAR (2012-01-10 23:44:07 -0200) are available in the git repository at: git://linu

Winfast DV2000 card remote control

2012-01-11 Thread Trinine
Hi all, I have a Winfast DV2000 card ( this one: http://www.leadtek.com/eng/multimedia/overview.asp?lineid=6&pronameid=92&check=f ). This card is bundled with a remote named Y0400046 (picture here : http://old.nabble.com/attachment/24449803/0/Winfast_remote.jpg ) which is not recognized by the Lin

[PATCH] dvbv5-scan: parsing going to crash

2012-01-11 Thread linuxtv
From: Stefan Ringel Signed-off-by: Stefan Ringel --- utils/dvb/descriptors.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/dvb/descriptors.c b/utils/dvb/descriptors.c index b037c97..e9a8e2d 100644 --- a/utils/dvb/descriptors.c +++ b/utils/dvb/descriptors.c @@

Re: Possible regression in 3.2 kernel with PCTV Nanostick T2 (em28xx, cxd2820r and tda18271)

2012-01-11 Thread Jim Darby
On 11/01/12 01:05, Antti Palosaari wrote: [snip] Also latest LinuxTV.org devel could be interesting to see. There is one patch that changes em28xx driver endpoint configuration. But as that patch is going for 3.3 it should not be cause of issue, but I wonder if it could fix... Use media_build.

cron job: media_tree daily build: ERRORS

2012-01-11 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Wed Jan 11 19:00:27 CET 2012 git hash:240ab508aa9fb7a294b0ecb563b19ead000b2463 gcc version: i686-linux-gcc (GCC

[Build log] FreeBSD 8-stable for staging/v3.2 branch

2012-01-11 Thread Hans Petter Selasky
Hi, The following patches are used to make the media tree code compile under FreeBSD 8-stable: http://hselasky.homeunix.org:8192/media_tree_patches_freebsd.txt Please have a look and see if some of these should be included in the default media tree git. Some patches are about renaming function

Re: "cannot allocate memory" with IO_METHOD_USERPTR

2012-01-11 Thread Devin Heitmueller
On Wed, Jan 11, 2012 at 11:54 AM, Christopher Peters wrote: > Compiling and running the USERPTR example at > http://linuxtv.org/downloads/v4l-dvb-apis/userp.html tells me that > USERPTR is not supported.  Would changing the "card=n" option help at > all? No, changing the card number won't have an

Re: "cannot allocate memory" with IO_METHOD_USERPTR

2012-01-11 Thread Christopher Peters
Compiling and running the USERPTR example at http://linuxtv.org/downloads/v4l-dvb-apis/userp.html tells me that USERPTR is not supported. Would changing the "card=n" option help at all? On Wed, Jan 11, 2012 at 10:49 AM, Devin Heitmueller wrote: > On Wed, Jan 11, 2012 at 11:38 AM, Christopher Pet

Re: "cannot allocate memory" with IO_METHOD_USERPTR

2012-01-11 Thread Devin Heitmueller
On Wed, Jan 11, 2012 at 11:38 AM, Christopher Peters wrote: > The board is a generic saa7134-based board, and the driver has been > forced to treat it as an "AVerMedia DVD EZMaker" (i.e. the option > "card=33" has been passed to the module) I wouldn't be remotely surprised if the saa7134 driver w

Re: "cannot allocate memory" with IO_METHOD_USERPTR

2012-01-11 Thread Christopher Peters
The board is a generic saa7134-based board, and the driver has been forced to treat it as an "AVerMedia DVD EZMaker" (i.e. the option "card=33" has been passed to the module) On Wed, Jan 11, 2012 at 10:28 AM, Christopher Peters wrote: > So as I said in my previous email, I got video out of my car

Re: "cannot allocate memory" with IO_METHOD_USERPTR

2012-01-11 Thread Devin Heitmueller
On Wed, Jan 11, 2012 at 11:28 AM, Christopher Peters wrote: > So as I said in my previous email, I got video out of my card.  Now > I'm trying to capture video using a piece of software called > "openreplay".  Its v4l2 capture code is based heavily on the capture > example at http://v4l2spec.bytes

"cannot allocate memory" with IO_METHOD_USERPTR

2012-01-11 Thread Christopher Peters
So as I said in my previous email, I got video out of my card. Now I'm trying to capture video using a piece of software called "openreplay". Its v4l2 capture code is based heavily on the capture example at http://v4l2spec.bytesex.org/spec/capture-example.html, so I thought I'd try compiling the

[PATCH v2] media i.MX27 camera: properly detect frame loss.

2012-01-11 Thread Javier Martin
As V4L2 specification states, frame_count must also regard lost frames so that the user can handle that case properly. This patch adds a mechanism to increment the frame counter even when a video buffer is not available and a discard buffer is used. --- Changes since v1: - Initialize "frame_coun

Re: [PATCH] media i.MX27 camera: properly detect frame loss.

2012-01-11 Thread javier Martin
Hi Guennadi, thank you for your review. On 10 January 2012 12:00, Guennadi Liakhovetski wrote: > Hi Javier > > On Mon, 2 Jan 2012, Javier Martin wrote: > >> As V4L2 specification states, frame_count must also >> regard lost frames so that the user can handle that >> case properly. >> >> This patc

[PATCH 1/2] dvbv5-scan: correction frequency parsing

2012-01-11 Thread linuxtv
From: Stefan Ringel Signed-off-by: Stefan Ringel --- utils/dvb/descriptors.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/utils/dvb/descriptors.c b/utils/dvb/descriptors.c index a492b6c..fcad464 100644 --- a/utils/dvb/descriptors.c +++ b/utils/dvb/descriptors.c @@ -

[PATCH 2/2] dvbv5-scan: remove pointer shift

2012-01-11 Thread linuxtv
From: Stefan Ringel Signed-off-by: Stefan Ringel --- utils/dvb/descriptors.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/utils/dvb/descriptors.c b/utils/dvb/descriptors.c index fcad464..d034e8b 100644 --- a/utils/dvb/descriptors.c +++ b/utils/dvb/descriptors.c @@

Re: [PATCH v2 1/3] v4l: Add custom compat_ioctl32 operation

2012-01-11 Thread Hans Verkuil
On Wednesday 11 January 2012 16:18:38 Laurent Pinchart wrote: > Drivers implementing custom ioctls need to handle 32-bit/64-bit > compatibility themselves. Provide them with a way to do so. > > Signed-off-by: Laurent Pinchart Reviewed-by: Hans Verkuil > --- > drivers/media/video/v4l2-compat-i

[PATCH v2 0/3] compat_ioctl32 support for custom ioctls

2012-01-11 Thread Laurent Pinchart
Hi everybody, Here's the second version of the compat_ioctl32 support for V4L2 custom ioctls support. Compared to v1, the compat_ioctl operation has been renamed to compat_ioctl32. Laurent Pinchart (3): v4l: Add custom compat_ioctl32 operation uvcvideo: Return -ENOTTY in case of unknown ioctl

[PATCH v2 1/3] v4l: Add custom compat_ioctl32 operation

2012-01-11 Thread Laurent Pinchart
Drivers implementing custom ioctls need to handle 32-bit/64-bit compatibility themselves. Provide them with a way to do so. Signed-off-by: Laurent Pinchart --- drivers/media/video/v4l2-compat-ioctl32.c | 13 ++--- include/media/v4l2-dev.h |3 +++ 2 files changed, 1

[PATCH v2 2/3] uvcvideo: Return -ENOTTY in case of unknown ioctl

2012-01-11 Thread Laurent Pinchart
-EINVAL is the wrong error code in that case, replace it with -ENOTTY. Signed-off-by: Laurent Pinchart Reviewed-by: Hans Verkuil --- drivers/media/video/uvc/uvc_v4l2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/uvc/uvc_v4l2.c b/drivers/media/v

[PATCH v2 3/3] uvcvideo: Implement compat_ioctl32 for custom ioctls

2012-01-11 Thread Laurent Pinchart
Support 32-bit/64-bit compatibility for the the UVCIOC_ ioctls. Signed-off-by: Laurent Pinchart --- drivers/media/video/uvc/uvc_v4l2.c | 205 1 files changed, 205 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/uvc/uvc_v4l2.c b/drivers/media

Re: No video on generic SAA7134 card

2012-01-11 Thread Christopher Peters
I was able to get video out of the card using the option: options saa7134 card=33,33,33,33 KP -- - Kit Peters (W0KEH), Engineer II KMOS TV Channel 6 / KTBG 90.9 FM University of Central Missouri http://kmos.org/ | http://ktbg.fm/ -- To unsubscribe from this list: send the line "unsubscribe linux

Re: [RFC/PATCH 2/3] uvcvideo: Return -ENOTTY in case of unknown ioctl

2012-01-11 Thread Hans Verkuil
On Monday 19 December 2011 00:55:45 Laurent Pinchart wrote: > -EINVAL is the wrong error code in that case, replace it with -ENOTTY. > > Signed-off-by: Laurent Pinchart Reviewed-by: Hans Verkuil > --- > drivers/media/video/uvc/uvc_v4l2.c |2 +- > 1 files changed, 1 insertions(+), 1 deleti

Re: [RFC/PATCH 1/3] v4l: Add custom compat_ioctl operation

2012-01-11 Thread Hans Verkuil
Hi Laurent, On Monday 19 December 2011 00:55:44 Laurent Pinchart wrote: > Drivers implementing custom ioctls need to handle 32-bit/64-bit > compatibility themselves. Provide them with a way to do so. > > Signed-off-by: Laurent Pinchart > --- > drivers/media/video/v4l2-compat-ioctl32.c | 13 ++

Re: Pause/Resume and flush for V4L2 codec drivers.

2012-01-11 Thread Laurent Pinchart
Hi Vinay, On Friday 06 January 2012 03:31:37 vka...@codeaurora.org wrote: > Hi > > I am trying to implement v4l2 driver for video decoders. The problem I am > facing is how to send pause/resume and flush commands from user-space to > v4l2 driver. I am thinking of using controls for this. Has anyo

[GIT PULL FOR v3.3] Make tuner 'type' check more strict for S_FREQUENCY

2012-01-11 Thread Hans Verkuil
Hi Mauro, Here is another patch series that's been on hold for some time. The pull request is for 3.3 but it's low prio, so if you prefer to do this for 3.4 then that's no problem. Regards, Hans The following changes since commit 240ab508aa9fb7a294b0ecb563b19ead000b2463: [media] [PA

Re: [PATCHv4 1/2] v4l: Add new framesamples field to struct v4l2_mbus_framefmt

2012-01-11 Thread Laurent Pinchart
Hi Sylwester and Sakari, On Sunday 01 January 2012 19:56:03 Sylwester Nawrocki wrote: > On 12/31/2011 02:16 PM, Sakari Ailus wrote: > >>> I could think of an in-kernel counterpart for v4l2_mbus_framefmt, say, > >>> v4l2_mbus_framedesc. This could then be passed from subdev to another > >>> using a

Re: Hauppauge HVR-930C problems

2012-01-11 Thread Fredrik Lingvall
On 01/10/12 20:30, Mihai Dobrescu wrote: Hello, Just compiled the latest again, but still no difference. kaffeine doesn't see any source in channels dialog, two devices are in 'Configure Television' dialog: DRXK DVB-C - device not connected - as Device 1 and DRXK DVB-C DVB-T as Device 2. Concern

RE: Purpose of .init and .release methods in soc_camera framework

2012-01-11 Thread Guennadi Liakhovetski
On Wed, 11 Jan 2012, Bhupesh SHARMA wrote: > Hi Guennadi, > > > -Original Message- > > From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] > > Sent: Wednesday, January 11, 2012 5:18 PM > > To: Bhupesh SHARMA > > Cc: linux-media@vger.kernel.org > > Subject: Re: Purpose of .init and

RE: Purpose of .init and .release methods in soc_camera framework

2012-01-11 Thread Bhupesh SHARMA
Hi Guennadi, > -Original Message- > From: Guennadi Liakhovetski [mailto:g.liakhovet...@gmx.de] > Sent: Wednesday, January 11, 2012 5:18 PM > To: Bhupesh SHARMA > Cc: linux-media@vger.kernel.org > Subject: Re: Purpose of .init and .release methods in soc_camera > framework > > Hi Bhupesh >

Re: Purpose of .init and .release methods in soc_camera framework

2012-01-11 Thread Guennadi Liakhovetski
Hi Bhupesh On Wed, 11 Jan 2012, Bhupesh SHARMA wrote: > Hi Guennadi, > > I was reading the latest soc_camera framework documentation (see [1]). > I can see on line 71 to 73 the following text: > > " .add and .remove methods are called when a sensor is attached to or detached > from the host, a

[GIT PULL] davinci vpif pull request

2012-01-11 Thread Hadli, Manjunath
Hi Mauro, Can you please pull the following patch which removes some unnecessary inclusion of machine specific header files from the main driver files? This patch has undergone sufficient review already. It is just a cleanup patch and I don't expect any functionality to break because of

Re: Possible regression in 3.2 kernel with PCTV Nanostick T2 (em28xx, cxd2820r and tda18271)

2012-01-11 Thread Jim Darby
I thought I'd batch all the answers together. Andy suggested something about transfer buffers being dropped out of rotation. I'm not sure exactly what this is but if it's anything like ethernet buffering it would explain it. It would also explain why it lasts longer on the lower bit rate stand

Purpose of .init and .release methods in soc_camera framework

2012-01-11 Thread Bhupesh SHARMA
Hi Guennadi, I was reading the latest soc_camera framework documentation (see [1]). I can see on line 71 to 73 the following text: " .add and .remove methods are called when a sensor is attached to or detached from the host, apart from performing host-internal tasks they shall also call sensor

Re: Hauppauge HVR-930C problems

2012-01-11 Thread Mauro Carvalho Chehab
On 11-01-2012 03:28, Mihai Dobrescu wrote: > I've got the sources, I've successfully built everything. > Where should I expect to have the binary files after the make install? By default, make install puts everything inside /usr/local. So, the binaries should be at /usr/local/bin. Regards, Mauro

[GIT PULL FOR v3.3] V4L2 Spec updates

2012-01-11 Thread Hans Verkuil
Hi Mauro, Here are a bunch of V4L2 specification updates. The first three are from this earlier RFC: http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/40701 There were no more comments, so this is the final pull request. It's unchanged from RFCv2. The other two fix a lon

Re: [PATCH] drivers: video: mx3_camera: Convert mx3_camera to use module_platform_driver()

2012-01-11 Thread Fabio Estevam
On Wed, Jan 11, 2012 at 6:28 AM, Guennadi Liakhovetski wrote: > On Wed, 11 Jan 2012, Fabio Estevam wrote: > >> Using module_platform_driver makes the code smaller and simpler. >> >> Signed-off-by: Fabio Estevam > > Isn't this covered by this: > > http://thread.gmane.org/gmane.linux.drivers.video-

Re: V4L spec possibly broken

2012-01-11 Thread Hans Verkuil
On Wednesday 11 January 2012 11:05:36 Rupert Eibauer wrote: > Hello, > > I am working on the linux driver for our new video capture board and > facing some compatibility problem which seems to be related to unclear > language in the V4L specification. > > The device supports a larger number of in

Re: [PATCH] Fix compile error in as3645a.c

2012-01-11 Thread Hans Verkuil
On Wednesday 11 January 2012 11:23:24 Laurent Pinchart wrote: > Hi Hans, > > On Wednesday 11 January 2012 10:54:20 Hans Verkuil wrote: > > Building as3645a.c using media_build on kernel 3.2 gives this error: > > > > media_build/v4l/as3645a.c: In function 'as3645a_probe': > > media_build/v4l/as364

Re: [PATCH] Fix compile error in as3645a.c

2012-01-11 Thread Laurent Pinchart
Hi Hans, On Wednesday 11 January 2012 10:54:20 Hans Verkuil wrote: > Building as3645a.c using media_build on kernel 3.2 gives this error: > > media_build/v4l/as3645a.c: In function 'as3645a_probe': > media_build/v4l/as3645a.c:815:2: error: implicit declaration of function > 'kzalloc' [-Werror=imp

V4L spec possibly broken

2012-01-11 Thread Rupert Eibauer
Hello, I am working on the linux driver for our new video capture board and facing some compatibility problem which seems to be related to unclear language in the V4L specification. The device supports a larger number of inputs, but with a different set of standards on each of them. Now, the

[GIT PULL FOR v3.3] Add per-device-node capabilities

2012-01-11 Thread Hans Verkuil
Hi Mauro, This is an updated version of RFCv3 (http://patchwork.linuxtv.org/patch/8834/) of this patch series. No changes, other than some documentation modifications to prevent a merge problem. There have been no comments since RFCv3, so this is the official pull request. I think it is fine to

[PATCH] Fix compile error in as3645a.c

2012-01-11 Thread Hans Verkuil
Building as3645a.c using media_build on kernel 3.2 gives this error: media_build/v4l/as3645a.c: In function 'as3645a_probe': media_build/v4l/as3645a.c:815:2: error: implicit declaration of function 'kzalloc' [-Werror=implicit-function-declaration] media_build/v4l/as3645a.c:815:8: warning: assignm

Re: Using OMAP3 ISP live display and snapshot sample applications

2012-01-11 Thread Laurent Pinchart
Hi James, On Wednesday 11 January 2012 05:24:35 James wrote: > On Sun, Jan 8, 2012 at 7:30 PM, Laurent Pinchart wrote: > > On Sunday 08 January 2012 02:14:55 James wrote: > > > > [snip] > > > >> BTW, can you send me the defconfig file you used for testing on overo as > >> I couldn‘t compile your

Re: [PATCH 1/1] v4l: Ignore ctrl_class in the control framework

2012-01-11 Thread Hans Verkuil
On Wednesday 11 January 2012 00:40:43 Sakari Ailus wrote: > Hi Hans, > > Hans Verkuil wrote: > > On Tuesday, January 10, 2012 20:14:22 Sakari Ailus wrote: > >> Back in the old days there was probably a reason to require that > >> controls that are being used to access using VIDIOC_{TRY,G,S}_EXT_CT

Re: Hauppauge HVR-930C problems

2012-01-11 Thread Fredrik Lingvall
On 01/10/12 15:42, Fredrik Lingvall wrote: On 12/25/11 16:56, Fredrik Lingvall wrote: On 12/18/11 10:20, Fredrik Lingvall wrote: On 12/17/11 20:53, Mihai Dobrescu wrote: Mihai, I got some success. I did this, # cd /usr/src (for example) # git clone git://linuxtv.org/media_build.git # em

Re: Pause/Resume and flush for V4L2 codec drivers.

2012-01-11 Thread Hans Verkuil
On Saturday 07 January 2012 02:55:08 vka...@codeaurora.org wrote: > Thanks Hans. > > Yes it does solve a part of my problem - Pause/Resume. But I dont see any > command defined for Flush yet. Do you think we should add one more command > to Flush. What exactly does flush do? Is it the equivalent

Re: [PATCH] drivers: video: mx3_camera: Convert mx3_camera to use module_platform_driver()

2012-01-11 Thread Guennadi Liakhovetski
On Wed, 11 Jan 2012, Fabio Estevam wrote: > Using module_platform_driver makes the code smaller and simpler. > > Signed-off-by: Fabio Estevam Isn't this covered by this: http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/43200 Thanks Guennadi > --- > drivers/media/video/

Re: [RFC 13/17] omap3isp: Configure CSI-2 phy based on platform data

2012-01-11 Thread Sakari Ailus
Hi Sylwester, Sylwester Nawrocki wrote: > On 01/08/2012 12:16 PM, Sakari Ailus wrote: >>> Shouldn't lane configuration be retrieved from the sensor instead ? >>> Sensors could use different lane configuration depending on the mode. >>> This could also be implemented later when needed,