Re: SNR status for demods

2012-05-22 Thread Antti Palosaari
Just ping up old thread since I updated that list. On 18.03.2009 04:45, Devin Heitmueller wrote: Hello all, I have updated my compiled list of the various demods and how they currently report SNR info (including feedback from people in the last round). http://www.devinheitmueller.com/snr.txt

Warning in omap_vout.c

2012-05-22 Thread Hans Verkuil
(Repost, this time without using HTML. My mailer switches to HTML once in a while for no reason. Very annoying.) The daily build has this warning: v4l-dvb-git/drivers/media/video/omap/omap_vout.c: In function ‘omapvid_init’: v4l-dvb-git/drivers/media/video/omap/omap_vout.c:381:17: warning:

Warning in cx24110: how to fix?

2012-05-22 Thread Hans Verkuil
I'm getting this warning in the daily build: v4l-dvb-git/drivers/media/dvb/frontends/cx24110.c: In function ‘cx24110_read_ucblocks’: v4l-dvb-git/drivers/media/dvb/frontends/cx24110.c:520:40: warning: value computed is not used [-Wunused-value] It comes from this code: static int

[GIT PULL FIXES FOR 3.5]: gspca radio fixes

2012-05-22 Thread Hans de Goede
Hi Mauro et al, Here is a bunch of fixes for gspca and a couple of fixes for good old radio support :) The following changes since commit abed623ca59a7d1abed6c4e7459be03e25a90a1e: [media] radio-sf16fmi: add support for SF16-FMD (2012-05-20 16:10:05 -0300) are available in the git repository

Problems with the gspca_ov519 driver

2012-05-22 Thread Lluís Batlle i Rossell
Hello, I'm trying to get video using v4l2 ioctls from a gspca_ov519 camera, and after STREAMOFF all buffers are still flagged as QUEUED, and QBUF fails. DQBUF also fails (blocking for a 3 sec timeout), after streamoff. So I'm stuck, after STREAMOFF, unable to get pictures coming in again. (Linux

RE: Warning in omap_vout.c

2012-05-22 Thread Hiremath, Vaibhav
On Tue, May 22, 2012 at 14:54:45, Hans Verkuil wrote: (Repost, this time without using HTML. My mailer switches to HTML once in a while for no reason. Very annoying.) The daily build has this warning: v4l-dvb-git/drivers/media/video/omap/omap_vout.c: In function 'omapvid_init':

Re: Warning in cx24110: how to fix?

2012-05-22 Thread Andy Walls
Hans Verkuil hverk...@xs4all.nl wrote I'm getting this warning in the daily build: v4l-dvb-git/drivers/media/dvb/frontends/cx24110.c: In function ‘cx24110_read_ucblocks’: v4l-dvb-git/drivers/media/dvb/frontends/cx24110.c:520:40: warning: value computed is not used [-Wunused-value] It comes from

Re: Warning in cx24110: how to fix?

2012-05-22 Thread Hans Verkuil
On Tue 22 May 2012 13:06:25 Andy Walls wrote: Hans Verkuil hverk...@xs4all.nl wrote I'm getting this warning in the daily build: v4l-dvb-git/drivers/media/dvb/frontends/cx24110.c: In function ‘cx24110_read_ucblocks’: v4l-dvb-git/drivers/media/dvb/frontends/cx24110.c:520:40: warning:

Re: [RFC 05/13] v4l: vb2-dma-contig: add support for DMABUF exporting

2012-05-22 Thread Tomasz Stanislawski
Hi Laurent, Sorry for the late reply. Thank you very much for noticing the issue. +static struct dma_buf *vb2_dc_get_dmabuf(void *buf_priv) +{ + struct vb2_dc_buf *buf = buf_priv; + struct dma_buf *dbuf; + + if (buf-dma_buf) + return buf-dma_buf; Can't there be a race

Re: Warning in cx24110: how to fix?

2012-05-22 Thread Andy Walls
Hans Verkuil hverk...@xs4all.nl wrote: On Tue 22 May 2012 13:06:25 Andy Walls wrote: Hans Verkuil hverk...@xs4all.nl wrote I'm getting this warning in the daily build: v4l-dvb-git/drivers/media/dvb/frontends/cx24110.c: In function ‘cx24110_read_ucblocks’:

Re: [git:v4l-dvb/for_v3.5] [media] au0828: Add USB ID used by many dongles

2012-05-22 Thread Michael Krufky
I'm glad that we were able to add support for additional devices, but this device is not in fact the Hauppauge Woodbury that it claims to be -- I think it would be a better idea to copy the AU0828_BOARD_HAUPPAUGE_WOODBURY configuration into a new structure, rename it to something more appropriate,

Re: SNR status for demods

2012-05-22 Thread Gianluca Gennari
Il 22/05/2012 11:09, Antti Palosaari ha scritto: Basically, but not every case, there seems to be 3 different way: 1) return raw register value without any calculation 2) 0.1 dB 3) scaled to 0-0x using some formula Very many drivers seems to do some dB handling even finally scaling it

