Re: DVB-S2 multistream support

2012-03-15 Thread Christian Prähauser
Dear all, First, thanks for your interest in this functionality. I think the modifications are in a shape where they begin to be useful for others. Currently I'm (still) trying to get some GIT repo where I can host the whole stuff. Thank you all for your support, testing will indeed by

Re: [PATCH v5 09/35] v4l: Add subdev selections documentation

2012-03-15 Thread Sylwester Nawrocki
Hi Sakari, On 03/06/2012 05:32 PM, Sakari Ailus wrote: Add documentation for V4L2 subdev selection API. This changes also experimental V4L2 subdev API so that scaling now works through selection API only. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi ---

Re: eMPIA EM2710 Webcam (em28xx) and LIRC

2012-03-15 Thread Mauro Carvalho Chehab
Em 14-03-2012 21:28, Rui Salvaterra escreveu: 2012/3/14 Ezequiel García elezegar...@gmail.com: Hi, 2012/3/14 Rui Salvaterra rsalvate...@gmail.com: Hi, Ezequiel. Thanks a lot for your reply. I'm attaching a copy of my full dmesg, its a bit hard to spot exactly where all modules are loaded

[GIT PULL for v3.3] media fixes

2012-03-15 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For 4 fixes for 3.3 (all trivial): - uvc video driver: fixes a division by zero; - davinci: add module.h to fix compilation; - smsusb: fix the delivery

Re: [Q] media: V4L2 compressed frames and s_fmt.

2012-03-15 Thread Sakari Ailus
Hi Javier, (Cc Kamil.) On Wed, Mar 14, 2012 at 12:22:43PM +0100, javier Martin wrote: Hi, I'm developing a V4L2 mem2mem driver for the codadx6 IP video codec which is included in the i.MX27 chip. The capture interface of this driver can therefore return h.264 or mpeg4 video frames.

Re: [Linaro-mm-sig] [PATCH] RFC: dma-buf: userspace mmap support

2012-03-15 Thread Rob Clark
On Thu, Mar 15, 2012 at 2:16 AM, Abhinav Kochhar kochhar.abhi...@gmail.com wrote: do we need to pass the dmabuf object to dmabuf-ops-mmap(dmabuf, file, vma)? as file-private_data can retrieve the dmabuf object. dmabuf = file-private_data removing dmabuf from the function arguments will

Re: [PATCH] Add CI support to az6007 driver

2012-03-15 Thread Jose Alberto Reguero
On Miércoles, 14 de marzo de 2012 18:45:24 Roger Mårtensson escribió: Hello! Sorry for the top post but this is just to check with you if you have experienced the same problem that I have. See below with some additional comments. Roger Mårtensson skrev 2012-03-07 20:21: Jose Alberto

Re: eMPIA EM2710 Webcam (em28xx) and LIRC

2012-03-15 Thread Frank Schäfer
Am 15.03.2012 11:42, schrieb Mauro Carvalho Chehab: Em 14-03-2012 21:28, Rui Salvaterra escreveu: 2012/3/14 Ezequiel García elezegar...@gmail.com: Hi, 2012/3/14 Rui Salvaterra rsalvate...@gmail.com: Hi, Ezequiel. Thanks a lot for your reply. I'm attaching a copy of my full dmesg, its a bit

Re: [GIT PULL for v3.3] media fixes

2012-03-15 Thread Antti Palosaari
Moikka Mauro, Just for the sure, since it is last days of RC phase, that bugfix must be send for the Kernel 3.3 too: http://patchwork.linuxtv.org/patch/10313/ regards Antti On 15.03.2012 12:55, Mauro Carvalho Chehab wrote: Hi Linus, Please pull from:

Re: [PATCH v5 09/35] v4l: Add subdev selections documentation

2012-03-15 Thread Sakari Ailus
Hi Sylwester, Thanks for the comment! On Thu, Mar 15, 2012 at 10:55:25AM +0100, Sylwester Nawrocki wrote: ... + tbody valign=top + row + entry__u32/entry + entrystructfieldwhich/structfield/entry + entryActive or try selection, from +

