Re: [PATCH 3/7] v4l2-dv-timings.h: definitions for CEA-861 and VESA DMT timings.

2012-05-08 Thread Hans Verkuil
Hi Mauro, I've made a change to this patch. The new patch is included below and the full patch series can be found in my timingsv4b branch: git://linuxtv.org/hverkuil/media_tree.git timingsv4b I've also rebased that branch to the current v3.5. The problem is that v4l2-dv-timings.h relies on the

Re: [PATCHv5 08/13] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-05-08 Thread Subash Patel
Hello Tomasz, Laurent, I have printed some logs during the dmabuf export and attach for the SGT issue below. Please find it in the attachment. I hope it will be useful. Regards, Subash On 05/08/2012 04:45 PM, Subash Patel wrote: Hi Laurent, On 05/08/2012 02:44 PM, Laurent Pinchart wrote: H

[GIT PULL FOR v3.5 v2] V4L2 subdev and sensor control changes

2012-05-08 Thread Sakari Ailus
Hi Mauro, This patchset adds - Sensor control improvements, - link_validate() media entity and V4L2 subdev pad ops, - Other V4L2 and media improvements (see individual patches) The SMIA++ driver and some of the OMAP3 ISP driver improvements have been removed from this patchset since they are now

Re: [media-ctl PATCH v2 2/2] Compose rectangle support for libv4l2subdev

2012-05-08 Thread Sakari Ailus
Laurent Pinchart wrote: > Hi Sakari, > > Thanks for the patch. > > On Monday 07 May 2012 16:46:36 Sakari Ailus wrote: >> Signed-off-by: Sakari Ailus > > Acked-by: Laurent Pinchart Thanks! -- Sakari Ailus sakari.ai...@iki.fi -- To unsubscribe from this list: send the line "unsubscribe linux-

Re: [media-ctl PATCH v2 1/2] New, more flexible syntax for format

2012-05-08 Thread Sakari Ailus
Hi Laurent, Laurent Pinchart wrote: > Hi Sakari, > > On Tuesday 08 May 2012 22:43:50 Sakari Ailus wrote: >> Laurent Pinchart wrote: >>> On Monday 07 May 2012 16:46:35 Sakari Ailus wrote: More flexible and extensible syntax for format which allows better usage of the selection API. > >

Re: [PATCH v3 08/10] arm: omap4panda: Add support for omap4iss camera

2012-05-08 Thread Tony Lindgren
* Sergio Aguirre [120502 08:21]: > This adds support for camera interface with the support for > following sensors: > > - OV5640 > - OV5650 It seems that at this point we should initialize new things like this with DT only. We don't quite yet have the muxing in place, but I'd rather not add yet

Re: m88rs2000: LNB voltage control implemented

2012-05-08 Thread Malcolm Priestley
On Tue, 2012-05-08 at 11:25 +0300, Igor M. Liplianin wrote: > Trival patch to get it working with my cards stuff. > > Signed-off-by: Igor M. Liplianin Acked-by: Malcolm Priestley > differences between files attachment (rs2000volt.patch) > diff --git a/drivers/media/dvb/frontends/m88rs2000.c >

Re: [PATCH 2/2] TeVii DVB-S s421 and s632 cards support, rs2000 part

2012-05-08 Thread Malcolm Priestley
On Tue, 2012-05-08 at 11:08 +0300, Igor M. Liplianin wrote: > One register needs to be changed to TS to work. So we use separate inittab. > > Signed-off-by: Igor M. Liplianin Acked-by: Malcolm Priestley differences between files attachment (rs2000dw2102.patch) > diff --git a/drivers/media/dvb/f

[PATCH 2/2] V4L: remove unused .enum_mbus_fsizes() subdev video operation

2012-05-08 Thread Guennadi Liakhovetski
.enum_mbus_fsizes() subdev video operation is a duplicate of .enum_framesizes() and is unused. Remove it. Signed-off-by: Guennadi Liakhovetski Cc: Qing Xu --- include/media/v4l2-subdev.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/media/v4l2-subdev.h b/incl