Re: [PATCH] dma-buf: add get_dma_buf()

2012-05-22 Thread Tomasz Stanislawski
Hi, I think I discovered an interesting issue with dma_buf. I found out that dma_buf_fd does not increase reference count for dma_buf::file. This leads to potential kernel crash triggered by user space. Please, take a look on the scenario below: The applications spawns two thread. One of them is

Re: Problems with the gspca_ov519 driver

2012-05-22 Thread Paulo Assis
Hi, This bug also causes the camera to crash when changing fps in guvcview, uvc devices (at least all the ones I tested) require the stream to be restarted for fps to change, so in the case of this driver after STREAMOFF the camera just becomes unresponsive. Regards, Paulo 2012/5/22 Lluís Batlle

Re: [PATCH] dma-buf: add get_dma_buf()

2012-05-22 Thread Daniel Vetter
On Tue, May 22, 2012 at 03:47:12PM +0200, Tomasz Stanislawski wrote: Hi, I think I discovered an interesting issue with dma_buf. I found out that dma_buf_fd does not increase reference count for dma_buf::file. This leads to potential kernel crash triggered by user space. Please, take a look

Re: Problems with the gspca_ov519 driver

2012-05-22 Thread Hans de Goede
Hi, On 05/22/2012 04:08 PM, Paulo Assis wrote: Hi, This bug also causes the camera to crash when changing fps in guvcview, uvc devices (at least all the ones I tested) require the stream to be restarted for fps to change, so in the case of this driver after STREAMOFF the camera just becomes

Re: [PATCH] dma-buf: add get_dma_buf()

2012-05-22 Thread Tomasz Stanislawski
On 05/22/2012 04:32 PM, Daniel Vetter wrote: On Tue, May 22, 2012 at 03:47:12PM +0200, Tomasz Stanislawski wrote: Hi, I think I discovered an interesting issue with dma_buf. I found out that dma_buf_fd does not increase reference count for dma_buf::file. This leads to potential kernel crash

Re: [PATCH] dma-buf: add get_dma_buf()

2012-05-22 Thread Daniel Vetter
On Tue, May 22, 2012 at 5:00 PM, Tomasz Stanislawski t.stanisl...@samsung.com wrote: On 05/22/2012 04:32 PM, Daniel Vetter wrote: On Tue, May 22, 2012 at 03:47:12PM +0200, Tomasz Stanislawski wrote: Hi, I think I discovered an interesting issue with dma_buf. I found out that dma_buf_fd does

Re: [PATCH] dma-buf: add get_dma_buf()

2012-05-22 Thread Dave Airlie
On Tue, May 22, 2012 at 4:05 PM, Daniel Vetter dan...@ffwll.ch wrote: On Tue, May 22, 2012 at 5:00 PM, Tomasz Stanislawski t.stanisl...@samsung.com wrote: On 05/22/2012 04:32 PM, Daniel Vetter wrote: On Tue, May 22, 2012 at 03:47:12PM +0200, Tomasz Stanislawski wrote: Hi, I think I

Re: Problems with the gspca_ov519 driver

2012-05-22 Thread Lluís Batlle i Rossell
Is this over linux 3.4 mainline? Because I can't get the patch applied over it. Regards, Lluís. On Tue, May 22, 2012 at 04:39:17PM +0200, Hans de Goede wrote: Hi, On 05/22/2012 04:08 PM, Paulo Assis wrote: Hi, This bug also causes the camera to crash when changing fps in guvcview, uvc

[PATCH 0/2] s5p-mfc: added encoder support for end of stream handling

2012-05-22 Thread Andrzej Hajda
Those patches add end of stream handling for s5p-mfc encoder. The first patch was sent already to the list as RFC, but the discussion ended without any decision. This patch adds new v4l2_buffer flag V4L2_BUF_FLAG_EOS. Below short description of this change. s5p_mfc is a mem-to-mem MPEG/H263/H264

