Re: [Query] V4L2 Integer (?) menu control

2011-11-24 Thread Hans Verkuil
On Wednesday, November 23, 2011 23:26:22 Sylwester Nawrocki wrote: Hi, I was wondering how to implement in v4l2 a standard menu control having integer values as the menu items. The menu item values would be irregular, e.g. ascending logarithmically and thus the step value would not be a

Re: [Query] V4L2 Integer (?) menu control

2011-11-24 Thread Sakari Ailus
On Wed, Nov 23, 2011 at 11:26:22PM +0100, Sylwester Nawrocki wrote: Hi, I was wondering how to implement in v4l2 a standard menu control having integer values as the menu items. The menu item values would be irregular, e.g. ascending logarithmically and thus the step value would not be

[patch 1/2] staging/media: lirc_imon: add a __user annotation

2011-11-24 Thread Dan Carpenter
This silences the following Sparse warnings: lirc_imon.c:404:32: warning: incorrect type in argument 1 (different address spaces) lirc_imon.c:404:32:expected void const [noderef] asn:1*noident lirc_imon.c:404:32:got char const *buf lirc_imon.c:117:28: warning: incorrect type in

[patch 2/2] staging/media: lirc_imon: remove unused definitions

2011-11-24 Thread Dan Carpenter
We don't have these functions any more now we have module_usb_driver(). Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- I don't know if this goes in through USB or the media tree. diff --git a/drivers/staging/media/lirc/lirc_imon.c b/drivers/staging/media/lirc/lirc_imon.c index

Re: [Query] V4L2 Integer (?) menu control

2011-11-24 Thread Sylwester Nawrocki
On 11/24/2011 07:24 AM, Rémi Denis-Courmont wrote: On Wed, 23 Nov 2011 23:26:22 +0100, Sylwester Nawrocki snj...@gmail.com wrote: I don't seem to find a way to implement this in current v4l2 control framework. Such functionality isn't there, or is it ? You can use the menu control type,

Re: [Query] V4L2 Integer (?) menu control

2011-11-24 Thread Sylwester Nawrocki
Thank you all for the comments. On 11/24/2011 09:50 AM, Sakari Ailus wrote: Hi Sylwester, There is not currently, but I have patches for it. The issue is that I need them myself but the driver I need them for isn't ready to be released yet. And as usual, I assume others than vivo is

Re: PULL request for 3.2 (fixes 'n' features)

2011-11-24 Thread Patrick Boettcher
Hi Mauro, On Tue, 4 Oct 2011, Patrick Boettcher wrote: Hi Mauro, if it's not too late for 3.2 could you please pull from git://linuxtv.org/pb/media_tree.git staging/for_v3.2 for [media] dib9090: limit the I2C speed [media] dib8096P: add the reference board [media] add the support for

Re: [PATCH v3 1/3] fbdev: Add FOURCC-based format configuration API

2011-11-24 Thread Laurent Pinchart
Hi Florian, Gentle ping ? On Sunday 20 November 2011 11:55:22 Laurent Pinchart wrote: On Sunday 20 November 2011 03:00:33 Florian Tobias Schandinat wrote: Hi Laurent, On 08/31/2011 11:18 AM, Laurent Pinchart wrote: This API will be used to support YUV frame buffer formats in a

[PATCH 2/2] s5p-fimc: Add support for global color alpha configuration

2011-11-24 Thread Sylwester Nawrocki
On Exynos SoCs the FIMC IP allows to configure globally the alpha color channel for V4L2_PIX_FMT_RGB32, V4L2_PIX_FMT_RGB555 and V4L2_PIX_FMT_RGB444 pixel formats. This patch adds a v4l2 control in order to let the applications control the global alpha value. The alpha value range depends on the

[PATCH/RFC] Add V4L2_CID_COLOR_ALPHA control for global color alpha

2011-11-24 Thread Sylwester Nawrocki
Hello, This changeset adds new V4L2_CID_COLOR_ALPHA control that allows to configure per image plane color alpha value on the capture queue buffers. There was a short discussion in the past about the global alpha control support started by Jonghun Han:

[PATCH/RFC 1/2] v4l: Add a global color alpha control

2011-11-24 Thread Sylwester Nawrocki
This control is intended for video capture or memory-to-memory devices that are capable of setting up the alpha conponent to some arbitrary value. The V4L2_CID_COLOR_ALPHA control allows to set the alpha channel globally to a value in range from 0 to 255. Signed-off-by: Sylwester Nawrocki

Re: [PATCH/RFC 1/2] v4l: Add a global color alpha control

2011-11-24 Thread Hans Verkuil
On Thursday, November 24, 2011 11:53:16 Sylwester Nawrocki wrote: This control is intended for video capture or memory-to-memory devices that are capable of setting up the alpha conponent to some arbitrary value. The V4L2_CID_COLOR_ALPHA control allows to set the alpha channel globally to a

Re: [PATCH/RFC 1/2] v4l: Add a global color alpha control