Re: eMPIA EM2710 Webcam (em28xx) and LIRC

2012-03-15 Thread Mauro Carvalho Chehab
Em 15-03-2012 09:34, Frank Schäfer escreveu: Am 15.03.2012 11:42, schrieb Mauro Carvalho Chehab: Em 14-03-2012 21:28, Rui Salvaterra escreveu: 2012/3/14 Ezequiel García elezegar...@gmail.com: Hi, 2012/3/14 Rui Salvaterra rsalvate...@gmail.com: Hi, Ezequiel. Thanks a lot for your reply. I'm

Re: [GIT PULL for v3.3] media fixes

2012-03-15 Thread Mauro Carvalho Chehab
Em 15-03-2012 09:49, Antti Palosaari escreveu: Moikka Mauro, Just for the sure, since it is last days of RC phase, that bugfix must be send for the Kernel 3.3 too: http://patchwork.linuxtv.org/patch/10313/ That fix is not at -next yet. I'll add it there in time for the Friday's -next and

Re: eMPIA EM2710 Webcam (em28xx) and LIRC

2012-03-15 Thread Rui Salvaterra
On 15 March 2012 10:42, Mauro Carvalho Chehab mche...@redhat.com wrote: The em28xx module requires IR support from rc_core, as most em28xx devices support it. It can be compiled without IR support, but, as the em28xx-input is not on a separate module, and it contains some calls to rc_core

RE: [Q] media: V4L2 compressed frames and s_fmt.

2012-03-15 Thread Kamil Debski
Hi Javier, Sakari, From: Sakari Ailus [mailto:sakari.ai...@iki.fi] Sent: 15 March 2012 12:04 Hi Javier, (Cc Kamil.) On Wed, Mar 14, 2012 at 12:22:43PM +0100, javier Martin wrote: Hi, I'm developing a V4L2 mem2mem driver for the codadx6 IP video codec which is included in the

Re: [Q] media: V4L2 compressed frames and s_fmt.

2012-03-15 Thread javier Martin
Hi Kamil, Sakari, thank you for your replies. On 15 March 2012 14:19, Kamil Debski k.deb...@samsung.com wrote: Hi Javier, Sakari, From: Sakari Ailus [mailto:sakari.ai...@iki.fi] Sent: 15 March 2012 12:04 Hi Javier, (Cc Kamil.) On Wed, Mar 14, 2012 at 12:22:43PM +0100, javier Martin

Re: [PATCH 1/3] Support for tuner FC0012

2012-03-15 Thread poma
On 02/22/2012 11:21 PM, Hans-Frieder Vogt wrote: Support for the tuner Fitipower FC0012 Signed-off-by: Hans-Frieder Vogt hfv...@gmx.net diff -Nupr a/drivers/media/common/tuners/fc0012.c b/drivers/media/common/tuners/fc0012.c --- a/drivers/media/common/tuners/fc0012.c1970-01-01

Re: eMPIA EM2710 Webcam (em28xx) and LIRC

2012-03-15 Thread Mauro Carvalho Chehab
Em 15-03-2012 10:10, Rui Salvaterra escreveu: On 15 March 2012 10:42, Mauro Carvalho Chehab mche...@redhat.com wrote: The em28xx module requires IR support from rc_core, as most em28xx devices support it. It can be compiled without IR support, but, as the em28xx-input is not on a separate

Re: [PATCH 1/3] Support for tuner FC0012

2012-03-15 Thread Gianluca Gennari
Il 15/03/2012 15:35, poma ha scritto: Patched git://linuxtv.org/media_build.git with your Fitipower FC0012 tuner driver(fc0012.patch) got here: .. CC [M] /tmp/media_build/v4l/fc0012.o /tmp/media_build/v4l/tda18212.c:21:0: warning: pr_fmt redefined [enabled by default]

[PATCH/RFC 00/23] New camera controls

2012-03-15 Thread Sylwester Nawrocki
Hello, this change set introduces a couple of new relatively high level camera controls. This is an early initial version, I'd like to ask for review and comments, especially on the V4L:... patches. This change set depends on some patches from Sakari, which are included in this pull request:

[PATCH/RFC 02/23] V4L: Add White Balance Preset camera class control

2012-03-15 Thread Sylwester Nawrocki
Add V4L2_CID_WHITE_BALANCE_PRESET control to allow selecting predefined white balance configurations where supported by a camera. The following menu items are included: - V4L2_WHITE_BALANCE_NONE, - V4L2_WHITE_BALANCE_INCANDESCENT, - V4L2_WHITE_BALANCE_FLUORESCENT, -

[PATCH/RFC 05/23] V4L: Add camera exposure bias control

2012-03-15 Thread Sylwester Nawrocki
Add V4L2_CID_AUTO_EXPOSURE_BIAS control for the automatic exposure algorithm compensation. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/DocBook/media/v4l/controls.xml | 16

[PATCH/RFC 01/23] V4L: Add camera auto focus controls

2012-03-15 Thread Sylwester Nawrocki
Add following auto focus controls and documentation: - V4L2_CID_AUTO_FOCUS_START - one-shot auto focus start - V4L2_CID_AUTO_FOCUS_STOP - one-shot auto focus stop - V4L2_CID_AUTO_FOCUS_STATUS - auto focus status - V4L2_CID_AUTO_FOCUS_DISTANCE - auto focus scan range selection -

[PATCH/RFC 12/23] m5mols: Refactored controls handling

2012-03-15 Thread Sylwester Nawrocki
This patch is a prerequisite for the new controls addition. It consolidates the control handling code, which is moved to m5mols_controls.c and staticized. The controls initialization is reordered to better reflect the control clusters and make the diffs smaller when new controls are added. To make

[PATCH/RFC 14/23] m5mols: Add ISO controls

2012-03-15 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/m5mols/m5mols.h |5 +++ drivers/media/video/m5mols/m5mols_controls.c | 51 ++ 2 files changed, 56 insertions(+) diff

[PATCH/RFC 10/23] m5mols: Comments and data structures cleanup

2012-03-15 Thread Sylwester Nawrocki
Update data structures documentation, fix typos and use more descriptive names for some structure members. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/m5mols/m5mols.h | 12 ++--

[PATCH/RFC 20/23] m5mols: Add exposure metering control

2012-03-15 Thread Sylwester Nawrocki
This patch adds V4L2_CID_EXPOSURE_METERING control which allows to select the light metering mode for automatic exposure as one of the following modes: spot (small area at the frame center), center weighted and frame averaged. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com

[PATCH/RFC 13/23] m5mols: Use proper sensor mode for the controls

2012-03-15 Thread Sylwester Nawrocki
The parameters corresponding to the V4L controls can be reconfigured only in associated M-5MOLS operation mode. Use struct v4l2_ctrl priv field to assign the working mode to the controls which can be modified only in certain conditions. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com

[PATCH/RFC 17/23] m5mols: Add wide dynamic range control

2012-03-15 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/video/m5mols/m5mols.h |1 + drivers/media/video/m5mols/m5mols_controls.c | 18 ++ 2 files changed, 19 insertions(+) diff --git a/drivers/media/video/m5mols/m5mols.h

[PATCH/RFC 22/23] V4L: Add auto focus targets to the selections API

2012-03-15 Thread Sylwester Nawrocki
The camera automatic focus algorithms may require setting up a spot or rectangle coordinates or multiple such parameters. The automatic focus selection targets are introduced in order to allow applications to query and set such coordinates. Those selections are intended to be used together with

[PATCH/RFC 23/23] V4L: Add auto focus targets to the subdev selections API

2012-03-15 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/DocBook/media/v4l/dev-subdev.xml | 27 +++- .../media/v4l/vidioc-subdev-g-selection.xml| 14 -- include/linux/v4l2-subdev.h

[PATCH/RFC 11/23] m5mols: Convert macros to inline functions

2012-03-15 Thread Sylwester Nawrocki
Make to_sd and to_m5mols macros static inline functions for better type safety. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/m5mols/m5mols.h | 17 - 1 file changed, 12 insertions(+), 5

[PATCH/RFC 16/23] m5mols: Add exposure bias control

