two UVC simultaneous devices impossible?

2015-03-17 Thread dongdong zhang
Using kernel 3.2.0 on ti am3354 , Kernel 2.6.35.7 on samsung s5pv210, Kernel 3.0.8 on samsung s5pv210, Linux ubuntu 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux Ubuntu 14.04 on x86 I find it impossible to start motion with two UVC cameras: uvcvideo: Faile

cron job: media_tree daily build: WARNINGS

2015-03-17 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 Mar 18 04:00:23 CET 2015 git branch: test git hash: 3d945be05ac1e806af075e9315bc1b3409adae2b gcc versio

Re: [PATCH 1/5] [media] horus3a: Sony Horus3A DVB-S/S2 tuner driver

2015-03-17 Thread Mauro Carvalho Chehab
Em Wed, 18 Mar 2015 02:11:52 +0200 Antti Palosaari escreveu: > On 03/05/2015 10:54 AM, Mauro Carvalho Chehab wrote: > > Em Mon, 02 Feb 2015 12:22:32 +0300 > > Kozlov Sergey escreveu: > > >> diff --git a/MAINTAINERS b/MAINTAINERS > >> index ddb9ac8..a3a1767 100644 > >> --- a/MAINTAINERS > >> +++

Re: Re: cx23885: DVBSky S952 dvb_register failed err = -22

