[PATCH] Added bayer 8-bit patterns to uvcvideo

2014-01-20 Thread Edgar Thier
Add bayer 8-bit GUIDs to uvcvideo and associate them with the corresponding V4L2 pixel formats. Signed-off-by: Edgar Thier i...@edgarthier.net --- drivers/media/usb/uvc/uvc_driver.c | 22 +- drivers/media/usb/uvc/uvcvideo.h | 12 2 files changed, 33

[PATCH] s3c-camif: Remove use of deprecated V4L2_CTRL_FLAG_DISABLED.

2014-01-20 Thread Hans Verkuil
I came across this while checking the kernel use of V4L2_CTRL_FLAG_DISABLED. This flag should not be used with the control framework. Instead, just don't add the control at all. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/s3c-camif/camif-capture.c | 15

Re: [PATCH] s3c-camif: Remove use of deprecated V4L2_CTRL_FLAG_DISABLED.

2014-01-20 Thread Sylwester Nawrocki
On 20/01/14 10:27, Hans Verkuil wrote: I came across this while checking the kernel use of V4L2_CTRL_FLAG_DISABLED. This flag should not be used with the control framework. Instead, just don't add the control at all. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Acked-by: Sylwester

Re:

2014-01-20 Thread Mark Reyes Guus
Good day. I am Mark Reyes Guus, I work with Abn Amro Bank as an auditor. I have a proposition to discuss with you. Should you be interested, please e-mail back to me. Private Email: markreyesg...@abnmrob.co.uk OR markguus.reye...@yahoo.nl Yours Sincerely, Mark Reyes Guus. -- To unsubscribe

[RFCv2 PATCH 17/21] v4l2-ctrls.c: return elem_size instead of strlen

2014-01-20 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 ---

[RFCv2 PATCH 14/21] v4l2-ctrls: prepare for matrix support.

2014-01-20 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

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

2014-01-20 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 --- drivers/media/radio/si4713/si4713.c

[RFCv2 PATCH 15/21] v4l2-ctrls: type_ops can handle matrix elements.

2014-01-20 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

[RFCv2 PATCH 02/21] v4l2-ctrls: add unit string.

2014-01-20 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

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

2014-01-20 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 --- drivers/media/v4l2-core/v4l2-ctrls.c | 26 +- include/media/v4l2-ctrls.h

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

2014-01-20 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. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[RFCv2 PATCH 04/21] videodev2.h: add initial support for complex controls.

2014-01-20 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 datastructures to be used with the control framework. Such controls always have the V4L2_CTRL_FLAG_HIDDEN flag set. Note that 'simple' controls can

[RFCv2 PATCH 21/21] v4l2-controls.txt: update to the new way of accessing controls.

2014-01-20 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 --- Documentation/video4linux/v4l2-controls.txt | 46 +++-- 1

[RFCv2 PATCH 08/21] v4l2-ctrls: create type_ops.

2014-01-20 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 -

[RFCv2 PATCH 00/21] Add support for complex controls

2014-01-20 Thread Hans Verkuil
This patch series adds support for complex controls (aka 'Properties') to the control framework. It is the first part of a larger patch series that adds support for configuration stores, motion detection matrix controls and support for 'Multiple Selections'. This patch series is based on this

[RFCv2 PATCH 16/21] v4l2-ctrls: add matrix support.

2014-01-20 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 | 106 --- 1 file changed, 61 insertions(+), 45 deletions(-) diff --git

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

2014-01-20 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 ---

[RFCv2 PATCH 10/21] v4l2-ctrls: compare values only once.

2014-01-20 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.

[RFCv2 PATCH 06/21] v4l2-ctrls: add support for complex types.

2014-01-20 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

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

2014-01-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Codingstyle fix. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-ctrls.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c

[RFCv2 PATCH 07/21] v4l2: integrate support for VIDIOC_QUERY_EXT_CTRL.

2014-01-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 1 + drivers/media/v4l2-core/v4l2-dev.c| 2 ++ drivers/media/v4l2-core/v4l2-ioctl.c | 31 +++

[RFCv2 PATCH 19/21] DocBook media: update VIDIOC_G/S/TRY_EXT_CTRLS.

2014-01-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com 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 a/Documentation/DocBook/media/v4l/vidioc-g-ext-ctrls.xml

[RFCv2 PATCH 20/21] DocBook media: update control section.

