Re: video from USB DVB-T get damaged after some time

2014-02-10 Thread kapetr
Hello, I have test FW version 12.10.04.1 (FYI dmesg changes follows) The problem without change. I did want to test the DVB-T stick under Windows XP, but in VirtualBox works the tuner not at all - I get just jerky sound, no video. But there is older driver (12.7.6.11) - but don't thing the

Re: [PATCH 07/24] xc5000: properly report i2c write failures

2014-02-10 Thread Joonyoung Shim
Hi Devin, 2014-02-07 22:46 GMT+09:00 Devin Heitmueller dheitmuel...@kernellabs.com: I can't load firmware like error of below link. https://bugs.launchpad.net/ubuntu/+source/linux-firmware-nonfree/+bug/1263837 This error is related with this patch. This fix is right but above error is

Re: video from USB DVB-T get damaged after some time

2014-02-10 Thread Antti Palosaari
Moi! On 10.02.2014 10:21, kap...@mizera.cz wrote: Hello, I have test FW version 12.10.04.1 (FYI dmesg changes follows) The problem without change. I did want to test the DVB-T stick under Windows XP, but in VirtualBox works the tuner not at all - I get just jerky sound, no video. But there

Re: exynos4 / g2d

2014-02-10 Thread Tobias Jakobi
Hello! Sachin Kamat wrote: +cc linux-media list and some related maintainers Hi, On 10 February 2014 00:22, Tobias Jakobi tjak...@math.uni-bielefeld.de wrote: Hello! I noticed while here

Re: exynos4 / g2d

2014-02-10 Thread Sachin Kamat
+cc Joonyoung Shim Hi, On 10 February 2014 13:58, Tobias Jakobi tjak...@math.uni-bielefeld.de wrote: Hello! Sachin Kamat wrote: +cc linux-media list and some related maintainers Hi, On 10 February 2014 00:22, Tobias Jakobi tjak...@math.uni-bielefeld.de wrote: Hello! I noticed while

[REVIEWv2 PATCH 03/34] v4l2-ctrls: use pr_info/cont instead of printk.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Codingstyle fix. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff

[REVIEWv2 PATCH 13/34] v4l2-ctrls: use 'new' to access pointer controls

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Require that 'new' string and pointer values are accessed through the 'new' field instead of through the union. This reduces the union to just val and val64. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Sylwester Nawrocki

[REVIEWv2 PATCH 04/34] videodev2.h: add initial support for complex controls.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Complex controls are controls that can be used for compound and array types. This allows for more complex data structures to be used with the control framework. Such controls always have the V4L2_CTRL_FLAG_HIDDEN flag set. Note that 'simple' controls can

[REVIEWv2 PATCH 01/34] v4l2-ctrls: increase internal min/max/step/def to 64 bit

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com While VIDIOC_QUERYCTRL is limited to 32 bit min/max/step/def values for controls, the upcoming VIDIOC_QUERY_EXT_CTRL isn't. So increase the internal representation to 64 bits in preparation. Because of these changes the msi3101 driver has been modified

[REVIEWv2 PATCH 09/34] v4l2-ctrls: rewrite copy routines to operate on union v4l2_ctrl_ptr.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com In order to implement matrix support and (for the future) configuration stores we need to have more generic copy routines. The v4l2_ctrl_ptr union was designed for this. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[REVIEWv2 PATCH 00/34] Add support for complex controls, use in solo/go7007

2014-02-10 Thread Hans Verkuil
This patch series adds support for complex controls (aka 'Properties') to the control framework and uses them in the go7007 and solo6x10 drivers. It is the first part of a larger patch series that adds support for configuration stores and support for 'Multiple Selections'. This patch series is

[REVIEWv2 PATCH 02/34] v4l2-ctrls: add unit string.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The upcoming VIDIOC_QUERY_EXT_CTRL adds support for a unit string. This allows userspace to show the unit belonging to a particular control. This patch adds support for the unit string to the control framework. Signed-off-by: Hans Verkuil

[REVIEWv2 PATCH 22/34] DocBook media: update control section.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Document the support for complex types in controls. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- Documentation/DocBook/media/v4l/controls.xml | 104 --- 1 file

[REVIEWv2 PATCH 08/34] v4l2-ctrls: create type_ops.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Since complex controls can have non-standard types we need to be able to do type-specific checks etc. In order to make that easy type operations are added. There are four operations: - equal: check if two values are equal - init: initialize a value -

