Re: [PATCH v3 05/10] v4l: Add support for ov5640 sensor

2012-05-07 Thread jean-philippe francois
2012/5/2 Sergio Aguirre saagui...@ti.com: This adds a very limited driver for ov5640, which only supports:  - 2592x1944 @ ~7.5 fps  - 1920x1080 @ ~15 fps,  - 1280x720 @ ~24 fps,  - 640x480 @ ~24 fps,  - 320x240 @ ~24 fps, All in YUV422i format, using 1 CSI2 datalane @ 333 MHz. There is

Re: [PATCH v3 1/3] Modified RTL28xxU driver to work with RTL2832

2012-05-07 Thread Antti Palosaari
Good morning! Comments below. On 06.05.2012 15:46, Thomas Mair wrote: Hi everyone, this is the first complete version of the rtl2832 demod driver. I splitted the patches in three parts: 1. changes in the dvb-usb part (dvb_usb_rtl28xxu) 2. demod driver (rtl2832) 3. tuner driver (fc0012) -

Re: [PATCH v3 2/3] RTL2832 demodulator driver.

2012-05-07 Thread Antti Palosaari
On 06.05.2012 15:46, Thomas Mair wrote: - currently only support for the FC0012 tuner is included - The driver uses a custom log2 function. Maybe it should be changed to use ilog2 or a similar function. There is one log2 in DVB core routines and IIRC other can be found from the Kernel common

Re: How to toggle Cine CT V6 to DVB-T mode?

2012-05-07 Thread Ludovic BOUÉ
Le 06/05/2012 22:26, Oliver Endriss a écrit : Hi, On Saturday 05 May 2012 16:39:42 Ludovic BOUE wrote: Hello Oliver, I am facing an issue with my Cine CT V6 DuoFlex CT cards. All tuners are recognized in DVB-C mode and I don't know how to switch to DVB-T mode. Could you tell me how to do

Re: [media-ctl PATCH 2/3] New, more flexible syntax for media-ctl

2012-05-07 Thread Laurent Pinchart
Hi Sakari, On Sunday 06 May 2012 21:14:02 Sakari Ailus wrote: Laurent Pinchart wrote: On Saturday 05 May 2012 16:09:33 Sakari Ailus wrote: ... The pixel format and the image size at the pad are clearly format (VIDIOC_SUBDEV_S_FMT) but the other things are related to pads but not

Re: [ 3960.758784] 1 lock held by motion/7776: [ 3960.758788] #0: (queue-mutex){......}, at: [ffffffff815c62d2] uvc_queue_enable+0x32/0xc0

2012-05-07 Thread Laurent Pinchart
Hi Sanser, On Sunday 06 May 2012 16:54:40 Sander Eikelenboom wrote: Hello Laurent / Mauro, I have updated to latest 3.4-rc5-tip, running multiple video grabbers. I don't see anything specific to uvcvideo anymore, but i do get the possible circular locking dependency below. Thanks for the

[PATCH 1/1] gnutv: exit on EPIPE/SIGPIPE

2012-05-07 Thread Brian J. Murrell
When using gnutv with -out stdout it doesn't exit when it's reader quits (i.e. and it gets an EPIPE/SIGPIPE). Signed-off-by: Brian J. Murrell br...@interlinx.bc.ca --- --- linuxtv-dvb-apps-1.1.1+rev1273~/util/gnutv/gnutv_data.c 2011-11-28 09:10:33.010407011 -0500 +++

Re: [ 3960.758784] 1 lock held by motion/7776: [ 3960.758788] #0: (queue-mutex){......}, at: [ffffffff815c62d2] uvc_queue_enable+0x32/0xc0

2012-05-07 Thread Hans Verkuil
On Monday 07 May 2012 13:06:01 Laurent Pinchart wrote: Hi Sanser, On Sunday 06 May 2012 16:54:40 Sander Eikelenboom wrote: Hello Laurent / Mauro, I have updated to latest 3.4-rc5-tip, running multiple video grabbers. I don't see anything specific to uvcvideo anymore, but i do get the

Re: [ 3960.758784] 1 lock held by motion/7776: [ 3960.758788] #0: (queue-mutex){......}, at: [ffffffff815c62d2] uvc_queue_enable+0x32/0xc0

