Re: [media-ctl][PATCH] libmediactl: engage udev to get devname

2011-08-16 Thread Andy Shevchenko
On Mon, 2011-08-15 at 16:52 +0200, Laurent Pinchart wrote: Hi Andy, Thank you for the patch. What about making it a configuration option to still support systems that don't provide libudev ? We could keep the current behaviour for those. Good point. Will do. -- Andy Shevchenko

Re: [PATCH 05/11] drivers/media: do not use EXTRA_CFLAGS

2011-08-16 Thread Laurent Pinchart
Hi Arnaud, On Monday 15 August 2011 07:07:08 Arnaud Lacombe wrote: Usage of these flags has been deprecated for nearly 4 years by: commit f77bf01425b11947eeb3b5b54685212c302741b8 Author: Sam Ravnborg sam@neptun.(none) Date: Mon Oct 15 22:25:06 2007 +0200 kbuild:

Re: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-16 Thread Laurent Pinchart
Hi Marek, On Tuesday 16 August 2011 07:35:05 Marek Szyprowski wrote: On Friday, August 12, 2011 11:55 PM Laurent Pinchart wrote: On Wednesday 10 August 2011 10:23:37 Marek Szyprowski wrote: From: Andrzej Pietrasiewicz andrze...@samsung.com Scatter-gather lib provides a helper

[PATCH] Fix locking problem between em28xx and em28xx-dvb modules

2011-08-16 Thread Chris Rankin
Hi, I've thought about this patch a bit more overnight, and it occurred to me that while em28xx_init_extension() now takes the device mutex followed by the device list mutex, my original fix would have had em28xx_register_extension() taking the device list mutex followed by the device mutex.

Re: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-16 Thread Laurent Pinchart
Hi Mauro, On Tuesday 16 August 2011 02:13:00 Mauro Carvalho Chehab wrote: Em 15-08-2011 09:30, Laurent Pinchart escreveu: On Tuesday 09 August 2011 22:05:47 Mauro Carvalho Chehab wrote: Em 29-07-2011 05:36, Laurent Pinchart escreveu: On Friday 29 July 2011 06:02:54 Mauro Carvalho Chehab

Re: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-16 Thread Laurent Pinchart
Hi Mauro, On Tuesday 16 August 2011 02:21:09 Mauro Carvalho Chehab wrote: Em 15-08-2011 05:45, Laurent Pinchart escreveu: After having it there properly working and tested independently, we may consider patches removing V4L2 interfaces that were obsoleted in favor of using the libv4l

RE: [PATCH 8/9] ARM: integrate CMA with DMA-mapping subsystem