[REVIEWv2 PATCH 20/34] DocBook media: update VIDIOC_G/S/TRY_EXT_CTRLS.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Document the support for the new complex type controls. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- .../DocBook/media/v4l/vidioc-g-ext-ctrls.xml | 43 ++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git

[REVIEWv2 PATCH 33/34] solo6x10: fix 'dma from stack' warning.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/staging/media/solo6x10/solo6x10-disp.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/solo6x10/solo6x10-disp.c

[REVIEWv2 PATCH 14/34] v4l2-ctrls: prepare for matrix support.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add core support for matrices. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 54 +++- include/media/v4l2-ctrls.h | 8 -- 2 files changed, 39 insertions(+), 23

[REVIEWv2 PATCH 32/34] solo6x10: implement the motion detection event.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Use the new motion detection event. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/staging/media/solo6x10/solo6x10-v4l2-enc.c | 68 ++ drivers/staging/media/solo6x10/solo6x10.h | 7 +-- 2 files changed, 60

[REVIEWv2 PATCH 12/34] v4l2-ctrls: replace cur by a union v4l2_ctrl_ptr.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Instead of having to maintain the 'cur' union this patch replaces it by a v4l2_ctrl_ptr union to be consistent with the future configuration stores, which also use that union. The number of drivers that use 'cur' is fairly small, so it is easy enough to

[REVIEWv2 PATCH 07/34] v4l2: integrate support for VIDIOC_QUERY_EXT_CTRL.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add the v4l2 core plumbing for the new VIDIOC_QUERY_EXT_CTRL ioctl. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 1 +

[REVIEWv2 PATCH 15/34] v4l2-ctrls: type_ops can handle matrix elements.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Extend the control type operations to handle matrix elements. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 40 1 file changed, 22 insertions(+), 18 deletions(-) diff

[REVIEWv2 PATCH 05/34] videodev2.h: add struct v4l2_query_ext_ctrl and VIDIOC_QUERY_EXT_CTRL.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add a new struct and ioctl to extend the amount of information you can get for a control. It gives back a unit string, the range is now a s64 type, and the matrix and element size can be reported through cols/rows/elem_size. Signed-off-by: Hans Verkuil

[REVIEWv2 PATCH 21/34] DocBook media: fix coding style in the control example code

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Use the proper kernel coding style in these examples. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/controls.xml | 81 ++-- 1 file changed, 40 insertions(+), 41 deletions(-) diff --git

[REVIEWv2 PATCH 27/34] v4l2-ctrls/v4l2-controls.h: add MD controls

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add the 'Detect' control class and the new motion detection controls. Those controls will be used by the solo6x10 and go7007 drivers. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 27

[REVIEWv2 PATCH 26/34] v4l2-ctrls: fix comments

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Various comments referred to videodev2.h, but the control definitions have been moved to v4l2-controls.h. Also add the same reminder message to each class of controls. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[REVIEWv2 PATCH 28/34] DocBook media: document new motion detection controls.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Document the 'Detect' control class and the new Motion Detection controls. Those controls will be used by the solo6x10 and go7007 drivers. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/controls.xml | 95

[REVIEWv2 PATCH 23/34] v4l2-controls.txt: update to the new way of accessing controls.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The way current and new values are accessed has changed. Update the document to bring it up to date with the code. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

[REVIEWv2 PATCH 24/34] v4l2-ctrls/videodev2.h: add u8 and u16 types.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com These are needed by the upcoming patches for the motion detection matrices. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 24 include/media/v4l2-ctrls.h | 4

[REVIEWv2 PATCH 11/34] v4l2-ctrls: prepare for matrix support: add cols rows fields.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add cols and rows fields to the core control structures in preparation for matrix support. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 26

[REVIEWv2 PATCH 25/34] DocBook media: document new u8 and u16 control types.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com These types are needed for the upcoming Motion Detection matrix controls, so document them. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- .../DocBook/media/v4l/vidioc-g-ext-ctrls.xml | 14 +

[REVIEWv2 PATCH 06/34] v4l2-ctrls: add support for complex types.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This patch implements initial support for complex types. For the most part the changes are fairly obvious (basic support for is_ptr types, the type_is_int function is replaced by a is_int bitfield, and v4l2_query_ext_ctrl is added), but one change needs

