Re: v4l: how to get blanking clock count?

2012-01-15 Thread Sakari Ailus
Hi Scott, On Wed, Jan 04, 2012 at 05:59:45PM +0800, Scott Jiang wrote: If I disable this interrupt, other errors like fifo underflow are ignored. Perhaps I can add a parameter in platform data to let user decide to register this interrupt or not. I think a more generic solution would be

White Balance Temperature

2012-01-15 Thread Aurel
Hi there my Live! Cam Socialize HD VF0610, Device ID: 041e:4080, Driver: uvcvideo is running perfectly on Fedora 16 Linux, except one thing: When I try to switch on White Balance Temperature, Auto or just try to change White Balance Temperature slider I get a failure message and it won't work.

[patch] [media] saa7164: remove duplicate initialization

2012-01-15 Thread Dan Carpenter
These were initialized twice by mistake. They were defined the same way both times so this doesn't change how the code works. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/media/video/saa7164/saa7164-cards.c b/drivers/media/video/saa7164/saa7164-cards.c index

[patch] [media] tlg2300: fix up check_firmware() return

2012-01-15 Thread Dan Carpenter
The caller doesn't check the return value of check_firmware() but static checkers complain. It currently returns negative error codes, or zero or greater on success but since the return type is boolean the values are truncated to one or zero. I've changed it to return an int, negative on error

Re: Hauppage Nova: doesn't know how to handle a DVBv3 call to delivery system 0

2012-01-15 Thread razza lists
On Sat, Jan 14, 2012 at 11:44 PM, Gianluca Gennari gennar...@gmail.com wrote: Il 15/01/2012 00:41, RazzaList ha scritto: I have followed the build instructions for the Hauppauge MyTV.t device here - http://linuxtv.org/wiki/index.php/Hauppauge_myTV.t and built the drivers as detailed here -

Re: Hauppage Nova: doesn't know how to handle a DVBv3 call to delivery system 0

2012-01-15 Thread Gianluca Gennari
Il 15/01/2012 12:35, razza lists ha scritto: On Sat, Jan 14, 2012 at 11:44 PM, Gianluca Gennari gennar...@gmail.com wrote: Il 15/01/2012 00:41, RazzaList ha scritto: I have followed the build instructions for the Hauppauge MyTV.t device here -

Re: [regression] v4l: Add custom compat_ioctl32 operation

2012-01-15 Thread Laurent Pinchart
Hi Alexey, On Sunday 15 January 2012 10:09:54 Oleksij Rempel (Alexey Fisher) wrote: hi Laurent, this patch seem to create circular module dependency. I get this error: WARNING: Module /lib/modules/3.2.0-00660-g1801bbe-dirty/kernel/drivers/media/video/videodev .ko ignored, due to loop

Re: [regression] v4l: Add custom compat_ioctl32 operation

2012-01-15 Thread Hans Verkuil
On Sunday, January 15, 2012 14:14:13 Laurent Pinchart wrote: Hi Alexey, On Sunday 15 January 2012 10:09:54 Oleksij Rempel (Alexey Fisher) wrote: hi Laurent, this patch seem to create circular module dependency. I get this error: WARNING: Module

Re: [media-ctl PATCH 1/1] libmediactl: Implement MEDIA_ENT_ID_FLAG_NEXT in media_get_entity_by_id()

2012-01-15 Thread Laurent Pinchart
Hi Sakari, Thanks for the patch. On Saturday 14 January 2012 20:33:36 Sakari Ailus wrote: Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- src/mediactl.c |9 +++-- src/mediactl.h |4 +++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/mediactl.c

Re: Hauppage Nova: doesn't know how to handle a DVBv3 call to delivery system 0

2012-01-15 Thread Mauro Carvalho Chehab
Em 15-01-2012 09:51, Gianluca Gennari escreveu: Il 15/01/2012 12:35, razza lists ha scritto: On Sat, Jan 14, 2012 at 11:44 PM, Gianluca Gennari gennar...@gmail.com wrote: Il 15/01/2012 00:41, RazzaList ha scritto: I have followed the build instructions for the Hauppauge MyTV.t device here

Re: Hauppage Nova: doesn't know how to handle a DVBv3 call to delivery system 0

