AVerMedia AVerTV Hybrid+FM Cardbus (E506) driver problem on Xubuntu 14.04

2014-09-17 Thread Chun Ming (Eric) Wong
I am trying to make my PCMCIA tunner card, AVerMedia AVerTV Hybrid+FM Cardbus (E506) work on Xubuntu 14.04. I have followed the Basic approach on this page http://www.linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers I have successfully build the binary and inst

cron job: media_tree daily build: ERRORS

2014-09-17 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: Thu Sep 18 04:00:24 CEST 2014 git branch: test git hash: f5281fc81e9a0a3e80b78720c5ae2ed06da3bfae gcc versi

[PATCH 10/17] smiapp-pll: Add pixel rate in pixel array as output parameters

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus The actual pixel array pixel rate may be something else than vt_pix_clk_freq on some implementations. Add a new field which contains the corrected value. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp-pll.c |1 + drivers/media/i2c/smiapp-pll.h |1 + 2 files

[PATCH 09/17] smiapp: Remove validation of op_pix_clk_div

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus op_pix_clk_div is directly assigned and not calculated. There's no need to verify it. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp-pll.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/media/i2c/smiapp-pll.c b/drivers/media/i2c/smiapp-pll.c ind

[PATCH 02/17] smiapp-pll: The clock tree values are unsigned --- fix debug prints

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus These values are unsigned, so use %u instead of %d. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp-pll.c | 94 1 file changed, 47 insertions(+), 47 deletions(-) diff --git a/drivers/media/i2c/smiapp-pll.c b/drivers/media/

[PATCH 13/17] smiapp: Split calculating PLL with sensor's limits from updating it

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus The first one is handy for just trying out a PLL configuration without a need to apply it. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp

[PATCH 11/17] smiapp: Use actual pixel rate calculated by the PLL calculator

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c index 54cb136..6db0e8d 100644 --- a/drivers/media

[PATCH 05/17] smiapp-pll: Unify OP and VT PLL structs

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus Uniform representation for VT and OP clocks. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp-pll.c | 60 drivers/media/i2c/smiapp-pll.h | 18 +- drivers/media/i2c/smiapp/smiapp-core.c | 14 3 fi

[PATCH 07/17] smiapp-pll: Calculate OP clocks only for sensors that have them

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus Profile 0 sensors have no OP clock branck in the clock tree. The PLL calculator still calculated them, they just weren't used for anything. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp-pll.c | 82 +--- 1 file changed, 52 inse

[PATCH 04/17] smiapp-pll: External clock frequency isn't an output value

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus It's input. Move it elsewhere in the struct. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp-pll.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/smiapp-pll.h b/drivers/media/i2c/smiapp-pll.h index 5ce2b61..2885cd7 100644 --

[PATCH 16/17] smiapp: Update PLL when setting format

2014-09-17 Thread Sakari Ailus
The media bus format BPP does affect PLL. Recalculate PLL if the format changes. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/s

[PATCH 08/17] smiapp: The PLL calculator handles sensors with VT clocks only

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus No need to pretend the OP limits are there anymore. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/drivers/media/i2c/smiapp/smiapp-core.c index

[PATCH 03/17] smiapp-pll: Separate bounds checking into a separate function

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus Enough work for this function already. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp-pll.c | 110 +--- 1 file changed, 59 insertions(+), 51 deletions(-) diff --git a/drivers/media/i2c/smiapp-pll.c b/drivers/media/i2c/smiapp-pl

[PATCH 01/17] smiapp-pll: Correct clock debug prints

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus The PLL flags were not used correctly. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp-pll.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/i2c/smiapp-pll.c b/drivers/media/i2c/smiapp-pll.c index 2335529..ab5d9a3 100644 ---

[PATCH 12/17] smiapp: Take mutex during PLL update in sensor initialisation

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus The mutex does not serialise anything in this case but avoids a lockdep warning from the control framework. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c

[PATCH 15/17] smiapp: Take valid link frequencies into account in supported mbus codes