[PATCH 1/2] V4L: soc-camera: switch to using the existing .enum_framesizes()

2012-05-08 Thread Guennadi Liakhovetski
The recently introduced .enum_mbus_fsizes() v4l2-subdev video operation is a duplicate of the .enum_framesizes() operation, introduced earlier. Switch soc-camera over to using the original one. Signed-off-by: Guennadi Liakhovetski Cc: Qing Xu --- drivers/media/video/soc_camera.c |2 +- 1 fi

Re: [media-ctl PATCH v2 1/2] New, more flexible syntax for format

2012-05-08 Thread Laurent Pinchart
Hi Sakari, On Tuesday 08 May 2012 22:43:50 Sakari Ailus wrote: > Laurent Pinchart wrote: > > On Monday 07 May 2012 16:46:35 Sakari Ailus wrote: > >> More flexible and extensible syntax for format which allows better usage > >> of the selection API. [snip] > >> diff --git a/src/v4l2subdev.c b/src

Re: [media-ctl PATCH v2 1/2] New, more flexible syntax for format

2012-05-08 Thread Sakari Ailus
Hi Laurent, Laurent Pinchart wrote: > Hi Sakari, > > Thanks for the patch. > > On Monday 07 May 2012 16:46:35 Sakari Ailus wrote: >> More flexible and extensible syntax for format which allows better usage >> of the selection API. >> >> Signed-off-by: Sakari Ailus >> --- >> src/main.c |

Re: [media-ctl PATCH v2 2/2] Compose rectangle support for libv4l2subdev

2012-05-08 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Monday 07 May 2012 16:46:36 Sakari Ailus wrote: > Signed-off-by: Sakari Ailus Acked-by: Laurent Pinchart > --- > src/main.c | 14 ++ > src/options.c|6 -- > src/v4l2subdev.c | 32 +++- > 3 files

Re: [media-ctl PATCH v2 1/2] New, more flexible syntax for format

2012-05-08 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Monday 07 May 2012 16:46:35 Sakari Ailus wrote: > More flexible and extensible syntax for format which allows better usage > of the selection API. > > Signed-off-by: Sakari Ailus > --- > src/main.c | 17 ++--- > src/options.c| 27 ++

Re: em28xx : can work on ARM beagleboard ?

2012-05-08 Thread Antti Palosaari
On 08.05.2012 21:47, Devin Heitmueller wrote: On Tue, May 8, 2012 at 2:24 PM, Antti Palosaari wrote: It should work as I know one person ran PCTV NanoStick T2 290e using Pandaboard which is rather similar ARM hw. http://www.youtube.com/watch?v=Wuwyuw0y1Fo I ran into a couple of issues related

Re: em28xx : can work on ARM beagleboard ?

2012-05-08 Thread Devin Heitmueller
On Tue, May 8, 2012 at 2:24 PM, Antti Palosaari wrote: > It should work as I know one person ran PCTV NanoStick T2 290e using > Pandaboard which is rather similar ARM hw. > http://www.youtube.com/watch?v=Wuwyuw0y1Fo I ran into a couple of issues related to em28xx analog on ARM. Haven't had a chan

Re: [PATCH] V4L: soc-camera: (cosmetic) use a more explicit name for a host handler

2012-05-08 Thread Laurent Pinchart
On Tuesday 08 May 2012 19:44:11 Guennadi Liakhovetski wrote: > On Tue, 8 May 2012, Aguirre, Sergio wrote: > > On Tue, May 8, 2012 at 12:00 PM, Guennadi Liakhovetski wrote: > > > Use "enum_framesizes" instead of "enum_fsizes" to more precisely follow > > > the name of the respective ioctl(). > > >

Re: em28xx : can work on ARM beagleboard ?

2012-05-08 Thread Antti Palosaari
On 08.05.2012 21:18, CB wrote: I would like to know if someone has already used the em28xx driver on a beagleboard xM (the connected device is a Dazzle DVC 100) I have tried with an Angstrom Narcissus image and a Debian but I still get "select timeouts" and skipped frames with mencoded or the ca