2012-03-15 Thread Sylwester Nawrocki
Add integer menu control for exposure bias. The control value range is -2.0 EV to +2.0 EV, in 0.5 EV steps. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/m5mols/m5mols.h |3 ++-

[PATCH/RFC 21/23] m5mols: Add JPEG compression quality control

2012-03-15 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/m5mols/m5mols.h |1 + drivers/media/video/m5mols/m5mols_controls.c | 10 -- drivers/media/video/m5mols/m5mols_reg.h |1 + 3 files

[PATCH/RFC 18/23] m5mols: Add image stabilization control

2012-03-15 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/video/m5mols/m5mols.h |1 + drivers/media/video/m5mols/m5mols_controls.c | 16 2 files changed, 17 insertions(+) diff --git a/drivers/media/video/m5mols/m5mols.h

[PATCH/RFC 09/23] V4L: Add helper function for standard integer menu controls

2012-03-15 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/v4l2-ctrls.c | 21 + include/media/v4l2-ctrls.h | 17 + 2 files changed, 38 insertions(+) diff --git

[PATCH/RFC 15/23] m5mols: Add white balance preset control

2012-03-15 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/m5mols/m5mols.h |6 +- drivers/media/video/m5mols/m5mols_controls.c | 25 +++-- 2 files changed, 28 insertions(+), 3

[PATCH/RFC 19/23] m5mols: Add auto focus controls

2012-03-15 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/m5mols/m5mols.h | 19 ++- drivers/media/video/m5mols/m5mols_controls.c | 160 +- drivers/media/video/m5mols/m5mols_core.c

[PATCH/RFC 06/23] V4L: Add camera ISO sensitivity controls

2012-03-15 Thread Sylwester Nawrocki
Add ISO sensitivity and ISO auto/manual controls. The sensitivity values are related to level of amplification of the analog signal between image sensor and ADC. Although some sensors expose an interface to accept the ISO values directly. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com

[PATCH/RFC 03/23] V4L: Add Wide Dynamic Range camera class control

2012-03-15 Thread Sylwester Nawrocki
The V4L2_CID_WIDE_DYNAMIC_RANGE camera class control allows to control the wide dynamic range (WDR) feature provided by a camera. It can be used to enable/disable WDR. For the WDR technique selection separate menu control should be added. Signed-off-by: HeungJun Kim riverful@samsung.com

[PATCH/RFC 08/23] V4L: camera control class documentation

2012-03-15 Thread Sylwester Nawrocki
Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com --- Documentation/DocBook/media/v4l/controls.xml |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/v4l/controls.xml b/Documentation/DocBook/media/v4l/controls.xml index aa3b2db..e177367

[PATCH/RFC 04/23] V4L: Add Image Stabilization camera class control

2012-03-15 Thread Sylwester Nawrocki
The V4L2_CID_IMAGE_STABILIZATION camera class control allows to control an image stabilization feature provided by a camera. It can be used to enable/disable image stabilization. If the image stabilization technique selection control is needed a separate menu control should be added.

Re: [Q] tracing/printing

2012-03-15 Thread Peter Senna Tschudin
Ezequiel, Not sure, but this may help you: http://lwn.net/Articles/464276/ []'s Peter 2012/3/14 Ezequiel García elezegar...@gmail.com: Hi, I'm writing a video capture device and have a doubt about how to correctly print to screen. First, I suppose I should follow the rule don't print

Re: eMPIA EM2710 Webcam (em28xx) and LIRC

2012-03-15 Thread Ezequiel García
Hi Mauro, On 3/15/12, Mauro Carvalho Chehab mche...@redhat.com wrote: If you won't take it, it is likely that some day someone will do it, but, as this is just a cleanup, the main developers won't likely have time for doing it, as they're generally busy adding support for new hardware. I

[PATCH 0/3] cxd2820r: tweak search algorithm, enable LNA in DVB-T mode

2012-03-15 Thread Gianluca Gennari
The PCTV 290e had several issues on my mipsel-based STB (powered by a Broadcom 7405 SoC), running a Linux 3.1 kernel and the Enigma2 OS. The most annoying one was that the 290e was able to tune the lone DVB-T2 frequency existing in my area, but was not able to tune any DVB-T channel. Following a

