[PATCH 3/7] v4l: videobuf2: add vmalloc allocator

2010-10-20 Thread Marek Szyprowski
From: Pawel Osciak p.osc...@samsung.com Add an implementation of contiguous virtual memory allocator and handling routines for videobuf2, implemented on top of vmalloc()/vfree() calls. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[PATCH 4/7] v4l: videobuf2: add DMA coherent allocator

2010-10-20 Thread Marek Szyprowski
From: Pawel Osciak p.osc...@samsung.com Add an implementation of DMA coherent memory allocator and handling routines for videobuf2, implemented on top of dma_alloc_coherent() call. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com

[PATCH 1/7] v4l: add videobuf2 Video for Linux 2 driver framework

2010-10-20 Thread Marek Szyprowski
From: Pawel Osciak p.osc...@samsung.com Videobuf2 is a Video for Linux 2 API-compatible driver framework for multimedia devices. It acts as an intermediate layer between userspace applications and device drivers. It also provides low-level, modular memory management functions for drivers.

[PATCH 6/7] v4l: vivi: port to videobuf2

2010-10-20 Thread Marek Szyprowski
From: Pawel Osciak p.osc...@samsung.com Make vivi use videobuf2 in place of videobuf. Signed-off-by: Pawel Osciak p.osc...@samsung.com Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Pawel Osciak pa...@osciak.com ---

[PATCH/RFC v3 0/7] Videobuf2 framework

2010-10-20 Thread Marek Szyprowski
Hello, As I promissed I continue the development of the VideoBuf2 at Samsung until Pawel finds some spare time to help us. This is a third version of the framework. Besides the minor bugfixes here and there I've added a complete read() callback emulator. This emulator provides 2 types of read()

[PATCH 5/7] v4l: videobuf2: add read() emulator

2010-10-20 Thread Marek Szyprowski
Add a generic read() emulator for videobuf2. It uses MMAP memory type buffers and generic vb2 calls: req_bufs, qbuf and dqbuf. Video date is being copied from mmap buffers to userspace with standard copy_to_user() function. To add read() support to the driver, only one additional structure should

Re: rtl2832u support

2010-10-20 Thread Hans Verkuil
On Tuesday, October 19, 2010 23:28:49 Devin Heitmueller wrote: On Tue, Oct 19, 2010 at 4:27 PM, Hans Verkuil hverk...@xs4all.nl wrote: Bullshit. Not exactly the level of mutual respect for your peers that I would expect of you, Hans. You I right, that could have been phrased more

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Arnd Bergmann
On Wednesday 20 October 2010, Dave Young wrote: be curious, why can't just fix the lock_kernel logic of i810? Fixing is too hard? Find a i810 hardware should be possible, even if the hardware does not support SMP, can't we test the fix with preemption? Yes, that should work too. My usual

Re: [PATCH] V4L/DVB: Add the via framebuffer camera controller driver

2010-10-20 Thread Hans Verkuil
On Wednesday, October 20, 2010 02:32:11 Jonathan Corbet wrote: OK, here's a new version of the patch, done against the V4L tree. Now with 100% fewer compiler errors! It took a while to figure out the API changes, and I'm not convinced I like them all - the controller driver didn't used to

Re: [PATCH/RFC v3 0/7] Videobuf2 framework

2010-10-20 Thread Hans Verkuil
On Wednesday, October 20, 2010 08:41:06 Marek Szyprowski wrote: Hello, As I promissed I continue the development of the VideoBuf2 at Samsung until Pawel finds some spare time to help us. This is a third version of the framework. Besides the minor bugfixes here and there I've added a

Re: [PATCH/RFC v3 0/7] Videobuf2 framework

2010-10-20 Thread Kyungmin Park
On Wed, Oct 20, 2010 at 4:14 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Wednesday, October 20, 2010 08:41:06 Marek Szyprowski wrote: Hello, As I promissed I continue the development of the VideoBuf2 at Samsung until Pawel finds some spare time to help us. This is a third version of the

RE: [PATCH/RFC v3 0/7] Videobuf2 framework

2010-10-20 Thread Marek Szyprowski
Hello, On Wednesday, October 20, 2010 9:15 AM wrote: On Wednesday, October 20, 2010 08:41:06 Marek Szyprowski wrote: Hello, As I promissed I continue the development of the VideoBuf2 at Samsung until Pawel finds some spare time to help us. This is a third version of the framework.

