Re: [PATCH 0/5] Further clean up libdvbv5

2014-08-25 Thread Mauro Carvalho Chehab
Hi Gregor, Em Sat, 23 Aug 2014 18:42:38 +0200 Gregor Jasny gja...@googlemail.com escreveu: Hello, Here you'll find some patches to clean up libdvbv5. I tried to reduce exported symbols of the shared library to easy maintenance in the future. Thanks, Gregor Gregor Jasny (5):

Account Upgrades

2014-08-25 Thread Admin Helpdesk
This Message is From Helpdesk. Due to our latest IP Security upgrades we have reason to believe that your webmail account was accessed by a third party. Protecting the security of your webmail account is our primary concern, we have limited access to sensitive webmail account features. Failure

Re: [PATCH 6/6] devicetree: bindings: Document Renesas JPEG Processing Unit.

2014-08-25 Thread Laurent Pinchart
Hi Mikhail, On Friday 22 August 2014 18:20:53 Mikhail Ulianov wrote: On Thu, 21 Aug 2014 01:01:43 +0200 Laurent Pinchart wrote: On Tuesday 19 August 2014 16:50:53 Mikhail Ulyanov wrote: Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com ---

[PATCHv2 06/12] vivid: add VBI capture and output code

2014-08-25 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This adds support for VBI capture (raw and sliced) and VBI output (raw and sliced) to the vivid driver. In addition a VBI generator is added that generates simple VBI data in either sliced or raw format. Signed-off-by: Hans Verkuil hans.verk...@cisco.com

[PATCHv2 00/12] vivid: Virtual Video Test Driver

2014-08-25 Thread Hans Verkuil
In July I posted a 'vivi, the next generation' patch series: https://www.mail-archive.com/linux-media@vger.kernel.org/msg76758.html However, since that time I realized that rather than building on top of the old vivi, it would be much better to create a new, much more generic driver. This vivid

[PATCHv2 12/12] vivid: enable the vivid driver

2014-08-25 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Update the Kconfig and Makefile files so this driver can be compiled. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/Kconfig| 3 +++ drivers/media/platform/Makefile | 2 ++

[PATCHv2 05/12] vivid: add the video capture and output parts

2014-08-25 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This adds the ioctl and vb2 queue support for video capture and output. Part of this is common to both, so that is placed in a vid-common source. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-vid-cap.c|

[PATCHv2 11/12] vivid: add support for software defined radio

2014-08-25 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This adds support for an SDR capture device. It generates simple sine/cosine waves. The code for that has been contributed by Antti. Signed-off-by: Antti Palosaari cr...@iki.fi Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCHv2 10/12] vivid: add support for radio receivers and transmitters

2014-08-25 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This adds radio receiver and transmitter support. Part of that is common to both and so is placed in the radio-common source. These drivers also support RDS. In order to generate valid RDS data a simple RDS generator is implemented in rds-gen.

[PATCHv2 09/12] vivid: add the Test Pattern Generator

2014-08-25 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The test patterns for video capture are generated by this code. All patterns are precalculated taking into account colorspace information, pixel and video aspect ratios and scaling information. Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCHv2 02/12] vivid.txt: add documentation for the vivid driver

2014-08-25 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The vivid Virtual Video Test Driver helps testing V4L2 applications and can emulate V4L2 hardware. Add the documentation for this driver. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- Documentation/video4linux/vivid.txt | 1109

[PATCHv2 03/12] vivid: add core driver code

2014-08-25 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com This is the core driver code that creates all the driver instances and all the configured devices. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-core.c | 1390 +

[PATCHv2 08/12] vivid: add a simple framebuffer device for overlay testing

2014-08-25 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com In order to test capture and output overlays a simple framebuffer device is created. It's bare bone, but it does the job. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-osd.c | 400

[PATCHv2 07/12] vivid: add the kthread code that controls the video rate

2014-08-25 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com Add the kthread handlers for video/vbi capture and video/vbi output. These carefully control the rate at which frames are generated (video capture) and accepted (video output). While the short-term jitter is around the order of a jiffie, in the long term

[PATCHv2 04/12] vivid: add the control handling code

2014-08-25 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com The vivid-ctrls code sets up and processes the various V4L2 controls that are needed by this driver. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/vivid/vivid-ctrls.c | 1502

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

2014-08-25 Thread Hans Verkuil
Hi Philipp, I have to think a bit more about the format names, but in the meantime I have two other suggestions: On 08/25/2014 12:33 PM, Philipp Zabel wrote: This patch adds an array of V4L2 pixel formats and descriptions that can be used by drivers so that each driver doesn't have to provide

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