[PATCH 2/3] em28xx-dvb: enable LNA for cxd2820r in DVB-T mode

2012-03-15 Thread Gianluca Gennari
Enable the LNA amplifier also for DVB-T (like for DVB-T2 and DVB-C); this greatly improves reception of weak signals without affecting the reception of the strong ones. Experimental data (collected with the mipsel STB) on the weakest frequencies available in my area: LNA OFF: MUX level

[PATCH 3/3] cxd2820r: delete unused function cxd2820r_init_t2

2012-03-15 Thread Gianluca Gennari
Deleted unused declaration of function cxd2820r_init_t2. Signed-off-by: Gianluca Gennari gennar...@gmail.com --- drivers/media/dvb/frontends/cxd2820r_priv.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/frontends/cxd2820r_priv.h

[PATCH 1/3] cxd2820r: tweak search algorithm behavior

2012-03-15 Thread Gianluca Gennari
MPIS based STBs running 3.x kernels and the Enigma2 OS are not able to tune DVB-T channels with the PCTV 290e using the current cxd2820r driver. DVB-T2 channels instead work properly. This patch fixes the problem by changing the condition to break out from the wait lock loop in the search

Re: eMPIA EM2710 Webcam (em28xx) and LIRC

2012-03-15 Thread Mauro Carvalho Chehab
Em 15-03-2012 14:15, Ezequiel García escreveu: Hi Mauro, On 3/15/12, Mauro Carvalho Chehab mche...@redhat.com wrote: If you won't take it, it is likely that some day someone will do it, but, as this is just a cleanup, the main developers won't likely have time for doing it, as they're

Re: [PATCH 0/3] cxd2820r: tweak search algorithm, enable LNA in DVB-T mode

2012-03-15 Thread Mauro Carvalho Chehab
Em 15-03-2012 14:33, Gianluca Gennari escreveu: The PCTV 290e had several issues on my mipsel-based STB (powered by a Broadcom 7405 SoC), running a Linux 3.1 kernel and the Enigma2 OS. The most annoying one was that the 290e was able to tune the lone DVB-T2 frequency existing in my area, but

Re: [PATCH 0/3] cxd2820r: tweak search algorithm, enable LNA in DVB-T mode

2012-03-15 Thread Antti Palosaari
On 15.03.2012 19:41, Mauro Carvalho Chehab wrote: Em 15-03-2012 14:33, Gianluca Gennari escreveu: The PCTV 290e had several issues on my mipsel-based STB (powered by a Broadcom 7405 SoC), running a Linux 3.1 kernel and the Enigma2 OS. The most annoying one was that the 290e was able to tune

Re: [PATCH 0/3] cxd2820r: tweak search algorithm, enable LNA in DVB-T mode

2012-03-15 Thread Mauro Carvalho Chehab
Em 15-03-2012 14:49, Antti Palosaari escreveu: On 15.03.2012 19:41, Mauro Carvalho Chehab wrote: Em 15-03-2012 14:33, Gianluca Gennari escreveu: The PCTV 290e had several issues on my mipsel-based STB (powered by a Broadcom 7405 SoC), running a Linux 3.1 kernel and the Enigma2 OS. The most

Re: [PATCH 0/3] cxd2820r: tweak search algorithm, enable LNA in DVB-T mode

2012-03-15 Thread Gianluca Gennari
Il 15/03/2012 18:41, Mauro Carvalho Chehab ha scritto: Hi Gianluca, With regards to LNA, the better is to add a DVBv5 property for it. The LNA is generally located at the antenna, and not at the device. As you know, more than one device may be connected to the same antenna, and it

[PATCH] [media] V4L: pxa_camera: add clk_prepare/clk_unprepare calls

2012-03-15 Thread Philipp Zabel
This patch adds clk_prepare/clk_unprepare calls to the pxa_camera driver by using the helper functions clk_prepare_enable and clk_disable_unprepare. Signed-off-by: Philipp Zabel philipp.za...@gmail.com Cc: Mauro Carvalho Chehab mche...@infradead.org Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de