RE: [PATCH/RFC v3 0/7] Videobuf2 framework

2010-10-20 Thread Hans Verkuil
Hello, On Wednesday, October 20, 2010 9:15 AM wrote: On Wednesday, October 20, 2010 08:41:06 Marek Szyprowski wrote: Hello, As I promissed I continue the development of the VideoBuf2 at Samsung until Pawel finds some spare time to help us. This is a third version of the framework.

[PATCH 1/6] Staging: tm6000: fix macros coding style issue and initialise statics to 0 in tm6000-core.c

2010-10-20 Thread Ruslan Pisarev
This is a patch to the tm6000-core.c file that fixed up a macros error and error initialise statics to 0 found by the checkpatch.pl tools. Signed-off-by: Ruslan Pisarev rus...@rpisarev.org.ua --- drivers/staging/tm6000/tm6000-core.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)

[PATCH 2/6] Staging: tm6000: fix ERROR: do not initialise statics to 0 or NULL in tm6000-i2c.c

2010-10-20 Thread Ruslan Pisarev
This is a patch to the tm6000-i2c.c file that fixed ERROR: do not initialise statics to 0 or NULL found by the checkpatch.pl tools. Signed-off-by: Ruslan Pisarev rus...@rpisarev.org.ua --- drivers/staging/tm6000/tm6000-i2c.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 3/6] Staging: tm6000: fix braces, tabs, comments and space coding style issue in tm6000-video.c

2010-10-20 Thread Ruslan Pisarev
This is a patch to the tm6000-video.c file that fixed up a braces, tabs, comments and space Errors and Warnings found by the checkpatch.pl tools. Signed-off-by: Ruslan Pisarev rus...@rpisarev.org.ua --- drivers/staging/tm6000/tm6000-video.c | 410 - 1 files

[PATCH 5/6] Staging: tm6000: fix comments coding style issue in group of files

2010-10-20 Thread Ruslan Pisarev
This is a patch to the tm6000-cards.c tm6000-core.c tm6000-dvb.c tm6000-i2c.c tm6000-input.c tm6000-regs.h tm6000-stds.c tm6000-usb-isoc.h tm6000.h files that fixed up a comments warnings found by the checkpatch.pl tools. Signed-off-by: Ruslan Pisarev rus...@rpisarev.org.ua ---

[PATCH 6/6] Staging: tm6000: Delete braces from return in tm6000-cards.c

2010-10-20 Thread Ruslan Pisarev
This is a patch to the tm6000-cards.c file that fixed up a space error found by the checkpatch.pl tools. Signed-off-by: Ruslan Pisarev rus...@rpisarev.org.ua --- drivers/staging/tm6000/tm6000-cards.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[PATCH 4/6] Staging: tm6000: fix macros and comments coding style issue in tm6000.h

2010-10-20 Thread Ruslan Pisarev
This is a patch to the tm6000.h file that fixed up a macros and comment error found by the checkpatch.pl tools. Signed-off-by: Ruslan Pisarev rus...@rpisarev.org.ua --- drivers/staging/tm6000/tm6000.h |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git

Re: soc_camera device

2010-10-20 Thread Bastian Hecht
Hello Hal, I am working on the same problem and thanks to Laurent and others I made lots of progress here. I want to point you to http://www.mail-archive.com/linux-media@vger.kernel.org/msg23076.html and http://www.mail-archive.com/linux-media@vger.kernel.org/msg23315.html Have fun, Bastian

Unloading cx8802 results in crash of ir_core:ir_unregister_class

2010-10-20 Thread Hans-Peter Jansen
Hi Mauro, since you got your fingers dirty with ir, I would like to direct this issue towards you. One of my servers acts as a vdr with 3 video cards: 07:01.0 Multimedia video controller: Conexant Systems, Inc. CX23880/1/2/3 PCI Video and Audio Decoder (rev 05) Subsystem: Hauppauge

[PATCH] Support for Elgato Video Capture

2010-10-20 Thread Adrian Taylor
This patch allows this device successfully to show video, at least from its composite input. I have no information about the true hardware contents of this device and so this patch is based solely on fiddling with things until it worked. The chip appears to be em2860, and the closest device with

Re: Old patches sent via the Mailing list