2012-05-07 Thread Laurent Pinchart
Hi Hans, On Monday 07 May 2012 13:44:59 Hans Verkuil wrote: On Monday 07 May 2012 13:06:01 Laurent Pinchart wrote: On Sunday 06 May 2012 16:54:40 Sander Eikelenboom wrote: Hello Laurent / Mauro, I have updated to latest 3.4-rc5-tip, running multiple video grabbers. I don't see

Re: [ 3960.758784] 1 lock held by motion/7776: [ 3960.758788] #0: (queue-mutex){......}, at: [ffffffff815c62d2] uvc_queue_enable+0x32/0xc0

2012-05-07 Thread Hans Verkuil
On Monday 07 May 2012 13:47:45 Laurent Pinchart wrote: Hi Hans, On Monday 07 May 2012 13:44:59 Hans Verkuil wrote: On Monday 07 May 2012 13:06:01 Laurent Pinchart wrote: On Sunday 06 May 2012 16:54:40 Sander Eikelenboom wrote: Hello Laurent / Mauro, I have updated to latest

Re: [media-ctl PATCH 2/3] New, more flexible syntax for media-ctl

2012-05-07 Thread Sakari Ailus
Hi Laurent, On Mon, May 07, 2012 at 12:44:45PM +0200, Laurent Pinchart wrote: Hi Sakari, On Sunday 06 May 2012 21:14:02 Sakari Ailus wrote: Laurent Pinchart wrote: On Saturday 05 May 2012 16:09:33 Sakari Ailus wrote: ... The pixel format and the image size at the pad are clearly

Re: [PATCH v2] af9033: implement ber and ucb functions

2012-05-07 Thread Antti Palosaari
On 07.04.2012 17:34, Hans-Frieder Vogt wrote: af9033: implement read_ber and read_ucblocks functions. Version 2 of patch that reflects my findings on the behaviour of abort_cnt, err_cnt and bit_cnt: - bit_cnt is always 0x2710 (1) - abort_cnt is between 0 and 0x2710 - err_cnt is between 0

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

2012-05-07 Thread Laurent Pinchart
Hi Tomasz, Sorry for the late reply, this one slipped through the cracks. On Thursday 19 April 2012 12:42:12 Tomasz Stanislawski wrote: On 04/17/2012 04:08 PM, Laurent Pinchart wrote: On Tuesday 10 April 2012 15:10:39 Tomasz Stanislawski wrote: This patch adds support for exporting a

Re: [ 3960.758784] 1 lock held by motion/7776: [ 3960.758788] #0: (queue-mutex){......}, at: [ffffffff815c62d2] uvc_queue_enable+0x32/0xc0

2012-05-07 Thread Hans de Goede
Hi, On 05/07/2012 01:44 PM, Hans Verkuil wrote: On Monday 07 May 2012 13:06:01 Laurent Pinchart wrote: Hi Sanser, On Sunday 06 May 2012 16:54:40 Sander Eikelenboom wrote: Hello Laurent / Mauro, I have updated to latest 3.4-rc5-tip, running multiple video grabbers. I don't see anything

[media-ctl PATCH v2 1/2] New, more flexible syntax for format

2012-05-07 Thread Sakari Ailus
More flexible and extensible syntax for format which allows better usage of the selection API. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi --- src/main.c | 17 ++--- src/options.c| 27 +--- src/v4l2subdev.c | 70

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

2012-05-07 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 2f57352..a989669

[PATCH v2 1/1] v4l2: use __u32 rather than enums in ioctl() structs

2012-05-07 Thread Sakari Ailus
From: Rémi Denis-Courmont r...@remlab.net V4L2 uses the enum type in IOCTL arguments in IOCTLs that were defined until the use of enum was considered less than ideal. Recently Rémi Denis-Courmont brought up the issue by proposing a patch to convert the enums to unsigned:

Re: [PATCH v3 05/10] v4l: Add support for ov5640 sensor

2012-05-07 Thread Aguirre, Sergio
Hi Jean-Philippe, On Mon, May 7, 2012 at 2:27 AM, jean-philippe francois jp.franc...@cynove.com wrote: 2012/5/2 Sergio Aguirre saagui...@ti.com: This adds a very limited driver for ov5640, which only supports:  - 2592x1944 @ ~7.5 fps  - 1920x1080 @ ~15 fps,  - 1280x720 @ ~24 fps,  -

Re: [PATCHv5 08/13] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-05-07 Thread Subash Patel
Hello Thomasz, Laurent, I found an issue in the function vb2_dc_pages_to_sgt() below. I saw that during the attach, the size of the SGT and size requested mis-matched (by atleast 8k bytes). Hence I made a small correction to the code as below. I could then attach the importer properly.

