No audio in HW Compressed MPEG2 container on HVR-1300

2010-08-01 Thread Shane Harrison
Hi There, I am having a problem with getting an audio stream present in the MPEG2 stream from an HVR-1300 card. Background ~ I am using an HVR-1300 card in a Linux system running 2.6.28.6 vanilla kernel and using latest v4l2 drivers from the repository. We are trying to use the onboard M

Re: [PATCH 09/13] IR: add helper function for hardware with small o/b buffer.

2010-08-01 Thread Andy Walls
On Sat, 2010-07-31 at 17:59 +0300, Maxim Levitsky wrote: > Some ir input devices have small buffer, and interrupt the host > each time it is full (or half full) > > Add a helper that automaticly handles timeouts, and also > automaticly merges samples of same time (space-space) > Such samples might

Re: [linux-dvb] dvb-apps testing conditional interface

2010-08-01 Thread Simon Baxter
I'm having a problem with the s2-liplianin drivers (and vdr-1.7.15) and my TT-1500/TT-2300 cards. I've also tried the bundled dvb drivers in Fedora 13 2.6.32 kernel with the same results. Can someone please tell me how to test this outside of VDR? How do I zap and receive a channel, which

[PATCH 6/6] V4L/DVB: sms: Convert IR support to use the Remote Controller core

2010-08-01 Thread Mauro Carvalho Chehab
Rewrites the siano IR implementation. The previous implementation were non-standard. As such, it has issues if more than one device registers IR, as there used to have some static constants used during protocol decoding phase. Also, it used to implement its on RAW decoder, and only for RC5. The ne

[PATCH 5/6] V4L/DVB: sms: properly initialize IR phys and IR name

2010-08-01 Thread Mauro Carvalho Chehab
sms were using a non-compliant nomenclature for the USB devices. Fix it. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb/siano/smsir.c b/drivers/media/dvb/siano/smsir.c index a56eac7..f8a4fd6 100644 --- a/drivers/media/dvb/siano/smsir.c +++ b/drivers/media/dvb/siano/smsir.c @

[PATCH 4/6] V4L/DVB: standardize names at rc-dib0700 tables

2010-08-01 Thread Mauro Carvalho Chehab
Use a more standard way to name those tables, as they're currently used by the script that coverts those tables to be loaded via userspace. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/IR/keymaps/rc-dib0700-nec.c b/drivers/media/IR/keymaps/rc-dib0700-nec.c index f5809f4..ae18

[PATCH 2/6] V4L/DVB: dib0700: Fix RC protocol logic to properly handle NEC/NECx and RC-5

2010-08-01 Thread Mauro Carvalho Chehab
Simplifies the logic for handling firmware 1.20 RC messages, fixing the logic. While here, I tried to use a RC-6 remote controller from my TV set, but it didn't work with dib0700. Not sure why, but maybe this never worked. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb/dvb-

[PATCH 3/6] V4L/DVB: smsusb: enable IR port for Hauppauge WinTV MiniStick

2010-08-01 Thread Mauro Carvalho Chehab
Add the proper gpio port for WinTV MiniStick, with the information provided by Michael. Thanks-to: Michael Krufky Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb/siano/sms-cards.c b/drivers/media/dvb/siano/sms-cards.c index cff77e2..dcde606 100644 --- a/drivers/media/dvb/si

[PATCH 1/6] V4L/DVB: dib0700: properly implement IR change_protocol

2010-08-01 Thread Mauro Carvalho Chehab
This patch implements change_protocol callback. With this change, there's no need for an extra modprobe parameter to specify the protocol. When a table is loaded (either from in-kernel rc-map tables or via ir-keytable program), the driver will automatically change the protocol, in order to work wit

[PATCH 0/6] More patches for Remote Controllers

2010-08-01 Thread Mauro Carvalho Chehab
This series contain basically two groups of changes: 1) some fixes for dib0700 IR handling; 2) rewrite of siano IR implementation to use rc-core. Mauro Carvalho Chehab (6): V4L/DVB: dib0700: properly implement IR change_protocol V4L/DVB: dib0700: Fix RC protocol logic to proper

Re: [PATCH 12/20] mt9m111: s_crop add calculation of output size

2010-08-01 Thread Guennadi Liakhovetski
On Fri, 30 Jul 2010, Michael Grzeschik wrote: > Signed-off-by: Philipp Wiesner > Signed-off-by: Michael Grzeschik > --- > drivers/media/video/mt9m111.c |8 > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/drivers/media/video/mt9m111.c b/drivers/media/video/mt9m1