2010-10-20 Thread Andy Walls
On Wed, 2010-10-20 at 07:19 +0200, Sven Barth wrote: Am 18.10.2010 08:15, schrieb Mauro Carvalho Chehab: Em 17-10-2010 21:36, Andy Walls escreveu: The last time I sent this list, I was about to travel, and I may have missed some comments, or maybe I may just forgot to update. But I

Re: [PATCH/RFC v3 0/7] Videobuf2 framework

2010-10-20 Thread Andy Walls
On Wed, 2010-10-20 at 16:18 +0900, Kyungmin Park wrote: On Wed, Oct 20, 2010 at 4:14 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Wednesday, October 20, 2010 08:41:06 Marek Szyprowski wrote: Hello, As I promissed I continue the development of the VideoBuf2 at Samsung until Pawel finds

Re: Unloading cx8802 results in crash of ir_core:ir_unregister_class

2010-10-20 Thread Andy Walls
On Wed, 2010-10-20 at 12:31 +0200, Hans-Peter Jansen wrote: Hi Mauro, since you got your fingers dirty with ir, I would like to direct this issue towards you. Unfortunately, unloading all the dvb drivers is not possible, because unloading cx8802 leads to this oops: Welcome to

Re: [PATCH] V4L/DVB: Add the via framebuffer camera controller driver

2010-10-20 Thread Mauro Carvalho Chehab
Em 20-10-2010 05:07, Hans Verkuil escreveu: On Wednesday, October 20, 2010 02:32:11 Jonathan Corbet wrote: OK, here's a new version of the patch, done against the V4L tree. Now with 100% fewer compiler errors! It took a while to figure out the API changes, and I'm not convinced I like them

Re: [PATCH 1/2] ov7670: allow configuration of image size, clock speed, and I/O method

2010-10-20 Thread Mauro Carvalho Chehab
Em 19-10-2010 19:24, Daniel Drake escreveu: These parameters need to be configurable based on the host system. They can now be communicated through the s_config call. The old CONFIG_OLPC_XO_1 selector was not correct; this kind of arrangement wouldn't allow for a universal kernel that would

Re: [opensuse-kernel] Unloading cx8802 results in crash of ir_core:ir_unregister_class

2010-10-20 Thread Stefan Seyfried
On Wed, 20 Oct 2010 12:31:23 +0200 Hans-Peter Jansen h...@urpla.net wrote: Welcome to openSUSE 11.1 - Kernel 2.6.34.7-4-pae (ttyS0) Any ideas, what's going wrong here? Your kernel is ancient. Please try reproducing with a recent kernel from the Kernel:HEAD repo. If it still happens, let's

Re: [PATCH/RFC v3 0/7] Videobuf2 framework

2010-10-20 Thread Hans Verkuil
On Wed, 2010-10-20 at 16:18 +0900, Kyungmin Park wrote: On Wed, Oct 20, 2010 at 4:14 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Wednesday, October 20, 2010 08:41:06 Marek Szyprowski wrote: Hello, As I promissed I continue the development of the VideoBuf2 at Samsung until Pawel

Re: Unloading cx8802 results in crash of ir_core:ir_unregister_class

2010-10-20 Thread Hans-Peter Jansen
On Wednesday 20 October 2010, 14:16:03 Andy Walls wrote: On Wed, 2010-10-20 at 12:31 +0200, Hans-Peter Jansen wrote: Hi Mauro, since you got your fingers dirty with ir, I would like to direct this issue towards you. Unfortunately, unloading all the dvb drivers is not possible,

Re: [PATCH] V4L/DVB: Add the via framebuffer camera controller driver

2010-10-20 Thread Mauro Carvalho Chehab
Em 20-10-2010 10:40, Hans Verkuil escreveu: Em 20-10-2010 05:07, Hans Verkuil escreveu: On Wednesday, October 20, 2010 02:32:11 Jonathan Corbet wrote: OK, here's a new version of the patch, done against the V4L tree. Now with 100% fewer compiler errors! It took a while to figure out the

Re: [PATCH] V4L/DVB: Add the via framebuffer camera controller driver