[REVIEWv2 PATCH 10/34] v4l2-ctrls: compare values only once.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com When setting a control the control's new value is compared to the current value twice: once by new_to_cur(), once by cluster_changed(). Not a big deal when dealing with simple values, but it can be a problem when dealing with compound types or matrices.

[REVIEWv2 PATCH 34/34] go7007: add motion detection support.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This patch adds motion detection support to the go7007 driver using the new motion detection controls, events. The global motion detection works fine, but the regional motion detection support probably needs more work. There seems to be some interaction

[REVIEWv2 PATCH 17/34] v4l2-ctrls: return elem_size instead of strlen

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com When getting a string and the size given by the application is too short return the max length the string can have (elem_size) instead of the string length + 1. That makes more sense. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by:

[REVIEWv2 PATCH 31/34] solo6x10: implement the new motion detection controls.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Replace the custom ioctls to set motion detection thresholds by standard matrix controls. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/staging/media/solo6x10/solo6x10-disp.c | 4 +-

[REVIEWv2 PATCH 16/34] v4l2-ctrls: add matrix support.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Finish the userspace-facing matrix support. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 108 --- 1 file changed, 63 insertions(+), 45 deletions(-) diff --git

[REVIEWv2 PATCH 19/34] DocBook media: document VIDIOC_QUERY_EXT_CTRL.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- .../DocBook/media/v4l/vidioc-queryctrl.xml | 223 + 1 file changed, 189 insertions(+), 34 deletions(-) diff --git

[REVIEWv2 PATCH 29/34] v4l2: add a motion detection event.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add a new MOTION_DET event to signal when motion is detected. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- include/uapi/linux/videodev2.h | 17 + 1 file changed, 17 insertions(+) diff --git a/include/uapi/linux/videodev2.h

[REVIEWv2 PATCH 30/34] DocBook: document new v4l motion detection event.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Document the new motion detection event. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/DocBook/media/v4l/vidioc-dqevent.xml | 44 ++ .../DocBook/media/v4l/vidioc-subscribe-event.xml | 8 2 files

[REVIEWv2 PATCH 18/34] v4l2-ctrl: fix error return of copy_to/from_user.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com copy_to/from_user returns the number of bytes not copied, it does not return a 'normal' linux error code. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 11 ++- 1 file changed, 6 insertions(+), 5

Re: exynos4 / g2d

2014-02-10 Thread Inki Dae
2014-02-10 17:44 GMT+09:00 Sachin Kamat sachin.ka...@linaro.org: +cc Joonyoung Shim Hi, On 10 February 2014 13:58, Tobias Jakobi tjak...@math.uni-bielefeld.de wrote: Hello! Sachin Kamat wrote: +cc linux-media list and some related maintainers Hi, On 10 February 2014 00:22, Tobias

Re: fimc-lite.c: compile warning indicates bug

2014-02-10 Thread Hans Verkuil
On 01/07/2014 03:42 PM, Sylwester Nawrocki wrote: Hi Hans, On 07/01/14 14:32, Hans Verkuil wrote: Hi Sylwester, I just did a quick build with the latest set of commits and I found this warning: .../media-git/drivers/media/platform/exynos4-is/fimc-lite.c: In function 'fimc_lite_probe':

Re: exynos4 / g2d

2014-02-10 Thread Sachin Kamat
On 10 February 2014 14:28, Inki Dae inki@samsung.com wrote: 2014-02-10 17:44 GMT+09:00 Sachin Kamat sachin.ka...@linaro.org: +cc Joonyoung Shim Hi, On 10 February 2014 13:58, Tobias Jakobi tjak...@math.uni-bielefeld.de wrote: Hello! Sachin Kamat wrote: +cc linux-media list and

Re: [PATCH 2/5] synch videodev2.h headers with kernel SDR API

2014-02-10 Thread Hans Verkuil
Hi Antti, I'm not sure if you know this, but to sync with a new kernel you use 'make sync-with-kernel'. Not a problem here, I'll do that anyway once the SDR API is merged. Regards, Hans On 02/09/2014 07:05 AM, Antti Palosaari wrote: Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by:

Re: [PATCH 4/5] v4l2-ctl: add support for SDR FMT

