[RFCv2] Add a library to retrieve associated media devices - was: Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Mauro Carvalho Chehab
Em 28-05-2011 13:20, Mauro Carvalho Chehab escreveu: > Em 28-05-2011 12:24, Hans Verkuil escreveu: >> But I would really like to see an RFC with a proposal of the API and how >> it is to be used. Then after an agreement has been reached the library can >> be modified accordingly and we can release

Re: [PATCH] [media] lirc_dev: store cdev in irctl, up maxdevs

2011-05-28 Thread Jarod Wilson
On May 28, 2011, at 4:41 PM, Andy Walls wrote: > On Fri, 2011-05-27 at 16:01 -0400, Jarod Wilson wrote: >> Store the cdev pointer in struct irctl, allocated dynamically as needed, >> rather than having a static array. At the same time, recycle some of the >> saved memory to nudge the maximum numb

Re: [linux-dvb] Terratec Cinergy C HD - CAM support.... Need help?

2011-05-28 Thread Willem van Asperen
On Saturday 28 May 2011 10:33:16 Bjørn Mork wrote: > Marc Coevoet writes: > > Op 27-05-11 21:48, Willem van Asperen schreef: > >> a) CAM support is currently not implemented for terratec HD > > > > For all cards? > > The CA code in the mantis driver isn't actually hooked into the driver > anywher

Re: [PATCH] [media] lirc_dev: store cdev in irctl, up maxdevs

2011-05-28 Thread Andy Walls
On Fri, 2011-05-27 at 16:01 -0400, Jarod Wilson wrote: > Store the cdev pointer in struct irctl, allocated dynamically as needed, > rather than having a static array. At the same time, recycle some of the > saved memory to nudge the maximum number of lirc devices supported up a > ways -- its not th

Re: [PATCH v2] [media] at91: add Atmel Image Sensor Interface (ISI) support

2011-05-28 Thread Guennadi Liakhovetski
Hi Josh Thanks for the update. A general note: I much prefer the new IO accessors and register names and values - thanks for changing that! On Fri, 27 May 2011, Josh Wu wrote: > This patch is to enable Atmel Image Sensor Interface (ISI) driver support. > - Using soc-camera framework with videob

[cron job] v4l-dvb daily build: ERRORS

2011-05-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:Sat May 28 19:00:39 CEST 2011 git hash:f9b51477fe540fb4c65a05027fdd6f2ecce4db3b gcc version: i686-linux-gcc (GCC) 4.5

[TRIVIAL PATCH next 08/15] media: Convert vmalloc/memset to vzalloc

2011-05-28 Thread Joe Perches
Signed-off-by: Joe Perches --- drivers/media/video/videobuf2-dma-sg.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/media/video/videobuf2-dma-sg.c b/drivers/media/video/videobuf2-dma-sg.c index b2d9485..15d79a8 100644 --- a/drivers/media/video/videobuf2-

[TRIVIAL PATCH next 00/15] treewide: Convert vmalloc/memset to vzalloc

2011-05-28 Thread Joe Perches
Resubmittal of patches from November 2010 and a few new ones. Joe Perches (15): s390: Convert vmalloc/memset to vzalloc x86: Convert vmalloc/memset to vzalloc atm: Convert vmalloc/memset to vzalloc drbd: Convert vmalloc/memset to vzalloc char: Convert vmalloc/memset to vzalloc isdn: Co

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Mauro Carvalho Chehab
Em 28-05-2011 12:24, Hans Verkuil escreveu: > But I would really like to see an RFC with a proposal of the API and how > it is to be used. Then after an agreement has been reached the library can > be modified accordingly and we can release it. Ok, that's the RFC for the API. The code is already c

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Mauro Carvalho Chehab
Em 28-05-2011 12:24, Hans Verkuil escreveu: > On Saturday, May 28, 2011 14:17:25 Mauro Carvalho Chehab wrote: >> Em 26-05-2011 03:53, Hans Verkuil escreveu: >>> On Tuesday, May 24, 2011 16:57:22 Devin Heitmueller wrote: On Tue, May 24, 2011 at 2:50 AM, Hans Verkuil wrote: > On Monday, May

Terratec T5 remote control problem

2011-05-28 Thread Alexander Härtig
Hello, I have a Terratec T5 USB DVB-T stick (similiar to TerraTec Cinergy DT USB XS Diversity). Receiving TV works like a charm on my OpenSUSE 11.4 (64 bit) machine. But I can't get the remote control to work. When I plug in the stick dmesg writes the following messages: [ 8870.704120] usb 2-1

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Hans Verkuil
On Saturday, May 28, 2011 14:17:25 Mauro Carvalho Chehab wrote: > Em 26-05-2011 03:53, Hans Verkuil escreveu: > > On Tuesday, May 24, 2011 16:57:22 Devin Heitmueller wrote: > >> On Tue, May 24, 2011 at 2:50 AM, Hans Verkuil wrote: > >>> On Monday, May 23, 2011 22:17:06 Mauro Carvalho Chehab wrote:

Re: [RFCv2 PATCH 07/11] v4l2-ctrls: add control events.