2014-08-25 Thread Laurent Pinchart
On Monday 25 August 2014 13:38:45 Hans Verkuil wrote: Hi Philipp, I have to think a bit more about the format names, but in the meantime I have two other suggestions: On 08/25/2014 12:33 PM, Philipp Zabel wrote: This patch adds an array of V4L2 pixel formats and descriptions that can

[PATCHv3] videobuf2-core: take mmap_sem before calling __qbuf_userptr

2014-08-25 Thread Hans Verkuil
(Changes since v2: dropped local variable as suggested by Laurent) Commit f035eb4e976ef5a059e30bc91cfd310ff030a7d3 (videobuf2: fix lockdep warning) unfortunately removed the mmap_sem lock that is needed around the call to __qbuf_userptr. Amazingly nobody noticed this (especially me as the author)

[PATCH v2 1/6] V4L2: Add Renesas R-Car JPEG codec driver.

2014-08-25 Thread Mikhail Ulyanov
This patch contains driver for Renesas R-Car JPEG codec. Cnanges since v1: - s/g_fmt function simplified - default format for queues added - dumb vidioc functions added to be in compliance with standard api: jpu_s_priority, jpu_g_priority - standard

[PATCH v2 6/6] devicetree: bindings: Document Renesas JPEG Processing Unit.

2014-08-25 Thread Mikhail Ulyanov
Documentation for Renesas JPU devicetree node. Changes since v1: - First line typo fixed - renesas,jpu-gen2 compatability option added Signed-off-by: Mikhail Ulyanov mikhail.ulya...@cogentembedded.com --- .../devicetree/bindings/media/renesas,jpu.txt | 23

Re: [PATCH v2 1/6] V4L2: Add Renesas R-Car JPEG codec driver.

2014-08-25 Thread Hans Verkuil
On 08/25/2014 02:29 PM, Mikhail Ulyanov wrote: This patch contains driver for Renesas R-Car JPEG codec. Cnanges since v1: - s/g_fmt function simplified - default format for queues added - dumb vidioc functions added to be in compliance with standard api: jpu_s_priority,

Re: [PATCH v2 1/6] V4L2: Add Renesas R-Car JPEG codec driver.

2014-08-25 Thread Hans Verkuil
On 08/25/2014 02:39 PM, Hans Verkuil wrote: On 08/25/2014 02:29 PM, Mikhail Ulyanov wrote: This patch contains driver for Renesas R-Car JPEG codec. Cnanges since v1: - s/g_fmt function simplified - default format for queues added - dumb vidioc functions added to be in compliance

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

2014-08-25 Thread Philipp Zabel
Hi Hans, Am Montag, den 25.08.2014, 13:38 +0200 schrieb Hans Verkuil: Hi Philipp, I have to think a bit more about the format names, but in the meantime I have two other suggestions: Thank you, I haven't spent much thought about the actual descriptions yet. Most are just transcribed from

Re: [PATCH v2 6/6] devicetree: bindings: Document Renesas JPEG Processing Unit.

2014-08-25 Thread Geert Uytterhoeven
Hi Mikhail, On Mon, Aug 25, 2014 at 2:35 PM, Mikhail Ulyanov mikhail.ulya...@cogentembedded.com wrote: + - compatible: should containg one of the following: + - renesas,jpu-r8a7790 for R-Car H2 + - renesas,jpu-r8a7791 for R-Car M2 +

Re: [PATCH v2 2/3] usb: gadget/uvc: also handle v4l2 ioctl ENUM_FMT