2014-02-10 Thread Hans Verkuil
On 02/09/2014 07:05 AM, Antti Palosaari wrote: Add support for FMT IOCTL operations used for SDR receivers. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hans.verk...@cisco.com Thanks! Hans --- utils/v4l2-ctl/Makefile.am

Re: [PATCH 5/5] v4l2-ctl: implement list SDR buffers command

2014-02-10 Thread Hans Verkuil
On 02/09/2014 07:05 AM, Antti Palosaari wrote: Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hans.verk...@cisco.com Thanks! Hans --- utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 6 ++ utils/v4l2-ctl/v4l2-ctl.cpp |

Re: [PATCH 2/5] synch videodev2.h headers with kernel SDR API

2014-02-10 Thread Antti Palosaari
Moro Hans, On 10.02.2014 11:08, Hans Verkuil wrote: Hi Antti, I'm not sure if you know this, but to sync with a new kernel you use 'make sync-with-kernel'. Not a problem here, I'll do that anyway once the SDR API is merged. No prob, I didn't know, just updated manually. regards Antti --

Re: [REVIEW PATCH 00/86] SDR tree

2014-02-10 Thread Hans Verkuil
Hi Antti, I have a few questions about this patch series: First of all, would this work for a rtl2838 as well or is this really 2832u specific? I've got a 2838... If it is 2832u specific, then do you know which product has it? It would be useful for me to have a usb stick with which I can test

Re: [PATCH v4.2 3/4] v4l: Add timestamp source flags, mask and document them

2014-02-10 Thread Hans Verkuil
On 02/07/2014 11:52 PM, Sakari Ailus wrote: Some devices do not produce timestamps that correspond to the end of the frame. The user space should be informed on the matter. This patch achieves that by adding buffer flags (and a mask) for timestamp sources since more possible timestamping

[PATCH] Siano: smsusb - Add a device id for PX-S1UD

2014-02-10 Thread Satoshi Nagahama
Add a device id to support for PX-S1UD (PLEX ISDB-T usb dongle) which has sms2270. Signed-off-by: Satoshi Nagahama satt...@aim.com --- drivers/media/usb/siano/smsusb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/siano/smsusb.c b/drivers/media/usb/siano/smsusb.c index

Re: [PATCH] omap_vout: Add DVI display type support

2014-02-10 Thread Tomi Valkeinen
On 08/02/14 16:32, Laurent Pinchart wrote: Since the introduction of the new OMAP DSS DVI connector driver in commit 348077b154357eec595068a3336ef6beb870e6f3 (OMAPDSS: Add new DVI Connector driver), DVI outputs report a new display type of OMAP_DISPLAY_TYPE_DVI instead of

Re: [RFC PATCH 1/7] v4l2-ctrls: add new RDS TX controls

2014-02-10 Thread Hans Verkuil
On 02/07/2014 01:19 PM, Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com The si4713 supports several RDS features not yet implemented in the driver. This patch adds the missing RDS functionality to the list of RDS controls. I'm going to postpone this until the patch series

Re: [RFC 0/4] rc: ir-raw: Add encode, implement NEC encode

2014-02-10 Thread James Hogan
Hi Antti, On 08/02/14 11:30, Antti Seppälä wrote: The first patch adds an encode callback to the existing raw ir handler struct and a helper function to encode a scancode for a given protocol. The mechanism used here to encode works fine as long as there is only one protocol selected. If

[REVIEW PATCH for 3.14 1/2] si4713: fix Kconfig dependencies

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The SI4713 select should be I2C_SI4713 and the USB driver needs to depend on I2C as well. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Reported-by: Paul Bolle pebo...@tiscali.nl Reported-by: Richard Weinberger rich...@nod.at ---

[REVIEW PATCH for 3.14 0/2] 3.14 Fixes

2014-02-10 Thread Hans Verkuil
One fixing si4713 Kconfig dependencies, one fixing a nasty vb2 regression. The last patch was part of my vb2 patch series I posted earlier, but this one really should go to 3.14. Regards, Hans -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a

[REVIEW PATCH for 3.14 2/2] vb2: fix read/write regression

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Commit 88e268702bfba78448abd20a31129458707383aa (vb2: Improve file I/O emulation to handle buffers in any order) broke read/write support if the size of the buffer being read/written is less than the size of the image. When the commit was tested

Re: video from USB DVB-T get damaged after some time