2010-10-20 Thread Laurent Pinchart
Hi Mauro, On Wednesday 20 October 2010 14:48:46 Mauro Carvalho Chehab wrote: Em 20-10-2010 10:40, Hans Verkuil escreveu: [snip] Regarding gspca: reversed engineered drivers typically do not use subdevices. (actually gspca doesn't use subdevs at all). So the problem doesn't exist. The

Re: [PATCH] V4L/DVB: Add the via framebuffer camera controller driver

2010-10-20 Thread Hans Verkuil
Em 20-10-2010 10:40, Hans Verkuil escreveu: Em 20-10-2010 05:07, Hans Verkuil escreveu: On Wednesday, October 20, 2010 02:32:11 Jonathan Corbet wrote: OK, here's a new version of the patch, done against the V4L tree. Now with 100% fewer compiler errors! It took a while to figure out the

[PATCH] soc-camera: fix static build of the sh_mobile_csi2.c driver

2010-10-20 Thread Guennadi Liakhovetski
The test for driver-owner != NULL in sh_mobile_ceu_camera.c is unneeded and it breaks the static build of sh_mobile_csi2.c. Remove it. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/media/video/sh_mobile_ceu_camera.c |2 +- 1 files changed, 1 insertions(+), 1

RE: soc_camera device

2010-10-20 Thread Hiremath, Vaibhav
-Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Hal Moroff Sent: Wednesday, October 20, 2010 3:29 AM To: linux-media@vger.kernel.org Subject: soc_camera device I'm pretty new to Linux video drivers (I do have

Re: [opensuse-kernel] Unloading cx8802 results in crash of ir_core:ir_unregister_class

2010-10-20 Thread Hans-Peter Jansen
On Wednesday 20 October 2010, 14:26:20 Stefan Seyfried wrote: On Wed, 20 Oct 2010 12:31:23 +0200 Hans-Peter Jansen h...@urpla.net wrote: Welcome to openSUSE 11.1 - Kernel 2.6.34.7-4-pae (ttyS0) Any ideas, what's going wrong here? Your kernel is ancient. Please try reproducing with a

RE: [PATCH 3/4] MFC: Add MFC 5.1 V4L2 driver

2010-10-20 Thread Kamil Debski
Hi, Kamil This is second feedback about the HW op related code. (s5p_mfc_opr.c s5p_mfc.c) Hi, Peter Thanks for the comments. I have replied to them below. I would be grateful if you could cut out non relevant parts of the code in your replies. It was difficult to find your comments in such a

RE: [PATCH 3/4] MFC: Add MFC 5.1 V4L2 driver

2010-10-20 Thread Kamil Debski
Thank you for your reply about my comments. Refer to as below. Hi, I don't know if this is necessary. MFC_NUM_CONTEXTS can be fixed at the maximum number allowed by MFC hw: 16. I highly doubt someone will open that many contexts. Increasing this number will not significantly increase

RE: [PATCH 3/4] MFC: Add MFC 5.1 V4L2 driver

2010-10-20 Thread Kamil Debski
Hi, Kamil This is third feedback about watchdog timer. (s5p_mfc.c) Hi, Peter Thanks for pointing that out, enabling and disabling watchdog in open/release is reasonable. [...] +platform_set_drvdata(pdev, dev); +dev-hw_lock = 0; +dev-watchdog_workqueue =

Re: [Ksummit-2010-discuss] [v2] Remaining BKL users, what to do

2010-10-20 Thread Ville Syrjälä
On Wed, Oct 20, 2010 at 06:50:58AM +1000, Dave Airlie wrote: On Tue, Oct 19, 2010 at 11:26 PM, Arnd Bergmann a...@arndb.de wrote: On Tuesday 19 October 2010, Arnd Bergmann wrote: On Tuesday 19 October 2010 06:52:32 Dave Airlie wrote: I might be able to find some hardware still lying

Re: cx23885 module

2010-10-20 Thread Daniel Lee Kim
Thank you, Steve, for introducing me to the mailing list and showing me the protocol. I have taken a look at your questions and comments. My responses are interspersed in the email below On 10/19/2010 04:27 PM, Steven Toth wrote: Hi Dan, Thanks for writing. I can't do one-on-one end user

[PATCH RFC] ir-rc5-decoder: don't wait for the end space to produce a code

2010-10-20 Thread Mauro Carvalho Chehab
The RC5 decoding is complete at a BIT_END state. there's no reason to wait for the next space to produce a code. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/IR/ir-rc5-decoder.c b/drivers/media/IR/ir-rc5-decoder.c index df4770d..4139678 100644 ---

cx88_dvb cannot lock channels

2010-10-20 Thread RickCharter
Starting with the 2.6.35 kernels, my KWorld ATSC120 tuner will not lock on to any channels. Everything works fine up to 2.6.34.7, but will not work with the newer kernels. This card uses CX88-dvb, s5h1409, and xc2028/3028 modules, and all modules load without any errors. Firmware loads

Re: Old patches sent via the Mailing list

2010-10-20 Thread Sven Barth
On 20.10.2010 14:00, Andy Walls wrote: On Wed, 2010-10-20 at 07:19 +0200, Sven Barth wrote: Am 18.10.2010 08:15, schrieb Mauro Carvalho Chehab: Em 17-10-2010 21:36, Andy Walls escreveu: The last time I sent this list, I was about to travel, and I may have missed some comments, or maybe I

Re: [PATCH 0/3] Remaining patches in my queue for IR

2010-10-20 Thread Jarod Wilson
On Sun, Oct 17, 2010 at 12:56:27AM +0200, Maxim Levitsky wrote: Hi, This series is rebased on top of media_tree/staging/v2.6.37 only. Really this time, sorry for cheating, last time :-) The first patch like we agreed extends the raw packets. It touches all drivers (except imon as it isn't

[cron job] v4l-dvb daily build 2.6.26 and up: ERRORS

2010-10-20 Thread Hans Verkuil
This message is generated daily by a cron job that builds v4l-dvb for the kernels and architectures in the list below. Results of the daily build of v4l-dvb: date:Wed Oct 20 19:00:15 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 15167:abd3aac6644e git master:

Re: ext_lock (was viafb camera controller driver)

2010-10-20 Thread Jonathan Corbet
On Tue, 19 Oct 2010 08:54:40 +0200 Hans Verkuil hverk...@xs4all.nl wrote: We are working on removing the BKL. As part of that effort it is now possible for drivers to pass a serialization mutex to the v4l core (a mutex pointer was added to struct video_device). If the core sees that mutex then

[PATCH] dvb: remove obsolete lgdt3304 driver

2010-10-20 Thread Jarod Wilson
Some time ago, Mauro wrote: ... From the patch comments: There's a currently-unused lgdt3304 demod driver, which leaves a lot to be desired as far as functionality. The 3304 is unsurprisingly quite similar to the 3305, and empirical testing yeilds far better results

Re: [PATCH] Support for Elgato Video Capture

2010-10-20 Thread Jarod Wilson
On Oct 20, 2010, at 6:55 AM, Adrian Taylor wrote: This patch allows this device successfully to show video, at least from its composite input. I have no information about the true hardware contents of this device and so this patch is based solely on fiddling with things until it worked. The

Re: [PATCH 0/3] Remaining patches in my queue for IR

2010-10-20 Thread David Härdeman
On Sun, Oct 17, 2010 at 12:56:27AM +0200, Maxim Levitsky wrote: This series is rebased on top of media_tree/staging/v2.6.37 only. Really this time, sorry for cheating, last time :-) On a related note, Mauro - is the plan still that I should wait for the large scancodes support for the input

