[PATCH 1/1] omap3isp: Check media bus code on links

2012-01-05 Thread Sakari Ailus
Check media bus code on links. The user could configure different formats at different ends of the link, say, 8 bits-per-pixel in the source and 10 bits-per-pixel in the sink. This leads to interesting and typically undesired results image-wise. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi ---

[GIT PATCHES FOR 3.3] gspca for_v3.3

2012-01-05 Thread Jean-Francois Moine
Hi Mauro, This set includes the patch http://patchwork.linuxtv.org/patch/8858. Most of these patches concern regression fixes and should be backported to the kernel 3.2. The following changes since commit 1e73fa5d56333230854ae9460579eb2fcee8af02: [media] stb6100: Properly retrieve symbol

Re: Using OMAP3 ISP live display and snapshot sample applications

2012-01-05 Thread James
Hi Laurent, On Wed, Jan 4, 2012 at 3:07 PM, James angweiy...@gmail.com wrote: Hi Laurent, On Tue, Jan 3, 2012 at 7:17 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi James, On Tuesday 03 January 2012 10:40:10 James wrote: Hi Laurent, Happy New Year!! Thank you. Happy

[RFCv1 0/4] v4l: DMA buffer sharing support as a user

2012-01-05 Thread Sumit Semwal
Hello Everyone, A very happy new year 2012! :) This patchset is an RFC for the way videobuf2 can be adapted to add support for DMA buffer sharing framework[1]. The original patch-set for the idea, and PoC of buffer sharing was by Tomasz Stanislawski t.stanisl...@samsung.com, who demonstrated

[RFCv1 1/4] v4l: Add DMABUF as a memory type

2012-01-05 Thread Sumit Semwal
Adds DMABUF memory type to v4l framework. Also adds the related file descriptor in v4l2_plane and v4l2_buffer. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com [original work in the PoC for buffer sharing] Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Sumit Semwal

[RFCv1 2/4] v4l:vb2: add support for shared buffer (dma_buf)

2012-01-05 Thread Sumit Semwal
This patch adds support for DMABUF memory type in videobuf2. It calls relevant APIs of dma_buf for v4l reqbuf / qbuf / dqbuf operations. For this version, the support is for videobuf2 as a user of the shared buffer; so the allocation of the buffer is done outside of V4L2. [A sample allocator of

[RFCv1 4/4] v4l:vb2: Add dma-contig allocator as dma_buf user

2012-01-05 Thread Sumit Semwal
This patch makes changes for adding dma-contig as a dma_buf user. It provides function implementations for the {attach, detach, map, unmap}_dmabuf() mem_ops of DMABUF memory type. Signed-off-by: Sumit Semwal sumit.sem...@ti.com Signed-off-by: Sumit Semwal sumit.sem...@linaro.org ---

[RFCv1 3/4] v4l:vb: remove warnings about MEMORY_DMABUF

2012-01-05 Thread Sumit Semwal
Adding DMABUF memory type causes videobuf to complain about not using it in some switch cases. This patch removes these warnings. Signed-off-by: Sumit Semwal sumit.sem...@ti.com --- drivers/media/video/videobuf-core.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

Re: [PATCH 1/1] omap3isp: Check media bus code on links

2012-01-05 Thread Sakari Ailus
Hi Laurent, On Thu, Jan 05, 2012 at 11:12:14AM +0100, Laurent Pinchart wrote: Hi Sakari, On Thursday 05 January 2012 10:10:19 Sakari Ailus wrote: Check media bus code on links. The user could configure different formats at different ends of the link, say, 8 bits-per-pixel in the source

[GIT PULL] davinci vpbe pull request

2012-01-05 Thread Hadli, Manjunath
Hi Mauro, Can you please pull these vpbe patches which add the support for DM365 and DM355 display? The 3 vpbe patches were sent to you as a pull request earlier. Please see this mail: http://linux.omap.com/pipermail/davinci-linux-open-source/2011-November/023496.html I have now rebased

Fix Leadtek DTV2000H radio tuner

2012-01-05 Thread Miroslav Slugeň
Resending signed-off version for kernel 3.2 Signed-off-by: Miroslav Slugen thunder@gmail.com From dadfa45664f765297e03e73a907ac04bd55e9b25 Mon Sep 17 00:00:00 2001 From: Miroslav Slugen thunder@gmail.com Date: Tue, 13 Dec 2011 19:36:15 +0100 Subject: [PATCH] Leadtek DTV2000H J has Philips

Re: subdev support for querying struct v4l2_input *

2012-01-05 Thread Steven Toth
In the cx23885 driver as part of vidioc_enum_input call, I have a need to return V4L2_IN_ST_NO_SIGNAL in the status field as part of struct v4l2_input. Thus, when no signal is detected by the video decoder it can be signalled to the calling application. v4l2_subdev_video_ops-g_input_status

[PATCH v2] media: tvp5150: Add mbus_fmt callbacks.

2012-01-05 Thread Javier Martin
These callbacks allow a host video driver to poll video formats supported by tvp5150. --- Changes since v1: Fix standard handling in tvp5150_mbus_fmt() --- drivers/media/video/tvp5150.c | 67 + 1 files changed, 67 insertions(+), 0 deletions(-) diff

[PATCH 3/5] [media] drxk_hard: fix locking issues when changing the delsys

2012-01-05 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/dvb/frontends/drxk_hard.c | 45 -- drivers/media/dvb/frontends/drxk_hard.h |1 - 2 files changed, 24 insertions(+), 22 deletions(-) diff --git a/drivers/media/dvb/frontends/drxk_hard.c

[PATCH 1/5] [media] drxk: remove ops.info.frequency_stepsize from DVB-C

2012-01-05 Thread Mauro Carvalho Chehab
ops.info.frequency_stepsize is used only for DVB-T friends. For DVB-C, the step size is calculated using the symbol rate. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/dvb/frontends/drxk_hard.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[PATCH 4/5] [media] dvb_frontend: regression fix: add a missing inc inside the loop

2012-01-05 Thread Mauro Carvalho Chehab
without it, the loop will run forever! Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/dvb/dvb-core/dvb_frontend.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c

[PATCH 2/5] [media] drxk: create only one frontend for both DVB-C and DVB-T

2012-01-05 Thread Mauro Carvalho Chehab
Instead of creating two DVB frontend entries for the same device, create just one entry, and fill the delivery_system according with the supported standards. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/dvb/ddbridge/ddbridge-core.c |2 +-

[PATCH 0/5] Fix dvb-core set_delivery_system and port drxk to one frontend

2012-01-05 Thread Mauro Carvalho Chehab
This patch series contain one feature and two bug fixes: 1) it ports the DRX-K driver to use just one frontend for all three delivery systems (DVB-C Annex A, DVB-C Annex C and DVB-T). As not all DRX-K supports all three, it also adds a logic there to show and accept only the delivery