2014-02-10 Thread kapetr
Hello, it is this one: http://www.buyincoins.com/item/30948.html I shop there often - lowest prices of all China e-shops I have found. BTW: if you want try the shop - by registry/first buy give my nick jipan0 as referrer. You will get 5% off :-) --kapetr Dne 10.2.2014 09:34, Antti

Re: [REVIEW PATCH 00/86] SDR tree

2014-02-10 Thread Gianluca Gennari
Hi Hans, First of all, would this work for a rtl2838 as well or is this really 2832u specific? I've got a 2838... If it is 2832u specific, then do you know which product has it? It would be useful for me to have a usb stick with which I can test SDR. regarding this question, 2838 is just

Re: [PATCH v4.2 3/4] v4l: Add timestamp source flags, mask and document them

2014-02-10 Thread Sakari Ailus
Hans Verkuil wrote: On 02/07/2014 11:52 PM, Sakari Ailus wrote: Some devices do not produce timestamps that correspond to the end of the frame. The user space should be informed on the matter. This patch achieves that by adding buffer flags (and a mask) for timestamp sources since more

Re: [RFC PATCH 1/3] rc-core: Add Manchester encoder (phase encoder) support to rc-core

2014-02-10 Thread James Hogan
Hi Antti, On 08/02/14 12:07, Antti Seppälä wrote: Adding a simple Manchester encoder to rc-core. Manchester coding is used by at least RC-5 protocol and its variants. Signed-off-by: Antti Seppälä a.sepp...@gmail.com --- drivers/media/rc/ir-raw.c | 44

Re: [REVIEW PATCH 00/86] SDR tree

2014-02-10 Thread Antti Palosaari
On 10.02.2014 12:06, Gianluca Gennari wrote: Hi Hans, First of all, would this work for a rtl2838 as well or is this really 2832u specific? I've got a 2838... If it is 2832u specific, then do you know which product has it? It would be useful for me to have a usb stick with which I can test

Re: exynos4 / g2d

2014-02-10 Thread Tobias Jakobi
Sachin Kamat wrote: On 10 February 2014 14:28, Inki Dae inki@samsung.com wrote: 2014-02-10 17:44 GMT+09:00 Sachin Kamat sachin.ka...@linaro.org: +cc Joonyoung Shim Hi, On 10 February 2014 13:58, Tobias Jakobi tjak...@math.uni-bielefeld.de wrote: Hello! Sachin Kamat wrote: +cc

Re: [RFC PATCH 2/3] ir-rc5-sz: Add ir encoding support

2014-02-10 Thread James Hogan
Hi Antti, On 08/02/14 12:07, Antti Seppälä wrote: The encoding in rc5-sz first inserts a pulse and then simply utilizes the generic Manchester encoder available in rc-core. Signed-off-by: Antti Seppälä a.sepp...@gmail.com --- drivers/media/rc/ir-rc5-sz-decoder.c | 35

[GIT PULL FOR v3.15] 3.15 updates

2014-02-10 Thread Hans Verkuil
Hi Mauro, Some sleep_on race fixes, s2255 driver cleanups in preparation for the vb2 conversion and some ths8200 fixes. Regards, Hans The following changes since commit 37e59f876bc710d67a30b660826a5e83e07101ce: [media, edac] Change my email address (2014-02-07 08:03:07 -0200) are

[REVIEW PATCH 4/5] vivi: drop unused field

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivi.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/media/platform/vivi.c b/drivers/media/platform/vivi.c index eb09fe6..4114bb6 100644 ---

[REVIEW PATCH 2/5] v4l2-subdev: Allow 32-bit compat ioctls

2014-02-10 Thread Hans Verkuil
Add support for 32-bit ioctls with v4l-subdev device nodes. Rather than keep adding new ioctls to the list in v4l2-compat-ioctl32.c, just check if the ioctl is a non-private V4L2 ioctl and if so, call the conversion code. We keep forgetting to add new ioctls, so this is a more robust solution.

[REVIEW PATCH 5/5] vivi: queue_setup improvements.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Drop the vid_limit module option: there is really no need to limit this. No other driver does that. If you try to allocate more buffers then vb2 will automatically reduce the number of buffers anyway. Also add sanity checks if the size in the fmt