2012-01-15 Thread razza lists
On 15 January 2012 14:24, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 15-01-2012 09:51, Gianluca Gennari escreveu: Il 15/01/2012 12:35, razza lists ha scritto: On Sat, Jan 14, 2012 at 11:44 PM, Gianluca Gennari gennar...@gmail.com wrote: Il 15/01/2012 00:41, RazzaList ha scritto: I

Re: [media-ctl PATCH 1/1] libmediactl: Implement MEDIA_ENT_ID_FLAG_NEXT in media_get_entity_by_id()

2012-01-15 Thread Sakari Ailus
Hi Laurent, Laurent Pinchart wrote: On Saturday 14 January 2012 20:33:36 Sakari Ailus wrote: Signed-off-by: Sakari Ailussakari.ai...@iki.fi --- src/mediactl.c |9 +++-- src/mediactl.h |4 +++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/mediactl.c

Re: [RFC 08/17] v4l: Image source control class

2012-01-15 Thread Sylwester Nawrocki
Hi Sakari, On 01/14/2012 09:51 PM, Sakari Ailus wrote: diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index 083bb79..da1ec52 100644 --- a/drivers/media/video/v4l2-ctrls.c +++ b/drivers/media/video/v4l2-ctrls.c @@ -606,6 +606,12 @@ const char

Re: Hauppage Nova: doesn't know how to handle a DVBv3 call to delivery system 0

2012-01-15 Thread Gianluca Gennari
Il 15/01/2012 16:04, razza lists ha scritto: On 15 January 2012 14:24, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 15-01-2012 09:51, Gianluca Gennari escreveu: Il 15/01/2012 12:35, razza lists ha scritto: On Sat, Jan 14, 2012 at 11:44 PM, Gianluca Gennari gennar...@gmail.com wrote:

Re: Hauppage Nova: doesn't know how to handle a DVBv3 call to delivery system 0

2012-01-15 Thread razza lists
On 15 January 2012 16:22, Gianluca Gennari gennar...@gmail.com wrote: Il 15/01/2012 16:04, razza lists ha scritto: On 15 January 2012 14:24, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 15-01-2012 09:51, Gianluca Gennari escreveu: Il 15/01/2012 12:35, razza lists ha scritto: On Sat, Jan

Re: [media-ctl PATCH 1/1] libmediactl: Implement MEDIA_ENT_ID_FLAG_NEXT in media_get_entity_by_id()

2012-01-15 Thread Laurent Pinchart
Hi Sakari, On Sunday 15 January 2012 16:40:56 Sakari Ailus wrote: Laurent Pinchart wrote: On Saturday 14 January 2012 20:33:36 Sakari Ailus wrote: Signed-off-by: Sakari Ailussakari.ai...@iki.fi --- src/mediactl.c |9 +++-- src/mediactl.h |4 +++- 2 files changed,

[PATCH FOR v3.3] uvcvideo: Avoid division by 0 in timestamp calculation

2012-01-15 Thread Laurent Pinchart
Use system timestamps if the timestamp can't be computed from the data sent by the device. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/uvc/uvc_video.c | 14 +- 1 files changed, 9 insertions(+), 5 deletions(-) This patches fixes a

Re: White Balance Temperature

2012-01-15 Thread Laurent Pinchart
Hi Aurel, On Sunday 15 January 2012 11:16:30 Aurel wrote: Hi there my Live! Cam Socialize HD VF0610, Device ID: 041e:4080, Driver: uvcvideo is running perfectly on Fedora 16 Linux, except one thing: When I try to switch on White Balance Temperature, Auto or just try to change White Balance

[PATCH v3 0/3] compat_ioctl32 support for custom ioctls

2012-01-15 Thread Laurent Pinchart
Hi everybody, Here's the third version of the compat_ioctl32 support for V4L2 custom ioctls support. Compared to v2, the v4l2-compat-ioctl32 module has been merged into videodev to avoid circular modules dependencies (and also because having two separate modules didn't make much sense). Laurent

[PATCH v3 1/3] v4l: Add custom compat_ioctl32 operation

2012-01-15 Thread Laurent Pinchart
Drivers implementing custom ioctls need to handle 32-bit/64-bit compatibility themselves. Provide them with a way to do so. To avoid circular module dependencies, merge the v4l2-compat-ioctl32 module into videodev. There is no point in keeping them separate, as the v4l2_compat_ioctl32() function