2011-11-24 Thread Laurent Pinchart
Hi Sylwester and Hans, On Thursday 24 November 2011 12:00:45 Hans Verkuil wrote: On Thursday, November 24, 2011 11:53:16 Sylwester Nawrocki wrote: This control is intended for video capture or memory-to-memory devices that are capable of setting up the alpha conponent to some arbitrary

Re: [PATCH v2] Add smsspi driver to support Siano SPI connected device

2011-11-24 Thread Mauro Carvalho Chehab
Em 03-11-2011 09:33, Doron Cohen escreveu: From 80d279ec11492ca6729f1421983f52b8e7144cd4 Mon Sep 17 00:00:00 2001 From: Doron Cohen dor...@siano-ms.com Date: Sun, 25 Sep 2011 17:47:12 +0300 Subject: [PATCH v2] Add smsspi driver to support Siano SPI connected device using SPI generic driver

Re: [RFC PATCH 2/4] v4l spec: document VIDIOC_(TRY_)DECODER_CMD.

2011-11-24 Thread Laurent Pinchart
Hi Hans, Thanks for the patch. On Wednesday 23 November 2011 12:12:34 Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- [snip] diff --git a/Documentation/DocBook/media/v4l/vidioc-decoder-cmd.xml

Re: [PATCH v2] Add version number to all siano modules description lines.

2011-11-24 Thread Mauro Carvalho Chehab
Em 03-11-2011 09:34, Doron Cohen escreveu: From 595a6726947b032ce355ac0d838f07d937ed7f57 Mon Sep 17 00:00:00 2001 From: Doron Cohen lab@Doron-Ubuntu.(none) Date: Thu, 15 Sep 2011 11:38:53 +0300 Subject: [PATCH 2/2] Add version number to all siano modules description line. Patch looks ok,

Re: mt9p031 based sensor and ack lockups. Ie CCDC won't become idle.

2011-11-24 Thread Laurent Pinchart
Hi Andrew, On Monday 21 November 2011 00:54:04 Andrew Tubbiolo wrote: Hi All: I'm having fun with my new camera project that uses the mt9p031 camera. I'm getting nice raw stills, and that's great, but every 16 or so images I take I get a troublesome error. CCDC won't become idle!

Re: [PATCH] media: vb2: fix queueing of userptr buffers with null buffer pointer

2011-11-24 Thread Laurent Pinchart
Hi Marek, On Wednesday 16 November 2011 20:22:28 Marek Szyprowski wrote: Heuristic that checks if the memory pointer has been changed lacked a check if the pointer was actually provided by the userspace, what allowed one to queue a NULL pointer which was accepted without further checking. Is

Re: Using MT9P031 digital sensor

2011-11-24 Thread Laurent Pinchart
Hi Gary, On Wednesday 16 November 2011 13:03:11 Gary Thomas wrote: On 2011-11-15 18:26, Laurent Pinchart wrote: On Monday 14 November 2011 12:42:54 Gary Thomas wrote: On 2011-11-11 07:26, Laurent Pinchart wrote: On Wednesday 09 November 2011 17:24:26 Gary Thomas wrote: On 2011-11-09

Re: [PATCH/RFC 1/2] v4l: Add a global color alpha control

2011-11-24 Thread Sylwester Nawrocki
Hi Laurent, On 11/24/2011 12:09 PM, Laurent Pinchart wrote: Hi Sylwester and Hans, On Thursday 24 November 2011 12:00:45 Hans Verkuil wrote: On Thursday, November 24, 2011 11:53:16 Sylwester Nawrocki wrote: This control is intended for video capture or memory-to-memory devices that are

Re: [PATCH/RFC 1/2] v4l: Add a global color alpha control

2011-11-24 Thread Hans Verkuil
On Thursday, November 24, 2011 12:39:54 Sylwester Nawrocki wrote: Hi Laurent, On 11/24/2011 12:09 PM, Laurent Pinchart wrote: Hi Sylwester and Hans, On Thursday 24 November 2011 12:00:45 Hans Verkuil wrote: On Thursday, November 24, 2011 11:53:16 Sylwester Nawrocki wrote: This

RE: [PATCH] media: vb2: fix queueing of userptr buffers with null buffer pointer

2011-11-24 Thread Marek Szyprowski
Hello, On Thursday, November 24, 2011 12:27 PM Laurent Pinchart wrote: On Wednesday 16 November 2011 20:22:28 Marek Szyprowski wrote: Heuristic that checks if the memory pointer has been changed lacked a check if the pointer was actually provided by the userspace, what allowed one to

Re: [PATCH/RFC 1/2] v4l: Add a global color alpha control

2011-11-24 Thread Laurent Pinchart
Hi Hans, On Thursday 24 November 2011 12:49:00 Hans Verkuil wrote: On Thursday, November 24, 2011 12:39:54 Sylwester Nawrocki wrote: On 11/24/2011 12:09 PM, Laurent Pinchart wrote: On Thursday 24 November 2011 12:00:45 Hans Verkuil wrote: On Thursday, November 24, 2011 11:53:16 Sylwester