[REVIEW PATCH 3/5] vivi: fix sequence counting

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The sequence counting was not reset to 0 between each streaming run, and it was increased only every other frame. This is incorrect behavior: the confusion is with FIELD_ALTERNATE systems where each field is transmitted separately and only when both

[REVIEW PATCH 1/5] radio-usb-si4713: make array of structs const.

2014-02-10 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The start_seq[] should be const. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/radio/si4713/radio-usb-si4713.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/radio/si4713/radio-usb-si4713.c

[REVIEW PATCH 1/5] Various 3.15 fixes

2014-02-10 Thread Hans Verkuil
Some pending patches. If there are no more comments then I'll make a pull request for these in a week. Regards, Hans -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 27/47] v4l: Add support for DV timings ioctls on subdev nodes

2014-02-10 Thread Laurent Pinchart
Hi Sakari, On Friday 07 February 2014 13:07:40 Sakari Ailus wrote: Hi Laurent, Thanks for the patch. On Wed, Feb 05, 2014 at 05:42:18PM +0100, Laurent Pinchart wrote: ... diff --git a/drivers/media/v4l2-core/v4l2-subdev.c b/drivers/media/v4l2-core/v4l2-subdev.c index

Re: [PATCH v3 1/2] drivers/base: permit base components to omit the bind/unbind ops

2014-02-10 Thread Thierry Reding
On Fri, Feb 07, 2014 at 04:55:00PM +0100, Jean-Francois Moine wrote: Some simple components don't need to do any specific action on bind to / unbind from a master component. This patch permits such components to omit the bind/unbind operations. Signed-off-by: Jean-Francois Moine

Re: [PATCH v3 1/2] drivers/base: permit base components to omit the bind/unbind ops

2014-02-10 Thread Russell King - ARM Linux
On Mon, Feb 10, 2014 at 01:53:08PM +0100, Thierry Reding wrote: On Fri, Feb 07, 2014 at 04:55:00PM +0100, Jean-Francois Moine wrote: Some simple components don't need to do any specific action on bind to / unbind from a master component. This patch permits such components to omit the

Re: [PATCH 07/24] xc5000: properly report i2c write failures

2014-02-10 Thread Devin Heitmueller
On Mon, Feb 10, 2014 at 3:25 AM, Joonyoung Shim dofm...@gmail.com wrote: As you said, i modified like below patch and it is working well. Thanks for your advice. diff --git a/drivers/media/usb/au0828/au0828-cards.c b/drivers/media/usb/au0828/au0828-cards.c index 0cb7c28..9936875 100644 ---

Re: [PATCH] [media] v4l: omap4iss: Remove VIDEO_OMAP4_DEBUG

2014-02-10 Thread Laurent Pinchart
Hi Paul, Thank you for the patch. On Sunday 09 February 2014 16:09:37 Paul Bolle wrote: Commit d632dfefd36f ([media] v4l: omap4iss: Add support for OMAP4 camera interface - Build system) added a Kconfig entry for VIDEO_OMAP4_DEBUG. But nothing uses that symbol. This entry was apparently

Re: [PATCH v3 1/2] drivers/base: permit base components to omit the bind/unbind ops

2014-02-10 Thread Jean-Francois Moine
On Mon, 10 Feb 2014 13:12:33 + Russell King - ARM Linux li...@arm.linux.org.uk wrote: I've NAK'd these patches already - I believe they're based on a mis-understanding of how this should be used. I believe Jean-Francois has only looked at the core, rather than looking at the imx-drm

Re: [PATCH 43/47] adv7604: Control hot-plug detect through a GPIO

2014-02-10 Thread Laurent Pinchart
Hi Lars, On Thursday 06 February 2014 14:10:05 Lars-Peter Clausen wrote: On 02/05/2014 05:42 PM, Laurent Pinchart wrote: Replace the ADV7604-specific hotplug notifier with a GPIO to control the HPD pin directly instead of going through the bridge driver. Signed-off-by: Laurent Pinchart

Re: [PATCH v3 1/2] drivers/base: permit base components to omit the bind/unbind ops

2014-02-10 Thread Russell King - ARM Linux
On Mon, Feb 10, 2014 at 03:35:51PM +0100, Jean-Francois Moine wrote: On Mon, 10 Feb 2014 13:12:33 + Russell King - ARM Linux li...@arm.linux.org.uk wrote: I've NAK'd these patches already - I believe they're based on a mis-understanding of how this should be used. I believe