[cron job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: ERRORS

2010-08-01 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:Sun Aug 1 19:00:11 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 14993:9652f85e688a git master:

[GIT PATCHES FOR 2.6.36] Add control framework

2010-08-01 Thread Hans Verkuil
Hi Mauro, This is the final version of the control framework for 2.6.36. Laurent tried to implement the control framework for UVC. While possible, it is clear that it is a poor fit for the particular requirements of UVC. Basically it would increase the UVC code size too much for too little gain.

Re: [PATCH 11/20] mt9m111: added mt9m111 format structure

2010-08-01 Thread Guennadi Liakhovetski
On Fri, 30 Jul 2010, Michael Grzeschik wrote: > removed unused rect and fmt structs from mt9m111 struct Don't understand. Both rect and fmt do seem to be used to me. If they were unused, you could have _just_ removed them. Instead you add a new struct mt9m111_format. Why? So, I don't understand

Re: [RFC] [PATCH 1/6] SoC Camera: add driver for OMAP1 camera interface

2010-08-01 Thread Janusz Krzysztofik
Friday 30 July 2010 20:49:05 Janusz Krzysztofik napisał(a): > Friday 30 July 2010 13:07:42 Guennadi Liakhovetski napisał(a): > > On Sun, 18 Jul 2010, Janusz Krzysztofik wrote: > > > This is a V4L2 driver for TI OMAP1 SoC camera interface. > > > > > > Two versions of the driver are provided, using e

Re: [PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-08-01 Thread Christoph Bartelmus
Hi! Jon Smirl "jonsm...@gmail.com" wrote: > On Sun, Aug 1, 2010 at 5:50 AM, Christoph Bartelmus > wrote: >> Hi Jon, >> >> on 31 Jul 10 at 14:14, Jon Smirl wrote: >>> On Sat, Jul 31, 2010 at 1:47 PM, Christoph Bartelmus >>> wrote: Hi Jon, on 31 Jul 10 at 12:25, Jon Smirl wrote: >>

Re: [PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-08-01 Thread Jon Smirl
On Sun, Aug 1, 2010 at 10:00 AM, Jon Smirl wrote: > On Sun, Aug 1, 2010 at 5:50 AM, Christoph Bartelmus wrote: >> Hi Jon, >> >> on 31 Jul 10 at 14:14, Jon Smirl wrote: >>> On Sat, Jul 31, 2010 at 1:47 PM, Christoph Bartelmus >>> wrote: Hi Jon, on 31 Jul 10 at 12:25, Jon Smirl wrot

Re: [PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-08-01 Thread Jon Smirl
On Sun, Aug 1, 2010 at 5:50 AM, Christoph Bartelmus wrote: > Hi Jon, > > on 31 Jul 10 at 14:14, Jon Smirl wrote: >> On Sat, Jul 31, 2010 at 1:47 PM, Christoph Bartelmus >> wrote: >>> Hi Jon, >>> >>> on 31 Jul 10 at 12:25, Jon Smirl wrote: On Sat, Jul 31, 2010 at 11:12 AM, Andy Walls wr

[PATCH 1/3] V4L/DVB: dib0700: break keytable into NEC and RC-5 variants

2010-08-01 Thread Mauro Carvalho Chehab
Instead of having one big keytable with 2 protocols inside, break it into two separate tables, being one for NEC and another for RC-5 variants, and properly identify what variant should be used at the boards entries. Signed-off-by: Mauro Carvalho Chehab delete mode 100644 drivers/media/IR/keyma

[PATCH 2/3] V4L/DVB: dib0700: properly implement IR change_protocol

2010-08-01 Thread Mauro Carvalho Chehab
This patch implements change_protocol callback. With this change, there's no need for an extra modprobe parameter to specify the protocol. When a table is loaded (either from in-kernel rc-map tables or via ir-keytable program), the driver will automatically change the protocol, in order to work wit

[PATCH 3/3] V4L/DVB: dib0700: Fix RC protocol logic to properly handle NEC/NECx and RC-5

2010-08-01 Thread Mauro Carvalho Chehab
Simplifies the logic for handling firmware 1.20 RC messages, fixing the logic. While here, I tried to use a RC-6 remote controller from my TV set, but it didn't work with dib0700. Not sure why, but maybe this never worked. Signed-off-by: Mauro Carvalho Chehab diff --git a/drivers/media/dvb/dvb-

[PATCH 0/3] Automatically set RC/NEC protocols on dib0700

2010-08-01 Thread Mauro Carvalho Chehab
This patch set implements rc-core change_protocol callback. With this, the dib0700 driver will automatically set the right protocol, depending on the device model, and, if the user wants, the table can be easily replaced at userspace, via ir-keytable application, available at v4l-utils git tree. M

Re: [PATCHv2 2/4] mm: cma: Contiguous Memory Allocator added

2010-08-01 Thread Hans Verkuil
Hi Marek, On Wednesday 28 July 2010 11:04:56 Marek Szyprowski wrote: > > There are still desktops in the world, you know :-) It's nice if cma can > > also be used there. Having a region called 'dma' or something like that > > would be useful for drivers. And yes, for most embedded systems that

Re: [PATCH v5 2/3] v4l: Add multi-planar ioctl handling code

2010-08-01 Thread Hans Verkuil
On Friday 30 July 2010 10:49:42 Pawel Osciak wrote: > Add multi-planar API core ioctl handling and conversion functions. > > Signed-off-by: Pawel Osciak > Signed-off-by: Kyungmin Park > Reviewed-by: Marek Szyprowski > --- > drivers/media/video/v4l2-ioctl.c | 418 > +++

Re: [PATCH v5 1/3] v4l: Add multi-planar API definitions to the V4L2 API

2010-08-01 Thread Hans Verkuil
On Friday 30 July 2010 10:49:41 Pawel Osciak wrote: > Multi-planar API is as a backwards-compatible extension of the V4L2 API, > which allows video buffers to consist of one or more planes. Planes are > separate memory buffers; each has its own mapping, backed by usually > separate physical memory

Re: [PATCH 2/2] v4l: Add a v4l2_subdev host private data field

2010-08-01 Thread Hans Verkuil
On Friday 30 July 2010 22:24:55 Laurent Pinchart wrote: > The existing priv field stores subdev private data owned by the subdev > driver. Host (bridge) drivers might need to store per-subdev > host-specific data, such as a pointer to platform data. > > Add a v4l2_subdev host_priv field to store h

Re: [PATCH 1/2] v4l: Use v4l2_get_subdevdata instead of accessing v4l2_subdev::priv

2010-08-01 Thread Hans Verkuil
On Friday 30 July 2010 22:24:54 Laurent Pinchart wrote: > Replace direct access to the v4l2_subdev priv field with the inline > v4l2_get_subdevdata method. > > Signed-off-by: Laurent Pinchart Acked-by: Hans Verkuil > --- > drivers/media/video/mt9m001.c| 26 +- >

Re: [RFC/PATCH v3 06/10] media: Entities, pads and links enumeration

2010-08-01 Thread Hans Verkuil
On Thursday 29 July 2010 18:06:39 Laurent Pinchart wrote: > Create the following two ioctls and implement them at the media device > level to enumerate entities, pads and links. > > - MEDIA_IOC_ENUM_ENTITIES: Enumerate entities and their properties > - MEDIA_IOC_ENUM_LINKS: Enumerate all pads and

Re: [RFC/PATCH v3 03/10] media: Entities, pads and links

2010-08-01 Thread Hans Verkuil
On Thursday 29 July 2010 18:06:36 Laurent Pinchart wrote: > diff --git a/include/media/media-device.h b/include/media/media-device.h > index bd559b0..ac96847 100644 > --- a/include/media/media-device.h > +++ b/include/media/media-device.h > @@ -23,8 +23,10 @@ > > #include > #include > +#in

Re: [RFC/PATCH v3 01/10] media: Media device node support

2010-08-01 Thread Hans Verkuil
On Thursday 29 July 2010 18:06:34 Laurent Pinchart wrote: > The media_devnode structure provides support for registering and > unregistering character devices using a dynamic major number. Reference > counting is handled internally, making device drivers easier to write > without having to solve th

Re: [PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-08-01 Thread Christoph Bartelmus
Hi Jon, on 31 Jul 10 at 14:14, Jon Smirl wrote: > On Sat, Jul 31, 2010 at 1:47 PM, Christoph Bartelmus > wrote: >> Hi Jon, >> >> on 31 Jul 10 at 12:25, Jon Smirl wrote: >>> On Sat, Jul 31, 2010 at 11:12 AM, Andy Walls >>> wrote: I think you won't be able to fix the problem conclusively eith

Re: [PATCH 13/13] IR: Port ene driver to new IR subsystem and enable it.

2010-08-01 Thread Christoph Bartelmus
Hi Jon, on 31 Jul 10 at 17:53, Jon Smirl wrote: > On Sat, Jul 31, 2010 at 2:51 PM, Andy Walls wrote: >> On Sat, 2010-07-31 at 14:14 -0400, Jon Smirl wrote: >>> On Sat, Jul 31, 2010 at 1:47 PM, Christoph Bartelmus >>> wrote: Hi Jon, on 31 Jul 10 at 12:25, Jon Smirl wrote: > On

Re: [PATCH 10/20] mt9m111: rewrite make_rect for positioning in debug

2010-08-01 Thread Guennadi Liakhovetski
On Fri, 30 Jul 2010, Michael Grzeschik wrote: > If DEBUG is defined it is possible to set upper left corner > > Signed-off-by: Philipp Wiesner > Signed-off-by: Michael Grzeschik > --- > drivers/media/video/mt9m111.c | 31 +++ > 1 files changed, 23 insertions(+), 8