Re: [PATCH 1/2] [media] dib0700: Drop useless check when remote key is pressed

2012-03-20 Thread Jean Delvare
Hi Mauro, On Mon, 19 Mar 2012 19:26:11 -0300, Mauro Carvalho Chehab wrote: On Tue, Mar 13, 2012 at 1:50 PM, Jean Delvare kh...@linux-fr.org wrote: --- linux-3.3-rc7.orig/drivers/media/dvb/dvb-usb/dib0700_core.c 2012-03-13 11:09:13.0 +0100 +++

Re: [PATCH] video: mx3_camera: Allocate camera object via kzalloc

2012-03-20 Thread Guennadi Liakhovetski
On Mon, 19 Mar 2012, Mauro Carvalho Chehab wrote: Em 20-02-2012 16:23, Fabio Estevam escreveu: On Mon, Feb 20, 2012 at 4:17 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Mon, 20 Feb 2012, Fabio Estevam wrote: Align mx3_camera driver with the other soc camera driver

[GIT PULL FOR v3.4 v2] V4L2 subdev and sensor control changes and SMIA++ driver

2012-03-20 Thread Sakari Ailus
Hi Mauro, This patchset adds - Integer menu controls, - Selection IOCTL for subdevs, - Sensor control improvements, - link_validate() media entity and V4L2 subdev pad ops, - OMAP 3 ISP driver improvements, - SMIA++ sensor driver and - Other V4L2 and media improvements (see individual patches)

Re: [Q] ov7670: green line in VGA resolution

2012-03-20 Thread javier Martin
Hi Jonathan, thank you for your attention. On 19 March 2012 18:44, Jonathan Corbet cor...@lwn.net wrote: On Mon, 19 Mar 2012 17:27:06 +0100 javier Martin javier.mar...@vista-silicon.com wrote: I suspect the problem is related to the fact that this sensor has an array of 656 x 488 pixels but

RE: [PATCH v1] i.MX35-PDK: Add Camera support

2012-03-20 Thread Alex Gershgorin
Hi all, Good news... After several number of changes, yesterday the camera started to work :-) I will prepare some patches and send them. On Mon, Mar 19, 2012 at 07:43:32PM -0300, Fabio Estevam wrote: Hi Sascha, On Mon, Mar 19, 2012 at 7:37 PM, Sascha Hauer s.ha...@pengutronix.de wrote:

Re: reading config parameters of omap3-isp subdevs

2012-03-20 Thread Michael Jones
Hi Laurent, On 03/20/2012 12:22 AM, Laurent Pinchart wrote: Hi Michael, On Friday 16 March 2012 15:06:15 Michael Jones wrote: [snip] Adding a R/W bit to the flag argument should indeed work. However, I'm wondering what your use case for reading parameters back is. The simplest use case in

[PATCH] ARM: i.MX35: Add set_rate and round_rate calls to csi_clk

2012-03-20 Thread Alex Gershgorin
This patch add set_rate and round_rate calls to csi_clk. This is needed to give mx3-camera control over master clock rate to camera. Signed-off-by: Alex Gershgorin al...@meprolight.com --- arch/arm/mach-imx/clock-imx35.c | 57 +- 1 files changed, 55

[PATCH 0/6] s5p-fimc driver updates

2012-03-20 Thread Sylwester Nawrocki
This series includes some fixes and updates of the s5p-fimc driver, it includes some prerequisite patches for adding the device tree support. The last patch depends of the deferred probe infrastructure which is already in linux-next:

[PATCH 5/6] s5p-fimc: Remove unneeded fields from struct fimc_dev

2012-03-20 Thread Sylwester Nawrocki
irq is used only locally and num_clocks is constant, so remove them. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-core.c |8 +++- drivers/media/video/s5p-fimc/fimc-core.h |4

[PATCH 4/6] s5p-fimc: Refactor hardware setup for m2m transaction

2012-03-20 Thread Sylwester Nawrocki
Remove redundant H/W setup logic by merging fimc_prepare_config() and the device_run() callback. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-core.c | 77 --

