[RFC PATCH] media: rename VFL_TYPE_GRABBER to _VIDEO

2019-09-25 Thread Hans Verkuil
We currently have the following devnode types: enum vfl_devnode_type { VFL_TYPE_GRABBER= 0, VFL_TYPE_VBI, VFL_TYPE_RADIO, VFL_TYPE_SUBDEV, VFL_TYPE_SDR, VFL_TYPE_TOUCH, VFL_TYPE_MAX /* Shall be the last one */ }; They all make sense,

Re: [ANN] Media sessions in Lyon in October: libcamera

2019-09-25 Thread Alexandre Courbot
On Tue, Sep 24, 2019 at 3:44 AM Laurent Pinchart wrote: > > Hi Shuah and Daniel, > > On Mon, Sep 23, 2019 at 08:21:58PM +0200, Daniel Gomez wrote: > > On Mon, 23 Sep 2019 at 20:16, Shuah Khan wrote: > > > On 9/23/19 9:57 AM, Laurent Pinchart wrote: > > >> On Mon, Sep 23, 2019 at 04:03:54PM +0100,

Re: regression(?) in cxusb

2019-09-25 Thread JP
On 9/25/19 8:19 PM, Frantisek Rysanek wrote: On 25 Sep 2019 at 20:31, Vincent McIntyre wrote: Hi I am seeing strange behaviour with the dvb-usb-cxusb.ko module. Things have been working fine until just recently. Target system is Ubuntu 16.04 LTS on amd64. I am using their 'hwe' kernel serie

Re: [Ksummit-discuss] [PATCH] media: add a subsystem profile documentation

2019-09-25 Thread Kees Cook
On Wed, Sep 25, 2019 at 10:13:37AM -0700, Joe Perches wrote: > On Thu, 2019-09-19 at 09:56 +0300, Dan Carpenter wrote: > > When I sent a patch, I use get_maintainer.pl then I add whoever the > > wrote the commit from the Fixes tag. Then I remove Colin King and Kees > > Cook from the CC list becaus

Re: regression(?) in cxusb

2019-09-25 Thread Frantisek Rysanek
On 25 Sep 2019 at 20:31, Vincent McIntyre wrote: > Hi > > I am seeing strange behaviour with the dvb-usb-cxusb.ko module. > Things have been working fine until just recently. > > Target system is Ubuntu 16.04 LTS on amd64. > I am using their 'hwe' kernel series. > > Symptoms: > * linux-image-4.

Re: [ANN] Media sessions in Lyon in October: codecs

2019-09-25 Thread Helen Koike
On 9/23/19 12:02 PM, Jacopo Mondi wrote: > Hi Hans, > > On Mon, Sep 23, 2019 at 04:12:55PM +0200, Hans Verkuil wrote: >> Hi all, >> >> Since we have three separate half-day sessions for different topics I decided >> to split the announcement for this in three emails as well, so these things >>

Re: [PATCH] media: vimc: Implement get/set selection

2019-09-25 Thread Helen Koike
+Hans +Shuah Hi Guilherme and Danilo, Thank you for the patch, please see my comments below. On 9/9/19 1:08 AM, Guilherme Alcarde Gallo wrote: > Add support for the scaler subdevice to respond VIDIOC_G_SELECTION and > VIDIOC_S_SELECTION ioctls with the following targets: > V4L2_SEL_TGT_COMPOSE_B

[PATCH] v4l2-ctl: add missing subdev usage in --help-all

2019-09-25 Thread Helen Koike
--help-all option was not displaying options from --help-subdev. Add missing subdev_usage() in usage_all() to fix it. Signed-off-by: Helen Koike --- utils/v4l2-ctl/v4l2-ctl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/v4l2-ctl/v4l2-ctl.cpp b/utils/v4l2-ctl/v4l2-ctl.cpp index 77e

Re: [Ksummit-discuss] [PATCH] media: add a subsystem profile documentation

2019-09-25 Thread Joe Perches
On Thu, 2019-09-19 at 09:56 +0300, Dan Carpenter wrote: > When I sent a patch, I use get_maintainer.pl then I add whoever the > wrote the commit from the Fixes tag. Then I remove Colin King and Kees > Cook from the CC list because they worked all over the tree and I know > them. I also normally r

Re: Submit new entries in Digital TV scan tables

2019-09-25 Thread Mauro Carvalho Chehab
Em Wed, 25 Sep 2019 21:03:46 +0500 Алексей escreveu: > Scan tables for DVB-T2 channels in Perm (Russia) Added, thanks! Thanks, Mauro

Submit new entries in Digital TV scan tables

2019-09-25 Thread Алексей
Hello! Please add my scan tables to your repository https://git.linuxtv.org/dtv-scan-tables.git/ path: root/dvb-t/ru-Perm See attachment. # Scan tables for DVB-T2 channels in Perm (Russia) # Created from https://perm.rtrs.ru/tv/channels/ # Contributed by: ааЛаЕаКбаЕаЙ аœаИб…аАаЙаЛаОаВ # La

Re: [PATCH v4 1/3] media: v4l2-subdev: add g_csi_active_lanes() op

2019-09-25 Thread Philipp Zabel
Hi Jacopo, On Wed, 2019-09-25 at 16:51 +0200, Jacopo Mondi wrote: > Hello, >sorry for having missed this Thank you and Laurent for completing the list of interested parties, I had completely forgotten about the frame descriptors. > On Wed, Sep 25, 2019 at 04:41:13PM +0300, Laurent Pinchart w

Re: [PATCH v4 1/3] media: v4l2-subdev: add g_csi_active_lanes() op