Re: [PATCH v2 1/1] v4l2: use __u32 rather than enums in ioctl() structs

2012-05-07 Thread Rémi Denis-Courmont
On Mon, 7 May 2012 17:27:49 +0300, Sakari Ailus sakari.ai...@iki.fi wrote: From: Rémi Denis-Courmont r...@remlab.net I don't think I have written any surviving line in that patch. No objections though. -- Rémi Denis-Courmont Sent from my collocated server -- To unsubscribe from

Re: [PATCH V4 4/5] Media: Update docs for V4L2 FM new features

2012-05-07 Thread halli manjunatha
On Sun, May 6, 2012 at 2:00 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Sat May 5 2012 00:41:34 Hans Verkuil wrote: +    table pgwide=1 frame=none id=Radio band Types +      titleRadio Band Types/title +      tgroup cols=2 +   cs-str; +   tbody valign=top +               row +    

Re: [PATCH v5 01/12] V4L: Add helper function for standard integer menu controls

2012-05-07 Thread Sakari Ailus
Hi Sylwester, On Sun, May 06, 2012 at 08:51:03PM +0200, Sylwester Nawrocki wrote: This patch adds v4l2_ctrl_new_int_menu() helper function which can be used in drivers for creating standard integer menu control with driver-specific menu item list. It is similar to v4l2_ctrl_new_std_menu(),

Re: [PATCHv5 08/13] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-05-07 Thread Tomasz Stanislawski
Hi Subash, Could you provide a detailed description of a test case that causes a failure of vb2_dc_pages_to_sgt? Regards, Tomasz Stanislawski -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH] re: drivers: Probable misuses of || - it913x.c

2012-05-07 Thread Malcolm Priestley
On Mon, 2012-05-07 at 07:45 -0300, Mauro Carvalho Chehab wrote: Malcolm, Em 04-04-2012 20:00, Joe Perches escreveu: Likely these should be not || drivers/scsi/FlashPoint.c: if(bit_cnt != 0 || bit_cnt != 8) drivers/media/dvb/dvb-usb/it913x.c: if

Re: [PATCH v2 1/1] v4l2: use __u32 rather than enums in ioctl() structs

2012-05-07 Thread Hans Verkuil
On Mon May 7 2012 16:27:49 Sakari Ailus wrote: From: Rémi Denis-Courmont r...@remlab.net V4L2 uses the enum type in IOCTL arguments in IOCTLs that were defined until the use of enum was considered less than ideal. Recently Rémi Denis-Courmont brought up the issue by proposing a patch to

Android Support for camera?

2012-05-07 Thread Sriram V
Hi Sergio, I understand that you are working on providing Android HAL Support for camera on omap4. Were you able to capture and record? -- Regards, Sriram -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More

[PATCH] dvb: Initialize a variable before used.

2012-05-07 Thread Il Han
The variable ret is used uninitialized. It should be initialized before used. Initialize it. Signed-off-by: Il Han corone.il@gmail.com --- drivers/media/dvb/dvb-usb/lmedm04.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/lmedm04.c

cron job: media_tree daily build: WARNINGS

2012-05-07 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:Mon May 7 19:00:15 CEST 2012 git hash:a1ac5dc28d2b4ca78e183229f7c595ffd725241c gcc version: i686-linux-gcc

[PATCH] [media] dvb_frontend: fix a regression with DVB-S zig-zag

2012-05-07 Thread Mauro Carvalho Chehab
Changeset 5bfaadde broke zig-zag for DVB-S drivers that don't implement get_tune_settings() callback. Fix the code, in order to allow it to work as before, otherwise some channels may not be tuned anymore. Fix Fedora Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=814404

tt3200 and fec=5/6

2012-05-07 Thread N. D.
Hi, I have a tt3200 and I am currently using stock 3.3.2 drivers. However I have trouble with a particular transponder on Astra23.5E, namely 11817 V27500 5/6 8PSK. Achieving a stable lock on the said transponder is virtually impossible for me. I have googled around and seen some infos that the

Re: [PATCH v3 1/3] Modified RTL28xxU driver to work with RTL2832