Re: Add support for two new types of Leadtek Winfast TV 2000XP tuner

2012-01-05 Thread Miroslav Slugeň
Resending signed-off version Signed-off-by: Miroslav Slugen thunder@gmail.com From: Miroslav Slugen thunder@gmail.com Date: Mon, 12 Dec 2011 00:20:24 +0100 Subject: [PATCH] Add support for two new types of Leadtek Winfast TV 2000XP tuner, author of this patch is Istvan Varga. Only

Re: [RFC 01/17] v4l: Introduce integer menu controls

2012-01-05 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Tuesday 20 December 2011 21:27:53 Sakari Ailus wrote: From: Sakari Ailus sakari.ai...@iki.fi 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

Re: [RFC 02/17] v4l: Document integer menu controls

2012-01-05 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Tuesday 20 December 2011 21:27:54 Sakari Ailus wrote: From: Sakari Ailus sakari.ai...@iki.fi Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- Documentation/DocBook/media/v4l/compat.xml | 10 + Documentation/DocBook/media/v4l/v4l2.xml

Re: [RFC 03/17] vivi: Add an integer menu test control

2012-01-05 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Tuesday 20 December 2011 21:27:55 Sakari Ailus wrote: From: Sakari Ailus sakari.ai...@iki.fi Add an integer menu test control for the vivi driver. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/video/vivi.c | 21

Re: [yavta PATCH 1/1] Support integer menus.

2012-01-05 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Wednesday 28 December 2011 10:47:01 Sakari Ailus wrote: Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- yavta.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/yavta.c b/yavta.c index c0e9acb..9b8a80e 100644 ---

Re: [RFC 04/17] v4l: VIDIOC_SUBDEV_S_SELECTION and VIDIOC_SUBDEV_G_SELECTION IOCTLs

2012-01-05 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Tuesday 20 December 2011 21:27:56 Sakari Ailus wrote: From: Sakari Ailus sakari.ai...@iki.fi Add support for VIDIOC_SUBDEV_S_SELECTION and VIDIOC_SUBDEV_G_SELECTION IOCTLs. They replace functionality provided by VIDIOC_SUBDEV_S_CROP and

Re: [RFC 05/17] v4l: Support s_crop and g_crop through s/g_selection

2012-01-05 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Tuesday 20 December 2011 21:27:57 Sakari Ailus wrote: From: Sakari Ailus sakari.ai...@iki.fi Revert to s_selection if s_crop isn't implemented by a driver. Same for g_selection / g_crop. Shouldn't this say Fall back instead of Revert ? Signed-off-by:

Re: [PATCH 4/9] [media] dvb_frontend: Don't use ops-info.type anymore

