[PATCH] Input: rc-keymap - return KEY_RESERVED for unknown mappings

2011-01-28 Thread Dmitry Torokhov
Do not respond with -EINVAL to EVIOCGKEYCODE for not-yet-mapped scancodes, but rather return KEY_RESERVED. This fixes breakage with Ubuntu's input-kbd utility that stopped returning full keymaps for remote controls. Tested-by: Mauro Carvalho Chehab Tested-by: Mark Lord Signed-off-by: Dmitry Tor

[PATCH/RFC 3/3] V4L: sh_mobile_ceu_camera: convert to videobuf2

2011-01-28 Thread Guennadi Liakhovetski
Convert the sh_mobile_ceu_camera driver to the videobuf2 API. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/Kconfig|2 +- drivers/media/video/sh_mobile_ceu_camera.c | 249 2 files changed, 104 insertions(+), 147 deletions(-) diff

[PATCH/RFC 0/3] soc-camera: convert to videobuf2

2011-01-28 Thread Guennadi Liakhovetski
Hi all This is the first early draft of the soc-camera conversion to the videobuf2 API. For this RFC I've trivially split the conversion into core and driver, which, actually, we shouldn't do, because after the core is converted all the soc-camera host drivers are broken. Ideally, we should be

[PATCH 1/3] V4L: add missing EXPORT_SYMBOL* statements to vb2

2011-01-28 Thread Guennadi Liakhovetski
videobuf2-memops and videobuf2-core can be compiled as modules, in which case 3 more symbols from videobuf2-memops.c have to be exported. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/videobuf2-memops.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dri

[PATCH/RFC 2/3] V4L: soc-camera: convert to videobuf2

2011-01-28 Thread Guennadi Liakhovetski
Convert soc-camera core to the videobuf2 API. Signed-off-by: Guennadi Liakhovetski --- drivers/media/video/Kconfig |2 +- drivers/media/video/soc_camera.c | 53 + include/media/soc_camera.h | 10 --- 3 files changed, 37 insertions(+), 28

Re: DVB driver for TerraTec H7 - how do I install them?

2011-01-28 Thread Torfinn Ingolfsen
Update: On Wed, Jan 26, 2011 at 6:35 PM, Bjørn Mork wrote: > > Sure is.  But even if you get past the build errors, you'll soon > discover that Terratec "forgot" to include the necessary firmware as > well.  You can find it and some other hints in this thread: > http://www.vdr-portal.de/board/thr

Fwd: Re: omap3-isp segfault

2011-01-28 Thread Neil MacMunn
A few questions that would help to diagnose problems: What version of the ISP drivers and the MT9V032 driver are you using? Kernel version? I'm using the ISP drivers and MT9V032 driver from git://linuxtv.org/pinchartl/media.git head=media-0006-sensors. My kernel is 2.6.36. You could try

Re: omap3-isp segfault

2011-01-28 Thread Eino-Ville Talvala
On 1/27/2011 2:44 PM, Neil MacMunn wrote: > When I use media-ctl the pipeline gets configured properly. I can generate > graphs before and after and see the pipeline change. However, my system hangs > when I attempt to use yavta. I've also tried outputting to video4. > > > > > Does anybody k

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Dmitry Torokhov
On Fri, Jan 28, 2011 at 04:03:07PM -0500, Mark Lord wrote: > On 11-01-28 03:55 PM, Mark Lord wrote: > > On 11-01-28 11:42 AM, Dmitry Torokhov wrote: > >> On Thu, Jan 27, 2011 at 11:53:25AM -0800, Dmitry Torokhov wrote: > >>> On Thu, Jan 27, 2011 at 01:12:48PM -0500, Mark Lord wrote: > On 11-01

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Mark Lord
On 11-01-28 03:55 PM, Mark Lord wrote: > On 11-01-28 11:42 AM, Dmitry Torokhov wrote: >> On Thu, Jan 27, 2011 at 11:53:25AM -0800, Dmitry Torokhov wrote: >>> On Thu, Jan 27, 2011 at 01:12:48PM -0500, Mark Lord wrote: On 11-01-27 11:39 AM, Dmitry Torokhov wrote: > .. > Hmm, what about compi

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Mark Lord
On 11-01-28 11:42 AM, Dmitry Torokhov wrote: > On Thu, Jan 27, 2011 at 11:53:25AM -0800, Dmitry Torokhov wrote: >> On Thu, Jan 27, 2011 at 01:12:48PM -0500, Mark Lord wrote: >>> On 11-01-27 11:39 AM, Dmitry Torokhov wrote: .. Hmm, what about compiling with debug and getting a core then? >>> >>

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Mark Lord
Dmitry / Mauro, I'm encouraged by all of the good dialog happening here, and regret that I am unable to poke any further at the issue with ir-keytable for now. The system in question is now getting rebuilt with new/modern userspace, and I expect the original issue to "vanish" as a result. If I do