2012-05-07 Thread Thomas Mair
On 07.05.2012 09:59, Antti Palosaari wrote: Good morning! Comments below. On 06.05.2012 15:46, Thomas Mair wrote: Hi everyone, this is the first complete version of the rtl2832 demod driver. I splitted the patches in three parts: 1. changes in the dvb-usb part (dvb_usb_rtl28xxu) 2.

[GIT PULL FOR 3.5] AF9035/AF9033

2012-05-07 Thread Antti Palosaari
Moikka Mauro, Some AF9035/AF9033 changes for the 3.5! Do you have idea about last date for the 3.5 PULL requests? regards Antti The following changes since commit cd58ef79264198a905367d19b1a110c2f6ac1156: af9035: disable frontend0 I2C-gate control (2012-04-06 13:09:23 +0300) are

Re: [PATCH v2] af9035: add remote control support

2012-05-07 Thread Antti Palosaari
On 22.04.2012 01:23, Hans-Frieder Vogt wrote: af9035: support remote controls, version 2 of patch (Currently, no key maps are loaded). This version of the patch addresses comments from Antti and Mauro. Thank very much for your comments! Compared to the first version of the patch, the remote

Re: [PATCH v2] af9033: implement ber and ucb functions

2012-05-07 Thread Antti Palosaari
On 07.04.2012 17:34, Hans-Frieder Vogt wrote: af9033: implement read_ber and read_ucblocks functions. Version 2 of patch that reflects my findings on the behaviour of abort_cnt, err_cnt and bit_cnt: - bit_cnt is always 0x2710 (1) - abort_cnt is between 0 and 0x2710 - err_cnt is between 0

Re: [PATCH] fc0011: Reduce number of retries

2012-05-07 Thread Antti Palosaari
On 03.04.2012 18:33, Michael Büsch wrote: On another thing: The af9035 driver doesn't look multi-device safe. There are lots of static variables around that keep device state. So it looks like this will blow up if multiple devices are present in the system. Unlikely, but still... . Are there any

Re: [PATCH] Add fc0011 tuner driver

2012-05-07 Thread Antti Palosaari
On 02.04.2012 19:14, Michael Büsch wrote: This adds support for the Fitipower fc0011 DVB-t tuner. Signed-off-by: Michael Bueschm...@bues.ch + unsigned int i, vco_retries; + u32 freq = p-frequency / 1000; + u32 bandwidth = p-bandwidth_hz / 1000; + u32 fvco, xin, xdiv,

[PATCH 23/23] gspca_gl860: Add a present check to sd_stop0

2012-05-07 Thread Hans de Goede
The sensor specific dev_post_unset_alt functions all try to write to the bridge, and none free any memory, so they should be skipped if stop0 is called on disconnection. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/gspca/gl860/gl860.c |3 +++ 1 file changed, 3

[PATCH 16/23] gspca: Use req_events in poll

2012-05-07 Thread Hans de Goede
So that we don't start a read stream when an app is only polling for control events. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/gspca/gspca.c | 44 ++--- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git

[PATCH 06/23] gscpa: use v4l2_fh and add G/S_PRIORITY support.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com In order to support control event gspca has to use struct v4l2_fh. As a bonus feature this also gives priority handling for free. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans de Goede hdego...@redhat.com ---

[PATCH 12/23] gspca_zc3xx: Disable the highest quality setting as it is not usable

2012-05-07 Thread Hans de Goede
Even with BRC the highest quality setting is not usable, BRC strips so much data from each MCU that the quality becomes worse then using a lower quality setting to begin with. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com ---

[PATCH 03/23] v4l2-framework.txt: add paragraph on driver locking and the control framework.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans de Goede hdego...@redhat.com --- Documentation/video4linux/v4l2-framework.txt |8 1 file changed, 8 insertions(+) diff --git

[PATCH 21/23] gspca-stv06xx: convert to the control framework.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/gspca/stv06xx/stv06xx.c| 24 +- drivers/media/video/gspca/stv06xx/stv06xx.h|4 +

gspca: allow use of control framework and other fixes (v3)

2012-05-07 Thread Hans de Goede
Hi all, Here is version 3 of the patchset the 2 Hans-s have been working on to move gspca over to the control framework. Note that this also includes some resulting v4l2-core patches! Comments very much welcome. Regards, Hans -- To unsubscribe from this list: send the line unsubscribe

[PATCH 01/23] v4l2-dev: make it possible to skip locking for selected ioctls.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com Using the V4L2 core lock is a very robust method that is usually very good at doing the right thing. But some drivers, particularly USB drivers, may want to prevent the core from taking the lock for specific ioctls, particularly buffer queuing ioctls.