2012-01-05 Thread e9hack
Am 01.01.2012 21:11, schrieb Mauro Carvalho Chehab: Get rid of using ops-info.type defined on DVB drivers, as it doesn't apply anymore. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/dvb/dvb-core/dvb_frontend.c | 541 ++--- 1

Re: [RFC 08/17] v4l: Image source control class

2012-01-05 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Tuesday 20 December 2011 21:28:00 Sakari Ailus wrote: From: Sakari Ailus sakari.ai...@iki.fi 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

DVB: Question on TS_DECODER

2012-01-05 Thread Hamad Kadmany
Hi, dvb_dmxdev_start_feed sets TS_DECODER to ts_type regardless of whether pes-output was set to DMX_OUT_DECODER or not, but depending on the pes-type only. This might cause confusion, there's a hidden assumption that if user is not interested to send data to decoder, the pes type must always

Re: [PATCH 0/5] Fix dvb-core set_delivery_system and port drxk to one frontend

2012-01-05 Thread Devin Heitmueller
On Thu, Jan 5, 2012 at 10:37 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: With all these series applied, it is now possible to use frontend 0 for all delivery systems. As the current tools don't support changing the delivery system, the dvb-fe-tool (on my experimental tree[1]) can now

Re: [patch -longterm v2] V4L/DVB: v4l2-ioctl: integer overflow in video_usercopy()

2012-01-05 Thread Greg KH
On Thu, Jan 05, 2012 at 09:28:22AM +0300, Dan Carpenter wrote: If p-count is too high the multiplication could overflow and array_size would be lower than expected. Mauro and Hans Verkuil suggested that we cap it at 1024. That comes from the maximum number of controls with lots of room for

Broken ioctl error returns (was Re: [PATCH 2/3] block: fail SCSI passthrough ioctls on partition devices)

2012-01-05 Thread Linus Torvalds
On Thu, Jan 5, 2012 at 8:16 AM, Linus Torvalds torva...@linux-foundation.org wrote: Just fix the *obvious* breakage in BLKROSET. It's clearly what the code *intends* to do, it just didn't check for ENOIOCTLCMD. So it seems from quick grepping that the block layer isn't actually all that

Re: Broken ioctl error returns (was Re: [PATCH 2/3] block: fail SCSI passthrough ioctls on partition devices)

2012-01-05 Thread Paolo Bonzini
On 01/05/2012 06:02 PM, Linus Torvalds wrote: + return ret == -EINVAL || + ret == -ENOTTY || + ret == ENOIOCTLCMD; Missing minus before ENOIOCTLCMD. Paolo -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to

Re: Broken ioctl error returns (was Re: [PATCH 2/3] block: fail SCSI passthrough ioctls on partition devices)

2012-01-05 Thread Linus Torvalds
On Thu, Jan 5, 2012 at 9:02 AM, Linus Torvalds torva...@linux-foundation.org wrote: Added, linux-media and Mauro to the Cc, because I'm about to commit something like the attached patch to see if anything breaks. We may have to revert it if things get too nasty, but we should have done this

[PATCH v2] [media] dvb_frontend: Update the dynamic info-type

2012-01-05 Thread Mauro Carvalho Chehab
Instead of changing the ops.info.type struct, updates only the data that will be returned to userspace. Also add some debug messages to help tracking such issues. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/dvb/dvb-core/dvb_frontend.c | 13 + 1 files

Re: Broken ioctl error returns (was Re: [PATCH 2/3] block: fail SCSI passthrough ioctls on partition devices)

2012-01-05 Thread Mauro Carvalho Chehab
On 05-01-2012 15:47, Linus Torvalds wrote: On Thu, Jan 5, 2012 at 9:37 AM, Mauro Carvalho Chehab mche...@infradead.org wrote: For the media drivers, we've already fixed it, at the V4L side: -EINVAL doesn't mean that an ioctl is not supported anymore. I think that such fix went into Kernel

Re: [PATCH 4/9] [media] dvb_frontend: Don't use ops-info.type anymore

2012-01-05 Thread Mauro Carvalho Chehab
On 05-01-2012 14:19, e9hack wrote: Am 01.01.2012 21:11, schrieb Mauro Carvalho Chehab: Get rid of using ops-info.type defined on DVB drivers, as it doesn't apply anymore. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- drivers/media/dvb/dvb-core/dvb_frontend.c | 541

Re: [PATCH 2/3] drxk: correction frontend attatching

2012-01-05 Thread Mauro Carvalho Chehab
On 18-12-2011 04:05, Stefan Ringel wrote: Am 18.12.2011 00:47, schrieb Oliver Endriss: On Sunday 18 December 2011 00:39:49 Oliver Endriss wrote: On Saturday 17 December 2011 21:57:16 linu...@stefanringel.de wrote: From: Stefan Ringellinu...@stefanringel.de all drxk have dvb-t, but not dvb-c.