Re: [PATCH/RFC 1/2] v4l: Add a global color alpha control

2011-11-24 Thread Hans Verkuil
On Thursday, November 24, 2011 13:06:09 Laurent Pinchart wrote: Hi Hans, On Thursday 24 November 2011 12:49:00 Hans Verkuil wrote: On Thursday, November 24, 2011 12:39:54 Sylwester Nawrocki wrote: On 11/24/2011 12:09 PM, Laurent Pinchart wrote: On Thursday 24 November 2011 12:00:45

ir-sanyo-decoder.c doesn't compile

2011-11-24 Thread Hans Verkuil
I get this error when compiling for_v3.3: drivers/media/rc/ir-sanyo-decoder.c:201:16: error: expected declaration specifiers or ‘...’ before string constant drivers/media/rc/ir-sanyo-decoder.c:202:15: error: expected declaration specifiers or ‘...’ before string constant

Re: PULL request for 3.2 (fixes 'n' features)

2011-11-24 Thread Mauro Carvalho Chehab
Em 24-11-2011 07:26, Patrick Boettcher escreveu: Hi Mauro, On Tue, 4 Oct 2011, Patrick Boettcher wrote: Hi Mauro, if it's not too late for 3.2 could you please pull from git://linuxtv.org/pb/media_tree.git staging/for_v3.2 for [media] dib9090: limit the I2C speed [media] dib8096P:

[RFCv2 PATCH 01/12] v4l2: add VIDIOC_(TRY_)DECODER_CMD.

2011-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com As discussed during the 2011 V4L-DVB workshop, the API in dvb/video.h should be replaced by a proper V4L2 API. This patch turns the VIDEO_(TRY_)DECODER_CMD ioctls into proper V4L2 ioctls. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[RFCv2 PATCH 02/12] v4l spec: document VIDIOC_(TRY_)DECODER_CMD.

2011-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/v4l2.xml |1 + .../DocBook/media/v4l/vidioc-decoder-cmd.xml | 256 .../DocBook/media/v4l/vidioc-encoder-cmd.xml |9

Remove audio and video DVBv5 API

2011-11-24 Thread Hans Verkuil
During the 2011 workshop we discussed replacing the decoder commands in include/linux/dvb/video.h and audio.h by a proper V4L2 API. This patch series does that. It adds new VIDIOC_(TRY_)DECODER_CMD ioctls to the V4L2 API. These are identical to the VIDEO_(TRY_)COMMAND from dvb/video.h, but the

[RFCv2 PATCH 04/12] v4l2-ctrls: add new controls for MPEG decoder devices.

2011-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com As discussed during the 2011 V4L-DVB workshop we want to create a proper V4L2 decoder API that replaces the DVBv5 API that has been used until now. This adds the four controls necessary to achieve switch ivtv over to this new API. Signed-off-by: Hans

[RFCv2 PATCH 10/12] av7110: replace audio.h, video.h and osd.h by av7110.h.

2011-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Create a new public header, av7110.h, that contains all the av7110 specific audio, video and osd APIs that used to be defined in dvb/audio.h, dvb/video.h and dvb/osd.h. These APIs are no longer part of DVBv5 but are now av7110-specific. This decision was

[RFCv2 PATCH 06/12] ivtv: implement new decoder controls.

2011-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/video/ivtv/ivtv-controls.c | 62 +++ drivers/media/video/ivtv/ivtv-controls.h |2 + drivers/media/video/ivtv/ivtv-driver.c | 35 +++-

[RFCv2 PATCH 05/12] Document decoder controls.

2011-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/controls.xml | 58 ++ 1 files changed, 58 insertions(+), 0 deletions(-) diff --git a/Documentation/DocBook/media/v4l/controls.xml

[RFCv2 PATCH 08/12] ivtv: extend ivtv.h with structs and ioctls from dvb/audio.h and video.h.

2011-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This removes the ivtv dependency on those dvb headers. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- include/linux/ivtv.h | 86 +- 1 files changed, 85 insertions(+), 1 deletions(-) diff --git

[RFCv2 PATCH 09/12] ivtv: use the new ivtv-specific ioctls from ivtv.h.

2011-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The ivtv driver now no longer uses dvb/audio.h and dvb/video.h. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/video/ivtv/ivtv-driver.h |2 - drivers/media/video/ivtv/ivtv-ioctl.c | 127 +--- 2

[RFCv2 PATCH 03/12] ivtv: implement new decoder command ioctls.

2011-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/video/ivtv/ivtv-driver.c |2 +- drivers/media/video/ivtv/ivtv-fileops.c |2 +- drivers/media/video/ivtv/ivtv-ioctl.c | 106 +++---

[RFCv2 PATCH 07/12] cx18/ddbridge: remove unused headers.

