Re: [PATCH v2 1/1] rc: Add support for GPIO based IR Receiver driver.

2012-02-20 Thread James Hogan
On Mon, Feb 20, 2012 at 03:17:52PM +0530, Ravi Kumar V wrote: > Adds GPIO based IR Receiver driver. It decodes signals using decoders > available in rc framework. > > Signed-off-by: Ravi Kumar V > --- > drivers/media/rc/Kconfig|9 ++ > drivers/media/rc/Makefile |1 + > driv

[PATCH][libv4l] Miscellaneous Comment Fixes

2012-02-20 Thread Robert Abel
Hi, I found some minor spelling/grammar issues in the comments of libv4l. I fixed the most irksome to me in the patch below. Regards, Robert diff -Naur a/lib/libv4lconvert/bayer.c b/lib/libv4lconvert/bayer.c --- a/lib/libv4lconvert/bayer.c 2012-02-15 11:03:46.792279638 +0100 +++ b/lib/libv4lconv

Re: [PATCH][libv4l] Bytes per Line (was: [libv4l] Bytes per Line)

2012-02-20 Thread Robert Abel
Hi Gregor, On 15.02.2012 23:30, Gregor Jasny wrote: > As far as I understand the V4L2 spec the bytesperline != width is no > optional feature. If post your patches here I'll review them and add > them to the development tree. I understand the spec in the same way. I just thought it might have been

USB ID for Asus U3100MINI Plus DVB-T tuner

2012-02-20 Thread Oliver Schinagl
Hi, i'm partial writer of http://www.linuxtv.org/wiki/index.php/Asus_U3100_Mini_plus_DVB-T and host the mentioned git repository. I have noticed that the Asus U3100Mini plus dvb-t tuner still does not have it's USB ID added to usb-ids.h and thus supply this patch. The DVB-T tuner uses the

Re: [BUG] divide by zero in uvc_video_clock_update, v3.3-rc4

2012-02-20 Thread Hans Petter Selasky
On Monday 20 February 2012 00:41:51 James Hogan wrote: > Hi, > > I just tried v3.3-rc4 on an Acer Aspire One Happy 2 netbook. I happened > to open the settings dialog box of kopete, which shows a view of the > webcam. The kernel switched to a text console with a register dump (see > below), indica

cron job: media_tree daily build: ERRORS