2014-09-17 Thread Sakari Ailus
Some media bus codes may be unavailable depending on the available media bus codes. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/media/i2c/smiapp/smiapp-core.c b/dri

[PATCH 14/17] smiapp: Gather information on valid link rate and BPP combinations

2014-09-17 Thread Sakari Ailus
Not all link rates are possible with all BPP values. Also rearrange other initialisation a little. Obtaining possible PLL configurations earlier requires that. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 73 drivers/media/i2c/smiap

[PATCH 17/17] smiapp: Decrease link frequency if media bus pixel format BPP requires

2014-09-17 Thread Sakari Ailus
Decrease the link frequency to the next lower if the user chooses a media bus code (BPP) cannot be achieved using the selected link frequency. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp/smiapp-core.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) dif

[PATCH 06/17] smiapp-pll: Don't validate OP clocks if there are none

2014-09-17 Thread Sakari Ailus
From: Sakari Ailus Profile 0 sensors have no OP clocks, don't validate them. Signed-off-by: Sakari Ailus --- drivers/media/i2c/smiapp-pll.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/media/i2c/smiapp-pll.c b/drivers/media/i2c/smiapp-pll.c index 40a18ba..f83f25f 1006

[PATCH 00/17] smiapp and smiapp-pll: more robust parameter handling, cleanups

2014-09-17 Thread Sakari Ailus
Hi, This set brings several improvements to the smiapp driver and the smiapp PLL calculator. Especially: - Several cleanups and small fixes, - only calculate the VT clock tree for sensors that have no OP tree (the OP constraits in pixel clock divider were not taken into account for VT clocks)

[PATCH] libdvbv5: MPEG ES parser documentation

2014-09-17 Thread André Roth
Signed-off-by: André Roth --- lib/include/libdvbv5/mpeg_es.h | 140 +++-- 1 file changed, 135 insertions(+), 5 deletions(-) diff --git a/lib/include/libdvbv5/mpeg_es.h b/lib/include/libdvbv5/mpeg_es.h index 4f1786e..377f235 100644 --- a/lib/include/libdvbv5/mp

Call Trace usb_hcd_irq TeVii DVB-S2 S650

2014-09-17 Thread crow
Hi, With the kernel 3.16.2-1-ARCH i am unable to watch DVB using my TeVii DVB-S2 S650 and VDR. After reboot it works for like a 5 minutes and then i get this Call Trace. I tried to get most information and also did tested with adding the irqpool to kernel boot option (second Call Trace) but it did

OMAP3 Multiple camera support

2014-09-17 Thread Sriram V
Hi Does OMAP3 camera driver support multiple cameras at the same time. As i understand - You can have simultaneous YUV422 (Directly to memory) and another one passing through camera controller ISP? I Also, wanted to check if anyone has tried having multiple cameras on omap3 with the existing dri

Re: [PATCH 0/4] vb2/saa7134 regression/documentation fixes

2014-09-17 Thread Hans Verkuil
On 09/17/2014 11:14 AM, Hans Verkuil wrote: > This fixes the VBI regression seen in saa7134 when it was converted > to vb2. Tested with my saa7134 board. > > It also updates the poll documentation and fixes a saa7134 bug where > the WSS signal was never captured. > > The first patch should go to

[PATCH] adv7604/adv7842: fix query_dv_timings

2014-09-17 Thread Hans Verkuil
Set il_vfrontporch/il_vsync/il_vbackporch to 0 for progressive video and fix a typo where bt->vbackporch was set instead of bt->il_vbackporch. Signed-off-by: Hans Verkuil diff --git a/drivers/media/i2c/adv7604.c b/drivers/media/i2c/adv7604.c index d4fa213..5ca4bfe 100644 --- a/drivers/media/i2c/

Re: [PATCH 05/17] [media] s5p-mfc: don't disable clock when next ctx is pending

