[PATCH 2/2] [media] s5p-tv: Include missing platform_device.h header

2013-02-06 Thread Sachin Kamat
Without this patch we get the following build error: drivers/media/platform/s5p-tv/mixer_video.c: In function ‘find_and_register_subdev’: drivers/media/platform/s5p-tv/mixer_video.c:42:34: error: ‘platform_bus_type’ undeclared (first use in this function) Signed-off-by: Sachin Kamat --- drivers/

[PATCH 1/2] [media] s5p-tv: Include missing irqreturn.h header

2013-02-06 Thread Sachin Kamat
Without this patch we get the following compilation errors: drivers/media/platform/s5p-tv/mixer.h:345:13: error: Expected ; at end of declaration drivers/media/platform/s5p-tv/mixer.h:345:13: error: got mxr_irq_handler Signed-off-by: Sachin Kamat --- drivers/media/platform/s5p-tv/mixer.h |1

[PATCH v3] media: ths7353: add support for ths7353 video amplifier

2013-02-06 Thread Prabhakar lad
From: Lad, Prabhakar The patch adds support for THS7353 video amplifier. The the THS7353 amplifier is very much similar to the existing THS7303 video amplifier driver. This patch appropriately makes changes to the existing ths7303 driver and adds support for the THS7353. This patch also adds V4L2

Invitation to use Google Talk

2013-02-06 Thread Google Talk
--- You've been invited by abhishek jain to use Google Talk. If you already have a Google account, login to Gmail and accept this chat invitation: http://mail.google.com/mail/b-e5728e2cb1-4bbffc79f0-p5osIw9xEoJ3lr95g7QxueBjNbI T

[PATCH 2/3] [media]: v4l2-mem2mem: drop rdy_queue on STREAMOFF

2013-02-06 Thread John Sheu
From: John Sheu When a v4l2-mem2mem context gets a STREAMOFF call on either its CAPTURE or OUTPUT queues, we should: * Drop the corresponding rdy_queue, since a subsequent STREAMON expects an empty queue. * Deschedule the context, as it now has at least one empty queue and cannot run. Signed

[PATCH 3/3] dma-buf: restore args on failure of dma_buf_mmap

2013-02-06 Thread John Sheu
From: John Sheu Callers to dma_buf_mmap expect to fput() the vma struct's vm_file themselves on failure. Not restoring the struct's data on failure causes a double-decrement of the vm_file's refcount. Signed-off-by: John Sheu --- drivers/base/dma-buf.c | 18 ++ 1 file changed,

[PATCH 1/3] [media] v4l2-mem2mem: use CAPTURE queue lock

2013-02-06 Thread John Sheu
From: John Sheu In v4l2_m2m_try_schedule(), use the CAPTURE queue lock when accessing the CAPTURE queue, instead of relying on just holding the OUTPUT queue lock. Signed-off-by: John Sheu --- drivers/media/v4l2-core/v4l2-mem2mem.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/

cron job: media_tree daily build: ERRORS

2013-02-06 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 Feb 6 22:29:20 CET 2013 git branch: for_v3.9 git hash: 248ac368ce4b3cd36515122d888403909d7a2500 gcc ve

Re: Hi again