2011-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Work is in progress to deprecate include/linux/dvb/audio.h and video.h. The cx18 and ddbridge drivers include these headers without using them. Remove those includes. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- fs/compat_ioctl.c | 41 +--- include/linux/dvb/Kbuild |3 - include/linux/dvb/audio.h | 135 -- include/linux/dvb/osd.h | 144 ---

Re: [PATCH/RFC 1/2] v4l: Add a global color alpha control

2011-11-24 Thread Sylwester Nawrocki
On 11/24/2011 12:49 PM, Hans Verkuil wrote: On Thursday, November 24, 2011 12:39:54 Sylwester Nawrocki wrote: On 11/24/2011 12:09 PM, Laurent Pinchart wrote: On Thursday 24 November 2011 12:00:45 Hans Verkuil wrote: On Thursday, November 24, 2011 11:53:16 Sylwester Nawrocki wrote: ... How

Re: [PATCH/RFC 1/2] v4l: Add a global color alpha control

2011-11-24 Thread Laurent Pinchart
Hi, On Thursday 24 November 2011 13:22:10 Hans Verkuil wrote: On Thursday, November 24, 2011 13:06:09 Laurent Pinchart wrote: On Thursday 24 November 2011 12:49:00 Hans Verkuil wrote: On Thursday, November 24, 2011 12:39:54 Sylwester Nawrocki wrote: On 11/24/2011 12:09 PM, Laurent

Re: [PATCH/RFC 1/2] v4l: Add a global color alpha control

2011-11-24 Thread Sylwester Nawrocki
On 11/24/2011 03:00 PM, Laurent Pinchart wrote: On Thursday 24 November 2011 13:22:10 Hans Verkuil wrote: On Thursday, November 24, 2011 13:06:09 Laurent Pinchart wrote: On Thursday 24 November 2011 12:49:00 Hans Verkuil wrote: On Thursday, November 24, 2011 12:39:54 Sylwester Nawrocki wrote:

[RFC/PATCH 0/3] 64-bit integer menus

2011-11-24 Thread Sakari Ailus
Hi all, This patchset, which I'm sending as RFC since it has not been really tested (including compiling the vivi patch), adds 64-bit integer menu controls. The control items in the integer menu are just like in regular menus but they are 64-bit integers instead of strings. I'm also pondering

[RFC/PATCH 3/3] vivi: Add an integer menu test control

2011-11-24 Thread Sakari Ailus
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 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c index

[RFC/PATCH 2/3] v4l: Document integer menu controls

2011-11-24 Thread Sakari Ailus
Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- 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

[RFC/PATCH 1/3] v4l: Introduce integer menu controls

2011-11-24 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 sakari.ai...@iki.fi --- drivers/media/video/v4l2-ctrls.c | 63

Re: [PATCH] Fix tm6010 audio

2011-11-24 Thread Mauro Carvalho Chehab
Em 07-11-2011 22:45, Dmitri Belimov escreveu: Hi I found why audio dosn't work for me and fix it. 2Stefan: The V4L2_STD_DK has V4L2_STD_SECAM_DK but not equal switch-case statement not worked you can use if (dev-norm V4L2_STD_DK) { } This patch fix this problem. Other,

Re: [PATCH] Revert most of 15cc2bb [media] DVB: dtv_property_cache_submit shouldn't modifiy the cache

2011-11-24 Thread Mauro Carvalho Chehab
Em 05-11-2011 15:57, Lawrence Rust escreveu: On Sat, 2011-11-05 at 18:38 +0100, Andreas Oberritter wrote: [snip] I don't get how this could be useful. MythTV knows what delivery system it wants to use, so it should pass this information to the kernel. Trying to set an invalid delivery system

[PATCH 1/2] [media] em28xx: Fix a few warnings due to HVR-930C addition

2011-11-24 Thread Mauro Carvalho Chehab
drivers/media/video/em28xx/em28xx-cards.c:339:30: warning: ‘hauppauge_930c_gpio’ defined but not used [-Wunused-variable] drivers/media/video/em28xx/em28xx-dvb.c: In function ‘em28xx_dvb_init’: drivers/media/video/em28xx/em28xx-dvb.c:886:3: warning: ISO C90 forbids mixed declarations and code

[PATCH 2/2] [media] firedtv-avc: Fix compilation warnings

2011-11-24 Thread Mauro Carvalho Chehab
drivers/media/dvb/firewire/firedtv-avc.c: In function ‘avc_tuner_tuneqpsk’: drivers/media/dvb/firewire/firedtv-avc.c:394:4: warning: enumeration value ‘ROLLOFF_15’ not handled in switch [-Wswitch] drivers/media/dvb/firewire/firedtv-avc.c:394:4: warning: enumeration value ‘ROLLOFF_13’ not handled

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Andreas Oberritter
Don't break existing Userspace APIs for no reason! It's OK to add the new API, but - pretty please - don't just blindly remove audio.h and video.h. They are in use since many years by av7110, out-of-tree drivers *and more importantly* by applications. Yes, I know, you'd like to see those

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Mauro Carvalho Chehab
Em 24-11-2011 15:08, Andreas Oberritter escreveu: Don't break existing Userspace APIs for no reason! It's OK to add the new API, but - pretty please - don't just blindly remove audio.h and video.h. They are in use since many years by av7110, out-of-tree drivers *and more importantly* by

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Hans Verkuil
On Thursday, November 24, 2011 18:08:05 Andreas Oberritter wrote: Don't break existing Userspace APIs for no reason! It's OK to add the new API, but - pretty please - don't just blindly remove audio.h and video.h. They are in use since many years by av7110, out-of-tree drivers *and more