[PATCH 14/23] gspca: Switch to V4L2 core locking, except for the buffer queuing ioctls

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com Due to latency concerns the VIDIOC_QBUF, DQBUF and QUERYBUF do not use the core lock, instead they rely only on queue_lock. HdG: Change release from the video_device to the v4l2_device, to avoid a race on disconnect. Signed-off-by: Hans Verkuil

[PATCH 18/23] gspca: Set gspca_dev-usb_err to 0 at the begin of gspca_stream_off

2012-05-07 Thread Hans de Goede
Just a small cleanup. Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/gspca/gspca.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/media/video/gspca/gspca.c b/drivers/media/video/gspca/gspca.c index 8c344c1..142fd5f 100644 ---

[PATCH 09/23] gspca_zc3xx: Fix setting of jpeg quality while streaming

2012-05-07 Thread Hans de Goede
When the user changes the JPEG quality while the camera is streaming, the driver should not only change the JPEG headers send to userspace, but also actually tell the camera to use a different quantization table. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Hans Verkuil

[PATCH 08/23] gspca: fix querycap and incorrect return codes.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com Add V4L2_CAP_DEVICE_CAPS support to querycap and replace -EINVAL by -ENOTTY whenever an ioctl is not supported. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/gspca/gspca.c |

[PATCH 20/23] gcpca-sn9c20x: convert to the control framework.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com HdG: Small fix: don't register some controls for sensors which don't have an implementation for them. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/gspca/sn9c20x.c | 496

[PATCH 19/23] gspca-zc3xx: convert to the control framework.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com The initial version was done by HV, corrections were made by HdG, and some final small changes again by HV. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/gspca/zc3xx.c | 439

[PATCH 22/23] gspca-mars: convert to the control framework.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/gspca/mars.c | 293 +- 1 file changed, 127 insertions(+), 166 deletions(-) diff --git

[PATCH 05/23] gspca: use video_drvdata(file) instead of file-private_data.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com Prepare for control events: free up file-private_data by using video_drvdata(file) to get to the gspca_dev struct. Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/gspca/gspca.c

[PATCH 13/23] gspca: Fix locking issues related to suspend/resume.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com There are two bugs here: first the calls to stop0 (in gspca_suspend) and gspca_init_transfer (in gspca_resume) need to be called with the usb_lock held. That's true for the other places they are called and it is what subdrivers expect. Quite a few will

[PATCH 11/23] gspca_zc3xx: Always automatically adjust BRC as needed

2012-05-07 Thread Hans de Goede
Always automatically adjust the Bit Rate Control setting as needed, independent of the sensor type. BRC is needed to not run out of bandwidth with higher quality settings independent of the sensor. Also only automatically adjust BRC, and don't adjust the JPEG quality control automatically, as

[PATCH 10/23] gspca_zc3xx: Fix JPEG quality setting code

2012-05-07 Thread Hans de Goede
The current code is using bits 0-1 of register 8 of the zc3xx controller to set the JPEG quality, but the correct bits are bits 1-2. Bit 0 selects between truncation or rounding in the quantization phase of the compression, since rounding generally gives better results it should thus always be 1.

[PATCH 04/23] gspca: allow subdrivers to use the control framework.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com Make the necessary changes to allow subdrivers to use the control framework. This does not add control event support, that comes later. It add a init_control cam_op that is called after init in probe that allows the subdriver to set up the controls.

[PATCH 07/23] gspca: add support for control events.

2012-05-07 Thread Hans de Goede
From: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans Verkuil hans.verk...@cisco.com Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/gspca/gspca.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/media/video/gspca/gspca.c

[PATCH 02/23] v4l2-dev: make it possible to skip locking for non ioctl fops

2012-05-07 Thread Hans de Goede
Just like with some ioctls some drivers may want to prevent the core from taking the V4L2 core lock on other fops. Signed-off-by: Hans de Goede hdego...@redhat.com --- Documentation/video4linux/v4l2-framework.txt |7 ++-- drivers/media/video/v4l2-dev.c | 45

[PATCH 15/23] gspca: Don't use the global video_dev lock for fops other then ioctl

2012-05-07 Thread Hans de Goede
Otherwise we can get an undesirable high latency on poll(). Signed-off-by: Hans de Goede hdego...@redhat.com --- drivers/media/video/gspca/gspca.c | 25 - drivers/media/video/gspca/gspca.h |8 ++-- 2 files changed, 26 insertions(+), 7 deletions(-) diff --git