Re: [PATCH] [media] v4l: omap4iss: Remove VIDEO_OMAP4_DEBUG

2014-02-10 Thread Paul Bolle
Laurent, On Mon, 2014-02-10 at 15:13 +0100, Laurent Pinchart wrote: On Sunday 09 February 2014 16:09:37 Paul Bolle wrote: Commit d632dfefd36f ([media] v4l: omap4iss: Add support for OMAP4 camera interface - Build system) added a Kconfig entry for VIDEO_OMAP4_DEBUG. But nothing uses that

Re: [PATCH] [media] v4l: omap4iss: Remove VIDEO_OMAP4_DEBUG

2014-02-10 Thread Laurent Pinchart
Hi Paul, On Monday 10 February 2014 16:13:51 Paul Bolle wrote: On Mon, 2014-02-10 at 15:13 +0100, Laurent Pinchart wrote: On Sunday 09 February 2014 16:09:37 Paul Bolle wrote: Commit d632dfefd36f ([media] v4l: omap4iss: Add support for OMAP4 camera interface - Build system) added a

[PATCH for v3.14] vb2: fix PREPARE_BUF regression.

2014-02-10 Thread Hans Verkuil
Fix an incorrect test in vb2_internal_qbuf() where only DEQUEUED buffers are allowed. But PREPARED buffers are also OK. Introduced by commit 4138111a27859dcc56a5592c804dd16bb12a23d1 (vb2: simplify qbuf/prepare_buf by removing callback). Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[REVIEW PATCH 3/8] rtl2832: remove unused if_dvbt config parameter

2014-02-10 Thread Antti Palosaari
All used tuners has get_if_frequency() callback and that parameter is not needed and will not needed as all upcoming tuner drivers should implement get_if_frequency(). Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2832.c | 6 --

[REVIEW PATCH 4/8] rtl2832: style changes and minor cleanup

2014-02-10 Thread Antti Palosaari
Most of those were reported by checkpatch.pl... debug module parameter is not used anywhere so remove it. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2832.c | 26 +++- drivers/media/dvb-frontends/rtl2832.h | 2 +-

[REVIEW PATCH 2/8] rtl28xxu: add module parameter to disable IR

2014-02-10 Thread Antti Palosaari
Disable IR interrupts in order to avoid SDR sample loss. IR interrupts causes some extra load for device and it seems be one reason to loss samples when sampling rate is high. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 7 +++ 1 file changed, 7

[REVIEW PATCH 0/8] SDR API - misc changes

2014-02-10 Thread Antti Palosaari
Split / group / merge changes as requested by Hans. This is first set, containing some not so directly SDR related changes. Antti Antti Palosaari (7): xc2028: silence compiler warnings rtl28xxu: add module parameter to disable IR rtl2832: remove unused if_dvbt config parameter rtl2832:

[REVIEW PATCH 6/8] rtl2832: add muxed I2C adapter for demod itself

2014-02-10 Thread Antti Palosaari
There was a deadlock between master I2C adapter and muxed I2C adapter. Implement two I2C muxed I2C adapters and leave master alone, just only for offering I2C adapter for these mux adapters. Reported-by: Luis Alves lja...@gmail.com Reported-by: Benjamin Larsson benja...@southpole.se

[REVIEW PATCH 1/6] v4l: add RF tuner gain controls

2014-02-10 Thread Antti Palosaari
Modern silicon RF tuners used nowadays has many controllable gain stages on signal path. Usually, but not always, there is at least 3 gain stages. Also on some cases there could be multiple gain stages within the ones specified here. However, I think that having these three controllable gain

[REVIEW PATCH 3/6] v4l: reorganize RF tuner control ID numbers

2014-02-10 Thread Antti Palosaari
It appears that controls are ordered by ID number. Change order of controls by reorganizing assigned IDs now as we can. It is not reasonable possible after the API is released. Leave some spare space between IDs too for future extensions. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti

[REVIEW PATCH 5/6] v4l: add enum_freq_bands support to tuner sub-device

2014-02-10 Thread Antti Palosaari
Add VIDIOC_ENUM_FREQ_BANDS, enumerate supported frequency bands, IOCTL support for sub-device tuners too. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- include/media/v4l2-subdev.h | 1 + 1 file changed, 1 insertion(+) diff --git