Re: ir-sanyo-decoder.c doesn't compile

2011-11-24 Thread Mauro Carvalho Chehab
Em 24-11-2011 10:47, Hans Verkuil escreveu: I get this error when compiling for_v3.3: drivers/media/rc/ir-sanyo-decoder.c:201:16: error: expected declaration specifiers or ‘...’ before string constant drivers/media/rc/ir-sanyo-decoder.c:202:15: error: expected declaration specifiers or

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Andreas Oberritter
On 24.11.2011 18:44, Hans Verkuil wrote: On Thursday, November 24, 2011 18:08:05 Andreas Oberritter wrote: Don't break existing Userspace APIs for no reason! It's OK to add the new API, but - pretty please - don't just blindly remove audio.h and video.h. They are in use since many years by

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Mauro Carvalho Chehab
Em 24-11-2011 15:51, Andreas Oberritter escreveu: On 24.11.2011 18:44, Hans Verkuil wrote: On Thursday, November 24, 2011 18:08:05 Andreas Oberritter wrote: Don't break existing Userspace APIs for no reason! It's OK to add the new API, but - pretty please - don't just blindly remove audio.h

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Manu Abraham
On Thu, Nov 24, 2011 at 11:07 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 24-11-2011 15:08, Andreas Oberritter escreveu: Don't break existing Userspace APIs for no reason! It's OK to add the new API, but - pretty please - don't just blindly remove audio.h and video.h. They are in

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Andreas Oberritter
On 24.11.2011 18:37, Mauro Carvalho Chehab wrote: Em 24-11-2011 15:08, Andreas Oberritter escreveu: Don't break existing Userspace APIs for no reason! It's OK to add the new API, but - pretty please - don't just blindly remove audio.h and video.h. They are in use since many years by av7110,

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Manu Abraham
On Thu, Nov 24, 2011 at 11:14 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Thursday, November 24, 2011 18:08:05 Andreas Oberritter wrote: Don't break existing Userspace APIs for no reason! It's OK to add the new API, but - pretty please - don't just blindly remove audio.h and video.h. They

Re: [PATCH RESEND] davinci: dm646x: move vpif related code to driver core header from platform

2011-11-24 Thread Mauro Carvalho Chehab
Em 12-11-2011 13:06, Manjunath Hadli escreveu: move vpif related code for capture and display drivers from dm646x platform header file to vpif_types.h as these definitions are related to driver code more than the platform or board. Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Andreas Oberritter
On 24.11.2011 18:58, Mauro Carvalho Chehab wrote: Em 24-11-2011 15:51, Andreas Oberritter escreveu: On 24.11.2011 18:44, Hans Verkuil wrote: On Thursday, November 24, 2011 18:08:05 Andreas Oberritter wrote: Don't break existing Userspace APIs for no reason! It's OK to add the new API, but -

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Mauro Carvalho Chehab
Em 24-11-2011 16:01, Manu Abraham escreveu: On Thu, Nov 24, 2011 at 11:14 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Thursday, November 24, 2011 18:08:05 Andreas Oberritter wrote: Don't break existing Userspace APIs for no reason! It's OK to add the new API, but - pretty please - don't just

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Manu Abraham
On Thu, Nov 24, 2011 at 11:38 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 24-11-2011 16:01, Manu Abraham escreveu: On Thu, Nov 24, 2011 at 11:14 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Thursday, November 24, 2011 18:08:05 Andreas Oberritter wrote: Don't break existing

RE: [PATCH RESEND] davinci: dm646x: move vpif related code to driver core header from platform

2011-11-24 Thread Nori, Sekhar
Hi Mauro, On Thu, Nov 24, 2011 at 23:35:24, Mauro Carvalho Chehab wrote: Em 12-11-2011 13:06, Manjunath Hadli escreveu: move vpif related code for capture and display drivers from dm646x platform header file to vpif_types.h as these definitions are related to driver code more than the

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Mauro Carvalho Chehab
Em 24-11-2011 16:07, Andreas Oberritter escreveu: On 24.11.2011 18:58, Mauro Carvalho Chehab wrote: Em 24-11-2011 15:51, Andreas Oberritter escreveu: On 24.11.2011 18:44, Hans Verkuil wrote: On Thursday, November 24, 2011 18:08:05 Andreas Oberritter wrote: Don't break existing Userspace APIs

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Manu Abraham
On Thu, Nov 24, 2011 at 11:55 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 24-11-2011 16:07, Andreas Oberritter escreveu: On 24.11.2011 18:58, Mauro Carvalho Chehab wrote: Em 24-11-2011 15:51, Andreas Oberritter escreveu: On 24.11.2011 18:44, Hans Verkuil wrote: On Thursday,

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Mauro Carvalho Chehab
Em 24-11-2011 16:13, Manu Abraham escreveu: On Thu, Nov 24, 2011 at 11:38 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 24-11-2011 16:01, Manu Abraham escreveu: On Thu, Nov 24, 2011 at 11:14 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Thursday, November 24, 2011 18:08:05 Andreas