Re: Support for RC-6 in em28xx driver?

2012-01-05 Thread Simon Søndergaard
2012/1/5 Devin Heitmueller dheitmuel...@kernellabs.com: 2012/1/5 Simon Søndergaard john7...@gmail.com: Hi, I recently purchased a PCTV 290e USB Stick (em28174) it comes with a remote almost as small as the stick itself... I've been able to get both stick and remote to work. I also own an MCE

Re: Support for RC-6 in em28xx driver?

2012-01-05 Thread Devin Heitmueller
2012/1/5 Simon Søndergaard john7...@gmail.com: 2012/1/5 Devin Heitmueller dheitmuel...@kernellabs.com: 2012/1/5 Simon Søndergaard john7...@gmail.com: Hi, I recently purchased a PCTV 290e USB Stick (em28174) it comes with a remote almost as small as the stick itself... I've been able to get

Re: Support for RC-6 in em28xx driver?

2012-01-05 Thread Devin Heitmueller
On Thu, Jan 5, 2012 at 5:48 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: Yes, it can.  Like almost every IR receiver provided by the linux media subsystem, the 290e is configured with the keymap of the pinnacle remote *by default*.  There are userland tools (e.g. ir-keytable) which

Re: Support for RC-6 in em28xx driver?

2012-01-05 Thread Chris Rankin
Hi, As someone who also owns a PCTV 290e device, I must agree that the remote control that it ships with is useless for VDR. Its biggest flaw is a lack of red, green, yellow and blue buttons, unlike the very nice remote control that ships with the Hauppauge NOVA-T2. Are you suggesting that

Re: Support for RC-6 in em28xx driver?

2012-01-05 Thread Simon Søndergaard
2012/1/5 Devin Heitmueller dheitmuel...@kernellabs.com: 2012/1/5 Simon Søndergaard john7...@gmail.com: 2012/1/5 Devin Heitmueller dheitmuel...@kernellabs.com: 2012/1/5 Simon Søndergaard john7...@gmail.com: Hi, I recently purchased a PCTV 290e USB Stick (em28174) it comes with a remote

Re: Support for RC-6 in em28xx driver?

2012-01-05 Thread Simon Søndergaard
On Thu, Jan 5, 2012 at 11:51 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: On Thu, Jan 5, 2012 at 5:48 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: Yes, it can.  Like almost every IR receiver provided by the linux media subsystem, the 290e is configured with the keymap

em2874 bulk endpoint support

2012-01-05 Thread Dmitriy Fitisov
Hello everyone, I know, Devin Heitmueller was about to add support for em2874 bulk endpoint. Is that still in plans? Thank you. Dmitriy Copying old thread: On Oct 29, 2010, at 2:37 PM, Devin Heitmueller wrote: On Fri, Oct 29, 2010 at 2:04 PM, Jarod Wilson jarod at wilsonet.com wrote:

Re: [PATCH 0/5] Fix dvb-core set_delivery_system and port drxk to one frontend

2012-01-05 Thread Mauro Carvalho Chehab
On 05-01-2012 16:38, Lars Hanisch wrote: Hi, First: I'm no driver but an application developer. Am 05.01.2012 17:40, schrieb Devin Heitmueller: On Thu, Jan 5, 2012 at 10:37 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: With all these series applied, it is now possible to use

Re: em2874 bulk endpoint support

2012-01-05 Thread Devin Heitmueller
On Thu, Jan 5, 2012 at 6:16 PM, Dmitriy Fitisov dmit...@radier.ca wrote: Hello everyone, I know, Devin Heitmueller was about to add support  for em2874 bulk endpoint. Is that still in plans? The project that I was slated to do this work for got cancelled, and the only device I know of that

Re: [PATCH 0/5] Fix dvb-core set_delivery_system and port drxk to one frontend

2012-01-05 Thread Oliver Endriss
On Thursday 05 January 2012 17:40:54 Devin Heitmueller wrote: On Thu, Jan 5, 2012 at 10:37 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: With all these series applied, it is now possible to use frontend 0 for all delivery systems. As the current tools don't support changing the

Pause/Resume and flush for V4L2 codec drivers.

2012-01-05 Thread vkalia
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 anyone done this before or if anyone has any ideas please let me know. Appreciate your

Re: Using OMAP3 ISP live display and snapshot sample applications

2012-01-05 Thread James
Hi Laurent, On Thu, Jan 5, 2012 at 5:55 PM, James angweiy...@gmail.com wrote: Hi Laurent, On Wed, Jan 4, 2012 at 3:07 PM, James angweiy...@gmail.com wrote: Hi Laurent, On Tue, Jan 3, 2012 at 7:17 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: Hi James, On Tuesday 03