2014-01-20 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 --- Documentation/DocBook/media/v4l/controls.xml | 185 +-- 1 file changed, 118 insertions(+), 67 deletions(-) diff --git

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

2014-01-20 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

[RFCv2 PATCH 18/21] DocBook media: document VIDIOC_QUERY_EXT_CTRL.

2014-01-20 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- .../DocBook/media/v4l/vidioc-queryctrl.xml | 223 + 1 file changed, 189 insertions(+), 34 deletions(-) diff --git a/Documentation/DocBook/media/v4l/vidioc-queryctrl.xml

[RFCv2 PATCH 05/21] videodev2.h: add struct v4l2_query_ext_ctrl and VIDIOC_QUERY_EXT_CTRL.

2014-01-20 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

Re: [PATCH v5 4/4] [media] exynos-scaler: Add DT bindings for SCALER driver

2014-01-20 Thread Shaik Ameer Basha
Hi Bartlomiej, Thanks for the review. Yes you are right. I didn't add the users for this driver. Once the driver gets merged, I will send more patches with the users. Already this driver merge is pending on DT maintainers ack and I don't want to complex it more by adding DT patches :)

Re: Patch mceusb: fix invalid urb interval

2014-01-20 Thread Jarod Wilson
On Sun, Jan 19, 2014 at 09:56:48PM +, Sean Young wrote: On Sun, Jan 19, 2014 at 10:05:15PM +0100, Martin Kittel wrote: Hi Mauro, hi Sean, ... From a71676dad29adef9cafb08598e693ec308ba2e95 Mon Sep 17 00:00:00 2001 From: Martin Kittel li...@martin-kittel.de Date: Sun, 19 Jan 2014

Re: Patch mceusb: fix invalid urb interval

2014-01-20 Thread Jarod Wilson
On Wed, Jan 15, 2014 at 04:52:45PM +, Sean Young wrote: On Wed, Jan 15, 2014 at 01:49:17PM -0200, Mauro Carvalho Chehab wrote: Hi Martin, Em Wed, 11 Dec 2013 21:34:55 +0100 Martin Kittel li...@martin-kittel.de escreveu: Hi Mauro, hi Sean, thanks for considering the

[PATCH] dvb-frontends: Add static

2014-01-20 Thread Alan
Add static to tda m_* variables in the header. They don't need to be global. With some cleanup they could probably even be marked const. Reported-by: Christian Schneider christ...@ch-sc.de Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=68191 Signed-off-by: Alan Cox a...@linux.intel.com

Re: Problem getting sensible video out of Hauppauge HVR-1100 composite

2014-01-20 Thread Neil Bird
Around about 19/01/14 17:54, Steven Toth scribbled ... It doesn't have a MPEG hardware compressor like the 350, you are reading raw pixel data (160Mbps) from the device node. Use an application that renders raw video data, such as TVTime. Ah, OK, thanks, I managed to miss that. I can get

Re: Problem getting sensible video out of Hauppauge HVR-1100 composite

2014-01-20 Thread Devin Heitmueller
On Mon, Jan 20, 2014 at 1:26 PM, Neil Bird gn...@fnxweb.com wrote: But, flip me, it's spewing 800 MB+ for a minute's worth of video. That'd be ~48GB for an hour's TV (the intention is to use this for a MythTV PVR). Am I likely to be able to do anything about that? Even with

Re: Problem getting sensible video out of Hauppauge HVR-1100 composite

2014-01-20 Thread Steven Toth
It doesn't have a MPEG hardware compressor like the 350, you are reading raw pixel data (160Mbps) from the device node. Use an application that renders raw video data, such as TVTime. Ah, OK, thanks, I managed to miss that. I can get a picture out of it by using vlc's open-device. So

Re: Problem getting sensible video out of Hauppauge HVR-1100 composite

2014-01-20 Thread Neil Bird
Around about 20/01/14 18:34, Steven Toth scribbled ... Generally not a good idea to do what you're doing. Generally a good idea to use a card with hardware compression features for a myth DVR. Yeah; I'd spent so long trying to find a card with an s-video input that was likely to work

Re: Problem getting sensible video out of Hauppauge HVR-1100 composite

2014-01-20 Thread Steven Toth
S-video requirements are a dying breed, unfortunately. Don't suppose you know of any? I see the Hauppauge HVR-2200 does, but it looks like the drivers for that are a bit too “fresh” for me to be able to risk another blind purchase (and may require kernel 3.2+, where I'm on SL6 with