[PATCH 1/2] v4l: added V4L2_BUF_FLAG_EOS flag indicating the last frame in the stream

2012-05-22 Thread Andrzej Hajda
Some devices requires indicator if the buffer is the last one in the stream. Applications and drivers can use this flag in such case. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Documentation/DocBook/media/v4l/io.xml |7

[PATCH 2/2] s5p-mfc: added encoder support for end of stream handling

2012-05-22 Thread Andrzej Hajda
s5p-mfc encoder after receiving buffer with flag V4L2_BUF_FLAG_EOS will put all buffers cached in device into capture queue. It will indicate end of encoded stream by providing empty buffer. Signed-off-by: Andrzej Hajda a.ha...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

Re: [Q] vb2 userptr: struct vb2_ops::buf_cleanup() is called without buf_init()

2012-05-22 Thread Laurent Pinchart
Hi Guennadi, (CC'ing Pawel and Marek) On Monday 21 May 2012 10:30:19 Guennadi Liakhovetski wrote: Hi A recent report http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/47594 has revealed the following asymmetry in how videobuf2 functions: as is also documented in

Re: Problems with the gspca_ov519 driver

2012-05-22 Thread Hans de Goede
Hi, On 05/22/2012 05:27 PM, Lluís Batlle i Rossell wrote: Is this over linux 3.4 mainline? Because I can't get the patch applied over it. No it is against: http://git.linuxtv.org/media_tree.git/shortlog/refs/heads/staging/for_v3.5 But it should be trivial to backport, the patch is only 3

Re: RFC: V4L2 API and radio devices with multiple tuners

2012-05-22 Thread Rémi Denis-Courmont
Le samedi 19 mai 2012 21:36:23 Antti Palosaari, vous avez écrit : On 19.05.2012 21:20, Hans de Goede wrote: Currently the V4L2 API does not allow for radio devices with more then 1 tuner, which is a bit of a historical oversight, since many radio devices have 2 tuners/demodulators 1 for

Re: Problems with the gspca_ov519 driver

2012-05-22 Thread Lluís Batlle i Rossell
On Tue, May 22, 2012 at 06:28:18PM +0200, Hans de Goede wrote: Hi, On 05/22/2012 05:27 PM, Lluís Batlle i Rossell wrote: Is this over linux 3.4 mainline? Because I can't get the patch applied over it. No it is against:

cron job: media_tree daily build: ERRORS

2012-05-22 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 May 22 19:00:11 CEST 2012 git hash:abed623ca59a7d1abed6c4e7459be03e25a90a1e gcc version: i686-linux-gcc

Re: Problems with the gspca_ov519 driver

2012-05-22 Thread Lluís Batlle i Rossell
On Tue, May 22, 2012 at 06:28:18PM +0200, Hans de Goede wrote: On 05/22/2012 05:27 PM, Lluís Batlle i Rossell wrote: Is this over linux 3.4 mainline? Because I can't get the patch applied over it. No it is against: http://git.linuxtv.org/media_tree.git/shortlog/refs/heads/staging/for_v3.5

Re: [GIT PULL for 3.3-rc1] media updates

2012-05-22 Thread Geert Uytterhoeven
Hi Laurent, On Mon, Apr 30, 2012 at 1:23 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: On Wednesday 25 April 2012 17:12:49 Geert Uytterhoeven wrote: On Sun, Jan 15, 2012 at 14:41, Mauro Carvalho Chehab wrote: Laurent Pinchart (18):      [media] uvcvideo: Move fields from

Re: [PATCH v3] scatterlist: add sg_alloc_table_from_pages function

2012-05-22 Thread Andrew Morton
On Mon, 21 May 2012 16:01:50 +0200 Tomasz Stanislawski t.stanisl...@samsung.com wrote: +int sg_alloc_table_from_pages(struct sg_table *sgt, + struct page **pages, unsigned int n_pages, + unsigned long offset, unsigned long size, + gfp_t gfp_mask) I guess a 32-bit n_pages is OK. A

HVR1600 and Centos 6.2 x86_64 -- Strange Behavior

2012-05-22 Thread Bob Lightfoot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear LinuxTv and AtRpms Communities: In the most recent three kernels {2.6.32-220.7.1 ; 2.6.32-220.13.1 ; 2.6.32-220.17.1} released for CentOS 6.2 I have experienced what can only be described as a strange behavior of the V4L kernel modules with

Re: [PATCH 0/6] snd_tea575x: Various patches

2012-05-22 Thread Ondrej Zary
On Sunday 20 May 2012 03:25:25 Hans de Goede wrote: Hi All, This patch series contains various patches for the tea575x driver to prepare for adding support for the Griffin radioSHARK device. The 6th patch adds support for tuning AM, which depends on the discussions surrounding the v4l2 API

Re: HVR1600 and Centos 6.2 x86_64 -- Strange Behavior

2012-05-22 Thread Devin Heitmueller
On Tue, May 22, 2012 at 4:34 PM, Bob Lightfoot boblf...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear LinuxTv and AtRpms Communities:     In the most recent three kernels {2.6.32-220.7.1 ; 2.6.32-220.13.1 ; 2.6.32-220.17.1} released for CentOS 6.2 I have experienced

Re: RFC: V4L2 API and radio devices with multiple tuners

2012-05-22 Thread Hans de Goede
Hi, On 05/22/2012 06:26 PM, Rémi Denis-Courmont wrote: Le samedi 19 mai 2012 21:36:23 Antti Palosaari, vous avez écrit : On 19.05.2012 21:20, Hans de Goede wrote: Currently the V4L2 API does not allow for radio devices with more then 1 tuner, which is a bit of a historical oversight, since

Re: RFC: V4L2 API and radio devices with multiple tuners

2012-05-22 Thread Hans Verkuil
On Tue May 22 2012 22:45:44 Hans de Goede wrote: Hi, On 05/22/2012 06:26 PM, Rémi Denis-Courmont wrote: Le samedi 19 mai 2012 21:36:23 Antti Palosaari, vous avez écrit : On 19.05.2012 21:20, Hans de Goede wrote: Currently the V4L2 API does not allow for radio devices with more then 1

Re: Problems with the gspca_ov519 driver

2012-05-22 Thread Antonio Ospite
On Tue, 22 May 2012 16:39:17 +0200 Hans de Goede hdego...@redhat.com wrote: On 05/22/2012 04:08 PM, Paulo Assis wrote: Hi, This bug also causes the camera to crash when changing fps in guvcview, uvc devices (at least all the ones I tested) require the stream to be restarted for fps to

Re: HVR1600 and Centos 6.2 x86_64 -- Strange Behavior

2012-05-22 Thread Andy Walls
Devin Heitmueller dheitmuel...@kernellabs.com wrote: On Tue, May 22, 2012 at 4:34 PM, Bob Lightfoot boblf...@gmail.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear LinuxTv and AtRpms Communities:     In the most recent three kernels {2.6.32-220.7.1 ; 2.6.32-220.13.1 ;

[media-ctl PATCH v3 0/4] New selection format and compose support

2012-05-22 Thread Sakari Ailus
Hi Laurent, Update: since v2: - Use parenthesis in crop display I've updated the two first patches from the previous set as discussed. There are two new that change the selection target names to correspond the latest developments. Cheers, -- Sakari Ailus e-mail: sakari.ai...@iki.fi

[media-ctl PATCH v3 2/4] Compose rectangle support for libv4l2subdev

2012-05-22 Thread Sakari Ailus
Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- src/main.c | 14 ++ src/options.c|6 -- src/v4l2subdev.c | 32 +++- 3 files changed, 41 insertions(+), 11 deletions(-) diff --git a/src/main.c b/src/main.c index 5d88b46..0b94f2a

[media-ctl PATCH v3 1/4] New, more flexible syntax for format

2012-05-22 Thread Sakari Ailus
More flexible and extensible syntax for format which allows better usage of the selection API. Continue supporting the old syntax but remove the documentation for it. It was not supported in an official release and its use is thus deprecated. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi ---

[media-ctl PATCH v3 3/4] Drop _ACTUAL from selection target names

2012-05-22 Thread Sakari Ailus
Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- src/main.c |4 ++-- src/v4l2subdev.c |8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.c b/src/main.c index 0b94f2a..c279dea 100644 --- a/src/main.c +++ b/src/main.c @@ -71,7 +71,7 @@ static void

V4L2 error with HVR-1600 TV Tuner

2012-05-22 Thread Stephane Boileau
Summary: TV tuner was tested with mplayer, xawtv, and Mythtv. None of them worked. mplayer and xawtv both report an ioctl error originating from V4l2. Hardware and Driver Details: Platform: Debian 6.0.5 on AMD64 with kernel 2.6.32 TV tuner: Hauppauge HVR 1600 identified with a TCL