2014-08-25 Thread Michael Grzeschik
Hi Laurent, On Wed, Aug 20, 2014 at 07:05:30PM +0200, Laurent Pinchart wrote: Hi Hans and Michael, On Wednesday 20 August 2014 02:06:54 Hans Verkuil wrote: On 08/19/2014 05:01 PM, Laurent Pinchart wrote: Hi Michael, Thank you for the patch. (CC'ing Hans Verkuil and the

Re: [PATCH v2 2/3] usb: gadget/uvc: also handle v4l2 ioctl ENUM_FMT

2014-08-25 Thread Laurent Pinchart
Hi Michael, On Monday 25 August 2014 15:59:57 Michael Grzeschik wrote: On Wed, Aug 20, 2014 at 07:05:30PM +0200, Laurent Pinchart wrote: On Wednesday 20 August 2014 02:06:54 Hans Verkuil wrote: On 08/19/2014 05:01 PM, Laurent Pinchart wrote: Hi Michael, Thank you for the patch.

Re: [PATCH 16/29] uvc: fix sparse warning

2014-08-25 Thread Laurent Pinchart
Hi Hans, Thank you for the patch. On Thursday 21 August 2014 00:59:15 Hans Verkuil wrote: From: Hans Verkuil hans.verk...@cisco.com drivers/media/usb/uvc/uvc_video.c:1466:38: warning: incorrect type in return expression (different base types) Signed-off-by: Hans Verkuil

Re: [media-workshop] [ANNOUNCE] Linux Kernel Media mini-summit on Oct, 16-17 in Düsseldorf, Germany

2014-08-25 Thread Ralph Metzler
Guennadi Liakhovetski writes: I'll likely be able to attend too. ATM I'm working on camera support in Android. I think Hans discussed related topics at the previous summit in the US too, which I didn't manage to attend unfortunately. I'll try to double-check results of those discussions

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

2014-08-25 Thread Laurent Pinchart
On Monday 25 August 2014 14:50:53 Philipp Zabel wrote: Hi Hans, Am Montag, den 25.08.2014, 13:38 +0200 schrieb Hans Verkuil: Hi Philipp, I have to think a bit more about the format names, but in the meantime I have two other suggestions: Thank you, I haven't spent much thought

Re: [PATCH v2 2/3] usb: gadget/uvc: also handle v4l2 ioctl ENUM_FMT

2014-08-25 Thread Philipp Zabel
Hi Laurent, Am Montag, den 25.08.2014, 16:48 +0200 schrieb Laurent Pinchart: [...] Format descriptions are currently duplicated in every driver, causing higher memory usage and different descriptions for the same format depending on the driver. Hans, should we try to fix this ?

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

2014-08-25 Thread Philipp Zabel
Hi Laurent, Am Montag, den 25.08.2014, 17:13 +0200 schrieb Laurent Pinchart: [...] +static inline unsigned int v4l2_sizeimage(const struct v4l2_pixfmt *fmt, + unsigned int width, + unsigned int height)

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

2014-08-25 Thread Laurent Pinchart
Hi Philipp, On Monday 25 August 2014 17:41:17 Philipp Zabel wrote: Am Montag, den 25.08.2014, 17:13 +0200 schrieb Laurent Pinchart: [...] +static inline unsigned int v4l2_sizeimage(const struct v4l2_pixfmt *fmt, + unsigned int width, +

[PATCH 07/12] msi001: logging changes

2014-08-25 Thread Antti Palosaari
Remove function name from debug logs. Logging system could add it automatically. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/tuners/msi001.c | 56 --- 1 file changed, 31 insertions(+), 25 deletions(-) diff --git

[PATCH 12/12] rtl2832_sdr: logging changes

2014-08-25 Thread Antti Palosaari
Remove function name from debug logs. Logging system could add it automatically. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2832_sdr.c | 98 ++- 1 file changed, 45 insertions(+), 53 deletions(-) diff --git

[PATCH 06/12] msi2500: logging changes

2014-08-25 Thread Antti Palosaari
Kernel logging system needs pointer to usb interface device in order to print names and bus numbers properly. There was wrong device pointer given and log printings wasn't correct. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/msi2500/msi2500.c | 157

[PATCH 04/12] airspy: remove unneeded spinlock irq flags initialization

2014-08-25 Thread Antti Palosaari
There is no need to init flags before calling spin_lock_irqsave(). spin_lock_irqsave is a macro which stores value to 'flags'. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/airspy/airspy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 09/12] e4000: logging changes

2014-08-25 Thread Antti Palosaari
Remove function name from debug logs. Logging system could add it automatically. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/tuners/e4000.c | 71 1 file changed, 32 insertions(+), 39 deletions(-) diff --git

[PATCH 11/12] rtl2832_sdr: enhance sample rate debug calculation precision

2014-08-25 Thread Antti Palosaari
Sample rate calculation gives a little bit too large results because in real life there was around one milliseconds (~one usb packet) too much data for given time. Calculate time more accurate in order to provide better results. Signed-off-by: Antti Palosaari cr...@iki.fi ---

[PATCH 10/12] rtl2832_sdr: remove unneeded spinlock irq flags initialization

2014-08-25 Thread Antti Palosaari
There is no need to init flags before calling spin_lock_irqsave(). spin_lock_irqsave is macro which stores value to 'flags' Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2832_sdr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 02/12] airspy: coding style issues

2014-08-25 Thread Antti Palosaari
Fix issues reported by checkpatch.pl. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/airspy/airspy.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/usb/airspy/airspy.c b/drivers/media/usb/airspy/airspy.c index 56a1ae0..dee1fe2 100644 ---

[PATCH 01/12] airspy: fix error handling on start streaming

2014-08-25 Thread Antti Palosaari
Free all reserved USB buffers and URBs on failure. Return all queued buffers to vb2 with state queued on error case. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/airspy/airspy.c | 36 +--- 1 file changed, 29 insertions(+), 7 deletions(-) diff

[PATCH 05/12] airspy: enhance sample rate debug calculation precision