[PATCH 2/6] s5p-fimc: Reinitialize the pipeline properly after VIDIOC_STREAMOFF

2012-03-20 Thread Sylwester Nawrocki
This patch prevents blocking on DQBUF at a video capture node in some conditions, after STREAOMOFF/STREAMON sequence. The ST_CAPT_SUSPEND flag should not be set during normal stream off, otherwise the capture engine is not properly enabled at stream on. Reported-by: Bernard Debbasch

[PATCH 6/6] s5p-fimc: Handle sub-device interdependencies using deferred probing

2012-03-20 Thread Sylwester Nawrocki
In this driver there are several entities associated with separate platform or I2C client devices, which may get probed in random order. When the platform device bound to the media device driver is probed all other entity drivers need to be already in place and initialized. If any of them is not,

[PATCH 3/6] s5p-fimc: Simplify locking by removing the context data structure spinlock

2012-03-20 Thread Sylwester Nawrocki
Access to the memory-to-memory video node is serialized through a mutex so now there is no point in having per device context structure spinlock. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [PATCH 1/2] [media] dib0700: Drop useless check when remote key is pressed

2012-03-20 Thread Mauro Carvalho Chehab
Em 20-03-2012 04:20, Jean Delvare escreveu: Hi Mauro, On Mon, 19 Mar 2012 19:26:11 -0300, Mauro Carvalho Chehab wrote: On Tue, Mar 13, 2012 at 1:50 PM, Jean Delvare kh...@linux-fr.org wrote: --- linux-3.3-rc7.orig/drivers/media/dvb/dvb-usb/dib0700_core.c 2012-03-13 11:09:13.0

Re: [PATCH] video: mx3_camera: Allocate camera object via kzalloc

2012-03-20 Thread Fabio Estevam
Hi Guennadi, On 3/20/12, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Don't think so. vzalloc() is used in mx3_camera to allocate driver private data objects and are never used for DMA, so, it doesn't have any restrictions on contiguity, coherency, alignment etc. Is this valid only for

Re: [PATCH] video: mx3_camera: Allocate camera object via kzalloc

2012-03-20 Thread Guennadi Liakhovetski
On Tue, 20 Mar 2012, Fabio Estevam wrote: Hi Guennadi, On 3/20/12, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Don't think so. vzalloc() is used in mx3_camera to allocate driver private data objects and are never used for DMA, so, it doesn't have any restrictions on contiguity,

Re: [PATCH] video: mx3_camera: Allocate camera object via kzalloc

2012-03-20 Thread Fabio Estevam
On 3/20/12, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Is this valid only for mx3_camera driver? No All other soc camera drivers use kzalloc. What makes mx3_camera different in this respect? Nothing Ok, so isn't my patch correct then? -- To unsubscribe from this list: send the

Re: [PATCH 2/3] Basic AF9035/AF9033 driver

2012-03-20 Thread Michael Büsch
Thank you for working on a af903x driver. I tried to test the driver on a debian 3.2 kernel, after applying a small fix: diff -Nupr a/drivers/media/dvb/dvb-usb/Makefile b/drivers/media/dvb/dvb-usb/Makefile --- a/drivers/media/dvb/dvb-usb/Makefile2012-01-22 02:53:17.0 +0100

Re: [PATCH] ARM: i.MX35: Add set_rate and round_rate calls to csi_clk

2012-03-20 Thread Sascha Hauer
On Tue, Mar 20, 2012 at 12:29:52PM +0200, Alex Gershgorin wrote: This patch add set_rate and round_rate calls to csi_clk. This is needed to give mx3-camera control over master clock rate to camera. The file you are patching is scheduled for removal in favour for the common clock framework, so

Re: [Q] ov7670: green line in VGA resolution

2012-03-20 Thread Jonathan Corbet
On Tue, 20 Mar 2012 09:42:55 +0100 javier Martin javier.mar...@vista-silicon.com wrote: So, what I understand is that you see the same green line and, due to the lack of documentation for the ov7670, you solve it adjusting de video window in the Marvell controller driver. Could you confirm

Re: [PATCH] video: mx3_camera: Allocate camera object via kzalloc