Re: Problem getting sensible video out of Hauppauge HVR-1100 composite

2014-01-20 Thread Neil Bird
Around about 20/01/14 18:46, Steven Toth scribbled ... I'd backport the HVR2200 driver into 2.6.32 (it may already exist with analog features in .32 btw) and go with a 2200. Hah, not my first choice :) -- [phoenix@fnx ~]# rm -f .signature [phoenix@fnx ~]# ls -l .signature ls: .signature: No

Re: [V4l2-library] Valgrind error

2014-01-20 Thread Mauro Carvalho Chehab
Hi João, Better to report it to linux-media@vger.kernel.org, as I suspect that almost nobody is using v4l2-library ML anymore. Regards, Mauro Em Mon, 20 Jan 2014 16:24:36 + João M. S. Silva joao.m.santos.si...@gmail.com escreveu: Hi, I faced the Valgrind error described in

Re: [V4l2-library] Valgrind error

2014-01-20 Thread Mauro Carvalho Chehab
Hi João, Better to report it to linux-media@vger.kernel.org, as I suspect that almost nobody is using v4l2-library anymore. Regards, Mauro Em Mon, 20 Jan 2014 16:24:36 + João M. S. Silva joao.m.santos.si...@gmail.com escreveu: Hi, I faced the Valgrind error described in

[RFC PATCH 1/4] rc-core: Add defintions needed for sysfs callback

2014-01-20 Thread Antti Seppälä
Introduce a list for wake scancode values and add callback for sysfs reads/writes. Signed-off-by: Antti Seppälä a.sepp...@gmail.com --- include/media/rc-core.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/media/rc-core.h b/include/media/rc-core.h index

[RFC PATCH 3/4] rc-loopback: Add support for reading/writing wakeup scancodes via sysfs

2014-01-20 Thread Antti Seppälä
This patch adds sample support for reading/writing the wakeup scancodes to rc-loopback device driver. Signed-off-by: Antti Seppälä a.sepp...@gmail.com --- drivers/media/rc/rc-loopback.c | 31 +++ 1 file changed, 31 insertions(+) diff --git

[RFC PATCH 2/4] rc-core: Add support for reading/writing wakeup scancodes via sysfs

2014-01-20 Thread Antti Seppälä
This patch adds support for /sys/class/rc/rc?/wakeup_scancodes file which can be used to read/write new wakeup scancodes to/from hardware. The contents of the scancode file are simply white space separated bytes. How to read: cat /sys/class/rc/rc?/wakeup_scancodes How to write: echo 0x1 0x2

[RFC PATCH 0/4] rc: Adding support for sysfs wakeup scancodes

2014-01-20 Thread Antti Seppälä
This patch series introduces a simple sysfs file interface for reading and writing wakeup scancodes to rc drivers. This is an improved version of my previous patch for nuvoton-cir which did the same thing via module parameters. This is a more generic approach allowing other drivers to utilize the

[RFC PATCH 4/4] nuvoton-cir: Add support for reading/writing wakeup scancodes via sysfs

2014-01-20 Thread Antti Seppälä
This patch adds support for reading/writing wakeup scancodes via sysfs to nuvoton-cir hardware. Signed-off-by: Antti Seppälä a.sepp...@gmail.com --- drivers/media/rc/nuvoton-cir.c | 81 ++ drivers/media/rc/nuvoton-cir.h | 2 ++ 2 files changed, 83

Re: Support for Empia 2980 video/audio capture chip set

2014-01-20 Thread Frank Schäfer
On 17.01.2014 01:11, Keith Lawson wrote: On Wed, Jan 15, 2014 at 10:37:44PM +0100, Frank Schäfer wrote: Am 14.01.2014 01:48, schrieb Keith Lawson: On 2014-01-12 11:56, Frank Schäfer wrote: On 09.01.2014 02:02, Keith Lawson wrote: Hello, I sent the following message to the linux-usb mailing

Re: Patch mceusb: fix invalid urb interval

2014-01-20 Thread Sean Young
On Wed, Jan 15, 2014 at 09:55:59PM -0500, Jarod Wilson wrote: On Wed, Jan 15, 2014 at 04:52:45PM +, Sean Young wrote: On Wed, Jan 15, 2014 at 01:49:17PM -0200, Mauro Carvalho Chehab wrote: Hi Martin, Em Wed, 11 Dec 2013 21:34:55 +0100 Martin Kittel li...@martin-kittel.de

