Re: RFC: Add V4L2 decoder commands/controls to replace dvb/video.h

2011-06-19 Thread Hans Verkuil
On Saturday, June 18, 2011 23:30:46 Oliver Endriss wrote: On Thursday 09 June 2011 14:45:53 Hans Verkuil wrote: RFC: Proposal for a V4L2 decoder API This RFC is based on this discussion:

Re: WinTV 1400 broken with recent versions?

2011-06-19 Thread Jean-Michel Bruenn
Hey, this one still seems to be broken, with all recent kernels. I wasn't able to see which patches turned the card into a non-working state. I know that pretty old kernels (i can't use them otherwise i would have downgraded) work fine with that card. For those who are interested in the original

Re: Bug: media_build always compiles with '-DDEBUG'

2011-06-19 Thread Mauro Carvalho Chehab
Em 19-06-2011 02:00, Helmut Auer escreveu: Am 18.06.2011 23:38, schrieb Oliver Endriss: On Saturday 18 June 2011 23:11:21 Helmut Auer wrote: Hi Replacing ifdef CONFIG_VIDEO_OMAP3_DEBUG by ifeq ($(CONFIG_VIDEO_OMAP3_DEBUG),y) would do the trick. I guess that would not ive the

Re: change in build .sh due to Pulseaudio device removal /

2011-06-19 Thread Jan Hoogenraad
Mauro: You are completely right. Getting the packages automatically is very user-friendly. Furthermore, this will make media_build a great place to start of users stuck with older kernels. On Ubuntu, the package name is libproc-processtable-perl the command to install it is (on Ubuntu,

Re: dvb_usb symbols from media_build disagree on Linux 2.6.32-32

2011-06-19 Thread Malcolm Priestley
On Sat, 2011-06-18 at 20:43 +0200, Jan Hoogenraad wrote: Trying to compile and install media_build on an Ubuntu Lucid computer Linux 2.6.32-32-generic-pae #62-Ubuntu SMP Wed Apr 20 22:10:33 UTC 2011 i686 GNU/Linux I can compile, but cannot use dvb-usb. With the snapshot of june 11th, I

Re: change in build .sh due to Pulseaudio device removal /

2011-06-19 Thread Mauro Carvalho Chehab
Em 19-06-2011 09:40, Jan Hoogenraad escreveu: Mauro: You are completely right. Getting the packages automatically is very user-friendly. Furthermore, this will make media_build a great place to start of users stuck with older kernels. Automatic install is good, but I think that providing

TW68 Driver

2011-06-19 Thread Roman Gaufman
There is a really great driver for the thousands of capture cards floating around ebay called TW68. It is available here: http://gitorious.org/tw68 I'm not a developer but I have been using it for a number of years and it's a shame it's still not included in the kernel. Is anyone interested in

[PATCH 01/11] [media] em28xx: Don't initialize a var if won't be using it

2011-06-19 Thread Mauro Carvalho Chehab
Fixes most cases of initializing a var but not using it. There are still 3 cases at em28xx-alsa, were those vars should probably be used. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/em28xx/em28xx-audio.c b/drivers/media/video/em28xx/em28xx-audio.c

[PATCH 10/11] [media] em28xx: Add support for devices with a separate audio interface

2011-06-19 Thread Mauro Carvalho Chehab
Some devices use a separate interface for the vendor audio class. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/em28xx/em28xx-audio.c b/drivers/media/video/em28xx/em28xx-audio.c index 47f21a3..cff0768 100644 ---

[PATCH 11/11] [media] em28xx: Mark Kworld 305 as validated

2011-06-19 Thread Mauro Carvalho Chehab
This board were used for testing the em28xx-alsa using a separate interface. So, it is obviously validated ;) Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c index c445bea..c892a1e 100644

[PATCH 02/11] [media] em28xx: Fix a wrong enum at the ac97 control tables

2011-06-19 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c index 55d0d9d..7bf3a86 100644 --- a/drivers/media/video/em28xx/em28xx-core.c +++ b/drivers/media/video/em28xx/em28xx-core.c @@ -314,12 +314,12

[PATCH 03/11] [media] em28xx: Allow to compile it without RC/input support

2011-06-19 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/em28xx/Kconfig b/drivers/media/video/em28xx/Kconfig index 3cb78f2..49878fd 100644 --- a/drivers/media/video/em28xx/Kconfig +++ b/drivers/media/video/em28xx/Kconfig @@ -3,7 +3,6 @@ config VIDEO_EM28XX

[PATCH 07/11] [media] em28xx-audio: add debug info for the volume control