[PATCH v3 2/3] uvcvideo: Return -ENOTTY in case of unknown ioctl

2012-01-15 Thread Laurent Pinchart
-EINVAL is the wrong error code in that case, replace it with -ENOTTY. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Reviewed-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/video/uvc/uvc_v4l2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH v3 3/3] uvcvideo: Implement compat_ioctl32 for custom ioctls

2012-01-15 Thread Laurent Pinchart
Support 32-bit/64-bit compatibility for the the UVCIOC_ ioctls. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/uvc/uvc_v4l2.c | 205 1 files changed, 205 insertions(+), 0 deletions(-) diff --git

[PATCH FOR 3.3] anysee: do not attach same frontend twice

2012-01-15 Thread Antti Palosaari
cxd2820r implements only one frontend currently which handles all the standards. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb/dvb-usb/anysee.c | 20 +++- 1 files changed, 7 insertions(+), 13 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/anysee.c

Re: [ANNOUNCE] DVBv5 tools version 0.0.1

2012-01-15 Thread Antti Palosaari
On 01/11/2012 12:00 AM, Mauro Carvalho Chehab wrote: On 10-01-2012 19:36, Antti Palosaari wrote: Behaviour of new FE is strange for my eyes. Could you look and explain if it is intentional? I still see that it changes delivery system automatically to the DVB-T. That is the latest commit:

cron job: media_tree daily build: ERRORS

2012-01-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:Sun Jan 15 19:00:22 CET 2012 git hash:149709f5b8a4a8678401facb5c670119751f6087 gcc version: i686-linux-gcc

[PATCH FOR 3.3] cxd2820r: do not switch to DVB-T when DVB-C fails

2012-01-15 Thread Antti Palosaari
Fix another bug introduced by recent multi-frontend to single-frontend change. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb/frontends/cxd2820r_core.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/frontends/cxd2820r_core.c

[PULL] git://linuxtv.org/mkrufky/tuners LEDs | Add Support for LED feedback on WinTV Nova-TD / WinTV Duet

2012-01-15 Thread Michael Krufky
Mauro, Please pull from the LEDs branch on my tuners tree for patches that add support for LED signal lock feedback on WinTV Nova-TD / WinTV Duet The following changes since commit 805a6af8dba5dfdd35ec35dc52ec0122400b2610: Linus Torvalds (1): Linux 3.2 are available in the git

Re: [RFC 08/17] v4l: Image source control class

2012-01-15 Thread Sakari Ailus
Hi Sylwester, Sylwester Nawrocki wrote: On 01/14/2012 09:51 PM, Sakari Ailus wrote: diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index 083bb79..da1ec52 100644 --- a/drivers/media/video/v4l2-ctrls.c +++ b/drivers/media/video/v4l2-ctrls.c @@ -606,6 +606,12

Re: [RFC 08/17] v4l: Image source control class

2012-01-15 Thread Sakari Ailus
Hi Laurent, Laurent Pinchart wrote: On Saturday 14 January 2012 21:51:31 Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 20 December 2011 21:28:00 Sakari Ailus wrote: From: Sakari Ailus sakari.ai...@iki.fi Add image source control class. This control class is intended to contain low

Re: [RFC 08/17] v4l: Image source control class

2012-01-15 Thread Laurent Pinchart
Hi Sakari, On Sunday 15 January 2012 20:44:02 Sakari Ailus wrote: Laurent Pinchart wrote: On Saturday 14 January 2012 21:51:31 Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 20 December 2011 21:28:00 Sakari Ailus wrote: From: Sakari Ailus sakari.ai...@iki.fi Add image source

Re: [ANNOUNCE] DVBv5 tools version 0.0.1

2012-01-15 Thread Antti Palosaari
On 01/15/2012 08:37 PM, Antti Palosaari wrote: On 01/11/2012 12:00 AM, Mauro Carvalho Chehab wrote: On 10-01-2012 19:36, Antti Palosaari wrote: Behaviour of new FE is strange for my eyes. Could you look and explain if it is intentional? I still see that it changes delivery system

Re: [RFC 08/17] v4l: Image source control class

2012-01-15 Thread Sylwester Nawrocki
On 01/15/2012 08:30 PM, Sakari Ailus wrote: Hi Sylwester, Sylwester Nawrocki wrote: On 01/14/2012 09:51 PM, Sakari Ailus wrote: diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index 083bb79..da1ec52 100644 --- a/drivers/media/video/v4l2-ctrls.c +++