Conexant PCI-8604PW 4 channel BNC Video capture card (bttv)

2014-01-20 Thread Robert Longbottom
Hi, I've just bought one of these cards which is based on the Conexant Fusion 878A chip thinking it would just work under Linux being bttv-based. Unfortunately (for me) it's not and it is just picked up as a generic unknown card by the bttv driver. Does anyone have one of these that is

[PATCH 1/4] [media] iguanair: explain tx carrier setup

2014-01-20 Thread Sean Young
Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/iguanair.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/media/rc/iguanair.c b/drivers/media/rc/iguanair.c index fdae05c..99a3a5a 100644 --- a/drivers/media/rc/iguanair.c +++

[PATCH 2/4] [media] iguanair: simplify tx loop

2014-01-20 Thread Sean Young
Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/iguanair.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/media/rc/iguanair.c b/drivers/media/rc/iguanair.c index 99a3a5a..a83519a 100644 --- a/drivers/media/rc/iguanair.c +++

[PATCH 3/4] [media] mceusb: remove redundant function and defines

2014-01-20 Thread Sean Young
Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/mceusb.c | 92 +++ 1 file changed, 28 insertions(+), 64 deletions(-) diff --git a/drivers/media/rc/mceusb.c b/drivers/media/rc/mceusb.c index a25bb15..3a4f95f 100644 ---

[PATCH 4/4] [media] mceusb: improve error logging

2014-01-20 Thread Sean Young
A number of recent bug reports involve usb_submit_urb() failing which was only reported with debug parameter on. In addition, remove custom debug function. Signed-off-by: Sean Young s...@mess.org --- drivers/media/rc/mceusb.c | 180 ++ 1 file changed,

Re: [RFCv2] Device Tree bindings for OMAP3 Camera System

2014-01-20 Thread Sylwester Nawrocki
Hi, On 01/20/2014 05:19 AM, Sakari Ailus wrote: Hi Sebastian, I've also been working on this (besides others); what I have however are mostly experimental patches. I'm also using patches from Laurent, Florian Vaussard (IOMMU) and Hiroshi Doyu (IOMMU as well). My tree is here:

Re: Conexant PCI-8604PW 4 channel BNC Video capture card (bttv)

2014-01-20 Thread Andy Walls
Robert Longbottom rongb...@googlemail.com wrote: Hi, I've just bought one of these cards which is based on the Conexant Fusion 878A chip thinking it would just work under Linux being bttv-based. Unfortunately (for me) it's not and it is just picked up as a generic unknown card by the bttv

Re: [RFCv2] Device Tree bindings for OMAP3 Camera System

2014-01-20 Thread Sebastian Reichel
Hi, On Mon, Jan 20, 2014 at 11:16:43PM +0100, Sylwester Nawrocki wrote: On 01/20/2014 05:19 AM, Sakari Ailus wrote: I've also been working on this (besides others); what I have however are mostly experimental patches. [...] Thanks. I will have a look at it. [...] Over 80 characters per

Re: ov3640 sensor - CCDC won't become idle!

2014-01-20 Thread Laurent Pinchart
Hi Peter, On Friday 17 January 2014 15:45:22 Peter Meerwald wrote: Hello, as the subject says I got a problem with the ccdc. My pipeline is: sensor - ccdc - memory By doing some research I found a appropriate answer from Laurent: The OMAP3 ISP is quite picky about its input

Patch for max2165.c to correct invalid max frequency

2014-01-20 Thread KS Ng - dmbth
Dear Maintainers, I would like to request for a patch as captioned below to correct the invalid max. frequency as currently set in max2165.c. It's resulting in a new TV channel using frequency 802MHz not receivable. I've tested it OK for my dvb adapter. Thanks, K.S. Ng diff -r -u

cron job: media_tree daily build: WARNINGS

2014-01-20 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: Tue Jan 21 04:00:49 CET 2014 git branch: test git hash: 587d1b06e07b4a079453c74ba9edf17d21931049 gcc

[PATCH v2] media: i2c: mt9p031: Check return value of clk_prepare_enable/clk_set_rate

2014-01-20 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com clk_set_rate(), clk_prepare_enable() functions can fail, so check the return values to avoid surprises. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- Changes for v2: 1: Called regulator_bulk_disable() in the error path