Re: [git:media_tree/devel] [media] BZ#84401: Revert "[media] v4l: vb2: Don't return POLLERR during transient buffer underruns"

2014-09-15 Thread Hans Verkuil
On 09/16/2014 02:05 AM, Mauro Carvalho Chehab wrote: > This is an automatic generated email to let you know that the following patch > were queued at the > http://git.linuxtv.org/media_tree.git tree: > > Subject: [media] BZ#84401: Revert "[media] v4l: vb2: Don't return POLLERR > during transien

cron job: media_tree daily build: ERRORS

2014-09-15 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 Sep 16 04:00:16 CEST 2014 git branch: test git hash: f5281fc81e9a0a3e80b78720c5ae2ed06da3bfae gcc versi

[linuxtv-media:devel 499/499] drivers/media/v4l2-core/videobuf2-core.c:2589 vb2_poll() warn: if();

2014-09-15 Thread kbuild test robot
tree: git://linuxtv.org/media_tree.git devel head: e0857d1d1af8478b33e63dbb22bb2160a807d868 commit: e0857d1d1af8478b33e63dbb22bb2160a807d868 [499/499] [media] BZ#84401: Revert "[media] v4l: vb2: Don't return POLLERR during transient buffer underruns" drivers/media/v4l2-core/videobuf2-core.c:

[linuxtv-media:devel 499/499] drivers/media/v4l2-core/videobuf2-core.c:2549:16: warning: unused variable 'flags'

2014-09-15 Thread kbuild test robot
tree: git://linuxtv.org/media_tree.git devel head: e0857d1d1af8478b33e63dbb22bb2160a807d868 commit: e0857d1d1af8478b33e63dbb22bb2160a807d868 [499/499] [media] BZ#84401: Revert "[media] v4l: vb2: Don't return POLLERR during transient buffer underruns" config: x86_64-allmodconfig reproduce: g

[linuxtv-media:devel 499/499] drivers/media/v4l2-core/videobuf2-core.c:2590:3: error: expected ')' before 'return'

2014-09-15 Thread kbuild test robot
tree: git://linuxtv.org/media_tree.git devel head: e0857d1d1af8478b33e63dbb22bb2160a807d868 commit: e0857d1d1af8478b33e63dbb22bb2160a807d868 [499/499] [media] BZ#84401: Revert "[media] v4l: vb2: Don't return POLLERR during transient buffer underruns" config: ia64-allmodconfig reproduce: wge

Re: v4l2 ioctls

2014-09-15 Thread Shuah Khan
On 09/15/2014 05:53 PM, Mauro Carvalho Chehab wrote: > Em Mon, 15 Sep 2014 17:15:52 -0600 > Shuah Khan escreveu: > >> On 09/15/2014 05:54 AM, Mauro Carvalho Chehab wrote: >>> Hi Shuah, >>> >>> Em Fri, 12 Sep 2014 18:37:13 -0600 >>> Shuah Khan escreveu: >>> Mauro/Hans, Thanks for b

[PATCH] [media] BZ#84401: Revert "[media] v4l: vb2: Don't return POLLERR during transient buffer underruns"

2014-09-15 Thread Mauro Carvalho Chehab
This reverts commit 9241650d62f79a3da01f1d5e8ebd195083330b75. The commit 9241650d62f7 was meant to solve an issue with Gstreamer version 0.10 with libv4l 1.2, where a fixup patch for DQBUF exposed a bad behavior ag Gstreamer. It does that by returning POLERR if VB2 is not streaming. However, it

Re: v4l2 ioctls

2014-09-15 Thread Mauro Carvalho Chehab
Em Mon, 15 Sep 2014 17:15:52 -0600 Shuah Khan escreveu: > On 09/15/2014 05:54 AM, Mauro Carvalho Chehab wrote: > > Hi Shuah, > > > > Em Fri, 12 Sep 2014 18:37:13 -0600 > > Shuah Khan escreveu: > > > >> Mauro/Hans, > >> > >> Thanks for both for your replies. I finally have it working with > >>

Re: Added channel parsers for DVB-S2 and DVB-T2 at libdvbv5 and found some issues at dtv-scan-tables

2014-09-15 Thread Jonathan McCrohan
Hi Mauro, On Thu, Sep 04, 2014 at 11:56:03PM -0300, Mauro Carvalho Chehab wrote: > I added some improvements at libdvbv5 to parse the DVB-T2 and DVB-S2 lines > at dtv-scan-tables. > > It can now successully parse all correct files there. The patches for > it are already merged upstream at: >

Re: v4l2 ioctls

2014-09-15 Thread Shuah Khan
On 09/15/2014 05:54 AM, Mauro Carvalho Chehab wrote: > Hi Shuah, > > Em Fri, 12 Sep 2014 18:37:13 -0600 > Shuah Khan escreveu: > >> Mauro/Hans, >> >> Thanks for both for your replies. I finally have it working with >> the following: > > One additional info: While in DVB mode, opening the device

[PATCH] [media] imon: fix usbdev leaks