em28xx : can work on ARM beagleboard ?

2012-05-08 Thread CB
Hello, I would like to know if someone has already used the em28xx driver on a beagleboard xM (the connected device is a Dazzle DVC 100) I have tried with an Angstrom Narcissus image and a Debian but I still get "select timeouts" and skipped frames with mencoded or the capture.c sample Tha

Re: [RFCv1] DVB-USB improvements

2012-05-08 Thread Antti Palosaari
On 08.05.2012 20:55, Markus Rechberger wrote: You might also work on a dvb library, just like libv4l has right now, that might satisfy the streaming requests which have been made on this mailinglist :-) I want first fix general DVB issues I has met during these years. Maybe library can be done

cron job: media_tree daily build: WARNINGS

2012-05-08 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:Tue May 8 19:00:18 CEST 2012 git hash:aeebb1b3146a70bf02d0115a2be690d856d12e8c gcc version: i686-linux-gcc (GC

Re: [RFCv1] DVB-USB improvements

2012-05-08 Thread Markus Rechberger
On Tue, May 8, 2012 at 3:12 PM, Antti Palosaari wrote: > Factors behind the changes are mostly coming from the fact current struct > dvb_usb_device_properties contains so many static configuration options. You > cannot change single dvb_usb_device_properties easily (safely) at runtime > since it i

[GIT PULL for v3.5] Miscellaneous sensor drivers and control framework fixes

2012-05-08 Thread Laurent Pinchart
Hi Mauro, The following changes since commit aeebb1b3146a70bf02d0115a2be690d856d12e8c: [media] pvrusb2: For querystd, start with list of hardware-supported standards (2012-05-07 16:58:00 -0300) are available in the git repository at: git://linuxtv.org/pinchartl/media.git omap3isp-sensors-ne

Re: [PATCH] V4L: soc-camera: (cosmetic) use a more explicit name for a host handler

2012-05-08 Thread Guennadi Liakhovetski
Hi Sergio On Tue, 8 May 2012, Aguirre, Sergio wrote: > Hi Guennadi, > > On Tue, May 8, 2012 at 12:00 PM, Guennadi Liakhovetski > wrote: > > Use "enum_framesizes" instead of "enum_fsizes" to more precisely follow > > the name of the respective ioctl(). > > > > Signed-off-by: Guennadi Liakhovetsk

Re: [PATCH] V4L: soc-camera: (cosmetic) use a more explicit name for a host handler

2012-05-08 Thread Aguirre, Sergio
Hi Guennadi, On Tue, May 8, 2012 at 12:00 PM, Guennadi Liakhovetski wrote: > Use "enum_framesizes" instead of "enum_fsizes" to more precisely follow > the name of the respective ioctl(). > > Signed-off-by: Guennadi Liakhovetski Looks good to me! I'll redo my patch following this ioctl name mat

Re: [PATCH] mt9v032: Correct the logic for the auto-exposure setting

2012-05-08 Thread Laurent Pinchart
Hi Kartik, On Tuesday 08 May 2012 11:51:29 Kartik Mohta wrote: > On Tue, May 8, 2012 at 7:12 AM, Laurent Pinchart wrote: > > On Wednesday 02 May 2012 18:19:08 Kartik Mohta wrote: > >> The driver uses the ctrl value passed in as a bool to determine whether > >> to enable auto-exposure, but the auto

[PATCH] V4L: mx2-camera: avoid overflowing 32-bits

2012-05-08 Thread Guennadi Liakhovetski
In mx2_camera_try_fmt(), when applying i.MX25 restrictions to frame sizes, the height is checked to be <= 0x. But later an integer multiplication height * 4 * 0x3 is performed, which will overflow even for bounded height values. This patch switches to using 64-bit multiplication and divisio

[PATCH] V4L: soc-camera: (cosmetic) use a more explicit name for a host handler

2012-05-08 Thread Guennadi Liakhovetski
Use "enum_framesizes" instead of "enum_fsizes" to more precisely follow the name of the respective ioctl(). Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/soc_camera.c | 14 +++--- include/media/soc_camera.h |2 +- 2 files changed, 8 insertions(+), 8 deletions(-

[PATCH] V4L: marvell-ccic: (cosmetic) remove redundant variable assignment

2012-05-08 Thread Guennadi Liakhovetski
The "ret = 0" assignment in mcam_vidioc_s_fmt_vid_cap() is redundant, because at that location "ret" is anyway guaranteed to be == 0. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/marvell-ccic/mcam-core.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/dri

Re: Capturing from MT9J003 Camera on DM3730 using Previewer and Resizer

2012-05-08 Thread Neil Johnson
Laurent, Thanks for your quick reply. I will take a look at better debugging the interrupts and possibly updating to something newer than kernel 3.0. I'm hoping this isn't simply an issue with a badly constructed media-ctl pipeline, but I like your suggestion of just setting formats on the sourc

Terratec Cinergy S2 USB HD Rev.2

2012-05-08 Thread Igor M. Liplianin
Terratec Cinergy S2 USB HD Rev.2 support. Signed-off-by: Igor M. Liplianin diff --git a/drivers/media/dvb/dvb-usb/dw2102.c b/drivers/media/dvb/dvb-usb/dw2102.c index 7ced62d..9a7a333 100644 --- a/drivers/media/dvb/dvb-usb/dw2102.c +++ b/drivers/media/dvb/dvb-usb/dw2102.c @@ -1243,6 +1243,13 @@ sta

Re: [PATCH] mt9v032: Correct the logic for the auto-exposure setting

2012-05-08 Thread Kartik Mohta
Hi, On Tue, May 8, 2012 at 7:12 AM, Laurent Pinchart wrote: > Hi Kartik, > > Thank you for the patch. > > On Wednesday 02 May 2012 18:19:08 Kartik Mohta wrote: >> The driver uses the ctrl value passed in as a bool to determine whether >> to enable auto-exposure, but the auto-exposure setting is d

[PATCH] mt9p031: Add support for core and I/O regulators

2012-05-08 Thread Laurent Pinchart
The regulators are optional. If present, enable them when powering the sensor up, and disable them when powering it down. Signed-off-by: Laurent Pinchart --- drivers/media/video/mt9p031.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/drivers/media/vid

[RFCv1] DVB-USB improvements

2012-05-08 Thread Antti Palosaari
Factors behind the changes are mostly coming from the fact current struct dvb_usb_device_properties contains so many static configuration options. You cannot change single dvb_usb_device_properties easily (safely) at runtime since it is usually driver global struct and thus shared between all t

Re: GENIUS TV-GO A12 tv analog card

2012-05-08 Thread Ezequiel Garcia
Hi Sebastián, On Mon, May 7, 2012 at 11:49 PM, Sebastián Misuraca wrote: > Ezequiel, > > Thanks for the reply. No problem. > I am going to watch the video and make the correct patch. When i finished i > will send again. Great. If you have *any* problems, feel free to ask. Also, I suggest you

Re: [PATCH] v4l: v4l2-ctrls: Add forward declaration of struct file

2012-05-08 Thread Hans Verkuil
On Sun 29 April 2012 18:30:24 Laurent Pinchart wrote: > On Monday 23 April 2012 13:29:11 Laurent Pinchart wrote: > > This fixes the following warning: > > > > In file included from drivers/media/video/v4l2-subdev.c:29: > > include/media/v4l2-ctrls.h:501: warning: 'struct file' declared inside > >

Re: [PATCHv5 08/13] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-05-08 Thread Subash Patel
Hi Laurent, On 05/08/2012 02:44 PM, Laurent Pinchart wrote: Hi Subash, On Monday 07 May 2012 20:08:25 Subash Patel wrote: Hello Thomasz, Laurent, I found an issue in the function vb2_dc_pages_to_sgt() below. I saw that during the attach, the size of the SGT and size requested mis-matched (by

Re: [PATCH v3] scatterlist: add sg_alloc_table_from_pages function

2012-05-08 Thread Laurent Pinchart
Hi Tomasz, Thank you for the patch. On Tuesday 08 May 2012 11:50:33 Tomasz Stanislawski wrote: > This patch adds a new constructor for an sg table. The table is constructed > from an array of struct pages. All contiguous chunks of the pages are merged > into a single sg nodes. A user may provide

Re: [PATCH] mt9v032: Correct the logic for the auto-exposure setting

2012-05-08 Thread Laurent Pinchart
Hi Kartik, Thank you for the patch. On Wednesday 02 May 2012 18:19:08 Kartik Mohta wrote: > The driver uses the ctrl value passed in as a bool to determine whether > to enable auto-exposure, but the auto-exposure setting is defined as an > enum where AUTO has a value of 0 and MANUAL has a value o

Re: Capturing from MT9J003 Camera on DM3730 using Previewer and Resizer

2012-05-08 Thread Laurent Pinchart
Hi Neil, On Monday 07 May 2012 16:59:22 Neil Johnson wrote: > Linux-media list, > > We've recently had some success capturing from the MT9J003 Aptina camera on > a DM3730 board (custom board). Nice work. I hope to see a MT9J003 driver being posted to the list in the future ;-) > We have been a

Re: [PATCH/RFC v4 10/12] V4L: Add auto focus targets to the selections API

2012-05-08 Thread Sylwester Nawrocki
Hi Sakari! On 05/06/2012 08:22 PM, Sakari Ailus wrote: > Hi Sylwester, > > Thanks for the patch. > > Sylwester Nawrocki wrote: >> The camera automatic focus algorithms may require setting up >> a spot or rectangle coordinates or multiple such parameters. >> >> The automatic focus selection targe

[PATCH] af9015: various small changes and clean-ups

2012-05-08 Thread Antti Palosaari
Clean-up dvb_usb_device_properties and fix errors reported by checkpatch.pl. Some other very minor changes. Functionality remains untouched. Signed-off-by: Antti Palosaari --- drivers/media/dvb/dvb-usb/af9015.c | 495 +++ 1 files changed, 212 insertions(+), 283

Re: [PATCH v3] scatterlist: add sg_alloc_table_from_pages function

2012-05-08 Thread Daniel Vetter
On Tue, May 08, 2012 at 11:50:33AM +0200, Tomasz Stanislawski wrote: > This patch adds a new constructor for an sg table. The table is constructed > from an array of struct pages. All contiguous chunks of the pages are merged > into a single sg nodes. A user may provide an offset and a size of a bu

[PATCH v3] scatterlist: add sg_alloc_table_from_pages function

2012-05-08 Thread Tomasz Stanislawski
This patch adds a new constructor for an sg table. The table is constructed from an array of struct pages. All contiguous chunks of the pages are merged into a single sg nodes. A user may provide an offset and a size of a buffer if the buffer is not page-aligned. The function is dedicated for DMAB

Re: [PATCHv5 08/13] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-05-08 Thread Laurent Pinchart
Hi Subash, On Monday 07 May 2012 20:08:25 Subash Patel wrote: > Hello Thomasz, Laurent, > > I found an issue in the function vb2_dc_pages_to_sgt() below. I saw that > during the attach, the size of the SGT and size requested mis-matched > (by atleast 8k bytes). Hence I made a small correction to

Re: [PATCH] media_build: fix backport patches removing et61x251 hunks

2012-05-08 Thread Hans Verkuil
On Tuesday 08 May 2012 10:42:49 Gianluca Gennari wrote: > The old et61x251 driver has been removed: > > http://git.linuxtv.org/media_tree.git/commit/04ef052419ac61f28c6b7eafbe5d8e82c02bbee2 > > so let's delete the related hunks from the media_build backport patches. Thanks! Committed. Regards,

[PATCH] media_build: fix backport patches removing et61x251 hunks

2012-05-08 Thread Gianluca Gennari
The old et61x251 driver has been removed: http://git.linuxtv.org/media_tree.git/commit/04ef052419ac61f28c6b7eafbe5d8e82c02bbee2 so let's delete the related hunks from the media_build backport patches. Signed-off-by: Gianluca Gennari --- backports/api_version.patch |6 -- backports/pr_f

m88rs2000: LNB voltage control implemented

2012-05-08 Thread Igor M. Liplianin
Trival patch to get it working with my cards stuff. Signed-off-by: Igor M. Liplianin diff --git a/drivers/media/dvb/frontends/m88rs2000.c b/drivers/media/dvb/frontends/m88rs2000.c index 547230d..f6d6e39 100644 --- a/drivers/media/dvb/frontends/m88rs2000.c +++ b/drivers/media/dvb/frontends/m88rs200

[PATCH 2/2] TeVii DVB-S s421 and s632 cards support, rs2000 part

2012-05-08 Thread Igor M. Liplianin
One register needs to be changed to TS to work. So we use separate inittab. Signed-off-by: Igor M. Liplianin diff --git a/drivers/media/dvb/frontends/m88rs2000.c b/drivers/media/dvb/frontends/m88rs2000.c index 045ee5a..547230d 100644 --- a/drivers/media/dvb/frontends/m88rs2000.c +++ b/drivers/med

Re: [PATCH for v3.5] v4l2-event: fix regression with initial event handling.

2012-05-08 Thread Hans de Goede
Hi, Good one, ACK. Acked-by: Hans de Goede Regards, Hans On 05/07/2012 10:53 PM, Hans Verkuil wrote: From: Hans Verkuil If the V4L2_EVENT_SUB_FL_SEND_INITIAL was set, then the application expects to receive an initial event of the initial value of the control. However, commit c53c2549333b

[PATCH 1/2] TeVii DVB-S s421 and s632 cards support

2012-05-08 Thread Igor M. Liplianin
DVB-S chip is Montage m88rs2000, so initial patch is simple. Signed-off-by: Igor M. Liplianin diff --git a/drivers/media/dvb/dvb-usb/dw2102.c b/drivers/media/dvb/dvb-usb/dw2102.c index 451c5a7..4b2d190 100644 --- a/drivers/media/dvb/dvb-usb/dw2102.c +++ b/drivers/media/dvb/dvb-usb/dw2102.c @@ -1,9

Re: Re: [PATCH 2/3] ts2020: add ts2020 tuner driver

2012-05-08 Thread Igor M. Liplianin
On 8 мая 2012 10:09:47 Konstantin Dimitrov wrote: > On Tue, May 8, 2012 at 9:32 AM, Igor M. Liplianin wrote: > > On 7 Ð¼Ð°Ñ  2012 00:22:30 Konstantin Dimitrov wrote: > >> add separate ts2020 tuner driver > >> > >> Signed-off-by: Konstantin Dimitrov > >> > >> --- a/linux/drivers/media/d

Re: [PATCH v2 1/1] v4l2: use __u32 rather than enums in ioctl() structs

2012-05-08 Thread Sakari Ailus
Hi Hans, Thanks for your coments. Hans Verkuil wrote: > On Mon May 7 2012 16:27:49 Sakari Ailus wrote: >> From: Rémi Denis-Courmont >> >> V4L2 uses the enum type in IOCTL arguments in IOCTLs that were defined until >> the use of enum was considered less than ideal. Recently Rémi Denis-Courmont >

Re: [PATCH 2/3] ts2020: add ts2020 tuner driver

2012-05-08 Thread Konstantin Dimitrov
On Tue, May 8, 2012 at 9:32 AM, Igor M. Liplianin wrote: > On 7 Ð¼Ð°Ñ  2012 00:22:30 Konstantin Dimitrov wrote: >> add separate ts2020 tuner driver >> >> Signed-off-by: Konstantin Dimitrov >> >> --- a/linux/drivers/media/dvb/frontends/Kconfig       2012-04-20 >> 06:45:55.0 +0300 >> +++ b/