cron job: media_tree daily build: ERRORS

2011-11-24 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:Thu Nov 24 19:00:29 CET 2011 git hash:4a5006f68d6b336564eb1e4cbb1f66d234958889 gcc version: i686-linux-gcc

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Manu Abraham
On Fri, Nov 25, 2011 at 12:17 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 24-11-2011 16:13, Manu Abraham escreveu: On Thu, Nov 24, 2011 at 11:38 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 24-11-2011 16:01, Manu Abraham escreveu: On Thu, Nov 24, 2011 at 11:14 PM, Hans

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Manu Abraham
On Fri, Nov 25, 2011 at 12:17 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 24-11-2011 16:13, Manu Abraham escreveu: On Thu, Nov 24, 2011 at 11:38 PM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 24-11-2011 16:01, Manu Abraham escreveu: On Thu, Nov 24, 2011 at 11:14 PM, Hans

BUG: scheduling while atomic: kworker/0:0/0/0x00000100

2011-11-24 Thread Stefan Macher
Hi, I have setup a new vdr with yavdr 0.4 with one TT full-featured DVB-S card (S2300) and one Mystique SaTiX-S2 Sky Xpress dual. As soon as I pause the video I get endless reports like the one in the headline and the vdr is dead. Because of the new SaTiX card I had to update the DVB drivers

Re: [GIT PULL FOR 3.2] misc small changes, mostly get/set IF related

2011-11-24 Thread Mauro Carvalho Chehab
Em 13-11-2011 17:20, Antti Palosaari escreveu: Mauro, and these too for 3.3. Sorry about mistakes. In fact, those 3 patches seemed to be good for 3.2: 576b849 [media] mxl5007t: fix reg read d7d89dc [media] tda18218: fix 6 MHz default IF frequency ff83bd8 [media] af9015: limit I2C access to

Re: [PATCH RESEND] davinci: dm646x: move vpif related code to driver core header from platform

2011-11-24 Thread Mauro Carvalho Chehab
Em 24-11-2011 16:22, Nori, Sekhar escreveu: Hi Mauro, On Thu, Nov 24, 2011 at 23:35:24, Mauro Carvalho Chehab wrote: Em 12-11-2011 13:06, Manjunath Hadli escreveu: move vpif related code for capture and display drivers from dm646x platform header file to vpif_types.h as these definitions

Re: [Query] V4L2 Integer (?) menu control

2011-11-24 Thread Sakari Ailus
Hi Sylwester, Sylwester Nawrocki wrote: Thank you all for the comments. On 11/24/2011 09:50 AM, Sakari Ailus wrote: Hi Sylwester, There is not currently, but I have patches for it. The issue is that I need them myself but the driver I need them for isn't ready to be released yet. And as

[PATCH] MAINTAINERS: Update media entries

2011-11-24 Thread Mauro Carvalho Chehab
Now that we've created a /drivers/staging/media, put it together with /drivers/media. Also, added there a missing entry for the Media API spec. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com --- MAINTAINERS |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

AverTV Volar HD Pro scanning problems

2011-11-24 Thread Andrej Podzimek
Hello, I use this device 07ca:a835 AVerMedia Technologies, Inc. with a 3.1.2 kernel (x86_64). TV can be played just fine in Kaffeine, but scanning does not work (tried with kaffeine, scan). One has to obtain the channel information from elsewhere, since scanning ends with the

Re: PULL request for 3.2 (fixes 'n' features)

2011-11-24 Thread Mauro Carvalho Chehab
Em 24-11-2011 11:32, Mauro Carvalho Chehab escreveu: Em 24-11-2011 07:26, Patrick Boettcher escreveu: Hi Mauro, On Tue, 4 Oct 2011, Patrick Boettcher wrote: Hi Mauro, if it's not too late for 3.2 could you please pull from git://linuxtv.org/pb/media_tree.git staging/for_v3.2 for

Re: [RFC/PATCH 0/3] 64-bit integer menus

2011-11-24 Thread Sylwester Nawrocki
Hi Sakari, thanks for the patches. On 11/24/2011 05:12 PM, Sakari Ailus wrote: Hi all, This patchset, which I'm sending as RFC since it has not been really tested (including compiling the vivi patch), adds 64-bit integer menu controls. The control items in the integer menu are just like in