[PATCH 1/2] anysee: do not attach same frontend twice

2012-01-15 Thread Antti Palosaari
cxd2820r implements only one frontend currently which handles all the standards. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb/dvb-usb/anysee.c | 20 +++- 1 files changed, 7 insertions(+), 13 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/anysee.c

[PATCH 2/2] cxd2820r: do not switch to DVB-T when DVB-C fails

2012-01-15 Thread Antti Palosaari
Fix another bug introduced by recent multi-frontend to single-frontend change. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb/frontends/cxd2820r_core.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/frontends/cxd2820r_core.c

Re: White Balance Temperature

2012-01-15 Thread Aurel
Laurent Pinchart laurent.pinchart at ideasonboard.com writes: Hi Aurel, On Sunday 15 January 2012 11:16:30 Aurel wrote: Hi there my Live! Cam Socialize HD VF0610, Device ID: 041e:4080, Driver: uvcvideo is running perfectly on Fedora 16 Linux, except one thing: When I try to

[PATCH] Remove pointless linux/version.h include from drivers/media/dvb/frontends/tda18271c2dd.c

2012-01-15 Thread Jesper Juhl
As pointed out by 'make versioncheck', there's no need for drivers/media/dvb/frontends/tda18271c2dd.c to #include linux/version.h, so this patch removes the include. Signed-off-by: Jesper Juhl j...@chaosbits.net --- drivers/media/dvb/frontends/tda18271c2dd.c |1 - 1 files changed, 0

[PATCH] cxd2820r: wait demod lock for DVB-C too

2012-01-15 Thread Antti Palosaari
Fix yet another bug introduced be recent cxd2820r multi-frontend to single-frontend change. Finally, we have at least almost working picture for DVB-C too. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb/frontends/cxd2820r_core.c |1 + 1 files changed, 1 insertions(+), 0

Re: [ANNOUNCE] DVBv5 tools version 0.0.1

2012-01-15 Thread Mauro Carvalho Chehab
Em 15-01-2012 18:03, Antti Palosaari escreveu: On 01/15/2012 08:37 PM, Antti Palosaari wrote: On 01/11/2012 12:00 AM, Mauro Carvalho Chehab wrote: On 10-01-2012 19:36, Antti Palosaari wrote: Behaviour of new FE is strange for my eyes. Could you look and explain if it is intentional? I still

Re: [ANNOUNCE] DVBv5 tools version 0.0.1

2012-01-15 Thread Antti Palosaari
On 01/15/2012 11:08 PM, Mauro Carvalho Chehab wrote: Em 15-01-2012 18:03, Antti Palosaari escreveu: On 01/15/2012 08:37 PM, Antti Palosaari wrote: On 01/11/2012 12:00 AM, Mauro Carvalho Chehab wrote: On 10-01-2012 19:36, Antti Palosaari wrote: That seems to be due to cxd2820r bug

Re: Hauppage Nova: doesn't know how to handle a DVBv3 call to delivery system 0

2012-01-15 Thread Malcolm Priestley
On Sun, 2012-01-15 at 17:02 +, razza lists wrote: On 15 January 2012 16:22, Gianluca Gennari gennar...@gmail.com wrote: Il 15/01/2012 16:04, razza lists ha scritto: On 15 January 2012 14:24, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 15-01-2012 09:51, Gianluca Gennari escreveu:

Re: [RFC 08/17] v4l: Image source control class

2012-01-15 Thread Sakari Ailus
Hi Laurent, Laurent Pinchart wrote: On Sunday 15 January 2012 20:44:02 Sakari Ailus wrote: Laurent Pinchart wrote: On Saturday 14 January 2012 21:51:31 Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 20 December 2011 21:28:00 Sakari Ailus wrote: From: Sakari Ailus sakari.ai...@iki.fi

v4l-utils migrated to autotools

2012-01-15 Thread Gregor Jasny
Hello, I'm Gregor the Debian (and thus Ubuntu) Maintainer of v4l-utils. I took the challenge to convert the Makefile based build system into an autotools one. This weekend I polished the last bits and submitted my changes. If you build v4l-utils from source, please clean your tree via git clean

