[GIT PULL FOR v3.18] cx23885: convert to the latest frameworks, including vb2

2014-08-28 Thread Hans Verkuil
Hi Mauro, This pull request converts the cx23885 driver to the latest V4L2 core frameworks, removing about 1000 lines in the process. It now passes the v4l2-compliance tests and, frankly, feels much more robust. I have tested this with my HVR-1800 board with video (compressed and uncompressed),

[GIT PULL FOR v3.18] Add vivid test driver, remove old vivi test driver

2014-08-28 Thread Hans Verkuil
Hi Mauro, This adds the new vivid driver as a replacement for the old vivi. This pull request is identical to the v2 patch series posted earlier: http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/81354 except for the final patch that removes the vivi driver which is new t

[GIT PULL FOR v3.18] Add driver for tw68xx PCI grabber boards

2014-08-28 Thread Hans Verkuil
This adds the tw68 PCI driver. These two patches are identical to the v3 patch series I posted earlier: http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/81407 Regards, Hans The following changes since commit b250392f7b5062cf026b1423e27265e278fd6b30: [media] m

[PATCH] [media] v4l: ti-vpe: Remove casting the return value which is a void pointer

2014-08-28 Thread Jingoo Han
Casting the return value which is a void pointer is redundant. The conversion from void pointer to any other pointer type is guaranteed by the C programming language. Signed-off-by: Jingoo Han --- drivers/media/platform/ti-vpe/vpe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff -

Re: [PATCH v3 2/3] rc: Introduce hix5hd2 IR transmitter driver

2014-08-28 Thread Varka Bhadram
On 08/28/2014 08:46 PM, Zhangfei Gao wrote: From: Guoxiong Yan IR transmitter driver for Hisilicon hix5hd2 soc By default all protocols are disabled. For example nec decoder can be enabled by either 1. ir-keytable -p nec 2. echo nec > /sys/class/rc/rc0/protocols See see Documentation/ABI/testi

Re: [PATCH v3 1/3] rc: Add DT bindings for hix5hd2

2014-08-28 Thread Varka Bhadram
On 08/28/2014 08:46 PM, Zhangfei Gao wrote: From: Guoxiong Yan Signed-off-by: Guoxiong Yan Signed-off-by: Zhangfei Gao --- .../devicetree/bindings/media/hix5hd2-ir.txt | 25 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings

cron job: media_tree daily build: WARNINGS

2014-08-28 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: Fri Aug 29 04:00:15 CEST 2014 git branch: test git hash: b250392f7b5062cf026b1423e27265e278fd6b30 gcc versi

Re: Advice on DVB-S/S2 card and CAM support

2014-08-28 Thread Antti Palosaari
On 08/28/2014 05:44 PM, Kaya Saman wrote: In my research I got suggested the Digital Devices line of products: http://www.digitaldevices.de/ They are German so hopefully the quality will be extremely good and they all seem natively supported. Not natively supported. In my understanding ddbrid

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-08-28 Thread Antti Palosaari
moikka! On 08/28/2014 12:07 PM, Akihiro TSUKADA wrote: moikka, thanks for the comment. I have feeling DVBv5 API is aimed to transfer data via property cached. I haven't done much driver for DVBv5 statistics, but recently I implemented CNR (DVBv5 stats) to Si2168 driver and it just writes all t

Re: Status of g_webcam uvc-gadget

2014-08-28 Thread Laurent Pinchart
Hi Ricardo, On Wednesday 27 August 2014 18:09:13 Ricardo Ribalda Delgado wrote: > Hello > > Is somebody using/supporting g_webcam? I believe so, as I get kernel patches from time to time. > The only reference userland server is uvc-gadget from > http://git.ideasonboard.org/?p=uvc-gadget.git;a=s

Re: [PATCH] Documentation/video4linux: don't build without CONFIG_VIDEO_V4L2