2011-05-28 Thread Hans Verkuil
On Saturday, May 28, 2011 12:48:45 Sakari Ailus wrote: > Hi Hans, > > On Wed, May 25, 2011 at 03:33:51PM +0200, Hans Verkuil wrote: > > @@ -1800,21 +1801,45 @@ struct v4l2_event_vsync { > > __u8 field; > > } __attribute__ ((packed)); > > > > +/* Payload for V4L2_EVENT_CTRL */ > > +#define V

Re: [beagleboard] [PATCH] Second RFC version of mt9p031 sensor with power managament.

2011-05-28 Thread Guennadi Liakhovetski
On Sat, 28 May 2011, Guennadi Liakhovetski wrote: > Hi Javier > > On Thu, 26 May 2011, javier Martin wrote: > > > I use a patched version of yavta and Mplayer to see video > > (http://download.open-technology.de/BeagleBoard_xM-MT9P031/) > > Are you really using those versions and patches, as de

Re: [RFCv2 PATCH 07/11] v4l2-ctrls: add control events.

2011-05-28 Thread Hans Verkuil
On Saturday, May 28, 2011 12:34:21 Sakari Ailus wrote: > Hi Hans, > > On Wed, May 25, 2011 at 03:33:51PM +0200, Hans Verkuil wrote: > > From: Hans Verkuil > > > > Whenever a control changes value or state an event is sent to anyone > > that subscribed to it. > > > > This functionality is useful

Re: [beagleboard] [PATCH] Second RFC version of mt9p031 sensor with power managament.

2011-05-28 Thread Guennadi Liakhovetski
Hi Javier On Thu, 26 May 2011, javier Martin wrote: > I use a patched version of yavta and Mplayer to see video > (http://download.open-technology.de/BeagleBoard_xM-MT9P031/) Are you really using those versions and patches, as described in BBxM-MT9P031.txt? I don't think those versions still wo

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Mauro Carvalho Chehab
Em 28-05-2011 10:01, Rémi Denis-Courmont escreveu: > Le samedi 28 mai 2011 15:44:52 Mauro Carvalho Chehab, vous avez écrit : >>> int libv4l2_get_associated_devive(int fd, enum >>> libv4l2_associated_device_types type, ...); Where fd is the fd of an >>> open /dev/video node, and ... is a param throu

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Mauro Carvalho Chehab
Em 28-05-2011 09:55, Rémi Denis-Courmont escreveu: > Le mardi 24 mai 2011 17:09:45 Mauro Carvalho Chehab, vous avez écrit : >> If we do that, then all other places where the association between an alsa >> device and a video4linux node is needed will need to copy it, and we'll >> have a fork. Also,

Re: Need Some Help to Add a Device

2011-05-28 Thread Moacyr Prado
I've seen in kernel code there are tda78271, saa7134 drivers, could anyone to explain if I could add a device sent on last mail? --- On Fri, 5/27/11, Moacyr Prado wrote: > From: Moacyr Prado > Subject: Brazilian HDTV device > To: linux-media@vger.kernel.org > Date: Friday, May 27, 2011, 9:20 A

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Mauro Carvalho Chehab
Em 28-05-2011 09:44, Mauro Carvalho Chehab escreveu: >> Anyways I think we're are currently >> doing this the wrong way up. We should first discuss what such an API >> should look like and then implement it. Hopefully we can re-use a lot >> of the existing code when we do this, but I think it is b

Re: PCTV nanoStick T2 290e support - Thank you!

2011-05-28 Thread Devin Heitmueller
On Saturday, May 28, 2011, Antti Palosaari wrote: > On 05/28/2011 04:04 PM, Rémi Denis-Courmont wrote: > > By the way, what is the V4L2 device node supposed to be? I don't suppose the > hardware supports analog nor hardware decoding!? Is it just a left over from > the em28xx driver? > > > Yes. Tot

Re: [PATCH v3] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend.

2011-05-28 Thread Hans Petter Selasky
On Saturday 28 May 2011 12:30:17 Mariusz Bialonczyk wrote: > Hello > I don't know what mailer you're using but your patches > to the ML are malformed (word wrapped). > > Please have a look: > http://www.kernel.org/doc/Documentation/email-clients.txt > > I don't know for sure but you may need to s

[PATCH v3 - resend] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend.

2011-05-28 Thread Hans Petter Selasky
(Hopefully without line wrapping of KMail.) >From 5449f996bb340e4423b3146d1e0172dd635c0398 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 24 May 2011 21:44:53 +0200 Subject: [PATCH] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend. Signed-off-by: Hans Petter Selasky ---

Re: PCTV nanoStick T2 290e support - Thank you!

2011-05-28 Thread Antti Palosaari
On 05/28/2011 04:04 PM, Rémi Denis-Courmont wrote: By the way, what is the V4L2 device node supposed to be? I don't suppose the hardware supports analog nor hardware decoding!? Is it just a left over from the em28xx driver? Yes. Totally useless for digital only em287x series, em288x is digital

Re: PCTV nanoStick T2 290e support - Thank you!

2011-05-28 Thread Rémi Denis-Courmont
Le vendredi 27 mai 2011 01:58:22 Antti Palosaari, vous avez écrit : > On 05/27/2011 12:25 AM, Nicolas WILL wrote: > > Just installed mine for MythTV. > > > > Works great on the first try! > > > > Many, many thanks! > > Thank you for the feedback! By the way, what is the V4L2 device node suppose

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Rémi Denis-Courmont
Le samedi 28 mai 2011 15:44:52 Mauro Carvalho Chehab, vous avez écrit : > > int libv4l2_get_associated_devive(int fd, enum > > libv4l2_associated_device_types type, ...); Where fd is the fd of an > > open /dev/video node, and ... is a param through which the device gets > > returned (I guess a char

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Rémi Denis-Courmont
Le mardi 24 mai 2011 17:09:45 Mauro Carvalho Chehab, vous avez écrit : > If we do that, then all other places where the association between an alsa > device and a video4linux node is needed will need to copy it, and we'll > have a fork. Also, we'll keep needing it at v4l-utils, as it is now needed

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Mauro Carvalho Chehab
Em 24-05-2011 12:55, Hans de Goede escreveu: > Hi, > > On 05/24/2011 04:09 PM, Mauro Carvalho Chehab wrote: >> Em 24-05-2011 04:21, Hans de Goede escreveu: >>> Hi, >> >>> My I suggest that we instead just copy over the single get_media_devices.c >>> file to xawtv, and not install the not so much a

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Hans de Goede
Hi, On 05/28/2011 02:17 PM, Mauro Carvalho Chehab wrote: Em 26-05-2011 03:53, Hans Verkuil escreveu: On Tuesday, May 24, 2011 16:57:22 Devin Heitmueller wrote: On Tue, May 24, 2011 at 2:50 AM, Hans Verkuil wrote: On Monday, May 23, 2011 22:17:06 Mauro Carvalho Chehab wrote: Due to the alsa

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Mauro Carvalho Chehab
Em 26-05-2011 03:53, Hans Verkuil escreveu: > On Tuesday, May 24, 2011 16:57:22 Devin Heitmueller wrote: >> On Tue, May 24, 2011 at 2:50 AM, Hans Verkuil wrote: >>> On Monday, May 23, 2011 22:17:06 Mauro Carvalho Chehab wrote: Due to the alsa detection code that I've added at libv4l2util (at

Re: [ANNOUNCE] experimental alsa stream support at xawtv3

2011-05-28 Thread Mauro Carvalho Chehab
Em 24-05-2011 11:57, Devin Heitmueller escreveu: > On Tue, May 24, 2011 at 2:50 AM, Hans Verkuil wrote: >> On Monday, May 23, 2011 22:17:06 Mauro Carvalho Chehab wrote: >>> Due to the alsa detection code that I've added at libv4l2util (at >>> v4l2-utils) >>> during the weekend, I decided to add a

Re: [PATCH v3] Fix the derot zig-zag to work with TT-USB2.0 TechnoTrend.

2011-05-28 Thread Mariusz Bialonczyk
Hello I don't know what mailer you're using but your patches to the ML are malformed (word wrapped). Please have a look: http://www.kernel.org/doc/Documentation/email-clients.txt I don't know for sure but you may need to send them again (all those malformed)... regards, -- Mariusz Bialonczyk ja

Re: [RFCv2 PATCH 07/11] v4l2-ctrls: add control events.

2011-05-28 Thread Sakari Ailus
Hi Hans, On Wed, May 25, 2011 at 03:33:51PM +0200, Hans Verkuil wrote: > @@ -1800,21 +1801,45 @@ struct v4l2_event_vsync { > __u8 field; > } __attribute__ ((packed)); > > +/* Payload for V4L2_EVENT_CTRL */ > +#define V4L2_EVENT_CTRL_CH_VALUE (1 << 0) > +#define V4L2_EVENT_CTRL

Re: [RFCv2 PATCH 07/11] v4l2-ctrls: add control events.

2011-05-28 Thread Sakari Ailus
Hi Hans, On Wed, May 25, 2011 at 03:33:51PM +0200, Hans Verkuil wrote: > From: Hans Verkuil > > Whenever a control changes value or state an event is sent to anyone > that subscribed to it. > > This functionality is useful for control panels but also for applications > that need to wait for (us

[PATCH] keytable: fix segfault when RC driver's module_name is null

2011-05-28 Thread Cédric Schieli
Some dvb-usb drivers do not set a proper module_name in their rc.core struct (e.g. the ttusb2 module and various dib0700 submodules as of 2.6.39). Auto-load mode was segfaulting if trying to match those drivers with a * value. Signed-off-by: Cédric Schieli --- utils/keytable/keytable.c |4 ++

Re: [linux-dvb] Terratec Cinergy C HD - CAM support.... Need help?

2011-05-28 Thread Bjørn Mork
Marc Coevoet writes: > Op 27-05-11 21:48, Willem van Asperen schreef: >> >> a) CAM support is currently not implemented for terratec HD > > For all cards? The CA code in the mantis driver isn't actually hooked into the driver anywhere, so that't correct: No CAM will currently work with the Terrat