2015-03-17 Thread Nibble Max
Hello Ole, On 2015-03-18 02:32:54, Ole Ernst wrote: >Hi Max, > >I get a chip_id of 0x81, which returns -ENODEV in the default branch of >the subsequent switch. So I guess my S952 is too old? :-( How hard would >it be to add support for it? If it is m88ts2020, there is a tuner driver "ts2020" in

Re: [PATCH/RFC v13 02/13] dt-binding: leds: Add common LED DT bindings macros

2015-03-17 Thread Bryan Wu
On Thu, Mar 12, 2015 at 8:45 AM, Jacek Anaszewski wrote: > Add macros for defining boost mode and trigger type properties > of flash LED devices. > Applied, thanks, -Bryan > Signed-off-by: Jacek Anaszewski > Acked-by: Kyungmin Park > Cc: Bryan Wu > Cc: Richard Purdie > --- > include/dt-bindi

Re: [PATCH 1/5] [media] horus3a: Sony Horus3A DVB-S/S2 tuner driver

2015-03-17 Thread Antti Palosaari
On 03/05/2015 10:54 AM, Mauro Carvalho Chehab wrote: Em Mon, 02 Feb 2015 12:22:32 +0300 Kozlov Sergey escreveu: diff --git a/MAINTAINERS b/MAINTAINERS index ddb9ac8..a3a1767 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4365,6 +4365,15 @@ W: http://linuxtv.org S:Odd Fixes F:

Re: [PATCH v2 25/26] omap3isp: Move to videobuf2

2015-03-17 Thread Tim Nordell
Hi - On 04/21/14 07:29, Laurent Pinchart wrote: Replace the custom buffers queue implementation with a videobuf2 queue. Signed-off-by: Laurent Pinchart I realize this is late (it's in the kernel now), but I'm noticing that this does not appear to properly support the scatter-gather buffers

[PATCH v7] media: i2c: add support for omnivision's ov2659 sensor

2015-03-17 Thread Lad Prabhakar
From: Benoit Parrot this patch adds support for omnivision's ov2659 sensor, the driver supports following features: 1: Asynchronous probing 2: DT support 3: Media controller support Signed-off-by: Benoit Parrot Signed-off-by: Lad, Prabhakar Acked-by: Sakari Ailus --- Changes for v7: ---

capture high resolution images from webcam

2015-03-17 Thread Oliver Lehmann
Hi, I'm using v4l2 on FreeBSD but I hope this doesn't matter that much. I got a new MS LifeCam Studio HD which makes quite good pictures because of its focus possibilites. When I use the original software provided by MS the "autofocus" feature works damn good. With v4l2, autofocus is enabled but

hyvää päivää

2015-03-17 Thread Loan
hyvää päivää Hanki laina tänään Loan Engine, jonka korko on 3%. täyttää Lomake jos kiinnostaa: Sukupuoli: Maa: Tarvittava määrä: Kesto: Mission: On monia syitä, miksi lainan voi auttaa terveiset Ana Paula -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of

Re: cx23885: DVBSky S952 dvb_register failed err = -22

2015-03-17 Thread Ole Ernst
Hi Max, I get a chip_id of 0x81, which returns -ENODEV in the default branch of the subsequent switch. So I guess my S952 is too old? :-( How hard would it be to add support for it? Thanks, Ole Am 17.03.2015 um 02:53 schrieb Nibble Max: > Hello, > > what is the "chip_id" debug output from m88ts

Re: [PATCH v3 0/5] Signalling last decoded frame by V4L2_BUF_FLAG_LAST and -EPIPE

2015-03-17 Thread Hans Verkuil
On 03/17/2015 11:46 AM, Philipp Zabel wrote: > Hi, > > Am Freitag, den 06.03.2015, 11:18 +0100 schrieb Philipp Zabel: >> At the V4L2 codec API session during ELC-E 2014, we agreed that for the >> decoder >> draining flow, after a V4L2_DEC_CMD_STOP decoder command was issued, the last >> decoded b

[PATCH 2/5] gpu: ipu-v3: Add mem2mem image conversion support to IC

2015-03-17 Thread Philipp Zabel
This patch adds support for mem2mem scaling and colorspace conversion using the IC module's post-processing task. Scaling images larger than 1024x1024 is supported by tiling over multiple IC scaling runs. Since the IDMAC and IC units have interesting and different alignment limitations for buffer

[PATCH 4/5] [media] imx-ipu: Add ipu media common code

2015-03-17 Thread Philipp Zabel
From: Sascha Hauer Add video4linux API routines common to drivers for units that accept or provide video data via the i.MX IPU IDMAC channels, such as scaler or deinterlacer drivers. Signed-off-by: Sascha Hauer Signed-off-by: Lucas Stach Signed-off-by: Philipp Zabel --- drivers/media/platfor

[PATCH 5/5] [media] imx-ipu: Add i.MX IPUv3 scaler driver

2015-03-17 Thread Philipp Zabel
From: Sascha Hauer This patch adds support for hardware accelerated scaling and color space conversion between memory buffers using the IPUv3 IC. Since the maximum output size of the IC unit is 1024x1024 pixels, multiple IC tasks with overlapping tiles are used internally to scale and convert lar

[PATCH 3/5] gpu: ipu-v3: Register scaler platform device

2015-03-17 Thread Philipp Zabel
This patch registers the scaler device using the IC post-processing task, to be handled by a mem2mem scaler driver. Signed-off-by: Philipp Zabel --- drivers/gpu/ipu-v3/ipu-common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/ipu-v3/ipu-common.c b/drivers/gpu/ipu-v3/ipu-comm

[PATCH 1/5] gpu: ipu-v3: Add missing IDMAC channel names

2015-03-17 Thread Philipp Zabel
This patch adds the remaining missing IDMAC channel names: all VDIC channels for deinterlacing and combining, the separate alpha channels for the MEM->IC and MEM->DC ASYNC channels, and the DC read / command / output mask channels. Signed-off-by: Philipp Zabel --- include/video/imx-ipu-v3.h | 15

[PATCH 0/5] i.MX5/6 mem2mem scaler

2015-03-17 Thread Philipp Zabel
Hi, this series uses the IPU IC post-processing task, to implement a mem2mem device for scaling and colorspace conversion. regards Philipp Philipp Zabel (3): gpu: ipu-v3: Add missing IDMAC channel names gpu: ipu-v3: Add mem2mem image conversion support to IC gpu: ipu-v3: Register scaler pl

[PATCH 5/9] media: vb2: Convert vb2_dma_sg_get_userptr() to use pinned pfns

2015-03-17 Thread Jan Kara
Signed-off-by: Jan Kara --- drivers/media/v4l2-core/videobuf2-dma-sg.c | 97 +- 1 file changed, 15 insertions(+), 82 deletions(-) diff --git a/drivers/media/v4l2-core/videobuf2-dma-sg.c b/drivers/media/v4l2-core/videobuf2-dma-sg.c index 71510e4f7d7c..cc82c30d02cf 100

[PATCH 1/9] [media] vb2: Push mmap_sem down to memops

2015-03-17 Thread Jan Kara
Currently vb2 core acquires mmap_sem just around call to __qbuf_userptr(). However since commit f035eb4e976ef5 (videobuf2: fix lockdep warning) it isn't necessary to acquire it so early as we no longer have to drop queue mutex before acquiring mmap_sem. So push acquisition of mmap_sem down into .ge

[PATCH 2/9] mm: Provide new get_vaddr_pfns() helper

2015-03-17 Thread Jan Kara
Provide new function get_vaddr_pfns(). This function maps virtual addresses from given start and fills given array with page frame numbers of the corresponding pages. If given start belongs to a normal vma, the function grabs reference to each of the pages to pin them in memory. If start belongs t

[PATCH 0/9 v2] Helper to abstract vma handling in media layer

2015-03-17 Thread Jan Kara
Hello, After a long pause I'm sending second version of my patch series to abstract vma handling from the various media drivers. After this patch set drivers have to know much less details about vmas, their types, and locking. My motivation for the series is that I want to change get_user_page

[PATCH 8/9] media: vb2: Remove unused functions

2015-03-17 Thread Jan Kara
Conversion to the use of pinned pfns made some functions unused. Remove them. Also there's no need to lock mmap_sem in __buf_prepare() anymore. Signed-off-by: Jan Kara --- drivers/media/v4l2-core/videobuf2-memops.c | 114 - include/media/videobuf2-memops.h |

[PATCH 7/9] media: vb2: Convert vb2_dc_get_userptr() to use pfns vector

2015-03-17 Thread Jan Kara
Convert vb2_dc_get_userptr() to use passed vector of pfns. When we are doing that there's no need to allocate page array and some code can be simplified. Signed-off-by: Jan Kara --- drivers/media/v4l2-core/videobuf2-dma-contig.c | 213 - 1 file changed, 32 insertions(+),

[PATCH 9/9] drm/exynos: Convert g2d_userptr_get_dma_addr() to use get_vaddr_pfn()

2015-03-17 Thread Jan Kara
Convert g2d_userptr_get_dma_addr() to pin pages using get_vaddr_pfn(). This removes the knowledge about vmas and mmap_sem locking from exynos driver. Also it fixes a problem that the function has been mapping user provided address without holding mmap_sem. Signed-off-by: Jan Kara --- drivers/gpu

[PATCH 6/9] media: vb2: Convert vb2_vmalloc_get_userptr() to use pfns vector

2015-03-17 Thread Jan Kara
Convert vb2_vmalloc_get_userptr() to use passed vector of pfns. When we are doing that there's no need to allocate page array and some code can be simplified. Signed-off-by: Jan Kara --- drivers/media/v4l2-core/videobuf2-vmalloc.c | 94 +++-- 1 file changed, 36 insertions

[PATCH 4/9] vb2: Provide helpers for mapping virtual addresses

2015-03-17 Thread Jan Kara
Provide simple helper functions to map virtual address range into an array of pfns. Signed-off-by: Jan Kara --- drivers/media/v4l2-core/videobuf2-memops.c | 57 ++ include/media/videobuf2-memops.h | 4 +++ 2 files changed, 61 insertions(+) diff --git a/dri

[PATCH 3/9] media: omap_vout: Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns()

2015-03-17 Thread Jan Kara
Convert omap_vout_uservirt_to_phys() to use get_vaddr_pfns() instead of hand made mapping of virtual address to physical address. Also the function leaked page reference from get_user_pages() so fix that by properly release the reference when omap_vout_buffer_release() is called. Signed-off-by: Ja

Re: [PATCH v3 0/5] Signalling last decoded frame by V4L2_BUF_FLAG_LAST and -EPIPE

2015-03-17 Thread Philipp Zabel
Hi, Am Freitag, den 06.03.2015, 11:18 +0100 schrieb Philipp Zabel: > At the V4L2 codec API session during ELC-E 2014, we agreed that for the > decoder > draining flow, after a V4L2_DEC_CMD_STOP decoder command was issued, the last > decoded buffer should get dequeued with a V4L2_BUF_FLAG_LAST set

Re: [PATCH 23/35 linux-next] [media] constify of_device_id array

2015-03-17 Thread Patrice Chotard
Hi Fabian On 03/16/2015 08:54 PM, Fabian Frederick wrote: of_device_id is always used as const. (See driver.of_match_table and open firmware functions) Signed-off-by: Fabian Frederick --- ... drivers/media/rc/st_rc.c | 2 +- For this driver Acked-by: Patrice Chotard