Re: DM6446

2011-01-28 Thread Phillip Pi
On Fri, Jan 28, 2011 at 11:25:04AM -0800, Charlie X. Liu wrote: > 1) Is your driver for ASUS TV tuner right? I assume it is. I had help from various people in my very long newsgroup/usenet forum thread in http://groups.google.com/group/comp.os.linux.hardware/browse_frm/thread/eced1d3cf6497abf

[PATCH RFC] uvcvideo: Add a mapping for H.264 payloads

2011-01-28 Thread Stephan Lachowsky
Associate the H.264 GUID with an H.264 pixel format so that frame and stream based format descriptors with this GUID are recognized by the UVC video driver. --- drivers/media/video/uvc/uvc_driver.c |5 + drivers/media/video/uvc/uvcvideo.h |3 +++ include/linux/videodev2.h

[PATCH RFC] uvcvideo: Add support for MPEG-2 TS payload

2011-01-28 Thread Stephan Lachowsky
Parse the UVC 1.0 and UVC 1.1 VS_FORMAT_MPEG2TS descriptors. This a stream based format, so we generate a dummy frame descriptor with a dummy frame interval range. --- drivers/media/video/uvc/uvc_driver.c | 41 ++ drivers/media/video/uvc/uvcvideo.h |3 ++ 2

RE: DM6446