Re: [ANNOUNCE] DVBv5 tools version 0.0.1

2012-01-15 Thread Antti Palosaari
On 01/15/2012 11:08 PM, Mauro Carvalho Chehab wrote: There was a bug at the error code handling on dvb-fe-tool: basically, if it can't open a device, it were using a NULL pointer. It was likely fixed by this commit:

cx25840: improve audio for cx2388x drivers

2012-01-15 Thread Miroslav Slugeň
Modified RegSpy.exe with patch, i used it to spot register changes in cx23885 and cx25840 chipsets. http://www.speedyshare.com/file/sVqSY/RegSpy.zip http://www.2shared.com/file/E_Gdj0ic/RegSpy.html Extra info: This RegSpy.exe is not enough, because some changes are fast, so if someone wants to

Re: cx25840: improve audio for cx2388x drivers

2012-01-15 Thread Miroslav Slugeň
Modified RegSpy.exe with patch, i used it to spot register changes in cx23885 and cx25840 chipsets. http://www.speedyshare.com/file/sVqSY/RegSpy.zip http://www.2shared.com/file/E_Gdj0ic/RegSpy.html Extra info: This RegSpy.exe is not enough, because some changes are fast, so if someone wants to

[PATCH] cxd2820r: do not allow get_frontend() when demod is not initialized

2012-01-15 Thread Antti Palosaari
This fixes bug introduced by multi-frontend to single-frontend change. Finally HAS_LOCK is got back! We are not allowed to access hardware in sleep mode... Chip did not like when .get_frontend() reads some registers while chip was sleeping and due to that HAS_LOCK bit was never gained. TODO: We

Re: [RFC 06/17] v4l: Add selections documentation.

2012-01-15 Thread Laurent Pinchart
Hi Sakari, On Monday 09 January 2012 19:16:16 Sakari Ailus wrote: Laurent Pinchart wrote: On Tuesday 20 December 2011 21:27:58 Sakari Ailus wrote: [snip] The PADDED target + provides the width and height for the padded image, Is it valid for both crop and compose rectangles ?

Re: [ANNOUNCE] DVBv5 tools version 0.0.1

2012-01-15 Thread Mauro Carvalho Chehab
Em 15-01-2012 19:47, Antti Palosaari escreveu: On 01/15/2012 11:08 PM, Mauro Carvalho Chehab wrote: There was a bug at the error code handling on dvb-fe-tool: basically, if it can't open a device, it were using a NULL pointer. It was likely fixed by this commit:

Re: [ANNOUNCE] DVBv5 tools version 0.0.1

2012-01-15 Thread Mauro Carvalho Chehab
Em 15-01-2012 22:16, Mauro Carvalho Chehab escreveu: Em 15-01-2012 19:47, Antti Palosaari escreveu: On 01/15/2012 11:08 PM, Mauro Carvalho Chehab wrote: There was a bug at the error code handling on dvb-fe-tool: basically, if it can't open a device, it were using a NULL pointer. It was

Re: [Linaro-mm-sig] [RFCv1 2/4] v4l:vb2: add support for shared buffer (dma_buf)

2012-01-15 Thread Semwal, Sumit
On Mon, Jan 16, 2012 at 11:03 AM, Semwal, Sumit sumit.sem...@ti.com wrote: On Sun, Jan 15, 2012 at 2:08 AM, Sakari Ailus sakari.ai...@iki.fi wrote: Hi Sumit, Thanks for the patch! Hi Sakari, Thanks for reviewing this :) snip Shouldn't the buffer mapping only be done at the first call

driver needed

2012-01-15 Thread pom pem
Hi  I have this usb tv card called pixelview playtv usb2 pro  I have made a lot of attempts to install it on various linux kernel and systems but no lack till now  this card has the following specs      model No    pv-tv309U+    ID  05e3:f102 Genesys Logic, Inc. VX7012 TV Box  

Re: [RFCv1 0/4] v4l: DMA buffer sharing support as a user

2012-01-15 Thread Kyungmin Park
Hi, Since dma_buf is merged at v3.3-rc, I hope to merge this one also at this merge window. Now it's tested at OMAP. also it's used at exynos but not yet fully tested. Thank you, Kyungmin Park On 1/5/12, Sumit Semwal sumit.sem...@ti.com wrote: Hello Everyone, A very happy new year 2012! :)