2014-09-15 Thread Alexey Khoroshilov
imon_probe() does three usb_get_dev(), but there is no any usb_put_dev() in the driver. The patch adds usb_put_dev() to error paths, to imon_disconnect() and to imon_probe() as far as usbdev is not saved anywhere. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alex

H

2014-09-15 Thread Diana
Please Revert back, your assistance is needed. --- The Exhibitor at innoTrans, Berlin 2014 Hall : 15.1 / Stand no : 109 http://www.virtualmarket.innotrans.de/?Action=showCompany&id=346242 -- To unsubscribe from this list: send the line "unsubscribe linux-media"

Patch for media-build for Raspbian 7

2014-09-15 Thread Pavel
pi@rasbein ~/media_build $ ./build Checking if the needed tools for Raspbian GNU/Linux 7 \n \l are available ERROR: please install "lsdiff", otherwise, build won't work. ERROR: please install "Proc::ProcessTable", otherwise, build won't work. I don't know distro Raspbian GNU/Linux 7 \n \l. So, I

Re: [PATCH/RFC v2 1/2] v4l: vb2: Don't return POLLERR during transient buffer underruns

2014-09-15 Thread Mauro Carvalho Chehab
Em Mon, 15 Sep 2014 10:33:01 -0400 Nicolas Dufresne escreveu: > > Le 2014-09-15 09:55, Mauro Carvalho Chehab a écrit : > > The DQBUF locking fixup was merged on libv4l2 for version 1.2. So, the > > potential breakage happens when libv4l2 is 1.2 and Gstreamer versions > > before 1.4. > > > > Do y

RE: [PATCH 10/17] [media] s5p-mfc: modify mfc wakeup sequence for V8

2014-09-15 Thread Kamil Debski
Hi Kiran, > From: Kiran AVND [mailto:avnd.ki...@samsung.com] > Sent: Monday, September 15, 2014 8:43 AM > > From: Arun Mankuzhi > > From MFC V8, the MFC wakeup sequence has changed. > MFC wakeup command has to be sent after the host receives firmware load > complete status from risc. > > Signe

RE: [PATCH 16/17] [media] s5p-mfc: fix a race in interrupt flags handling

2014-09-15 Thread Kamil Debski
Hi, The patch does not apply to the newest media_tree branch. http://git.linuxtv.org/cgit.cgi/media_tree.git/ Please send a rebased version. Best wishes, -- Kamil Debski Samsung R&D Institute Poland > -Original Message- > From: Kiran AVND [mailto:avnd.ki...@samsung.com] > Sent: Monday

RE: [PATCH 15/17] [media] s5p-mfc: remove reduntant clock on & clock off

2014-09-15 Thread Kamil Debski
Hi Kiran, > From: Kiran AVND [mailto:avnd.ki...@samsung.com] > Sent: Monday, September 15, 2014 8:43 AM > > sysmmu will control mfc device clock on/off wherever > needed. Explicit clock on/off in the driver is not needed > anymore. Remove such reduntant clock on/off in the driver. What if... iom

RE: [PATCH 03/17] [media] s5p-mfc: set B-frames as 2 while encoding

2014-09-15 Thread Kamil Debski
Hi, > From: Kiran AVND [mailto:avnd.ki...@samsung.com] > Sent: Monday, September 15, 2014 8:43 AM > > set default number of B-frames as 2 while encoding for better > compression. This User can however change this setting using > V4L2_CID_MPEG_VIDEO_B_FRAMES. The last sentence should be rephrased

Re: [PATCH/RFC v2 1/2] v4l: vb2: Don't return POLLERR during transient buffer underruns

2014-09-15 Thread Nicolas Dufresne
Le 2014-09-15 09:55, Mauro Carvalho Chehab a écrit : The DQBUF locking fixup was merged on libv4l2 for version 1.2. So, the potential breakage happens when libv4l2 is 1.2 and Gstreamer versions before 1.4. Do you have any procedure on gstreamer to fix a bug on stable releases? A backport is pos

Re: v4l2_fops - poll and open

2014-09-15 Thread Shuah Khan
On 09/13/2014 02:36 AM, Hans Verkuil wrote: > On 09/13/2014 02:34 AM, Shuah Khan wrote: >> Mauro/Hans, >> >> It turns out au0828 driver does init tuner from its >> v4l2_fops read and poll. If an analog app comes in >> and does a read or poll, digital could get disrupted. >> Do you recommend adding

Re: i.MX6 status for IPU/VPU/GPU

2014-09-15 Thread Jean-Michel Hautbois
2014-09-11 15:26 GMT+02:00 Philipp Zabel : > Hi Steve, > > Am Mittwoch, den 10.09.2014, 18:17 -0700 schrieb Steve Longerbeam: > [...] >> On 09/09/2014 10:40 AM, Philipp Zabel wrote: > [...] >> > I have in the meantime started to >> > implement everything that has a source or destination selector i

Re: [PATCH/RFC v2 1/2] v4l: vb2: Don't return POLLERR during transient buffer underruns