2012-03-20 Thread Guennadi Liakhovetski
On Tue, 20 Mar 2012, Fabio Estevam wrote: On 3/20/12, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: Is this valid only for mx3_camera driver? No All other soc camera drivers use kzalloc. What makes mx3_camera different in this respect? Nothing Ok, so isn't my patch

[PATCH 3.3.0] [media] ir-raw: Check available elements in kfifo before adding.

2012-03-20 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds an additional availability check in ir_raw_event_store before adding an ir_raw_event into kfifo. The reason to do this is, Kfifo_alloc allocates fifo of size rounded down to 2. Which in this case makes sizeof

Re: go7007 patch for 3.2.11

2012-03-20 Thread Dan Carpenter
On Tue, Mar 20, 2012 at 04:45:00PM +0400, volokh wrote: Good day. I`ve Angelo PCI-MPG24 (Adlink manufacture) video capture grubber with go7007tw2804 on board. I am video surveillance developer (through web,tcp,etc net), so I`m interest with well quality(stability) of this card driver.So

Re: go7007 patch for 3.2.11

2012-03-20 Thread Dan Carpenter
Also the patch has to apply against linux-next not 3.2.11. Probably that is explained in the link I sent... regards, dan carpenter signature.asc Description: Digital signature

RE: [PATCH] ARM: i.MX35: Add set_rate and round_rate calls to csi_clk

2012-03-20 Thread Alex Gershgorin
Hi Sascha, Thanks for you comments. On Tue, Mar 20, 2012 at 12:29:52PM +0200, Alex Gershgorin wrote: This patch add set_rate and round_rate calls to csi_clk. This is needed to give mx3-camera control over master clock rate to camera. The file you are patching is scheduled for removal in

[PATCH] media_build: fix module_*_driver redefined warnings

2012-03-20 Thread Gianluca Gennari
The conditions #ifndef module_usb_driver and #ifndef module_platform_driver are always true, as the header files where this macros are defined are not included in compat.h (linux/usb.h and linux/platform_devices.h). This produces a lot of warnings like module_usb_driver redefined or

[PATCH] lirc: delete unused init/exit function prototypes

2012-03-20 Thread Gianluca Gennari
The lirc sasem and imon drivers now use the module_usb_driver macro, so the old init/exit function prototypes are useless. This patch eliminates this warnings: media_build/v4l/lirc_imon.c:74:19: warning: 'imon_init' declared 'static' but never defined [-Wunused-function]

Re: [RFCv2 PATCH 0/9] Integration of videobuf2 with dmabuf

2012-03-20 Thread Semwal, Sumit
Hi Tomasz, On Tue, Mar 6, 2012 at 5:08 PM, Tomasz Stanislawski t.stanisl...@samsung.com wrote: Hello everyone, This patchset is an incremental patch to patchset created by Sumit Semwal [1]. The patches are dedicated to help find a better solution for support of buffer sharing by V4L2 API.  It

[PATCH] go7007 patch for 3.2.x

2012-03-20 Thread volokh
please reply this at linux-media@vger.kernel.org I`ve some trouble - add new tuning option for card( V4L2_MPEG_VIDEO_ENCODING_H263 ,V4L2_CID_MPEG_VIDEO_B_FRAMES) - add framesizesframeintervals control - testedrealize motion detector control( GO7007IOC_REGION_NUMBER

[PATCH] media: i.MX2: eMMa-PrP: Allow userptr IO mode.

2012-03-20 Thread Javier Martin
Userptr can be very useful if this device is requested to use video buffers allocated by another processing device. So that buffers don't need to be copied. Signed-off-by: Javier Martin javier.mar...@vista-silicon.com --- drivers/media/video/mx2_emmaprp.c |4 ++-- 1 files changed, 2

Re: [PATCH] go7007 patch for 3.2.x

2012-03-20 Thread Greg KH
On Tue, Mar 20, 2012 at 07:30:51PM +0400, volokh wrote: please reply this at linux-media@vger.kernel.org I`ve some trouble - add new tuning option for card( V4L2_MPEG_VIDEO_ENCODING_H263 ,V4L2_CID_MPEG_VIDEO_B_FRAMES) - add framesizesframeintervals control - testedrealize motion