2011-01-28 Thread Charlie X. Liu
1) Is your driver for ASUS TV tuner right? 2) tvtime ( http://tvtime.sourceforge.net/ ) may work for you better, as it's designed for TV tuner type of capture cards. 3) For V4L/V4L2 compliance test, I like Xawtv better (personally). Though it's old, it's mature and stable. Best regards, Charlie X

[cron job] v4l-dvb daily build: ERRORS

2011-01-28 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:Fri Jan 28 19:00:14 CET 2011 git master: 1b59be2a6cdcb5a12e18d8315c07c94a624de48f git media-master: gcc version: i6

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Dmitry Torokhov
On Fri, Jan 28, 2011 at 04:15:51PM -0200, Mauro Carvalho Chehab wrote: > Em 28-01-2011 15:33, Dmitry Torokhov escreveu: > > On Fri, Jan 28, 2011 at 03:01:58PM -0200, Mauro Carvalho Chehab wrote: > >> Em 28-01-2011 14:40, Dmitry Torokhov escreveu: > >>> On Fri, Jan 28, 2011 at 09:55:58AM -0200, Maur

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Mauro Carvalho Chehab
Em 28-01-2011 15:33, Dmitry Torokhov escreveu: > On Fri, Jan 28, 2011 at 03:01:58PM -0200, Mauro Carvalho Chehab wrote: >> Em 28-01-2011 14:40, Dmitry Torokhov escreveu: >>> On Fri, Jan 28, 2011 at 09:55:58AM -0200, Mauro Carvalho Chehab wrote: >> The rc-core register (and the corresponding in

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Dmitry Torokhov
On Fri, Jan 28, 2011 at 03:01:58PM -0200, Mauro Carvalho Chehab wrote: > Em 28-01-2011 14:40, Dmitry Torokhov escreveu: > > On Fri, Jan 28, 2011 at 09:55:58AM -0200, Mauro Carvalho Chehab wrote: > > >> The rc-core register (and the corresponding input register) is done when > >> the device detecte

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Mauro Carvalho Chehab
Em 28-01-2011 14:40, Dmitry Torokhov escreveu: > On Fri, Jan 28, 2011 at 09:55:58AM -0200, Mauro Carvalho Chehab wrote: >> The rc-core register (and the corresponding input register) is done when >> the device detected a remote controller, so, it should be safe to register >> on that point. If not

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Dmitry Torokhov
On Thu, Jan 27, 2011 at 11:53:25AM -0800, Dmitry Torokhov wrote: > On Thu, Jan 27, 2011 at 01:12:48PM -0500, Mark Lord wrote: > > On 11-01-27 11:39 AM, Dmitry Torokhov wrote: > > > On Wed, Jan 26, 2011 at 10:18:53PM -0500, Mark Lord wrote: > > >> No, it does not seem to segfault when I unload/reloa

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Dmitry Torokhov
On Fri, Jan 28, 2011 at 09:55:58AM -0200, Mauro Carvalho Chehab wrote: > Em 28-01-2011 07:39, Dmitry Torokhov escreveu: > > On Thu, Jan 27, 2011 at 04:58:57PM -0200, Mauro Carvalho Chehab wrote: > >> Em 27-01-2011 15:21, Dmitry Torokhov escreveu: > >>> On Thu, Jan 27, 2011 at 08:30:00AM -0200, Maur

[PATCH 1/2] v4l2: vb2: fix queue reallocation and REQBUFS(0) case

2011-01-28 Thread Marek Szyprowski
This patch fixes 2 minor bugs in videobuf2 core: 1. Queue should be reallocated if one change the memory access method without changing the number of buffers. 2. In case of REQBUFS(0), the request should not be passed to the driver. Signed-off-by: Marek Szyprowski Signed-off-by: Kyungmin Park --

[PATCH 0/2] Videobuf2 hot fixes

2011-01-28 Thread Marek Szyprowski
Hello! This is a small set of bugfixes for videobuf2 framework. It looks that even review done by 3 other developers can miss some minor bugs. I hope they can be applied to v2.6.38-rcX kernel series once vb2 finally gets into Linus tree. Best regards -- Marek Szyprowski Samsung Poland R&D Center

[PATCH 2/2] v4l2: vb2-dma-sg: fix memory leak

2011-01-28 Thread Marek Szyprowski
From: Andrzej Pietrasiewicz This patch fixes two minor memory leaks in videobuf2-dma-sg module. They might happen only in case some other operations (like memory allocation) failed. Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Kyungmin Park Signed-off-by: Marek Szyprowski --- drivers/

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Mauro Carvalho Chehab
Em 28-01-2011 07:39, Dmitry Torokhov escreveu: > On Thu, Jan 27, 2011 at 04:58:57PM -0200, Mauro Carvalho Chehab wrote: >> Em 27-01-2011 15:21, Dmitry Torokhov escreveu: >>> On Thu, Jan 27, 2011 at 08:30:00AM -0200, Mauro Carvalho Chehab wrote: On my tests here, this is working fine, with

Re: [PATCH v8 03/12] media: Entities, pads and links

2011-01-28 Thread Sakari Ailus
Hi Laurent, Thanks for the patches! I've got one comment that I should have made long time ago... Pads are inputs or outputs... or: are they sinks or sources? I recall that it was agreed on some occasion that sink and source are much less ambiguous and they should be used instead. So we'd have M

Re: 2.6.36/2.6.37: broken compatibility with userspace input-utils ?

2011-01-28 Thread Dmitry Torokhov
On Thu, Jan 27, 2011 at 04:58:57PM -0200, Mauro Carvalho Chehab wrote: > Em 27-01-2011 15:21, Dmitry Torokhov escreveu: > > On Thu, Jan 27, 2011 at 08:30:00AM -0200, Mauro Carvalho Chehab wrote: > >> > >> On my tests here, this is working fine, with Fedora and RHEL 6, on my > >> usual test devices,