2014-09-15 Thread Mauro Carvalho Chehab
Em Mon, 15 Sep 2014 08:56:40 -0400 Nicolas Dufresne escreveu: > > Le 2014-09-15 08:49, Laurent Pinchart a écrit : > > Reverting the patch will also be a regression, as that would break > > applications that now rely on the new behaviour (I've developed this patch > > to > > fix a problem I've n

Re: [PATCH/RFC v2 1/2] v4l: vb2: Don't return POLLERR during transient buffer underruns

2014-09-15 Thread Nicolas Dufresne
Le 2014-09-15 08:49, Laurent Pinchart a écrit : Reverting the patch will also be a regression, as that would break applications that now rely on the new behaviour (I've developed this patch to fix a problem I've noticed with gstreamer). One way or another, we're screwed and we'll break userspace

Re: [PATCH/RFC v2 1/2] v4l: vb2: Don't return POLLERR during transient buffer underruns

2014-09-15 Thread Laurent Pinchart
Hi Mauro, On Monday 15 September 2014 09:02:24 Mauro Carvalho Chehab wrote: > Em Mon, 15 Sep 2014 13:14:51 +0200 Hans Verkuil escreveu: > > On 06/06/2014 03:42 PM, Laurent Pinchart wrote: > > > On Friday 06 June 2014 11:58:18 Hans Verkuil wrote: > > >> On 06/06/2014 11:50 AM, Hans de Goede wrote:

undefined reference to `dib3000mc_pid_parse'

2014-09-15 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 9e82bf014195d6f0054982c463575cdce24292be commit: 028c70ff42783509d3a7c7fa0faf900446a2657a [media] dvb-usb/dvb-usb-v2: use IS_ENABLED date: 1 year, 6 months ago config: x86_64-randconfig-s1-09151852 (attached

Re: [PATCH/RFC v2 1/2] v4l: vb2: Don't return POLLERR during transient buffer underruns

2014-09-15 Thread Mauro Carvalho Chehab
Em Mon, 15 Sep 2014 13:14:51 +0200 Hans Verkuil escreveu: > On 06/06/2014 03:42 PM, Laurent Pinchart wrote: > > On Friday 06 June 2014 11:58:18 Hans Verkuil wrote: > >> On 06/06/2014 11:50 AM, Hans de Goede wrote: > >>> Hi, > >>> > >>> On 06/05/2014 02:23 PM, Laurent Pinchart wrote: > The V4

Re: v4l2 ioctls

2014-09-15 Thread Mauro Carvalho Chehab
Hi Shuah, Em Fri, 12 Sep 2014 18:37:13 -0600 Shuah Khan escreveu: > Mauro/Hans, > > Thanks for both for your replies. I finally have it working with > the following: One additional info: While in DVB mode, opening the device in readonly mode should not take the tuner locking. If you need/want

Re: [PATCH/RFC v2 1/2] v4l: vb2: Don't return POLLERR during transient buffer underruns

2014-09-15 Thread Hans Verkuil
On 06/06/2014 03:42 PM, Laurent Pinchart wrote: > On Friday 06 June 2014 11:58:18 Hans Verkuil wrote: >> On 06/06/2014 11:50 AM, Hans de Goede wrote: >>> Hi, >>> >>> On 06/05/2014 02:23 PM, Laurent Pinchart wrote: The V4L2 specification states that "When the application did not call

Re: Analog input USB

2014-09-15 Thread Charlie X. Liu
You may take one from: http://www.linuxtv.org/wiki/index.php/Conexant_CX2310x On Mon, September 15, 2014 2:43 am, Anthony simonigh wrote: > Hello all, > > > I'm looking for a device which permits to get analog video in Ubuntu > and has V4L driver in order to list my input in dev/videoX. I have a

[PATCH v3] [media] v4l2-common: fix overflow in v4l_bound_align_image()

2014-09-15 Thread Maciej Matraszek
Fix clamp_align() used in v4l_bound_align_image() to prevent overflow when passed large value like UINT32_MAX. In the current implementation: clamp_align(UINT32_MAX, 8, 8192, 3) returns 8, because in line: x = (x + (1 << (align - 1))) & mask; x overflows to (-1 + 4) & 0x7 = 3, while expecte

[GIT PULL FOR v3.18] [v2] uvcvideo changes

2014-09-15 Thread Laurent Pinchart
Hi Mauro, This pull request supersedes the "[GIT PULL FOR v3.18] uvcvideo changes" pull request, adding one additional patch from Guennadi. The following changes since commit 91f96e8b7255537da3a58805cf465003521d7c5f: [media] tw68: drop bogus cpu_to_le32() call (2014-09-08 16:40:54 -0300) are

Analog input USB

2014-09-15 Thread Anthony simonigh
Hello all, I'm looking for a device which permits to get analog video in Ubuntu and has V4L driver in order to list my input in dev/videoX. I have already tested EasyCap Somagic (thanks to http://code.google.com/p/easycap-somagic-linux/) but this device is cheap but isn't very stable. So i'm looki