2014-09-17 Thread Kiran Avnd
On Wed, Sep 17, 2014 at 3:27 PM, Kamil Debski wrote: > Hi, > >> From: Kiran Avnd [mailto:ki...@chromium.org] >> Sent: Wednesday, September 17, 2014 11:26 AM >> >> Hi Kamil, >> >> On Tue, Sep 16, 2014 at 7:50 PM, Kamil Debski >> wrote: >> > >> > Hi Kiran, >> > >> > > From: Kiran AVND [mailto:avnd.

Re: [PATCH] DocBook media: fix wrong prototype

2014-09-17 Thread Sakari Ailus
On Sat, Sep 13, 2014 at 11:28:02AM +0200, Hans Verkuil wrote: > G_EDID is an RW ioctl, so the struct v4l2_edid isn't const. > > Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus -- Sakari Ailus e-mail: sakari.ai...@iki.fi XMPP: sai...@retiisi.org.uk -- To unsubscribe from this list: send

RE: [PATCH 05/17] [media] s5p-mfc: don't disable clock when next ctx is pending

2014-09-17 Thread Kamil Debski
Hi, > From: Kiran Avnd [mailto:ki...@chromium.org] > Sent: Wednesday, September 17, 2014 11:26 AM > > Hi Kamil, > > On Tue, Sep 16, 2014 at 7:50 PM, Kamil Debski > wrote: > > > > Hi Kiran, > > > > > From: Kiran AVND [mailto:avnd.ki...@samsung.com] > > > Sent: Monday, September 15, 2014 8:43 AM

Re: [PATCH 05/17] [media] s5p-mfc: don't disable clock when next ctx is pending

2014-09-17 Thread Kiran Avnd
Hi Kamil, On Tue, Sep 16, 2014 at 7:50 PM, Kamil Debski wrote: > > Hi Kiran, > > > From: Kiran AVND [mailto:avnd.ki...@samsung.com] > > Sent: Monday, September 15, 2014 8:43 AM > > > > From: Arun Mankuzhi > > > > In MFC's dynamic clock gating, we turn on the clock in try_run and turn > > off the

[PATCH 1/4] vb2: fix VBI regression

2014-09-17 Thread Hans Verkuil
From: Hans Verkuil This patch brings the vb2 poll() behavior in line with vb1. The poll() function is expected to return POLLERR if REQBUFS has been called, but not yet STREAMON. Various VBI capture applications (mtt, alevt) rely on that behavior, and in fact the V4L2 Specification requires it a

[PATCH 2/4] DocBook media: fix poll specification

2014-09-17 Thread Hans Verkuil
From: Hans Verkuil The poll specification mentioned that it would return POLLERR if no buffers are queued. This makes no sense since the buffer queue can become empty during capturing and you want poll to wait until another thread queues up a new buffer and not to return POLLERR. In the case whe

[PATCH 3/4] DocBook media: update poll() documentation

2014-09-17 Thread Hans Verkuil
From: Hans Verkuil No mention was made about the handling of POLLPRI. And the section on write() was missing that, just like in the read() case, the driver will start streaming if it wasn't yet in streaming mode. Signed-off-by: Hans Verkuil --- Documentation/DocBook/media/v4l/func-poll.xml | 1

[PATCH 4/4] saa7134: also capture the WSS signal for 50 Hz VBI capture

2014-09-17 Thread Hans Verkuil
From: Hans Verkuil The saa7134 driver missed capturing line 23 of the VBI area for the 50 Hz formats. Include that line in the VBI capture. Signed-off-by: Hans Verkuil Tested-by: Hans Verkuil --- drivers/media/pci/saa7134/saa7134-vbi.c | 2 +- drivers/media/pci/saa7134/saa7134-video.c | 2 +

[PATCH 0/4] vb2/saa7134 regression/documentation fixes

2014-09-17 Thread Hans Verkuil
This fixes the VBI regression seen in saa7134 when it was converted to vb2. Tested with my saa7134 board. It also updates the poll documentation and fixes a saa7134 bug where the WSS signal was never captured. The first patch should go to 3.17. It won't apply to older kernels, so I guess once thi