[REVIEW PATCH 0/6] SDR API - V4L implement needed controls and formats

2014-02-10 Thread Antti Palosaari
Split / group / merge changes as requested by Hans. Implement needed V4L2 controls and V4L stream formats. Antti Antti Palosaari (6): v4l: add RF tuner gain controls v4l: add RF tuner channel bandwidth control v4l: reorganize RF tuner control ID numbers v4l: uapi: add SDR formats CU8

[REVIEW PATCH 4/6] v4l: uapi: add SDR formats CU8 and CU16LE

2014-02-10 Thread Antti Palosaari
V4L2_SDR_FMT_CU8 — Complex unsigned 8-bit IQ sample V4L2_SDR_FMT_CU16LE — Complex unsigned 16-bit little endian IQ sample Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- include/uapi/linux/videodev2.h | 4 1 file changed, 4 insertions(+) diff --git

[REVIEW PATCH 2/6] v4l: add RF tuner channel bandwidth control

2014-02-10 Thread Antti Palosaari
Modern silicon RF tuners has one or more adjustable filters on signal path, in order to filter noise from desired radio channel. Add channel bandwidth control to tell the driver which is radio channel width we want receive. Filters could be then adjusted by the driver or hardware, using RF

[REVIEW PATCH 6/6] v4l: add control for RF tuner PLL lock flag

2014-02-10 Thread Antti Palosaari
Add volatile boolean control to indicate if tuner frequency synthesizer is locked to requested frequency. That means tuner is able to receive given frequency. Control is named as PLL lock, since frequency synthesizers are based of phase-locked-loop. Maybe more general name could be wise still?

[REVIEW PATCH 1/6] DocBook: V4L: add V4L2_SDR_FMT_CU8 - 'CU08'

2014-02-10 Thread Antti Palosaari
Document V4L2_SDR_FMT_CU8 SDR format. It is complex unsigned 8-bit IQ sample. Used by software defined radio devices. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hans.verk...@cisco.com --- .../DocBook/media/v4l/pixfmt-sdr-cu08.xml

[REVIEW PATCH 2/6] DocBook: V4L: add V4L2_SDR_FMT_CU16LE - 'CU16'

2014-02-10 Thread Antti Palosaari
Document V4L2_SDR_FMT_CU16LE format. It is complex unsigned 16-bit little endian IQ sample. Used by software defined radio devices. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi Acked-by: Hans Verkuil hans.verk...@cisco.com ---

[REVIEW PATCH 4/6] DocBook: media: document V4L2_CTRL_CLASS_RF_TUNER

2014-02-10 Thread Antti Palosaari
It is class for RF tuner specific controls, like gain controls, filters, signal strength. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- Documentation/DocBook/media/v4l/vidioc-g-ext-ctrls.xml | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

[REVIEW PATCH 5/8] rtl2832: provide muxed I2C adapter

2014-02-10 Thread Antti Palosaari
RTL2832 provides gated / repeater I2C adapter for tuner. Implement it as a muxed I2C adapter. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/Kconfig| 2 +- drivers/media/dvb-frontends/rtl2832.c | 26 ++

[REVIEW PATCH 1/8] xc2028: silence compiler warnings

2014-02-10 Thread Antti Palosaari
There is now new tuner types which are not handled on that switch-case. Print error if unknown tuner type is meet. drivers/media/tuners/tuner-xc2028.c: In function ‘generic_set_freq’: drivers/media/tuners/tuner-xc2028.c:1037:2: warning: enumeration value ‘V4L2_TUNER_ADC’ not handled in switch

[REVIEW PATCH 8/8] rtl2832: implement delayed I2C gate close

2014-02-10 Thread Antti Palosaari
Delay possible I2C gate close a little bit in order to see if there is next message coming to tuner in a sequence. Also, export private muxed I2C adapter. That is aimed only for SDR extension module as SDR belongs to same RTL2832 physical I2C bus (it is physically property of RTL2832, whilst it

[REVIEW PATCH 5/6] DocBook: document RF tuner bandwidth controls

2014-02-10 Thread Antti Palosaari
Add documentation for RF tuner bandwidth controls. These controls are used to set filters on tuner signal path. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- Documentation/DocBook/media/v4l/controls.xml | 19 +++ 1 file changed, 19

  1   2   >