Re: [PATCH] Add CI support to az6007 driver

2012-03-15 Thread Roger Mårtensson
Jose Alberto Reguero skrev 2012-03-15 13:29: On Miércoles, 14 de marzo de 2012 18:45:24 Roger Mårtensson escribió: So the drivers is doing something except I don't get anything in kaffeine until I restart the application. Now and then I even have to restart kaffeine twice. Same as above.. I see

Re: [PATCH 1/3] Support for tuner FC0012

2012-03-15 Thread poma
On 03/15/2012 04:03 PM, Gianluca Gennari wrote: Il 15/03/2012 15:35, poma ha scritto: Patched git://linuxtv.org/media_build.git with your Fitipower FC0012 tuner driver(fc0012.patch) got here: .. CC [M] /tmp/media_build/v4l/fc0012.o /tmp/media_build/v4l/tda18212.c:21:0: warning: pr_fmt

cron job: media_tree daily build: ERRORS

2012-03-15 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 Mar 15 19:00:18 CET 2012 git hash:632fba4d012458fd5fedc678fb9b0f8bc59ceda2 gcc version: i686-linux-gcc

[PATCH] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Ezequiel Garcia
This changes rc_core to not load the IR decoders at load time, postponing it to load only if a RC_DRIVER_IR_RAW device is registered via rc_register_device. Signed-off-by: Ezequiel Garcia elezegar...@gmail.com --- drivers/media/rc/rc-main.c |8 ++-- include/media/rc-core.h|2 ++

Re: [PATCH] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Mauro Carvalho Chehab
Em 15-03-2012 16:39, Ezequiel Garcia escreveu: This changes rc_core to not load the IR decoders at load time, postponing it to load only if a RC_DRIVER_IR_RAW device is registered via rc_register_device. Signed-off-by: Ezequiel Garcia elezegar...@gmail.com --- drivers/media/rc/rc-main.c |

Re: [PATCH] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Jarod Wilson
On Thu, Mar 15, 2012 at 04:39:02PM -0300, Ezequiel Garcia wrote: This changes rc_core to not load the IR decoders at load time, postponing it to load only if a RC_DRIVER_IR_RAW device is registered via rc_register_device. Signed-off-by: Ezequiel Garcia elezegar...@gmail.com ---