2014-08-25 Thread Antti Palosaari
Sample rate calculation gives a little bit too large results because in real life there was around one milliseconds (~one usb packet) too much data for given time. Calculate time more accurate in order to provide better results. Signed-off-by: Antti Palosaari cr...@iki.fi ---

[PATCH 03/12] airspy: logging changes

2014-08-25 Thread Antti Palosaari
Kernel logging system needs pointer to usb interface device in order to print names and bus numbers properly. There was wrong device pointer given and log printings wasn't correct. Remove some debug logging from v4l2 ioctl functions. v4l2 core debug prints almost same information when enabled.

[PATCH 08/12] msi2500: remove unneeded spinlock irq flags initialization

2014-08-25 Thread Antti Palosaari
There is no need to init flags before calling spin_lock_irqsave(). spin_lock_irqsave is macro which stores value to 'flags'. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/msi2500/msi2500.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

Video4Linux GNU Radio plugin (gr-linuxsdr)

2014-08-25 Thread Antti Palosaari
Moikka! For those who wants to play with Linux kernel SDR, here is GNU Radio plugin for it: http://git.linuxtv.org/cgit.cgi/anttip/gr-linuxsdr.git/ It was earlier named as a gr-kernel, but I decided to rename it gr-linuxsdr. My next plan is to implement library to cover kernel API and stream

[PATCH 2/3] si2157: avoid firmware loading if it has been loaded previously

2014-08-25 Thread Olli Salonen
Add a variable into state to keep track if firmware has been loaded or not. Skip firmware loading in case it is already loaded (resume from sleep). Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 11 +-- drivers/media/tuners/si2157_priv.h | 1 +

[PATCH 1/3] si2157: change command for sleep

2014-08-25 Thread Olli Salonen
Instead of sending command 13 to the tuner, send command 16 when sleeping. This behaviour is observed when using manufacturer provided binary-only Linux driver for TechnoTrend CT2-4400 (Windows driver does not do power management). The issue with command 13 is that firmware loading is necessary

[PATCH 3/3] si2168: avoid firmware loading if it has been loaded previously

2014-08-25 Thread Olli Salonen
Add a variable to keep track if firmware is loaded or not and skip parts of the initialization if fw is already loaded. Resume from sleep with a different command compared to initial power up and run command 85 after resume command. This behaviour is observed when using manufacturer provided

strange empia device

2014-08-25 Thread Lorenzo Marcantonio
Just bought a roxio video capture dongle. Read around that it was an easycap clone (supported, then); it seems it's not so anymore :( It identifies as 1b80:e31d Roxio Video Capture USB (it also uses audio class for audio) Now comes the funny thing. Inside there is the usual E2P memory, a

Re: [PATCH v2 6/6] devicetree: bindings: Document Renesas JPEG Processing Unit.

2014-08-25 Thread Simon Horman
On Mon, Aug 25, 2014 at 02:59:46PM +0200, Geert Uytterhoeven wrote: Hi Mikhail, On Mon, Aug 25, 2014 at 2:35 PM, Mikhail Ulyanov mikhail.ulya...@cogentembedded.com wrote: + - compatible: should containg one of the following: + - renesas,jpu-r8a7790 for R-Car H2 +

Re: [PATCH v2 6/6] devicetree: bindings: Document Renesas JPEG Processing Unit.

2014-08-25 Thread Laurent Pinchart
Hi Simon, On Tuesday 26 August 2014 08:57:20 Simon Horman wrote: On Mon, Aug 25, 2014 at 02:59:46PM +0200, Geert Uytterhoeven wrote: On Mon, Aug 25, 2014 at 2:35 PM, Mikhail Ulyanov wrote: + - compatible: should containg one of the following: + -

[GIT PULL stable] IT9135 changes

2014-08-25 Thread Antti Palosaari
Mauro, Could you pull these and send to stable as tagged per each patch. That patch set mainly increases sensitivity of the IT9135 chipset. It must be considered as a regression because IT9135 driver was replaced by AF9035 (USB IF) + AF9033 (DVB-T demod) + IT913x (RF tuner) drivers starting

cron job: media_tree daily build: WARNINGS

2014-08-25 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 Aug 26 04:00:18 CEST 2014 git branch: test git hash: b250392f7b5062cf026b1423e27265e278fd6b30 gcc

Re: [PATCH v2 6/6] devicetree: bindings: Document Renesas JPEG Processing Unit.

2014-08-25 Thread Simon Horman
On Tue, Aug 26, 2014 at 02:02:00AM +0200, Laurent Pinchart wrote: Hi Simon, On Tuesday 26 August 2014 08:57:20 Simon Horman wrote: On Mon, Aug 25, 2014 at 02:59:46PM +0200, Geert Uytterhoeven wrote: On Mon, Aug 25, 2014 at 2:35 PM, Mikhail Ulyanov wrote: + - compatible: should