[PATCH] go7007 patch for 3.2.x

2012-03-20 Thread volokh
- add new tuning option for card( V4L2_MPEG_VIDEO_ENCODING_H263 ,V4L2_CID_MPEG_VIDEO_B_FRAMES) - add framesizesframeintervals control - testedrealize motion detector control( GO7007IOC_REGION_NUMBER ,GO7007IOC_PIXEL_THRESOLD ,GO7007IOC_MOTION_THRESOLD ,GO7007IOC_TRIGGER

Re: [PATCH] go7007 patch for 3.2.x

2012-03-20 Thread Ezequiel García
Hi Volokh, You would need to make this at least against the 3.3 kernel, preferably against the linux-next branch. You can follow the instructions here to work off the for_v3.4 branch: http://git.linuxtv.org/media_tree.git Also, you didn't read the Documentation/SubmittingPatches file,

Re: [PATCH 2/3] Basic AF9035/AF9033 driver

2012-03-20 Thread Gianluca Gennari
Hi Michael, Il 20/03/2012 14:04, Michael Büsch ha scritto: Thank you for working on a af903x driver. I tried to test the driver on a debian 3.2 kernel, after applying a small fix: It should be CONFIG_DVB_USB_AF903X here. this issue is fixed in version 1.02 of the driver, posted by Hans a

Re: [PATCH 2/3] Basic AF9035/AF9033 driver

2012-03-20 Thread Michael Büsch
On Tue, 20 Mar 2012 17:27:45 +0100 Gianluca Gennari gennar...@gmail.com wrote: Hi Michael, Il 20/03/2012 14:04, Michael Büsch ha scritto: Thank you for working on a af903x driver. I tried to test the driver on a debian 3.2 kernel, after applying a small fix: It should be

Re: [PATCH 2/3] Basic AF9035/AF9033 driver

2012-03-20 Thread Gianluca Gennari
Il 20/03/2012 17:37, Michael Büsch ha scritto: On Tue, 20 Mar 2012 17:27:45 +0100 Gianluca Gennari gennar...@gmail.com wrote: Hi Michael, Il 20/03/2012 14:04, Michael Büsch ha scritto: Thank you for working on a af903x driver. I tried to test the driver on a debian 3.2 kernel, after

diseqc switch and dm1105

2012-03-20 Thread Simon Kenyon
this may be a busted switch i have a dm1105 connected to 4 lnbs via a 4 way switch i've checked each lnb individually and i can tune to boradcasts on each one when i am not using the switch however i can only tune to lnbs on the first two positions but not the third and fourth has anyone

Re: [PATCH 2/3] Basic AF9035/AF9033 driver

2012-03-20 Thread Michael Büsch
On Tue, 20 Mar 2012 17:49:51 +0100 Gianluca Gennari gennar...@gmail.com wrote: Here it is: http://www.mail-archive.com/linux-media@vger.kernel.org/msg44169.html Uh thanks. I must have been blinded by the AF903x_SRC driver. ;) -- Greetings, Michael. PGP encryption is encouraged / 908D8B0E

Re: [git:v4l-dvb/for_v3.4] [media] em28xx: support for 2304:0242 PCTV QuatroStick (510e)

2012-03-20 Thread Ivan Kalvachev
On 3/20/12, Mauro Carvalho Chehab mche...@redhat.com 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] em28xx: support for 2304:0242 PCTV QuatroStick (510e) Author: Ivan

[PATCH 3.3.0] ir-raw: remove BUG_ON in ir_raw_event_thread.

2012-03-20 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch removes BUG_ON in ir_raw_event_thread which IMO is a over-kill, and this kills the ir_raw_event_thread too. With a bit of additional logic in this patch, we nomore need to kill this thread. Other disadvantage of having a BUG-ON is,

cron job: media_tree daily build: ERRORS

2012-03-20 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 Mar 20 19:00:18 CET 2012 git hash:f92c97c8bd77992ff8bd6ef29a23dc82dca799cb gcc version: i686-linux-gcc