2011-06-19 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/em28xx/em28xx-audio.c b/drivers/media/video/em28xx/em28xx-audio.c index 302553a..56739a4 100644 --- a/drivers/media/video/em28xx/em28xx-audio.c +++ b/drivers/media/video/em28xx/em28xx-audio.c @@ -464,6

[PATCH 08/11] [media] em28xx-audio: Properly report failures to start stream

2011-06-19 Thread Mauro Carvalho Chehab
If the audio stream fails for any reason, it should: 1) Report an error via dmesg; 2) Mark internally that the stream didn't started. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/em28xx/em28xx-audio.c

[PATCH 04/11] [media] em28xx-alsa: add mixer support for AC97 volume controls

2011-06-19 Thread Mauro Carvalho Chehab
Export ac97 volume controls via mixer. Pulseaudio will probably handle it very badly, as it has no idea about how volumes are wired, and how are they associated with each TV input. Those wirings are card model dependent, and we don't have the wiring mappings for each supported device.

[PATCH 05/11] [media] em28xx-audio: add support for mute controls

2011-06-19 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/em28xx/em28xx-audio.c b/drivers/media/video/em28xx/em28xx-audio.c index a75c779..c7b96b4 100644 --- a/drivers/media/video/em28xx/em28xx-audio.c +++ b/drivers/media/video/em28xx/em28xx-audio.c @@ -448,8

[PATCH 06/11] [media] em28xx-audio: volumes are inverted

2011-06-19 Thread Mauro Carvalho Chehab
While here, fix volume mask to 5 bits Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com diff --git a/drivers/media/video/em28xx/em28xx-audio.c b/drivers/media/video/em28xx/em28xx-audio.c index c7b96b4..302553a 100644 --- a/drivers/media/video/em28xx/em28xx-audio.c +++

[PATCH 09/11] [media] em28xx-audio: Some Alsa API fixes

2011-06-19 Thread Mauro Carvalho Chehab
Mark the alsa stream with SNDRV_PCM_INFO_BATCH, as the timing to get audio streams can vary. Also, add SNDRV_PCM_TRIGGER for pause/release. while here, fix the stop indicator, to be sure that audio will be properly released at the stop events. Signed-off-by: Mauro Carvalho Chehab

[PATCH 00/11] em28xx improvements

2011-06-19 Thread Mauro Carvalho Chehab
Douglas borrowed me a couple devices some time ago. I've made some patches for the first one, but never had time to look at the second device, until this weekend, when I re-discovered it: An em2861-based device: a Kworld 305. On em2861, the audio interface is provided by a separate device,

[cron job] v4l-dvb daily build: ERRORS

2011-06-19 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 Jun 19 19:00:34 CEST 2011 git hash:5b5c6e080e7d3b484536fa5c96b78ff53df83e84 gcc version: i686-linux-gcc (GCC)

Re: [RFCv6 PATCH 04/10] pvrusb2: fix g/s_tuner support.

2011-06-19 Thread Mike Isely
I understand that this patch would not have been need had the pvrusb2 driver been using videodev_ioctl2. This is a situation that I'm going to (finally) remedy ASAP. In the mean time... Acked-By: Mike Isely is...@pobox.com -Mike On Tue, 14 Jun 2011, Hans Verkuil wrote: From: Hans

Re: vb2: holding buffers until after start_streaming()

2011-06-19 Thread Pawel Osciak
Hi Jon, On Fri, Jun 17, 2011 at 11:57, Jonathan Corbet cor...@lwn.net wrote: Here's another videobuf2 question...I've been trying to track down some weird behavior, the roots of which were in the fact that start_streaming() gets called even though no buffers have been queued.  This behavior is

RE: vb2: holding buffers until after start_streaming()

2011-06-19 Thread Marek Szyprowski
Hello, On Monday, June 20, 2011 3:28 AM Pawel Osciak wrote: On Fri, Jun 17, 2011 at 11:57, Jonathan Corbet cor...@lwn.net wrote: Here's another videobuf2 question...I've been trying to track down some weird behavior, the roots of which were in the fact that start_streaming() gets called

Re: [PATCH 4/4 v9] MFC: Add MFC 5.1 V4L2 driver

2011-06-19 Thread Subash Patel
Hi Kamil, I went through the decoder flow (not codec specific yet) of your MFC driver. Since I havent acquired/produced a v4l2 based test case, I didnt check the functionality yet. Below are some of minor comments I found during my review. Regards, Subash SISO-SLG On 06/14/2011 10:06 PM,