Re: [GIT PULL FOR 3.2] misc small changes, mostly get/set IF related

2011-11-24 Thread Antti Palosaari
On 11/24/2011 09:58 PM, Mauro Carvalho Chehab wrote: Em 13-11-2011 17:20, Antti Palosaari escreveu: Mauro, and these too for 3.3. Sorry about mistakes. In fact, those 3 patches seemed to be good for 3.2: 576b849 [media] mxl5007t: fix reg read d7d89dc [media] tda18218: fix 6 MHz default IF

Re: [RFC/PATCH 2/3] v4l: Document integer menu controls

2011-11-24 Thread Sylwester Nawrocki
On 11/24/2011 05:12 PM, Sakari Ailus wrote: Signed-off-by: Sakari Ailussakari.ai...@iki.fi --- Documentation/DocBook/media/v4l/compat.xml | 10 + Documentation/DocBook/media/v4l/v4l2.xml |7 .../DocBook/media/v4l/vidioc-queryctrl.xml | 39

[PATCH] V4L: omap1_camera: fix missing linux/module.h include

2011-11-24 Thread Janusz Krzysztofik
Otherwise compilation breaks with: drivers/media/video/omap1_camera.c:1535: error: 'THIS_MODULE' undeclared here (not in a function) ... after apparently no longer included recursively from other header files. Signed-off-by: Janusz Krzysztofik jkrzy...@tis.icnet.pl ---

Re: [RFC PATCH 0/4] Replace VIDEO_COMMAND with VIDIOC_DECODER_CMD

2011-11-24 Thread Oliver Endriss
Hi, no matter what that workshop discussed: *** It is not acceptable to change the DVB kernel - user-space API! *** The av7110 driver is working for years and still in use. I hereby NACK any attempt to remove dvb/audio.h or dvb/video.h. Nacked-by: Oliver Endriss o.endr...@gmx.de On Wednesday

Re: [RFCv2 PATCH 10/12] av7110: replace audio.h, video.h and osd.h by av7110.h.