2011-08-16 Thread Marek Szyprowski
Hello, On Friday, August 12, 2011 5:01 PM Arnd Bergmann wrote: On Friday 12 August 2011, Marek Szyprowski wrote: @@ -82,16 +103,16 @@ static struct page *__dma_alloc_buffer(struct device *dev, size_t size, gfp_t gf if (mask 0xULL) gfp |= GFP_DMA; - page =

RE: [PATCH 7/9] ARM: DMA: steal memory for DMA coherent mappings

2011-08-16 Thread Marek Szyprowski
Hello, On Friday, August 12, 2011 2:53 PM Arnd Bergmann wrote: On Friday 12 August 2011, Marek Szyprowski wrote: From: Russell King rmk+ker...@arm.linux.org.uk Steal memory from the kernel to provide coherent DMA memory to drivers. This avoids the problem with multiple mappings with

[media-ctl][PATCHv2 1/4] libmediactl: restruct error path

2011-08-16 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- src/media.c | 16 +--- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/media.c b/src/media.c index e3cab86..050289e 100644 --- a/src/media.c +++ b/src/media.c @@ -255,7 +255,7 @@ static int

[media-ctl][PATCHv2 2/4] libmediactl: split media_get_devname from media_enum_entities

2011-08-16 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- src/media.c | 69 +- 1 files changed, 39 insertions(+), 30 deletions(-) diff --git a/src/media.c b/src/media.c index 050289e..fc05a86 100644 --- a/src/media.c +++

[media-ctl][PATCHv2 3/4] libmediactl: use udev conditionally to get a devname

2011-08-16 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- configure.in| 22 ++ src/Makefile.am |2 ++ src/media.c | 50 ++ 3 files changed, 74 insertions(+), 0 deletions(-) diff --git a/configure.in

[media-ctl][PATCHv2 4/4] libmediactl: pass verbose to media_get_devname

2011-08-16 Thread Andy Shevchenko
Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com --- src/media.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/media.c b/src/media.c index e159526..e276df5 100644 --- a/src/media.c +++ b/src/media.c @@ -255,7 +255,7 @@ static int

Re: dvb-apps: update DVB-T intial tuning files for Finland (fi-*)

2011-08-16 Thread Hein Rigolo
On Mon, Aug 15, 2011 at 12:33 PM, Antti Palosaari cr...@iki.fi wrote: On 08/15/2011 12:56 PM, Hein Rigolo wrote: On Mon, Aug 15, 2011 at 2:38 AM, Antti Palosaari cr...@iki.fi wrote: Updates all Finnish channels as today. Antti Do we still need to have separate initial tuning files per

RE: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-16 Thread Marek Szyprowski
Hello, On Tuesday, August 16, 2011 10:42 AM Laurent Pinchart wrote: On Tuesday 16 August 2011 07:35:05 Marek Szyprowski wrote: On Friday, August 12, 2011 11:55 PM Laurent Pinchart wrote: On Wednesday 10 August 2011 10:23:37 Marek Szyprowski wrote: From: Andrzej Pietrasiewicz

Re: [mythtv-users] Anyone tested the DVB-T2 dual tuner TBS6280?

2011-08-16 Thread Harald Gustafsson
On Mon, Aug 15, 2011 at 8:11 PM, Simon Hobson li...@thehobsons.co.uk wrote: Date: Sat, 13 Aug 2011 22:08:30 +0300 From: Turbosight Europe euro_supp...@tbsdtv.com ... also, in case of TBS 6280 there is something else you should know - currently we keep two separate Linux drivers: one that support

Re: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-16 Thread Laurent Pinchart
Hi Marek, On Tuesday 16 August 2011 12:34:56 Marek Szyprowski wrote: On Tuesday, August 16, 2011 10:42 AM Laurent Pinchart wrote: On Tuesday 16 August 2011 07:35:05 Marek Szyprowski wrote: On Friday, August 12, 2011 11:55 PM Laurent Pinchart wrote: On Wednesday 10 August 2011 10:23:37

RE: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-16 Thread Marek Szyprowski
Hello, On Tuesday, August 16, 2011 1:02 PM Laurent Pinchart wrote: On Tuesday 16 August 2011 12:34:56 Marek Szyprowski wrote: On Tuesday, August 16, 2011 10:42 AM Laurent Pinchart wrote: On Tuesday 16 August 2011 07:35:05 Marek Szyprowski wrote: On Friday, August 12, 2011 11:55 PM

Re: [mythtv-users] Anyone tested the DVB-T2 dual tuner TBS6280?

2011-08-16 Thread Simon Hobson
Harald Gustafsson wrote: OK so this states that the current drivers don't support both DVB-T and -T2 simultaneously. This is good to know since this would be my common usage, going to record DVB-T2 on one of the tuners while recording DVB-T on the other. Ditto - no point having two T2 tuners

Re: [PATCH 3/4] drivers/media/video/hexium_gemini.c: delete useless initialization

2011-08-16 Thread Jean Delvare
Hi Julia, On Thu, 4 Aug 2011 12:29:33 +0200, Julia Lawall wrote: From: Julia Lawall ju...@diku.dk Delete nontrivial initialization that is immediately overwritten by the result of an allocation function. (...) Signed-off-by: Julia Lawall ju...@diku.dk ---

[PATCH] media: Added extensive feature set to the OV5642 camera driver

2011-08-16 Thread Bastian Hecht
The driver now supports arbitray resolutions (width up to 2592, height up to 720), automatic/manual gain, automatic/manual white balance, automatic/manual exposure control, vertical flip, brightness control, contrast control and saturation control. Additionally the following effects are available

Re: [PATCH 1/6 v4] V4L: add two new ioctl()s for multi-size videobuffer management

2011-08-16 Thread Guennadi Liakhovetski
On Mon, 15 Aug 2011, Guennadi Liakhovetski wrote: On Mon, 15 Aug 2011, Hans Verkuil wrote: On Monday, August 15, 2011 13:28:23 Guennadi Liakhovetski wrote: Hi Hans On Mon, 8 Aug 2011, Hans Verkuil wrote: [snip] but I've changed my mind: I think this should use a struct

Re: [PATCH 8/9] ARM: integrate CMA with DMA-mapping subsystem

2011-08-16 Thread Arnd Bergmann
On Tuesday 16 August 2011, Marek Szyprowski wrote: On Friday, August 12, 2011 5:01 PM Arnd Bergmann wrote: How about something like if (arch_is_coherent() || nommu()) ret = alloc_simple_buffer(); else if (arch_is_v4_v5()) ret = alloc_remap();

Re: [PATCH 7/9] ARM: DMA: steal memory for DMA coherent mappings

2011-08-16 Thread Arnd Bergmann
On Sunday 14 August 2011, Russell King - ARM Linux wrote: On Fri, Aug 12, 2011 at 02:53:05PM +0200, Arnd Bergmann wrote: I thought that our discussion ended with the plan to use this only for ARMv6+ (which has a problem with double mapping) but not on ARMv5 and below (which don't have

Re: [PATCH 7/9] ARM: DMA: steal memory for DMA coherent mappings

2011-08-16 Thread Russell King - ARM Linux
On Tue, Aug 16, 2011 at 03:28:48PM +0200, Arnd Bergmann wrote: On Sunday 14 August 2011, Russell King - ARM Linux wrote: On Fri, Aug 12, 2011 at 02:53:05PM +0200, Arnd Bergmann wrote: I thought that our discussion ended with the plan to use this only for ARMv6+ (which has a problem

[PATCH] DVB: increment minor version after addition of SYS_TURBO

2011-08-16 Thread Andreas Oberritter
Signed-off-by: Andreas Oberritter o...@linuxtv.org --- Depends on https://patchwork.kernel.org/patch/1045472/ include/linux/dvb/version.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/linux/dvb/version.h b/include/linux/dvb/version.h index 1421cc8..66594b1

[PATCH] DVB: dvb_frontend: remove static assignments from dtv_property_cache_sync()

2011-08-16 Thread Andreas Oberritter
- Move all static assignments to a new function dtv_property_cache_init(). - Call dtv_property_cache_init() from FE_SET_FRONTEND, but not from dtv_property_process_get(). - This fixes a problem where 2G delivery system parameters would get overwritten with invalid values, leading to

Re: [PATCH 7/9] ARM: DMA: steal memory for DMA coherent mappings

2011-08-16 Thread Arnd Bergmann
On Tuesday 16 August 2011, Russell King - ARM Linux wrote: On Tue, Aug 16, 2011 at 03:28:48PM +0200, Arnd Bergmann wrote: Hmm, I don't remember the point about dynamically sizing the pool for ARMv6K, but that can well be an oversight on my part. I do remember the part about taking that

Re: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-16 Thread Mauro Carvalho Chehab
Em 16-08-2011 01:59, Laurent Pinchart escreveu: Hi Mauro, On Tuesday 16 August 2011 02:21:09 Mauro Carvalho Chehab wrote: Em 15-08-2011 05:45, Laurent Pinchart escreveu: After having it there properly working and tested independently, we may consider patches removing V4L2 interfaces that

Re: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-16 Thread Mauro Carvalho Chehab
Em 16-08-2011 01:57, Laurent Pinchart escreveu: Hi Mauro, My point is that the ISP driver developer can't know in advance which sensor will be used systems that don't exist yet. As far as such hardware is projected, someone will know. It is a simple trivial patch to associate a new

Re: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-16 Thread Laurent Pinchart
Hi Mauro, On Tuesday 16 August 2011 17:30:47 Mauro Carvalho Chehab wrote: Em 16-08-2011 01:57, Laurent Pinchart escreveu: My point is that the ISP driver developer can't know in advance which sensor will be used systems that don't exist yet. As far as such hardware is projected, someone

Re: [mythtv-users] Anyone tested the DVB-T2 dual tuner TBS6280?

2011-08-16 Thread Jarod Wilson
On Aug 14, 2011, at 11:50 AM, Harald Gustafsson wrote: Thanks for sharing your experience. On Sat, Aug 13, 2011 at 11:08 AM, Lawrence Rust l...@softsystem.co.uk wrote: The stock v4l sources supplied are old (from around 2.6.35) and don't contain many current fixes. This isn't a problem

Re: [PATCH 1/6 v4] V4L: add two new ioctl()s for multi-size videobuffer management

2011-08-16 Thread Pawel Osciak
Hi Guennadi, On Tue, Aug 16, 2011 at 06:13, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Mon, 15 Aug 2011, Guennadi Liakhovetski wrote: On Mon, 15 Aug 2011, Hans Verkuil wrote: On Monday, August 15, 2011 13:28:23 Guennadi Liakhovetski wrote: Hi Hans On Mon, 8 Aug 2011,

Re: Afatech AF9013

2011-08-16 Thread Josu Lazkano
Thanks again, I edit /etc/modprobe.d/options.conf options dvb_usb_af9015 adapter_nr=4,5 options dvb-usb disable_rc_polling=1 options dvb-usb force_pid_filter_usage=1 I change the signal timeout and tuning timeout and now it works perfect! I can watch two HD channels, thanks for your help. I

Re: [mythtv-users] Anyone tested the DVB-T2 dual tuner TBS6280?

2011-08-16 Thread Andy Walls
Jarod Wilson ja...@wilsonet.com wrote: On Aug 14, 2011, at 11:50 AM, Harald Gustafsson wrote: Thanks for sharing your experience. On Sat, Aug 13, 2011 at 11:08 AM, Lawrence Rust l...@softsystem.co.uk wrote: The stock v4l sources supplied are old (from around 2.6.35) and don't contain many

Re: [regression] uvcvideo: BUG at drivers/media/media-entity.c:346 for compaq presario cq56 (laptop) built-in webcam

2011-08-16 Thread Laurent Pinchart
Hi Jonathan and Daniel, On Sunday 14 August 2011 18:31:31 Jonathan Nieder wrote: Daniel Dickinson wrote[1]: New in 3.0.0: webcam oopses and then spams syslog. Didn't happen in .39 so is a regression. uvcvideo: Found UVC 1.00 device HP Webcam-101 (0bda:58e0) From syslog:

[cron job] v4l-dvb daily build: WARNINGS

2011-08-16 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:Tue Aug 16 19:00:53 CEST 2011 git hash:9bed77ee2fb46b74782d0d9d14b92e9d07f3df6e gcc version: i686-linux-gcc (GCC)

Re: Afatech AF9013

2011-08-16 Thread Jose Alberto Reguero
On Martes, 16 de Agosto de 2011 18:37:49 Josu Lazkano escribió: Thanks again, I edit /etc/modprobe.d/options.conf options dvb_usb_af9015 adapter_nr=4,5 options dvb-usb disable_rc_polling=1 options dvb-usb force_pid_filter_usage=1 I change the signal timeout and tuning timeout and now it

Re: Afatech AF9013

2011-08-16 Thread Antti Palosaari
On 08/16/2011 11:27 PM, Jose Alberto Reguero wrote: options dvb-usb force_pid_filter_usage=1 I change the signal timeout and tuning timeout and now it works perfect! I can watch two HD channels, thanks for your help. I really don't understand what force_pid_filter_usage do on the module,

Re: [GIT PATCHES FOR 3.1] s5p-fimc and noon010pc30 driver updates

2011-08-16 Thread Sylwester Nawrocki
Hello, On 08/16/2011 05:30 PM, Mauro Carvalho Chehab wrote: Em 16-08-2011 01:57, Laurent Pinchart escreveu: Hi Mauro, My point is that the ISP driver developer can't know in advance which sensor will be used systems that don't exist yet. As far as such hardware is projected, someone will

Locking problem between em28xx and em28xx-dvb modules - Part 2

2011-08-16 Thread Chris Rankin
Hi, I've been looking deeper into the em28xx and em28xx-dvb modules, and I'm concerned that there are some races and resource leaks inherent in the current code: a) Shouldn't em28xx_init_extension() and em28xx_add_into_devlist() be unified into a single function? Otherwise, consider someone

Re: Afatech AF9013

2011-08-16 Thread Jose Alberto Reguero
On Martes, 16 de Agosto de 2011 22:57:24 Antti Palosaari escribió: On 08/16/2011 11:27 PM, Jose Alberto Reguero wrote: options dvb-usb force_pid_filter_usage=1 I change the signal timeout and tuning timeout and now it works perfect! I can watch two HD channels, thanks for your help.

[PATCH] Fix locking problem, race conditions and resource leaks in em28xx, em28xx-dvb

2011-08-16 Thread Chris Rankin
Hi, Here's the latest draft of my patch (against 3.0). Any feedback greatly appreciated. Cheers, Chris --- linux-3.0/drivers/media/video/em28xx/em28xx-core.c.orig 2011-08-16 19:49:58.0 +0100 +++ linux-3.0/drivers/media/video/em28xx/em28xx-core.c 2011-08-16 21:46:35.0 +0100 @@

Re: [PATCH] media: vb2: dma-sg allocator: change scatterlist allocation method

2011-08-16 Thread Jonathan Corbet
On Tue, 16 Aug 2011 12:34:56 +0200 Marek Szyprowski m.szyprow...@samsung.com wrote: Right, I wasn't aware of that, but it still doesn't look like an issue. The only client of dma-sg allocator is marvell-ccic, which is used on x86 systems. If one needs dma-sg allocator on ARM, he should