[PATCH 17/23] gspca: Call sd_stop0 on disconnect

2012-05-07 Thread Hans de Goede
This is necessary to ensure that worker-threads accessing the device are stopped before our disconnect handler returns. This causes a problem with stream_off calling sd_stop0 a second time when the device handle is closed. This is fixed by setting gscpa_dev-streaming to 0 on disconnect. Note

Re: [PATCH v3 1/3] Modified RTL28xxU driver to work with RTL2832

2012-05-07 Thread Antti Palosaari
On 07.05.2012 21:38, Thomas Mair wrote: On 07.05.2012 09:59, Antti Palosaari wrote: @@ -330,12 +335,12 @@ static int rtl2831u_frontend_attach(struct dvb_usb_adapter *adap) /* check QT1010 ID(?) register; reg=0f val=2c */ ret = rtl28xxu_ctrl_msg(adap-dev,req_qt1010); if

Re: PCTV 520e - DVB-C not working

2012-05-07 Thread Antti Palosaari
On 05.05.2012 15:24, Per Wetterberg wrote: Hi, I have problem getting the PCTV 520e to work with DVB-C on Linux. The video output stream is full of defects. drxk: SCU_RESULT_INVPAR while sending cmd 0x0203 with params is printed to the dmesg log when scanning and watching DVB-C channels. I

Re: Android Support for camera?

2012-05-07 Thread Aguirre, Sergio
Hi Sriram, On Mon, May 7, 2012 at 10:33 AM, Sriram V vshrir...@gmail.com wrote: Hi Sergio,  I understand that you are working on providing Android HAL Support for camera on omap4. That's right. Not an active task at the moment, due to some other stuff going on, but yes, I have that task

[PATCH 1/1] v4l: mem2mem_testdev: Fix race conditions in driver.

2012-05-07 Thread Tomasz Moń
The mem2mem_testdev allows multiple instances to be opened in parallel. Source and destination queue data are being shared between all instances, which can lead to kernel oops due to race conditions (most likely to happen inside device_run()). Attached patch fixes mentioned problem by storing

Re: GSoC 2012 Linux-Media!

2012-05-07 Thread Antti Palosaari
Hello! On 05.05.2012 06:25, Hin-Tak Leung wrote: Hi Antti, I promised to put you in touch with some more knowledgeable people, so here they are. Will made a few comments during our discussions (inserted verbatim below - may or may not be relevant)... Please feel free to respond to Mr Cooke

[PATCH for v3.5] v4l2-event: fix regression with initial event handling.

2012-05-07 Thread Hans Verkuil
From: Hans Verkuil hans.verk...@cisco.com If the V4L2_EVENT_SUB_FL_SEND_INITIAL was set, then the application expects to receive an initial event of the initial value of the control. However, commit c53c2549333b340e2662dc64ec81323476b69a97 that added the new v4l2_subscribed_event_ops introduced

Re: [PATCH] Add fc0011 tuner driver

2012-05-07 Thread Michael Büsch
On Mon, 07 May 2012 22:02:18 +0300 Antti Palosaari cr...@iki.fi wrote: On 02.04.2012 19:14, Michael Büsch wrote: This adds support for the Fitipower fc0011 DVB-t tuner. Signed-off-by: Michael Bueschm...@bues.ch + unsigned int i, vco_retries; + u32 freq = p-frequency / 1000; +

Re: [PATCH] fc0011: Reduce number of retries

2012-05-07 Thread Michael Büsch
On Mon, 07 May 2012 21:53:23 +0300 Antti Palosaari cr...@iki.fi wrote: On 03.04.2012 18:33, Michael Büsch wrote: On another thing: The af9035 driver doesn't look multi-device safe. There are lots of static variables around that keep device state. So it looks like this will blow up if

Re: [PATCH] Add fc0011 tuner driver