2019-09-25 Thread Philipp Zabel
Hi Laurent, On Wed, 2019-09-25 at 16:41 +0300, Laurent Pinchart wrote: > Hi Philipp, > > (CC'ing Sakari, Jacopo, Kieran and Niklas) > > Thank you for the patch. > > On Tue, Sep 24, 2019 at 01:49:53PM +0200, Philipp Zabel wrote: > > Add a subdevice video operation that allows to query the number

Re: [PATCH v4 1/3] media: v4l2-subdev: add g_csi_active_lanes() op

2019-09-25 Thread Jacopo Mondi
Hello, sorry for having missed this On Wed, Sep 25, 2019 at 04:41:13PM +0300, Laurent Pinchart wrote: > Hi Philipp, > > (CC'ing Sakari, Jacopo, Kieran and Niklas) > > Thank you for the patch. > > On Tue, Sep 24, 2019 at 01:49:53PM +0200, Philipp Zabel wrote: > > Add a subdevice video operation

[PATCH] vidioc-g-fbuf.rst: remove duplicate 'struct'

2019-09-25 Thread Hans Verkuil
"struct struct" -> "struct" Signed-off-by: Hans Verkuil --- diff --git a/Documentation/media/uapi/v4l/vidioc-g-fbuf.rst b/Documentation/media/uapi/v4l/vidioc-g-fbuf.rst index 7b6179627803..2d197e6bba8f 100644 --- a/Documentation/media/uapi/v4l/vidioc-g-fbuf.rst +++ b/Documentation/media/uapi/v4l

Re: [PATCH v4 1/3] media: v4l2-subdev: add g_csi_active_lanes() op

2019-09-25 Thread Laurent Pinchart
Hi Philipp, (CC'ing Sakari, Jacopo, Kieran and Niklas) Thank you for the patch. On Tue, Sep 24, 2019 at 01:49:53PM +0200, Philipp Zabel wrote: > Add a subdevice video operation that allows to query the number > of data lanes a MIPI CSI-2 TX is actively transmitting on. > > Suggested-by: Hans Ve

[bug report] [media] rc: Introduce hix5hd2 IR transmitter driver

2019-09-25 Thread Dan Carpenter
[ Ancient code, but maybe someone knows the answer. - dan ] Hello Guoxiong Yan, The patch a84fcdaa9058: "[media] rc: Introduce hix5hd2 IR transmitter driver" from Aug 30, 2014, leads to the following static checker warning: ./drivers/media/rc/ir-hix5hd2.c:112 (null)() warn: odd

Re: regression(?) in cxusb

2019-09-25 Thread Vincent McIntyre
Sorry forgot one of the attachments... journalctl.4.15.0-58+media.txt.gz Description: GNU Zip compressed data

regression(?) in cxusb

2019-09-25 Thread Vincent McIntyre
Hi I am seeing strange behaviour with the dvb-usb-cxusb.ko module. Things have been working fine until just recently. Target system is Ubuntu 16.04 LTS on amd64. I am using their 'hwe' kernel series. Symptoms: * linux-image-4.15.0-58-generic + media-build from a few weeks ago works fine * linu

[PATCH v2] v4l2-compliance: Verify metadata formats

2019-09-25 Thread Vandana BN
Metadata formats may not be defined for a given input or output type. This patch checks, if given input/output type enumerates metadata formats and validates G_FMT accordingly. Signed-off-by: Vandana BN --- utils/v4l2-compliance/v4l2-test-formats.cpp | 17 + 1 file changed, 13 in

[PATCH v7 2/2] vivid: fixes for v4l2-compliance issues.

2019-09-25 Thread Vandana BN
From: Hans Verkuil This patch fixes v4l2-compliance issues seen on metadata device. Signed-off-by: Hans Verkuil --- drivers/media/platform/vivid/vivid-core.c | 16 +++- drivers/media/platform/vivid/vivid-meta-cap.c | 2 +- drivers/media/platform/vivid/vivid-vid-cap.c | 5 +++

[PATCH v7 0/2] vivid: Add metadata capture support

2019-09-25 Thread Vandana BN
This Patch series adds support for emulation of metadata capture in vivid driver. UVCH metadata format is supported as it is widely used in webcams. https://hverkuil.home.xs4all.nl/spec/uapi/v4l/pixfmt-meta-uvc.html Regards, Vandana. Hans Verkuil (1): vivid: fixes for v4l2-compliance issues.

[PATCH v7 1/2] vivid: Add metadata capture support

2019-09-25 Thread Vandana BN
This patch adds meatadata capture support in vivid driver. Adds new files for metadata capture. Adds vivid controls to generate PTS and SCR for metadata stream. Signed-off-by: Vandana BN --- drivers/media/platform/vivid/Makefile | 2 +- drivers/media/platform/vivid/vivid-core.c |

Re: [PATCH v2 2/2] cec-compliance: add/refactor tuner control tests

2019-09-25 Thread Hans Verkuil
Hi Jiunn, On 9/24/19 9:24 PM, Jiunn Chang wrote: > Tests added/refactored for new features added to the cec-follower. > > Analog tuner control tests added/refactored: > - give analog tuner status > - select tuner analog service > - analog tuner step decrement > - analog tuner step increme

Re: [PATCH v2 1/2] cec-follower: add tuner step increment/decrement

2019-09-25 Thread Hans Verkuil
On 9/25/19 8:54 AM, Hans Verkuil wrote: > Hi Jiunn, > > On 9/24/19 9:24 PM, Jiunn Chang wrote: >> Tuner step increment/decrement will select the next highest or next >> lowest service frequency. There are a total of three possible >> frequencies from analog_freqs_khz given a broadcast type and sy