2012-02-20 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date:Mon Feb 20 19:00:18 CET 2012 git hash:a3db60bcf7671cc011ab4f848cbc40ff7ab52c1e gcc version: i686-linux-gcc (GCC

Re: [PATCH] V4L: mx2_camera: remove unsupported i.MX27 DMA mode, make EMMA mandatory

2012-02-20 Thread Sascha Hauer
On Mon, Feb 20, 2012 at 04:17:39PM +0100, Guennadi Liakhovetski wrote: > From: Sascha Hauer > > The i.MX27 DMA support was introduced with the initial commit of this > driver and originally created by me. However, I never got this stable > due to the racy DMA engine and used the EMMA engine inste

Re: [PATCH] video: mx3_camera: Allocate camera object via kzalloc

2012-02-20 Thread Fabio Estevam
On Mon, Feb 20, 2012 at 4:17 PM, Guennadi Liakhovetski wrote: > On Mon, 20 Feb 2012, Fabio Estevam wrote: > >> Align mx3_camera driver with the other soc camera driver implementations >> by allocating the camera object via kzalloc. > > Sorry, any specific reason, why you think this "aligning" is s

Re: [PATCH] video: mx3_camera: Allocate camera object via kzalloc

2012-02-20 Thread Guennadi Liakhovetski
On Mon, 20 Feb 2012, Fabio Estevam wrote: > Align mx3_camera driver with the other soc camera driver implementations > by allocating the camera object via kzalloc. Sorry, any specific reason, why you think this "aligning" is so important? I personally don't see any. Thanks Guennadi > > Signed

[PATCH] video: mx3_camera: Allocate camera object via kzalloc

2012-02-20 Thread Fabio Estevam
Align mx3_camera driver with the other soc camera driver implementations by allocating the camera object via kzalloc. Signed-off-by: Fabio Estevam --- drivers/media/video/mx3_camera.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/mx3_camera.c b/dri

Re: [PATCH v3 01/33] v4l: Introduce integer menu controls

2012-02-20 Thread Sylwester Nawrocki
Hi Sakari, On 02/20/2012 02:56 AM, Sakari Ailus wrote: > Create a new control type called V4L2_CTRL_TYPE_INTEGER_MENU. Integer menu > controls are just like menu controls but the menu items are 64-bit integers > rather than strings. > > Signed-off-by: Sakari Ailus > Acked-by: Laurent Pinchart

Re: Kernel Display and Video API Consolidation mini-summit at ELC 2012 - Notes

2012-02-20 Thread Guennadi Liakhovetski
On Fri, 17 Feb 2012, Laurent Pinchart wrote: [snip] > *** Synchronous pipeline changes *** > > Goal: Create an API to apply complex changes to a video pipeline atomically. > > Needed for complex camera use cases. On the DRM/KMS side, the approach is to > use one big ioctl to configure th

Re: Kernel Display and Video API Consolidation mini-summit at ELC 2012 - Notes

2012-02-20 Thread David Airlie
> > I'm certainly absolutely in favour of creating a common EDID parser, > and > the DRM/KMS implementation might indeed be the most complete / > advanced > one, but at least back in 2010 as I was working on the sh-mobile HDMI > driver, some functinality was still missing there, which I had to ad

Re: Kernel Display and Video API Consolidation mini-summit at ELC 2012 - Notes

2012-02-20 Thread Guennadi Liakhovetski
On Fri, 17 Feb 2012, Daniel Vetter wrote: > On Fri, Feb 17, 2012 at 12:25:51AM +0100, Laurent Pinchart wrote: > > Hello everybody, > > > > First of all, I would like to thank all the attendees for their > > participation > > in the mini-summit that helped make the meeting a success. > > > > He

[PATCH] V4L: mx2_camera: remove unsupported i.MX27 DMA mode, make EMMA mandatory

2012-02-20 Thread Guennadi Liakhovetski
From: Sascha Hauer The i.MX27 DMA support was introduced with the initial commit of this driver and originally created by me. However, I never got this stable due to the racy DMA engine and used the EMMA engine instead. As the DMA support is most probably unused and broken in its current state, r

Re: omap4 v4l media-ctl usage

2012-02-20 Thread Ryan
Hi Sergio, On Mon, Feb 20, 2012 at 10:33 AM, Aguirre, Sergio wrote: > H Ryan, > > On Sun, Feb 19, 2012 at 10:04 AM, Ryan wrote: >> Hi Laurent, >> >> It actually blocks at VIDIOC_DQBUF ioctl and not in STREAMON ioctl. >> Looks like the data is not available. >> >> Any way of verifying if OMAP is

Re: [PATCH 1/3] media: video: mx2_camera.c: Fix build warning by initializing 'res_emma'

2012-02-20 Thread Guennadi Liakhovetski
Hi Fabio On Wed, 15 Feb 2012, Fabio Estevam wrote: > Fix the following build warning: > > drivers/media/video/mx2_camera.c: In function 'mx2_camera_probe': > drivers/media/video/mx2_camera.c:1527: warning: 'res_emma' may be used > uninitialized in this function This warning should be no longer

Re: [PATCH v3 4/4] media i.MX27 camera: handle overflows properly.

2012-02-20 Thread javier Martin
Hi Guennadi, On 20 February 2012 13:17, Guennadi Liakhovetski wrote: >> @@ -1302,21 +1305,12 @@ static irqreturn_t mx27_camera_emma_irq(int >> irq_emma, void *data) >>                       __func__); >> >>       if (status & (1 << 7)) { /* overflow */ >> -             u32 cntl; >> -            

Re: [PATCH] media: i.MX27 camera: Add resizing support.

2012-02-20 Thread Guennadi Liakhovetski
On Tue, 14 Feb 2012, Javier Martin wrote: > If the attached video sensor cannot provide the > requested image size, try to use resizing engine > included in the eMMa-PrP IP. > > This patch supports both averaging and bilinear > algorithms. > > Signed-off-by: Javier Martin > --- > drivers/media

Re: [PATCH v3 4/4] media i.MX27 camera: handle overflows properly.

2012-02-20 Thread Guennadi Liakhovetski
Hi Javier Sorry again for a delayed reaction... I'm currently trying to prepare a push for 3.4 and I stumbled over this your patch: On Mon, 30 Jan 2012, Javier Martin wrote: > > Signed-off-by: Javier Martin > --- > Changes since v2: > - Use true and false for bool variables. > > --- > dri

Re: [PATCH] smsdvb - fix UNDEFINED delivery on driver hotplug

2012-02-20 Thread Gianluca Gennari
Il 14/02/2012 23:35, Eddi De Pieri ha scritto: > Someone can confirm my changes? > > Regards, > > Eddi Hi Eddi, your patch makes sense to me, but I think you will have to resubmit it to the list, as the original mail has never been published (I can only see your reply to it). Also, your patch is

[PATCH] smsdvb: fix get_frontend

2012-02-20 Thread Gianluca Gennari
In the get_frontend function, an internal copy of the dtv_frontend_properties struct (which is never initialized) is copied over the frontend property cache data structure, resetting everything to 0. In particular, the delivery system is reset to 0 (which is an invalid value) so the driver stops wo

[GIT PULL FOR v3.3] uvcvideo divide by 0 fix

2012-02-20 Thread Laurent Pinchart
Hi Mauro, The following changes since commit b01543dfe67bb1d191998e90d20534dc354de059: Linux 3.3-rc4 (2012-02-18 15:53:33 -0800) are available in the git repository at: git://linuxtv.org/pinchartl/uvcvideo.git uvcvideo-stable The patch fixes a divide by 0 bug reported by a couple of users a

[PATCH] s5p-jpeg: Adapt to new controls

2012-02-20 Thread Andrzej Pietrasiewicz
Adapt to new controls (subsampling) This is a follow up to http://www.spinics.net/lists/linux-media/msg44348.html For encoding, the destination format now needs to be set to V4L2_PIX_FMT_JPEG and the subsampling (4:2:2 or 4:2:0) needs to be set using the respective control (V4L2_CID_JPEG_CHROMA_S

[PATCH] media: ir-sony-decoder: 15bit function decode fix

2012-02-20 Thread James Hogan
The raw Sony IR decoder decodes 15bit messages slightly incorrectly. To decode the function number, it shifts the bits right by 7 so that the function is in bits 7:1, masks with 0xFD (0b1101), and does an 8 bit reverse so it ends up in bits 6:0. The mask should be 0xFE to correspond with bits 7

Re: Hauppauge USB-Live2 - Apparent audio regression from linux-media-2012-01-11.tar.bz2 onwards.

2012-02-20 Thread . .
Sorry, seem to have found where the logs have moved to: http://patchwork.linuxtv.org/project/linux-media/list/ Will try to track down what may have caused the issue. On Mon, Feb 20, 2012 at 10:40 PM, . . wrote: > Hi, > > I have a Hauppauge USB-Live2 ( lsusb -> Bus 001 Device 003: ID > 2040:c200

[PATCH v2 1/1] rc: Add support for GPIO based IR Receiver driver.

2012-02-20 Thread Ravi Kumar V
Adds GPIO based IR Receiver driver. It decodes signals using decoders available in rc framework. Signed-off-by: Ravi Kumar V --- drivers/media/rc/Kconfig|9 ++ drivers/media/rc/Makefile |1 + drivers/media/rc/gpio-ir-recv.c | 189 +++ in

[PATCH v2 0/1] Add support for GPIO IR receiver driver

2012-02-20 Thread Ravi Kumar V
This driver is for GPIO based IR receivers, it can listen only to IR receiver modules which gives demodulated signal as output, this driver only passes the interrupt events to rc framework where pulse and space widths are calculated and input to decoders avaliable. Ravi Kumar V (1): rc: Add supp

Hauppauge USB-Live2 - Apparent audio regression from linux-media-2012-01-11.tar.bz2 onwards.

2012-02-20 Thread . .
Hi, I have a Hauppauge USB-Live2 ( lsusb -> Bus 001 Device 003: ID 2040:c200 Hauppauge ). Up to and including kernel 3.0.0-16 generic, video capture does not work with the drivers built into the kernel. However, since July 2011, when Devin Heitmueller posted this message http://www.mail-archive.co

[PATCH 0/3] Fix subdev name in s5k6aa, m5mols, noon010pc30 drivers

2012-02-20 Thread Sylwester Nawrocki
This patch series updates s5k6aa, m5mols, noon010pc30 drivers so their subdev names don't have I2C addresses appended to them. This ensures a constant subdevice name across different boards. Sylwester Nawrocki (3): s5k6aa: Make subdev name independent of the I2C slave address m5mols: Make subd

[PATCH 2/3] m5mols: Make subdev name independent of the I2C slave address

2012-02-20 Thread Sylwester Nawrocki
Initialize the subdev name properly so it doesn't have an I2C bus and slave address appended to it. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/video/m5mols/m5mols_core.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media

[PATCH 1/3] s5k6aa: Make subdev name independent of the I2C slave address

2012-02-20 Thread Sylwester Nawrocki
Initialize the subdev name properly so it doesn't have an I2C bus and slave address appended to it. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/video/s5k6aa.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/s5k6a

[PATCH 3/3] noon010pc30: Make subdev name independent of the I2C slave address

2012-02-20 Thread Sylwester Nawrocki
Initialize the subdev name properly so it doesn't have an I2C bus and slave address appended to it. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/video/noon010pc30.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/