Re: cx23885 module

2010-10-20 Thread Steven Toth
On 10/20/10 12:19 PM, Daniel Lee Kim wrote: Thank you, Steve, for introducing me to the mailing list and showing me the protocol. I have taken a look at your questions and comments. My responses are interspersed in the email below You are welcome. cut However, running dmesg, I get the

RE: [PATCH 3/4] MFC: Add MFC 5.1 V4L2 driver

2010-10-20 Thread Jaeryul Oh
I commented as belows, And you missed one important things 'cause there were my comments in the very long email which is strongly fixed in the reset seq. [] +#define READL(offset)readl(dev-regs_base + (offset)) +#define WRITEL(data, offset) writel((data), dev-regs_base +

Re: [PATCH/RFC v3 0/7] Videobuf2 framework

2010-10-20 Thread Kyungmin Park
On Wed, Oct 20, 2010 at 9:28 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Wed, 2010-10-20 at 16:18 +0900, Kyungmin Park wrote: On Wed, Oct 20, 2010 at 4:14 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Wednesday, October 20, 2010 08:41:06 Marek Szyprowski wrote: Hello, As I promissed

em28xx: new board id [1b80:e349]

2010-10-20 Thread Jasper Wallace
Hi, I've made tests with my Magix RESCUE YOUR VIDEOTAPES! usb dongle, this device looks identical to the pictures of the Kaiser Baas USB DVD Maker 2 (KBA0300300) on the wiki: Model: Magix RESCUE YOUR VIDEOTAPES! Vendor/Product id: [1b80:e349]. Tests made: - Analog [Worked, only tested