2013-02-06 Thread Sylwester Nawrocki
Hi Alexander, Thanks for the update ;) On 02/05/2013 11:50 PM, Alexander Nestorov wrote: Hi Sylwester :) I have been working wth 2 guys from Collabora (company behind GStreamer/Farstream) and there has been some progress. We saw that if I run gst-launch v4l2src ! dfbvideosink (without any ca

Re: [PATCH v4 06/10] s5p-fimc: Use pinctrl API for camera ports configuration

2013-02-06 Thread Stephen Warren
On 02/01/2013 12:09 PM, Sylwester Nawrocki wrote: > Before the camera ports can be used the pinmux needs to be configured > properly. This patch adds a function to set the camera ports pinctrl > to a default state within the media driver's probe(). > The camera port(s) are then configured for the v

Re: [PATCH v4 05/10] s5p-fimc: Add device tree based sensors registration

2013-02-06 Thread Stephen Warren
On 02/01/2013 12:09 PM, Sylwester Nawrocki wrote: > The sensor (I2C and/or SPI client) devices are instantiated by their > corresponding control bus drivers. Since the I2C client's master clock > is often provided by a video bus receiver (host interface) or other > than I2C/SPI controller device, t

Re: [PATCH v4 02/10] s5p-fimc: Add device tree support for FIMC devices

2013-02-06 Thread Stephen Warren
On 02/01/2013 12:09 PM, Sylwester Nawrocki wrote: > This patch adds support for FIMC devices instantiated from devicetree > for S5PV210 and Exynos4 SoCs. The FIMC IP features include colorspace > conversion and scaling (mem-to-mem) and parallel/MIPI CSI2 bus video > capture interface. > > Multiple

Re: [PATCH v4 01/10] s5p-csis: Add device tree support

2013-02-06 Thread Stephen Warren
On 02/01/2013 12:09 PM, Sylwester Nawrocki wrote: > s5p-csis is platform device driver for MIPI-CSI frontend to the FIMC > device. This patch support for binding the driver to the MIPI-CSIS > devices instantiated from device tree and for parsing all SoC and > board specific properties. > diff --gi

Re: [PATCH 0/2] A couple documentation fixes for media stuff

2013-02-06 Thread Antonio Ospite
On Mon, 28 Jan 2013 22:45:30 +0100 Antonio Ospite wrote: > From: Antonio Ospite > > Take a look at the per-patch annotations too, please. Ping on this series. > Thanks, >Antonio > > Antonio Ospite (2): > [media] Documentation/media-framework.txt: fix a sentence > [media] Documentatio

Re: On MIPI-CSI2 YUV420 formats and V4L2 Media Bus formats

2013-02-06 Thread Antonio Ospite
On Wed, 30 Jan 2013 01:23:48 +0100 Laurent Pinchart wrote: > Hi Antonio, > Sorry for the delay Laurent and thanks for your reply, some more questions below. > On Monday 28 January 2013 13:22:10 Antonio Ospite wrote: > > Hi, > > > > looking at the MIPI Alliance Specification for Camera Serial I

[PATCH] s5c73m3: Remove __dev* attributes

2013-02-06 Thread Sylwester Nawrocki
Remove no longer supported __devinit, __devexit attributes. Signed-off-by: Sylwester Nawrocki --- Hi Hans, I've noticed this last night, prepared a patch but forgot to send it out today :/ Here is the one with a relevant summary line, I don't want a patch with "[,FOR,V3.9]" in it applied.. Tha

IS_ENABLED media_build issue

2013-02-06 Thread Eddi De Pieri
Hi, I'm backporting media_tree drivers to linux 3.3.6. For a strange reason, IS_ENABLED macro fails. I had to force definition of NEED_IS_ENABLED to make drivers to build. Any idea? Regards, Eddi -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a messag

Re: [PATCH] media_build update IS_ENABLED macro

2013-02-06 Thread Eddi De Pieri
Sorry ignore my patch.. it's broken Regards Eddi On Wed, Feb 6, 2013 at 9:48 PM, Eddi De Pieri wrote: > Fix media_build by updating IS_ENABLED macro > > Signed-off-by: Eddi De Pieri > > diff --git a/v4l/compat.h b/v4l/compat.h > index 8ef90aa..fd0d139 100644 > --- a/v4l/compat.h > +++ b/v4l/com

[PATCH] media_build update IS_ENABLED macro

2013-02-06 Thread Eddi De Pieri
Fix media_build by updating IS_ENABLED macro Signed-off-by: Eddi De Pieri diff --git a/v4l/compat.h b/v4l/compat.h index 8ef90aa..fd0d139 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -1102,7 +1102,7 @@ static inline void i2c_unlock_adapter(struct i2c_adapter *adapter) #define __config_enable

[PATCH FOR V3.9] Remove __devinit/exit annotations: these are no longer supported

2013-02-06 Thread Hans Verkuil
Hi all, The daily build broke on this. Signed-off-by: Hans Verkuil Regards, Hans diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-core.c b/drivers/media/i2c/s5c73m3/s5c73m3-core.c index c143c9e..9b351d6 100644 --- a/drivers/media/i2c/s5c73m3/s5c73m3-core.c +++ b/drivers/media/i2c/s5c7

Re: RFC: add parameters to V4L controls

2013-02-06 Thread Sakari Ailus
Hi Sylwester, On Sun, Feb 03, 2013 at 07:53:50PM +0100, Sylwester Nawrocki wrote: > Hi Laurent, > > On 02/01/2013 11:17 PM, Laurent Pinchart wrote: > [...] > There could be added four pseudo-controls, lets call them for short: > LEFT, TOP, WIDTH, HEIGHT. Those controls could be passed tog

media controller interface

2013-02-06 Thread Gary Thomas
Any idea why /dev/media0 is not available to "media" users, in particular those in group 'video'? On my system I see: $ ls -l /dev/vid* crw-rw 1 root video 81, 0 Feb 6 18:45 /dev/video0 crw-rw 1 root video 81, 1 Feb 6 18:45 /dev/video1 crw-rw 1 root video 81, 2 Feb 6 18:45

cron job: media_tree daily build: ERRORS

2013-02-06 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 Feb 6 19:00:29 CET 2013 git branch: for_v3.9 git hash: 248ac368ce4b3cd36515122d888403909d7a2500 gcc ve

Re: [PATCH] em28xx: fix usb alternate setting for analog and digital video endpoints > 0

2013-02-06 Thread Frank Schäfer
Am 06.02.2013 17:03, schrieb Mauro Carvalho Chehab: > Em Wed, 06 Feb 2013 16:31:41 +0100 > Frank Schäfer escreveu: > >> Am 05.02.2013 23:06, schrieb Mauro Carvalho Chehab: >>> Em Tue, 05 Feb 2013 22:37:50 +0100 >>> Frank Schäfer escreveu: >>> Am 05.02.2013 21:57, schrieb Mauro Carvalho Cheha

Re: Patch update notification: 2 patches updated

2013-02-06 Thread Frank Schäfer
Am 06.02.2013 16:58, schrieb Mauro Carvalho Chehab: > Em Wed, 06 Feb 2013 16:35:06 +0100 > Frank Schäfer escreveu: > >> Am 05.02.2013 23:08, schrieb Mauro Carvalho Chehab: >>> Em Tue, 05 Feb 2013 22:46:10 +0100 >>> Frank Schäfer escreveu: >>> Am 05.02.2013 22:33, schrieb Patchwork: > Hel

Re: [PATCH RESEND] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-06 Thread Sebastian Hesselbarth
On 02/06/2013 02:48 PM, Sylwester Nawrocki wrote: On 02/06/2013 09:03 AM, Sebastian Hesselbarth wrote: This patch adds device tree parsing for gpio_ir_recv platform_data and the mandatory binding documentation. It basically follows what we already have for e.g. gpio_keys. All required device tre

Re: [Linaro-mm-sig] CDF meeting @FOSDEM report

2013-02-06 Thread Daniel Vetter
On Wed, Feb 6, 2013 at 4:00 PM, Tomi Valkeinen wrote: >> not always a perfect match to the hardware. For example a lot of GPUs >> have a DVO encoder which feeds a secondary encoder like an sil164 DVO >> to TMDS encoder. > > Right. I think mapping the DRM entities to CDF ones is one of the bigger

Re: [PATCH] em28xx: fix usb alternate setting for analog and digital video endpoints > 0

2013-02-06 Thread Mauro Carvalho Chehab
Em Wed, 06 Feb 2013 16:31:41 +0100 Frank Schäfer escreveu: > Am 05.02.2013 23:06, schrieb Mauro Carvalho Chehab: > > Em Tue, 05 Feb 2013 22:37:50 +0100 > > Frank Schäfer escreveu: > > > >> Am 05.02.2013 21:57, schrieb Mauro Carvalho Chehab: > >>> Em Fri, 18 Jan 2013 18:25:48 +0100 > >>> Frank Sc

[REVIEW PATCH 06/17] bttv: disable g/s_tuner and g/s_freq when no tuner present, fix return codes.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil If no tuner is present, then disable the tuner and frequency ioctls. We can remove a number of checks from those ioctls testing for the presence of a tuner. Also remove some tuner type checks (now done by the core) and fix an error return when the prio check fails. Finally so

Re: Patch update notification: 2 patches updated

2013-02-06 Thread Mauro Carvalho Chehab
Em Wed, 06 Feb 2013 16:35:06 +0100 Frank Schäfer escreveu: > Am 05.02.2013 23:08, schrieb Mauro Carvalho Chehab: > > Em Tue, 05 Feb 2013 22:46:10 +0100 > > Frank Schäfer escreveu: > > > >> Am 05.02.2013 22:33, schrieb Patchwork: > >>> Hello, > >>> > >>> The following patches (submitted by you) h

[REVIEW PATCH 13/17] bttv: add support for control events.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-driver.c | 48 - drivers/media/pci/bt8xx/bttvp.h |4 +++ 2 files changed, 39 insertions(+), 13 deletions(-) diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/

[REVIEW PATCH 07/17] bttv: set initial tv/radio frequencies

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil Set an initial frequencies when the driver is loaded. That way G_FREQUENCY will give a frequency that corresponds with reality. Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-driver.c | 34 +++-- drivers/media/pci/bt8xx/bttvp.h

[REVIEW PATCH 16/17] bttv: there may be multiple tvaudio/tda7432 devices.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil Probe for additional tvaudio devices, and allow tvaudio+tda7432 to co-exist. My STB TV PCI FM bttv card has a tda7432, a tda9850 and a tea6420. Unfortunately, even with this patch I still don't get audio out, but at least all the devices are recognized. Signed-off-by: Hans Ve

[REVIEW PATCH 14/17] bttv: fix priority handling.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil Replace the - incorrect - manual priority handling with the core priority implementation. Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-driver.c | 61 - drivers/media/pci/bt8xx/bttvp.h |6 2 files changed, 6 ins

[REVIEW PATCH 15/17] bttv: use centralized std and implement g_std.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil The 'current_norm' field cannot be used if multiple device nodes (video and vbi in this case) set the same std. Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-driver.c | 13 - drivers/media/pci/bt8xx/bttvp.h |1 + 2 files changed, 13 ins

[REVIEW PATCH 09/17] bttv: fill in colorspace.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-driver.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c index 3ba423e..70878e6 100644 --- a/drivers/media/pci/bt8xx/bttv-drive

[REVIEW PATCH 17/17] bttv: fix g_tuner capabilities override.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil The capability field of v4l2_tuner should be ORed by the various subdevs and by the main driver. In this case the stereo capability was dropped. Signed-off-by: Hans Verkuil --- drivers/media/i2c/tvaudio.c |2 +- drivers/media/pci/bt8xx/bttv-driver.c |2 +-

[REVIEW PATCH 05/17] bttv: remove g/s_audio since there is only one audio input.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-driver.c | 19 --- 1 file changed, 19 deletions(-) diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c index 6e61dbd..a02c031 100644 --- a/drivers/media/pci

[REVIEW PATCH 08/17] bttv: G_PARM: set readbuffers.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-driver.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c index 07c0919..3ba423e 100644 --- a/drivers/media/pci/bt8xx/bttv-driv

[REVIEW PATCH 12/17] bttv: convert to the control framework.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil Note that the private chroma agc control has been replaced with the standard CHROMA_AGC control. Also fixes a mute/automute problem where closing the file handle would force mute on. That's not what you want. Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-card

[REVIEW PATCH 11/17] bttv: fix field handling inside TRY_FMT.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil - don't return -EINVAL for invalid field types, handle those as if it was FIELD_ANY. - the handling of FIELD_SEQ_BT/TB was wrong as well: if such field formats aren't supported, then fall back to FIELD_ANY instead of returning an error. Signed-off-by: Hans Verkuil --- dr

[REVIEW PATCH 04/17] bttv: fix ENUM_INPUT and S_INPUT

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil - Fix ENUM_INPUT audioset. - Fix incorrect input check in s_input. Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-driver.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/me

[REVIEW PATCH 10/17] bttv: fill in fb->flags for VIDIOC_G_FBUF

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-driver.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/pci/bt8xx/bttv-driver.c b/drivers/media/pci/bt8xx/bttv-driver.c index 70878e6..81886e1 100644 --- a/drivers/media/pci/bt8xx/bttv-driver.

[REVIEW PATCH 03/17] bttv: add VIDIOC_DBG_G_CHIP_IDENT

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil VIDIOC_DBG_G_CHIP_IDENT is a prerequisite for the G/S_REGISTER ioctls. In addition, add support to call G/S_REGISTER for supporting i2c devices. Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-driver.c | 40 + drivers/media/pci/

[REVIEW PATCH 01/17] tda7432: convert to the control framework

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil Signed-off-by: Hans Verkuil --- drivers/media/i2c/tda7432.c | 276 +-- 1 file changed, 110 insertions(+), 166 deletions(-) diff --git a/drivers/media/i2c/tda7432.c b/drivers/media/i2c/tda7432.c index f7707e6..28b5121 100644 --- a/driv

[REVIEW PATCH 00/17] bttv v4l2-compliance fixes

2013-02-06 Thread Hans Verkuil
This is based on work I did a few months ago. It's been cleaned up and rebased so it is time to have this reviewed. I want to do some more testing in the next few days, but with this patch series another driver has been updated. Regards, Hans -- To unsubscribe from this list: send the li

[REVIEW PATCH 02/17] bttv: fix querycap and radio v4l2-compliance issues.

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil The querycap ioctl didn't support V4L2_CAP_DEVICE_CAPS and the radio device implemented audio and video inputs and s_std, which are not part of the radio API. Signed-off-by: Hans Verkuil --- drivers/media/pci/bt8xx/bttv-driver.c | 101 + 1 fi

Re: [REVIEW PATCH] em28xx: fix bytesperline calculation in TRY_FMT

2013-02-06 Thread Frank Schäfer
Am 06.02.2013 13:14, schrieb Hans Verkuil: > From: Hans Verkuil > > The bytesperline calculation was incorrect: it used the old width instead of > the provided width. Fixed. > > Signed-off-by: Hans Verkuil > --- > drivers/media/usb/em28xx/em28xx-video.c |2 +- > 1 file changed, 1 insertion(+

Re: [PATCH] em28xx: overhaul em28xx_capture_area_set()

2013-02-06 Thread Frank Schäfer
Am 05.02.2013 23:48, schrieb Mauro Carvalho Chehab: > Em Sun, 20 Jan 2013 14:26:47 +0100 > Frank Schäfer escreveu: > >> - move the bit shifting of width+height values inside the function >> - fix the debug message format and output values >> - add comment about the size limit (e.g. EM277x supports

Re: Patch update notification: 2 patches updated

2013-02-06 Thread Frank Schäfer
Am 05.02.2013 23:08, schrieb Mauro Carvalho Chehab: > Em Tue, 05 Feb 2013 22:46:10 +0100 > Frank Schäfer escreveu: > >> Am 05.02.2013 22:33, schrieb Patchwork: >>> Hello, >>> >>> The following patches (submitted by you) have been updated in patchwork: >> ... >>> * [RFC] em28xx: fix analog streami

Re: [PATCH] em28xx: fix usb alternate setting for analog and digital video endpoints > 0

2013-02-06 Thread Frank Schäfer
Am 05.02.2013 23:06, schrieb Mauro Carvalho Chehab: > Em Tue, 05 Feb 2013 22:37:50 +0100 > Frank Schäfer escreveu: > >> Am 05.02.2013 21:57, schrieb Mauro Carvalho Chehab: >>> Em Fri, 18 Jan 2013 18:25:48 +0100 >>> Frank Schäfer escreveu: >>> While the current code handles sound interfaces w

Re: Replacement for vloopback?

2013-02-06 Thread Neuer User
Thanks everybody so far. I just found v4l2loopback and also some examples with gestreamer. I will do some testing and see if I can get my use case done with that. Kind regards Michael Am 06.02.2013 14:57, schrieb Neuer User: > Hello > > I need to have access to my webcam from two applications

Re: CDF meeting @FOSDEM report

2013-02-06 Thread Tomi Valkeinen
On 2013-02-06 16:44, Alex Deucher wrote: > On Wed, Feb 6, 2013 at 6:11 AM, Tomi Valkeinen wrote: >> What is an encoder? Something that takes a video signal in, and lets the >> CPU store the received data to memory? Isn't that a decoder? >> >> Or do you mean something that takes a video signal in,

Re: Replacement for vloopback?

2013-02-06 Thread Neuer User
Well, I have a (what I think) pretty simple use case here, but without any gstreamer involved: I have a software video sip phone (based on pjsip). I would like to automatically initiate a video call when there is a certain amount of motion detected. Both software packages access a v4l device. I h

[PATCH] [media] mt9v022 driver: send valid HORIZONTAL_BLANKING values to mt9v024 soc camera

2013-02-06 Thread Andrei Andreyanau
This patch fixes the issue that appears when mt9v024 camera is used with the mt9v022 soc camera driver. The minimum total row time is 690 columns (horizontal width + horizontal blanking). The minimum horizontal blanking is 61. Thus, when the window width is set below 627, horizontal blanking must

Re: Replacement for vloopback?

2013-02-06 Thread Devin Heitmueller
On Wed, Feb 6, 2013 at 9:42 AM, Neuer User wrote: > If it is not possible to have two applications access the same video > stream, that is pretty detrimentical to quite a lot of use cases, e.g.: > > a.) Use motion to detect motion and record video. At the same time view > the camera output on the

Re: CDF meeting @FOSDEM report

2013-02-06 Thread Alex Deucher
On Wed, Feb 6, 2013 at 6:11 AM, Tomi Valkeinen wrote: > Hi, > > On 2013-02-06 00:27, Laurent Pinchart wrote: >> Hello, >> >> We've hosted a CDF meeting at the FOSDEM on Sunday morning. Here's a summary >> of the discussions. > > Thanks for the summary. I've been on a longish leave, and just got ba

Re: Replacement for vloopback?

2013-02-06 Thread Neuer User
Thanks for answering. The vloopback description seems to imply that it is possible to share a camera stream: "How to use multiple webcam applications with vloopback [...] Do "modprobe vloopback pipes=2". Then "resize /dev/video0 /dev/video1 640x480 640x480 & resize /dev/video2 /dev/video3 640x48

Re: Replacement for vloopback?

2013-02-06 Thread Rémi Denis-Courmont
On Wed, 06 Feb 2013 14:57:43 +0100, Neuer User wrote: > So, my question ist: Is vloopback the right way to go for this > requirement? If yes, how to get it working? No. Video loopback is just a way for an application to expose a virtual camera, for another application to use. It is not a way

Re: [PATCH v6 1/2] sta2x11_vip: convert to videobuf2, control framework, file handler

2013-02-06 Thread Federico Vaga
Hi Hans, thank you very much for your review and your patience. > OK, I'm going to give this my Acked-by, but I really wish you would > have split this up into smaller changes. It's hard to review since > you have made so many changes in this one patch. Even though I'm > giving my ack, Mauro migh

Re: mb86a20s and cx23885

2013-02-06 Thread Alfredo Jesús Delaiti
Hi El 28/01/13 17:47, Alfredo Jesús Delaiti escribió: Hi El 28/01/13 07:23, Mauro Carvalho Chehab escribió: Em Sun, 27 Jan 2013 18:48:57 -0300 Alfredo Jesús Delaiti escreveu: Hi El 27/01/13 13:16, Mauro Carvalho Chehab escribió: Em Sun, 27 Jan 2013 12:27:21 -0300 Alfredo Jesús Delaiti esc

Replacement for vloopback?

2013-02-06 Thread Neuer User
Hello I need to have access to my webcam from two applications (one is "motion", the other a video sip phone). I have googled a lot, but only found vloopback as a method to access a video device from two applications. However, vloopback seems to rely on V4L1 which is mostly no longer compiled int

Re: [PATCH RESEND] media: rc: gpio-ir-recv: add support for device tree parsing

2013-02-06 Thread Sylwester Nawrocki
Hi, On 02/06/2013 09:03 AM, Sebastian Hesselbarth wrote: > This patch adds device tree parsing for gpio_ir_recv platform_data and > the mandatory binding documentation. It basically follows what we already > have for e.g. gpio_keys. All required device tree properties are OS > independent but opti

kernel 3.6.7: sysfs: cannot create duplicate filename warnings

2013-02-06 Thread Chris Clayton
Hi, I've been investigating problem with my Hauppauge WinTV HVR-1400 TV card (an expresscard) [1], and I've come across warnings produced when I unload and then reload the cx23885 driver. Attached is the output from dmesg that shows the card being detected (by the PCI express hotplug driver)

[REVIEW PATCH] em28xx: fix bytesperline calculation in TRY_FMT

2013-02-06 Thread Hans Verkuil
From: Hans Verkuil The bytesperline calculation was incorrect: it used the old width instead of the provided width. Fixed. Signed-off-by: Hans Verkuil --- drivers/media/usb/em28xx/em28xx-video.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/em28xx/em2

em28xx: fix bytesperline calculation in TRY_FMT

2013-02-06 Thread Hans Verkuil
Compared to the previous patch I've removed the calculation change (I still think it is wrong, but this needs to be considered in a wider perspective). But the more obvious problem where the current width instead of the one provided by the application is used still needed to be fixed, which is don

Re: WinTV-HVR-1400: scandvb (and kaffeine) fails to find any channels

2013-02-06 Thread Chris Clayton
On 02/05/13 14:48, Chris Clayton wrote: [snip] Well, after lots of hacking diagnostics into cx23885-i2c.c, I'm pretty sure that this is a timing problem. I've eventually found that if I insert a short delay into the top of i2c_sendbytes(), my HVR-1400 expresscard dvb-t gadget starts to work

Re: [git:v4l-dvb/for_v3.9] [media] media: Convert to devm_ioremap_resource()

2013-02-06 Thread Thierry Reding
On Wed, Feb 06, 2013 at 12:33:04PM +0100, Mauro Carvalho Chehab wrote: > This is an automatic generated email to let you know that the following patch > were queued at the > http://git.linuxtv.org/media_tree.git tree: > > Subject: [media] media: Convert to devm_ioremap_resource() > Author: Thie

RE: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-06 Thread Inki Dae
> -Original Message- > From: linux-media-ow...@vger.kernel.org [mailto:linux-media- > ow...@vger.kernel.org] On Behalf Of Sylwester Nawrocki > Sent: Wednesday, February 06, 2013 8:24 PM > To: Inki Dae > Cc: 'Sachin Kamat'; linux-media@vger.kernel.org; dri- > de...@lists.freedesktop.org; d

Re: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-06 Thread Sachin Kamat
On 6 February 2013 16:53, Sylwester Nawrocki wrote: > On 02/06/2013 09:51 AM, Inki Dae wrote: > [...] > So I propose following classification, which seems less inaccurate: > > GPU: g2d, g3d > Media: mfc, fimc, fimc-lite, fimc-is, mipi-csis, gsc > Video: fimd, hdmi, eDP, mipi-dsim Thanks Inki a

Re: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-06 Thread Sylwester Nawrocki
On 02/06/2013 09:51 AM, Inki Dae wrote: [...] > I think that it's better to go to gpu than media and we can divide Exynos > IPs into the bellow categories, > > Media : mfc > GPU : g2d, g3d, fimc, gsc Heh, nice try! :) GPU and FIMC ? FIMC is a camera subsystem (hence 'C' in the acronym), so what

Re: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-06 Thread 김승우
On 2013년 02월 06일 17:51, Inki Dae wrote: > > >> -Original Message- >> From: Sachin Kamat [mailto:sachin.ka...@linaro.org] >> Sent: Wednesday, February 06, 2013 5:03 PM >> To: Inki Dae >> Cc: linux-media@vger.kernel.org; dri-de...@lists.freedesktop.org; >> devicetree-disc...@lists.ozlabs.

[GIT PULL FOR v3.9] Move cx2341x, btcx-risc and tveeprom to common

2013-02-06 Thread Hans Verkuil
Hi Mauro, As discussed earlier, this pull requests moves cx2341x, btcx-risc and tveeprom to media/common. The cx2341x and btcx-risc modules should definitely be moved there as they have absolutely nothing to do with i2c, but I leave the decision whether tveeprom should be moved or not up to you.

Re: [GIT PULL FOR 3.8] Exynos/s5p driver fixes

2013-02-06 Thread Sylwester Nawrocki
Hi Mauro, On 02/05/2013 09:43 PM, Mauro Carvalho Chehab wrote: [..] >> The following changes since commit 7d1f9aeff1ee4a20b1aeb377dd0f579fe9647619: >> >>Linux 3.8-rc4 (2013-01-17 19:25:45 -0800) >> >> are available in the git repository at: >>git://linuxtv.org/snawrocki/samsung.git v3.8-rc

Re: [GIT PULL FOR v3.9] Move cx2341x from media/i2c to media/common

2013-02-06 Thread Hans Verkuil
On Wed 6 February 2013 10:16:04 Mauro Carvalho Chehab wrote: > Em Wed, 6 Feb 2013 08:46:35 +0100 > Hans Verkuil escreveu: > > > On Tue February 5 2013 19:49:41 Mauro Carvalho Chehab wrote: > > > Hi Hans, > > > > > > Em Tue, 29 Jan 2013 09:56:20 +0100 > > > Hans Verkuil escreveu: > > > > > > >

Re: [RFC v2 0/5] Common Display Framework

2013-02-06 Thread Archit Taneja
On Monday 04 February 2013 03:35 PM, Marcus Lorentzon wrote: On 02/02/2013 12:35 AM, Laurent Pinchart wrote: Hi Marcus, On Tuesday 08 January 2013 18:08:19 Marcus Lorentzon wrote: On 01/08/2013 05:36 PM, Tomasz Figa wrote: On Tuesday 08 of January 2013 11:12:26 Marcus Lorentzon wrote: [...]

Re: [PATCH v6 1/2] sta2x11_vip: convert to videobuf2, control framework, file handler

2013-02-06 Thread Hans Verkuil
Hi Federico, OK, I'm going to give this my Acked-by, but I really wish you would have split this up into smaller changes. It's hard to review since you have made so many changes in this one patch. Even though I'm giving my ack, Mauro might decide against it, so if you have time to spread out the c

Re: [GIT PULL FOR v3.9] Move cx2341x from media/i2c to media/common

2013-02-06 Thread Laurent Pinchart
Hi Mauro, On Wednesday 06 February 2013 07:16:04 Mauro Carvalho Chehab wrote: > Em Wed, 6 Feb 2013 08:46:35 +0100 Hans Verkuil escreveu: > > On Tue February 5 2013 19:49:41 Mauro Carvalho Chehab wrote: > > > Em Tue, 29 Jan 2013 09:56:20 +0100 Hans Verkuil escreveu: > > > > Hi Mauro, > > > > > > >

Re: [GIT PULL FOR v3.9] Move cx2341x from media/i2c to media/common

2013-02-06 Thread Mauro Carvalho Chehab
Em Wed, 6 Feb 2013 08:46:35 +0100 Hans Verkuil escreveu: > On Tue February 5 2013 19:49:41 Mauro Carvalho Chehab wrote: > > Hi Hans, > > > > Em Tue, 29 Jan 2013 09:56:20 +0100 > > Hans Verkuil escreveu: > > > > > Hi Mauro, > > > > > > The cx2341x module is a helper module for conexant-based M

Re: [PATCH v2] media: ths7353: add support for ths7353 video amplifier

2013-02-06 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Wed, Feb 6, 2013 at 2:33 PM, Hans Verkuil wrote: > Hi Prabhakar, > > Here is my review. There are a few things that need to be fixed before I > can Ack it. > OK > On Tue 5 February 2013 20:20:21 Prabhakar Lad wrote: >> From: Lad, Prabhakar >> >> The patch add

Re: [PATCH v2] media: ths7353: add support for ths7353 video amplifier

2013-02-06 Thread Hans Verkuil
Hi Prabhakar, Here is my review. There are a few things that need to be fixed before I can Ack it. On Tue 5 February 2013 20:20:21 Prabhakar Lad wrote: > From: Lad, Prabhakar > > The patch adds support for THS7353 video amplifier. > The the THS7353 amplifier is very much similar to the > existi

RE: [git:v4l-dvb/for_v3.9] [media] drivers/media/usb/dvb-usb/dib0700_core.c: fix left shift

2013-02-06 Thread Olivier GRENIE
Hello Mauro, I do not agree with the patch. Let's take an example: adap->id = 0. Then: * 1 << ~(adap->id) = 1 << ~(0) = 0 * ~(1 << adap->id) = ~(1 << 0) = 0xFE The correct change should be: st->channel_state |= 1 << (1 - adap->id); Indeed, the original source code was not correct.

RE: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-06 Thread Inki Dae
> -Original Message- > From: Sachin Kamat [mailto:sachin.ka...@linaro.org] > Sent: Wednesday, February 06, 2013 5:03 PM > To: Inki Dae > Cc: linux-media@vger.kernel.org; dri-de...@lists.freedesktop.org; > devicetree-disc...@lists.ozlabs.org; k.deb...@samsung.com; > s.nawro...@samsung.com;

Re: [PATCH v2 2/2] drm/exynos: Add device tree based discovery support for G2D

2013-02-06 Thread Sachin Kamat
On 6 February 2013 13:02, Inki Dae wrote: > > Looks good to me but please add document for it. Yes. I will. I was planning to send the bindings document patch along with the dt patches (adding node entries to dts files). Sylwester had suggested adding this to Documentation/devicetree/bindings/med