2012-05-07 Thread Rémi Denis-Courmont
Le mardi 8 mai 2012 00:00:31 Michael Büsch, vous avez écrit : + dev_dbg(priv-i2c-dev, Tuned to + fa=%02X fp=%02X xin=%02X%02X vco=%02X vcosel=%02X + vcocal=%02X(%u) bw=%u\n, + (unsigned int)regs[FC11_REG_FA], + (unsigned int)regs[FC11_REG_FP], +

Re: Android Support for camera?

2012-05-07 Thread Guennadi Liakhovetski
Hi Sergio On Mon, 7 May 2012, Aguirre, Sergio wrote: Hi Sriram, On Mon, May 7, 2012 at 10:33 AM, Sriram V vshrir...@gmail.com wrote: Hi Sergio,  I understand that you are working on providing Android HAL Support for camera on omap4. That's right. Not an active task at the moment,

Re: [PATCH v3 1/3] Modified RTL28xxU driver to work with RTL2832

2012-05-07 Thread Hans-Frieder Vogt
Am Montag, 7. Mai 2012 schrieb Antti Palosaari: On 07.05.2012 21:38, Thomas Mair wrote: On 07.05.2012 09:59, Antti Palosaari wrote: @@ -330,12 +335,12 @@ static int rtl2831u_frontend_attach(struct dvb_usb_adapter *adap) /* check QT1010 ID(?) register; reg=0f val=2c */

Re: [PATCH v3 1/3] Modified RTL28xxU driver to work with RTL2832

2012-05-07 Thread Antti Palosaari
On 08.05.2012 00:28, Hans-Frieder Vogt wrote: Am Montag, 7. Mai 2012 schrieb Antti Palosaari: On 07.05.2012 21:38, Thomas Mair wrote: On 07.05.2012 09:59, Antti Palosaari wrote: @@ -330,12 +335,12 @@ static int rtl2831u_frontend_attach(struct dvb_usb_adapter *adap) /* check QT1010

Re: Android Support for camera?

2012-05-07 Thread Aguirre, Sergio
Hi Guennadi, On Mon, May 7, 2012 at 4:25 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Hi Sergio On Mon, 7 May 2012, Aguirre, Sergio wrote: Hi Sriram, On Mon, May 7, 2012 at 10:33 AM, Sriram V vshrir...@gmail.com wrote: Hi Sergio,  I understand that you are working on

Capturing from MT9J003 Camera on DM3730 using Previewer and Resizer

2012-05-07 Thread Neil Johnson
Linux-media list, We've recently had some success capturing from the MT9J003 Aptina camera on a DM3730 board (custom board).  We have been able to prove this functionality by adapting the MT9P031 driver from Linux-3.0.tar.gz (we downloaded the tarball and patched from there). The exact URL for

Re: GENIUS TV-GO A12 tv analog card

2012-05-07 Thread Sebastián Misuraca
Ezequiel, Thanks for the reply. I am going to watch the video and make the correct patch. When i finished i will send again. I have to improve mi english too. jeje thanks. 2012/5/5 Ezequiel Garcia elezegar...@gmail.com Hola Sebastián, :) On Fri, May 4, 2012 at 12:13 PM, Sebastián Misuraca

[PATCH] V4L2: sh_mobile_ceu: manage lower 8bit bus

2012-05-07 Thread Kuninori Morimoto
CAMCR::DTIF feild controls camera bus as upper8bit/16bit/lower8bit. This patch manages unmanaged lower 8bit bus Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com --- drivers/media/video/sh_mobile_ceu_camera.c |8 +--- include/media/sh_mobile_ceu.h |1 + 2

[PATCH] V4L2: mt9t112: fixup JPEG initialization workaround

2012-05-07 Thread Kuninori Morimoto
From: Masahiro Nakai na...@atmark-techno.com It has been indicated on Atmark Techno Web page http://armadillo.atmark-techno.com/faq/a800eva-dont-work-camera Signed-off-by: Masahiro Nakai na...@atmark-techno.com Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com ---

Re: [PATCH 3/3] make the other drivers take use of the new ts2020 driver

2012-05-07 Thread Igor M. Liplianin
On 7 мая 2012 00:25:04 Konstantin Dimitrov wrote: make the other drivers take use of the separate ts2020 driver Signed-off-by: Konstantin Dimitrov kosio.dimit...@gmail.com Someone maybe laugh, but here is flying around m88rs2000 driver, which tuner part is nothing special. ---

Re: [PATCHv5 08/13] v4l: vb2-dma-contig: add support for scatterlist in userptr mode

2012-05-07 Thread Subash Patel
Hi Thomasz, I have extended the MFC-FIMC testcase posted by Kamil sometime ago to sanity test the UMM patches. This test is multi-threaded(further explanation for developers who may not have seen it yet), where thread one parses the encoded stream and feeds into the codec IP driver(aka MFC