2014-08-28 Thread Andrey Wagin
2014-08-29 0:42 GMT+04:00 Randy Dunlap : > On 08/28/14 13:34, Andrey Vagin wrote: >> Otherwise we get warnings: >> WARNING: "vb2_ops_wait_finish" >> [Documentation//video4linux/v4l2-pci-skeleton.ko] undefined! >> WARNING: "vb2_ops_wait_prepare" >> [Documentation//video4linux/v4l2-pci-skeleton.ko]

Re: [PATCH] Documentation/video4linux: don't build without CONFIG_VIDEO_V4L2

2014-08-28 Thread Randy Dunlap
On 08/28/14 13:34, Andrey Vagin wrote: > Otherwise we get warnings: > WARNING: "vb2_ops_wait_finish" > [Documentation//video4linux/v4l2-pci-skeleton.ko] undefined! > WARNING: "vb2_ops_wait_prepare" > [Documentation//video4linux/v4l2-pci-skeleton.ko] undefined! > ... > WARNING: "video_unregister_d

[PATCH] Documentation/video4linux: don't build without CONFIG_VIDEO_V4L2

2014-08-28 Thread Andrey Vagin
Otherwise we get warnings: WARNING: "vb2_ops_wait_finish" [Documentation//video4linux/v4l2-pci-skeleton.ko] undefined! WARNING: "vb2_ops_wait_prepare" [Documentation//video4linux/v4l2-pci-skeleton.ko] undefined! ... WARNING: "video_unregister_device" [Documentation//video4linux/v4l2-pci-skeleton

Hauppauge WinTV-HVR 1900 high BER and unable to switch to Composite input

2014-08-28 Thread Kaya Saman
Hi, [p.s. sorry if this appears twice, I tried attaching the log output files but not sure if the list software allows that, so have added to Dropbox instead] checking the wiki the WinTV HVR-1900 is suggested as supported: http://www.linuxtv.org/wiki/index.php/Pvrusb2 http://www.linuxtv.or

Re: randconfig build error with next-20140828, in drivers/media/radio/radio-miropcm20.c

2014-08-28 Thread Sudip Mukherjee
On Thu, Aug 28, 2014 at 09:17:14AM -0700, Jim Davis wrote: > Building with the attached random configuration file, > > CC [M] drivers/media/radio/radio-miropcm20.o > drivers/media/radio/radio-miropcm20.c: In function ‘rds_waitread’: > drivers/media/radio/radio-miropcm20.c:90:3: error: implicit >

Re: [RFC v2] [media] v4l2: add V4L2 pixel format array and helper functions

2014-08-28 Thread Hans Verkuil
On 08/28/2014 07:32 PM, Hans Verkuil wrote: > On 08/28/2014 07:18 PM, Mauro Carvalho Chehab wrote: >> Em Thu, 28 Aug 2014 18:40:53 +0200 >> Hans Verkuil escreveu: >> >>> On 08/28/2014 06:25 PM, Laurent Pinchart wrote: Hi Philipp, On Thursday 28 August 2014 18:09:35 Philipp Zabel wro

Re: [RFC v2] [media] v4l2: add V4L2 pixel format array and helper functions

2014-08-28 Thread Hans Verkuil
On 08/28/2014 07:18 PM, Mauro Carvalho Chehab wrote: > Em Thu, 28 Aug 2014 18:40:53 +0200 > Hans Verkuil escreveu: > >> On 08/28/2014 06:25 PM, Laurent Pinchart wrote: >>> Hi Philipp, >>> >>> On Thursday 28 August 2014 18:09:35 Philipp Zabel wrote: Am Donnerstag, den 28.08.2014, 14:24 +0200

Re: Advice on DVB-S/S2 card and CAM support

2014-08-28 Thread Kaya Saman
On 08/28/2014 05:26 PM, P. van Gaans wrote: On 08/28/2014 04:44 PM, Kaya Saman wrote: On 08/28/2014 04:47 AM, P. van Gaans wrote: On 07/28/2014 01:44 AM, Kaya Saman wrote: Hi, I'm wondering what the best solution for getting satellite working on Linux is? Currently I have a satellite box wi

Re: [RFC v2] [media] v4l2: add V4L2 pixel format array and helper functions

2014-08-28 Thread Mauro Carvalho Chehab
Em Thu, 28 Aug 2014 18:40:53 +0200 Hans Verkuil escreveu: > On 08/28/2014 06:25 PM, Laurent Pinchart wrote: > > Hi Philipp, > > > > On Thursday 28 August 2014 18:09:35 Philipp Zabel wrote: > >> Am Donnerstag, den 28.08.2014, 14:24 +0200 schrieb Laurent Pinchart: > A driver could then do the

[PATCH -next] media/radio: fix radio-miropcm20.c build with io.h header file

2014-08-28 Thread Randy Dunlap
edia/radio/radio-miropcm20.c |1 + 1 file changed, 1 insertion(+) Index: linux-next-20140828/drivers/media/radio/radio-miropcm20.c === --- linux-next-20140828.orig/drivers/media/radio/radio-miropcm20.c +++ linux-next-20140828/driver

Re: [RFC v2] [media] v4l2: add V4L2 pixel format array and helper functions

2014-08-28 Thread Hans Verkuil
On 08/28/2014 06:25 PM, Laurent Pinchart wrote: > Hi Philipp, > > On Thursday 28 August 2014 18:09:35 Philipp Zabel wrote: >> Am Donnerstag, den 28.08.2014, 14:24 +0200 schrieb Laurent Pinchart: A driver could then do the following: static struct v4l2_pixfmt_info driver_formats[] =

Re: Advice on DVB-S/S2 card and CAM support

2014-08-28 Thread P. van Gaans
On 08/28/2014 04:44 PM, Kaya Saman wrote: On 08/28/2014 04:47 AM, P. van Gaans wrote: On 07/28/2014 01:44 AM, Kaya Saman wrote: Hi, I'm wondering what the best solution for getting satellite working on Linux is? Currently I have a satellite box with CAM module branded by the Satellite TV pro

Re: [RFC v2] [media] v4l2: add V4L2 pixel format array and helper functions

2014-08-28 Thread Laurent Pinchart
Hi Philipp, On Thursday 28 August 2014 18:09:35 Philipp Zabel wrote: > Am Donnerstag, den 28.08.2014, 14:24 +0200 schrieb Laurent Pinchart: > > > A driver could then do the following: > > > > > > static struct v4l2_pixfmt_info driver_formats[] = { > > > > > > { .pixelformat = V4L2_PIX_FMT_YUYV

Re: [PATCH v3 2/3] rc: Introduce hix5hd2 IR transmitter driver

2014-08-28 Thread Sean Young
On Thu, Aug 28, 2014 at 11:16:16PM +0800, Zhangfei Gao wrote: > From: Guoxiong Yan > > IR transmitter driver for Hisilicon hix5hd2 soc > > By default all protocols are disabled. > For example nec decoder can be enabled by either > 1. ir-keytable -p nec > 2. echo nec > /sys/class/rc/rc0/protocols

randconfig build error with next-20140828, in drivers/media/radio/radio-miropcm20.c

2014-08-28 Thread Jim Davis
Building with the attached random configuration file, CC [M] drivers/media/radio/radio-miropcm20.o drivers/media/radio/radio-miropcm20.c: In function ‘rds_waitread’: drivers/media/radio/radio-miropcm20.c:90:3: error: implicit declaration of function ‘inb’ [-Werror=implicit-function-declaration]

Re: [RFC v2] [media] v4l2: add V4L2 pixel format array and helper functions

2014-08-28 Thread Philipp Zabel
Hi Laurent, Am Donnerstag, den 28.08.2014, 14:24 +0200 schrieb Laurent Pinchart: > > A driver could then do the following: > > > > static struct v4l2_pixfmt_info driver_formats[] = { > > { .pixelformat = V4L2_PIX_FMT_YUYV }, > > { .pixelformat = V4L2_PIX_FMT_YUV420 }, > > }; > > > > int

[PATCH v3 3/3] ARM: dts: hix5hd2: add ir node

2014-08-28 Thread Zhangfei Gao
Signed-off-by: Zhangfei Gao --- arch/arm/boot/dts/hisi-x5hd2.dtsi | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/hisi-x5hd2.dtsi b/arch/arm/boot/dts/hisi-x5hd2.dtsi index 7b1cb53..1d7cd04 100644 --- a/arch/arm/boot/dts/hisi-x5hd2.dtsi +++ b/arch

[PATCH v3 2/3] rc: Introduce hix5hd2 IR transmitter driver

2014-08-28 Thread Zhangfei Gao
From: Guoxiong Yan IR transmitter driver for Hisilicon hix5hd2 soc By default all protocols are disabled. For example nec decoder can be enabled by either 1. ir-keytable -p nec 2. echo nec > /sys/class/rc/rc0/protocols See see Documentation/ABI/testing/sysfs-class-rc Signed-off-by: Guoxiong Yan

[PATCH v3 0/3] Introduce hix5hd2 IR transmitter driver

2014-08-28 Thread Zhangfei Gao
v3: Got info from Mauro, 3.17 disable all protocol by default, specific protocol can be selected via ir-keytable and /sys/class/rc/rc0/protocols Got suggestion from Sean, add rdev specific info, like timeout, resoluton. Add optional property "linux,rc-map-name", if kernel keymap is used otherwise

[PATCH v3 1/3] rc: Add DT bindings for hix5hd2

2014-08-28 Thread Zhangfei Gao
From: Guoxiong Yan Signed-off-by: Guoxiong Yan Signed-off-by: Zhangfei Gao --- .../devicetree/bindings/media/hix5hd2-ir.txt | 25 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/hix5hd2-ir.txt diff --git a/Documentation

Re: [PATCH] usb: gadget: f_uvc fix transition to video_ioctl2

2014-08-28 Thread Felipe Balbi
On Thu, Aug 28, 2014 at 04:39:27PM +0200, Andrzej Pietrasiewicz wrote: > W dniu 28.08.2014 o 13:28, Laurent Pinchart pisze: > > > > >>diff --git a/drivers/usb/gadget/function/f_uvc.c > >>b/drivers/usb/gadget/function/f_uvc.c index 5209105..95dc1c6 100644 > >>--- a/drivers/usb/gadget/function/f_u

Re: Advice on DVB-S/S2 card and CAM support

2014-08-28 Thread Kaya Saman
On 08/28/2014 04:47 AM, P. van Gaans wrote: On 07/28/2014 01:44 AM, Kaya Saman wrote: Hi, I'm wondering what the best solution for getting satellite working on Linux is? Currently I have a satellite box with CAM module branded by the Satellite TV provider we are with. As I am now migrating

Re: [PATCH] usb: gadget: f_uvc fix transition to video_ioctl2

2014-08-28 Thread Andrzej Pietrasiewicz
W dniu 28.08.2014 o 13:28, Laurent Pinchart pisze: diff --git a/drivers/usb/gadget/function/f_uvc.c b/drivers/usb/gadget/function/f_uvc.c index 5209105..95dc1c6 100644 --- a/drivers/usb/gadget/function/f_uvc.c +++ b/drivers/usb/gadget/function/f_uvc.c @@ -411,6 +411,7 @@ uvc_register_video(str

Re: [RFC v2] [media] v4l2: add V4L2 pixel format array and helper functions

2014-08-28 Thread Laurent Pinchart
Hi Philipp, On Wednesday 27 August 2014 11:30:14 Philipp Zabel wrote: > Am Dienstag, den 26.08.2014, 12:01 +0200 schrieb Laurent Pinchart: > [...] > > > > +}; > > > + > > > +const struct v4l2_pixfmt *v4l2_pixfmt_by_fourcc(u32 fourcc) > > > +{ > > > + int i; > > > > The loop counter is always pos

Re: Problems with the omap3isp

2014-08-28 Thread Laurent Pinchart
Hi Stefan, On Wednesday 27 August 2014 12:24:46 Stefan Herbrechtsmeier wrote: > Am 04.08.2014 um 17:25 schrieb Laurent Pinchart: > > On Monday 04 August 2014 11:24:13 Stefan Herbrechtsmeier wrote: > >> Hi Laurent, > >> > >> thank you very much for your help. > >> > >> The problem is cross talk o

Re: [PATCH] usb: gadget: f_uvc fix transition to video_ioctl2

2014-08-28 Thread Laurent Pinchart
Hi Andrzej, Thank you for the patch. On Wednesday 27 August 2014 17:16:38 Andrzej Pietrasiewicz wrote: > UVC video node is a TX device from the point of view of the gadget, > so we cannot rely on the video struct being filled with zeros, because > VFL_DIR_TX is actually 1. > > Suggested-by: Sylw

Re: [PATCH v2 3/3] [media] rc: remove change_protocol in rc-ir-raw.c

2014-08-28 Thread zhangfei
On 08/27/2014 07:34 PM, Mauro Carvalho Chehab wrote: With commit 4924a311a62f ("[media] rc-core: rename ir-raw.c"), empty change_protocol was introduced. No. This was introduced on this changeset: commit da6e162d6a4607362f8478c715c797d84d449f8b Author: David Härdeman Date: Thu Apr 3 20:3

Re: [PATCH v2 1/5] dvb-core: add a new tuner ops to dvb_frontend for APIv5

2014-08-28 Thread Akihiro TSUKADA
moikka, thanks for the comment. > I have feeling DVBv5 API is aimed to transfer data via property cached. > I haven't done much driver for DVBv5 statistics, but recently I > implemented CNR (DVBv5 stats) to Si2168 driver and it just writes all > the values directly to property cache. I expect RF s

[GIT PULL]: few dma-buf updates for 3.17-rc3

2014-08-28 Thread Sumit Semwal
Hi Linus, The major changes for 3.17 already went via Greg-KH's tree this time as well; this is a small pull request for dma-buf - all documentation related. Could you please pull? The following changes since commit f1bd473f95e02bc382d4dae94d7f82e2a455e05d: Merge branch 'sec-v3.17-rc2' of gi

Re: randconfig build error with next-20140826, in Documentation/video4linux

2014-08-28 Thread Sudip Mukherjee
On Wed, Aug 27, 2014 at 10:33:46AM -0700, Jim Davis wrote: > On Wed, Aug 27, 2014 at 3:58 AM, Sudip Mukherjee > wrote: > > > Hi, > > I tried to build next-20140826 with your given config file . But for me > > everything was fine. > > Well, you should be able to reproduce it. Do these steps wor