2011-11-24 Thread Oliver Endriss
Hi, no matter what that workshop discussed: *** It is not acceptable to change the DVB kernel - user-space API! *** Introduce whatever you want for V4L but do not touch the DVB drivers! The av7110 driver is working for years and still in use. I hereby NACK any attempt to remove dvb/*.h.

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Oliver Endriss
Hi, no matter what that workshop discussed: *** It is not acceptable to change the DVB kernel - user-space API! *** Introduce whatever you want for V4L but do not touch the DVB drivers! The av7110 driver is working for years and still in use. I hereby NACK any attempt to remove dvb/*.h.

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Oliver Endriss
On Thursday 24 November 2011 18:37:02 Mauro Carvalho Chehab wrote: Userspace applications that support av7110 can include the new linux/av7110.h header. Other applications that support out-of-tree drivers can just have their own copy of audio.h, osd.h and video.h. So, it won't break or prevent

Re: [PATCH] V4L: omap1_camera: fix missing linux/module.h include

2011-11-24 Thread Guennadi Liakhovetski
Hi Janusz On Fri, 25 Nov 2011, Janusz Krzysztofik wrote: Otherwise compilation breaks with: drivers/media/video/omap1_camera.c:1535: error: 'THIS_MODULE' undeclared here (not in a function) ... after apparently no longer included recursively from other header files. Signed-off-by:

Re: PATCH 03/13: 0003-DVB-Allow-frontend-to-set-DELSYS-Modulation

2011-11-24 Thread Mauro Carvalho Chehab
Em 21-11-2011 19:06, Manu Abraham escreveu: With any tuner that can tune to multiple delivery systems/standards, it does query fe-ops.info.type to determine frontend type and set the delivery system type. fe-ops.info.type can handle only 4 delivery systems, viz FE_QPSK, FE_QAM, FE_OFDM and

Re: [Query] V4L2 Integer (?) menu control

2011-11-24 Thread Sylwester Nawrocki
Hi Sakari, On 11/24/2011 09:57 PM, Sakari Ailus wrote: Sylwester Nawrocki wrote: On 11/24/2011 09:50 AM, Sakari Ailus wrote: There is not currently, but I have patches for it. The issue is that I need them myself but the driver I need them for isn't ready to be released yet. And as usual, I

Re: PATCH 05/13: 0005-TDA18271c2dd-Allow-frontend-to-set-DELSYS

2011-11-24 Thread Mauro Carvalho Chehab
Em 21-11-2011 19:06, Manu Abraham escreveu: patches/lmml_8518_patch_05_13_0005_tda18271c2dd_allow_frontend_to_set_delsys.patch Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: PATCH 05/13: 0005-TDA18271c2dd-Allow-frontend-to-set-DELSYS Date:

Re: PATCH 04/13: 0004-TDA18271-Allow-frontend-to-set-DELSYS

2011-11-24 Thread Mauro Carvalho Chehab
Em 21-11-2011 22:04, Andreas Oberritter escreveu: On 21.11.2011 22:06, Manu Abraham wrote: 0004-TDA18271-Allow-frontend-to-set-DELSYS-rather-than-qu.patch From 2ece38602678ae323450d0e35379147e6e086326 Mon Sep 17 00:00:00 2001 From: Manu Abraham abraham.m...@gmail.com Date: Sat, 19 Nov 2011

Re: PATCH 00/13: Enumerate DVB frontend Delivery System capabilities to identify devices correctly.

2011-11-24 Thread Mauro Carvalho Chehab
Em 21-11-2011 22:43, Manu Abraham escreveu: On Tue, Nov 22, 2011 at 5:52 AM, Andreas Oberritter o...@linuxtv.org wrote: On 21.11.2011 22:05, Manu Abraham wrote: Hi, As discussed prior, the following changes help to advertise a frontend's delivery system capabilities. Sending out the

Re: [PATCH] Fix tm6010 audio

2011-11-24 Thread Dmitri Belimov
Hi Em 07-11-2011 22:45, Dmitri Belimov escreveu: Hi I found why audio dosn't work for me and fix it. 2Stefan: The V4L2_STD_DK has V4L2_STD_SECAM_DK but not equal switch-case statement not worked you can use if (dev-norm V4L2_STD_DK) { } This patch fix this

Re: BUG: scheduling while atomic: kworker/0:0/0/0x00000100

2011-11-24 Thread Andy Walls
On Thu, 2011-11-24 at 19:02 +, Stefan Macher wrote: Hi, I have setup a new vdr with yavdr 0.4 with one TT full-featured DVB-S card (S2300) and one Mystique SaTiX-S2 Sky Xpress dual. As soon as I pause the video I get endless reports like the one in the headline and the vdr is dead.

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Andreas Oberritter
On 24.11.2011 19:25, Mauro Carvalho Chehab wrote: Em 24-11-2011 16:07, Andreas Oberritter escreveu: On 24.11.2011 18:58, Mauro Carvalho Chehab wrote: Em 24-11-2011 15:51, Andreas Oberritter escreveu: On 24.11.2011 18:44, Hans Verkuil wrote: On Thursday, November 24, 2011 18:08:05 Andreas

Re: PATCH 12/13: 0012-CXD2820r-Query-DVB-frontend-delivery-capabilities

2011-11-24 Thread Mauro Carvalho Chehab
Em 21-11-2011 21:01, Manu Abraham escreveu: Hi, On Tue, Nov 22, 2011 at 3:58 AM, Antti Palosaari cr...@iki.fi wrote: Hello On 11/21/2011 11:09 PM, Manu Abraham wrote: /* program tuner */ - if (fe-ops.tuner_ops.set_params) - fe-ops.tuner_ops.set_params(fe,

Re: [RFCv2 PATCH 12/12] Remove audio.h, video.h and osd.h.

2011-11-24 Thread Mauro Carvalho Chehab
Em 24-11-2011 23:09, Andreas Oberritter escreveu: On 24.11.2011 19:25, Mauro Carvalho Chehab wrote: Em 24-11-2011 16:07, Andreas Oberritter escreveu: On 24.11.2011 18:58, Mauro Carvalho Chehab wrote: Em 24-11-2011 15:51, Andreas Oberritter escreveu: On 24.11.2011 18:44, Hans Verkuil wrote:

Re: PATCH v3: Query DVB frontend delivery capabilities (was: Re: PATCH: Query DVB frontend capabilities)

2011-11-24 Thread Oliver Endriss
On Monday 14 November 2011 20:39:48 Manu Abraham wrote: On 11/12/11, Andreas Oberritter o...@linuxtv.org wrote: On 11.11.2011 23:38, Mauro Carvalho Chehab wrote: Em 11-11-2011 20:07, Manu Abraham escreveu: On Fri, Nov 11, 2011 at 3:42 PM, Mauro Carvalho Chehab mche...@redhat.com wrote:

Re: PATCH 08/13: 0008-STV090x-Query-DVB-frontend-delivery-capabilities

2011-11-24 Thread Oliver Endriss
Acked-by: Oliver Endriss o.endr...@gmx.de CU Oliver -- VDR Remote Plugin 0.4.0: http://www.escape-edv.de/endriss/vdr/ 4 MByte Mod: http://www.escape-edv.de/endriss/dvb-mem-mod/ Full-TS Mod:

Re: [RFC/PATCH 2/3] v4l: Document integer menu controls

2011-11-24 Thread Sakari Ailus
Hi Sylwester, On Fri, Nov 25, 2011 at 12:17:58AM +0100, Sylwester Nawrocki wrote: ... @@ -292,6 +313,20 @@ the menu items can be enumerated with the constantVIDIOC_QUERYMENU/constant ioctl./entry /row row + entryconstantV4L2_CTRL_TYPE_INTEGER_MENU/constant/entry +