[PATCH] [RFC] dma-buf: mmap support

2012-03-20 Thread Daniel Vetter
Let's have some competition here for dma_buf mmap support ;-) Compared to Rob Clarke's RFC I've ditched the prepare/finish hooks and corresponding ioctls on the dma_buf file. The major reason for that is that many people seem to be under the impression that this is also for synchronization with

Re: [PATCH] [RFC] dma-buf: mmap support

2012-03-20 Thread Daniel Vetter
On Tue, Mar 20, 2012 at 09:53:05PM +0100, Daniel Vetter wrote: Note taht this dma-buf mmap patch does _not_ support every possible insanity an existing subsystem could pull of with mmap: Because it does not allow to intercept pagefaults and shoot down ptes importing subsystems can't add some

Add fc0011 tuner support (was: [PATCH 2/3] Basic AF9035/AF9033 driver)

2012-03-20 Thread Michael Büsch
Okay, here we go. These patches apply on top of the latest af903x by Hans-Frieder Vogt. This adds support for the fc0011 tuner, which is used on a cabstone stick. (Its USB-id is already in af903x's list). I did some _very_ basic testing on this stuff and it basically seems to work more or less.

Re: nuvoton-cir on Intel DH67CL

2012-03-20 Thread Steffen Barszus
On Mon, 19 Mar 2012 17:00:11 -0400 Jarod Wilson ja...@redhat.com wrote: On Wed, Mar 14, 2012 at 10:32:43PM +0100, Steffen Barszus wrote: Anything to be activated to wakeup on S3/S5 ? I.e. the key to wake it up ? I'm using RC6 remote - operation as already said is without any issues, just

[PATCH] v0.3 Support for tuner FC0012

2012-03-20 Thread Hans-Frieder Vogt
Support for tuner Fitipower FC0012, revised version 0.3. This primarily addresses comments in particular from Mauro (removal of #include linux/version.h, replacement of potentially large static field in fc0012_writeregs). The patch is against the snapshot linux-media-2012-03-20).

Re: [PATCH] v0.3 Support for tuner FC0012

2012-03-20 Thread Michael Büsch
On Tue, 20 Mar 2012 23:14:35 +0100 Hans-Frieder Vogt hfv...@gmx.net wrote: +/* + buf[0] is the first register address + */ Just for me to understand this: How does this work? Does the hardware auto-increment the register address automatically after each received byte? If so, we could

Re: 320cx analog part

2012-03-20 Thread Andy Walls
On Tue, 2012-03-20 at 20:05 +0400, volokh wrote: Hi, can somebody help me with developing analog driver part. I`m looking for any docs or code. CX25840/1/2/3 datasheet: http://dl.ivtvdriver.org/datasheets/video/cx25840.pdf V4L2 framework for drivers to use:

Re: tvp5150: pxa27x-camera pxa27x-camera.0: Field type 9 unsupported.

2012-03-20 Thread Guennadi Liakhovetski
Hi Marco On Tue, 20 Mar 2012, Marco Cavallini wrote: Hello, I am trying to run a tvp5150 driver with a PXA270 based board This would be an interesting task... I am using kernel version: Linux 2.6.35 armv5tel GNU/Linux I also did a test with kernel-3.2.5 without success. Let's

[Q] v4l buffer format inside isoc

2012-03-20 Thread Ezequiel García
Hello, I'm a little lost while writing a driver for an easycap device (saa7113 capture device). I have my isoc handler, and the isoc urb flying OK. I also have the videobuf2 queue setup (or at least I think so), and I understand I need to call vb2_buffer_done() with a filled buffer. What I DON'T

Re: [Q] v4l buffer format inside isoc

2012-03-20 Thread Andy Walls
On Tue, 2012-03-20 at 21:05 -0300, Ezequiel García wrote: Hello, I'm a little lost while writing a driver for an easycap device (saa7113 capture device). I have my isoc handler, and the isoc urb flying OK. I also have the videobuf2 queue setup (or at least I think so), and I understand I