Re: [PATCH] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Ezequiel García
      if (dev-driver_type == RC_DRIVER_IR_RAW) { +             /* Load raw decoders, if they aren't already */ +             if (dev-raw_init) { The logic here seems to be inverted. it should be, instead !dev-raw_init. Duh! Sorry about that. I'm *way* too accustomed to test things first.

Re: cxd2820r: i2c wr failed (PCTV Nanostick 290e)

2012-03-15 Thread Keith Edmunds
I posted the message below last week, but I've had no response. Is this the wrong list? Did I do something wrong in my posting? I would like fix this problem, and I have more information now, but I don't want to clutter this list if it's the wrong place. Guidance as to what I should do

Re: cxd2820r: i2c wr failed (PCTV Nanostick 290e)

2012-03-15 Thread Antti Palosaari
I have no idea. IIRC this is first time I see that kind of bug report. Seems like EM28174 starts failing I2C messages. -110 is ETIMEDOUT and is likely coming from the USB-stack. Is there anyone have seen similar situations when em28xx driver is used? Maybe overheat? regards Antti On

Re: cxd2820r: i2c wr failed (PCTV Nanostick 290e)

2012-03-15 Thread Torfinn Ingolfsen
Hello, On Thu, Mar 15, 2012 at 9:14 PM, Keith Edmunds k...@midnighthax.com wrote: I posted the message below last week, but I've had no response. Is this the wrong list? Did I do something wrong in my posting? I would like fix this problem, and I have more information now, but I don't want

[PATCH v2] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Ezequiel Garcia
This changes rc_core to not load the IR decoders at load time, postponing it to load only if a RC_DRIVER_IR_RAW device is registered via rc_register_device. We use a static boolean variable, to ensure decoders modules are only loaded once. Tested with rc-loopback device only. Signed-off-by:

[PATCH 1/1] mt9v032: Provide pixel rate control

2012-03-15 Thread Sakari Ailus
Provide pixel rate control calculated from external clock and horizontal binning factor. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- drivers/media/video/mt9v032.c | 35 ++- 1 files changed, 34 insertions(+), 1 deletions(-) diff --git

Re: [PATCH v2] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Jarod Wilson
On Thu, Mar 15, 2012 at 05:53:49PM -0300, Ezequiel Garcia wrote: This changes rc_core to not load the IR decoders at load time, postponing it to load only if a RC_DRIVER_IR_RAW device is registered via rc_register_device. We use a static boolean variable, to ensure decoders modules are only

Re: [PATCH v2] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Ezequiel García
Hi Jarod, On Thu, Mar 15, 2012 at 6:35 PM, Jarod Wilson ja...@redhat.com wrote: So yeah, ok, I'm fine with this. Haven't tested it with actual raw IR hardware, but I don't see any reason it wouldn't work. Acked-by: Jarod Wilson ja...@redhat.com Thanks for the feedback. I have a paranoid

Re: [PATCH v2] media: rc: Pospone ir raw decoders loading until really needed

2012-03-15 Thread Jarod Wilson
On Mar 15, 2012, at 5:42 PM, Ezequiel García elezegar...@gmail.com wrote: Hi Jarod, On Thu, Mar 15, 2012 at 6:35 PM, Jarod Wilson ja...@redhat.com wrote: So yeah, ok, I'm fine with this. Haven't tested it with actual raw IR hardware, but I don't see any reason it wouldn't work.

Driver for TerraTec Cinergy T PCIe dual

2012-03-15 Thread Tim Dijkstra
Hi, I've bought a TerraTec Cinergy T PCIe dual On linuxtv.org it says it is supported (although unconfirmed) in 3.3. I'm now running this kernel, but no luck. To be fair I do not know for sure if it is the driver or the hardware. I do not have an easy way to try it with another OS...

Re: cxd2820r: i2c wr failed (PCTV Nanostick 290e)

2012-03-15 Thread Andy Furniss
Keith Edmunds wrote: I posted the message below last week, but I've had no response. Is this the wrong list? Did I do something wrong in my posting? I would like fix this problem, and I have more information now, but I don't want to clutter this list if it's the wrong place. Guidance as to

Re: [PATCH] em28xx: pre-allocate DVB isoc transfer buffers

2012-03-15 Thread Andy Furniss
Gianluca Gennari wrote: (was: Re: PCTV 290e page allocation failure) On MIPS/ARM set-top-boxes, as well as old x86 PCs, memory allocation failures in the em28xx driver are common, due to memory fragmentation over time, that makes impossible to allocate large chunks of coherent memory. A typical

Re: [PATCH] em28xx: pre-allocate DVB isoc transfer buffers

2012-03-15 Thread Gianluca Gennari
Il 16/03/2012 01:25, Andy Furniss ha scritto: Does this patch have a chance of getting in? I am still having to flush caches before use. If you want more testing I can give it a go. I didn't earlier as I didn't have a git to apply it to and thought it was going to get in anyway. Hi Andy,

Re: [PATCH] em28xx: pre-allocate DVB isoc transfer buffers

2012-03-15 Thread Gianluca Gennari
Il 16/03/2012 01:25, Andy Furniss ha scritto: Does this patch have a chance of getting in? I am still having to flush caches before use. If you want more testing I can give it a go. I didn't earlier as I didn't have a git to apply it to and thought it was going to get in anyway. Hi

Re: cxd2820r: i2c wr failed (PCTV Nanostick 290e)

2012-03-15 Thread Claus Olesen
I have two 290e's - one for dvb-c and one for dvb-t - on the same computer running F16, Kaffeine and latest media files and I see lots of lines in /var/log/messages like this cxd2820r: i2c wr failed ret:-110 reg:db len:1 and fewer like this tda18271_write_regs: [16-0060|M] ERROR: idx = 0x3, len