Media entity configuration

2011-04-11 Thread Loïc Akue
Hi, I was wondering if the media pad configuration could be hard fixed in the kernel sources, so an userspace application could directly capture some frames from the CCDC output ( /dev/video2 ). Thank you -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a

Re: [RFCv1 PATCH 4/9] v4l2-ctrls: add per-control events.

2011-04-11 Thread Sakari Ailus
Hi Hans, Thanks for the patchset! This looks really nice! Hans Verkuil wrote: Whenever a control changes value an event is sent to anyone that subscribed to it. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/video/v4l2-ctrls.c | 59 ++

Re: Media entity configuration

2011-04-11 Thread Laurent Pinchart
Hi Loïc, On Monday 11 April 2011 09:24:49 Loïc Akue wrote: Hi, I was wondering if the media pad configuration could be hard fixed in the kernel sources, so an userspace application could directly capture some frames from the CCDC output ( /dev/video2 ). How do you mean ? Hard fixed to what

Re: [PATCH/RFC 1/4] V4L: add three new ioctl()s for multi-size videobuffer management

2011-04-11 Thread Sakari Ailus
Hi Guennadi, Thanks for the RFC! I have a few comments below. Guennadi Liakhovetski wrote: A possibility to preallocate and initialise buffers of different sizes in V4L2 is required for an efficient implementation of asnapshot mode. This patch adds three new ioctl()s: VIDIOC_CREATE_BUFS,

[PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-11 Thread Guennadi Liakhovetski
A recent patch has given individual soc-camera host drivers a possibility to calculate .sizeimage and .bytesperline pixel format fields internally, however, some drivers relied on the core calculating these values for them, following a default algorithm. This patch restores the default

Re: [PATCH 2.6.39] soc_camera: OMAP1: fix missing bytesperline and sizeimage initialization

2011-04-11 Thread Guennadi Liakhovetski
On Mon, 11 Apr 2011, Janusz Krzysztofik wrote: Dnia niedziela 10 kwiecień 2011 o 18:00:14 Guennadi Liakhovetski napisał(a): Hi Janusz On Sat, 9 Apr 2011, Janusz Krzysztofik wrote: Since commit 0e4c180d3e2cc11e248f29d4c604b6194739d05a, bytesperline and sizeimage memebers of

[PATCH 0/4] s5p-fimc driver fixes for 2.6.39

2011-04-11 Thread Sylwester Nawrocki
Hello, the following are a few bugfix patches for s5p-fimc driver. After recent rename of the s5pv310 SoC series to Exynos4 it is necessary to change the variant name in the driver, what the first patch does. The second patch corrects the S_FMT ioctl handler to forbid the format change as soon as

[PATCH 1/4] s5p-fimc: Fix FIMC3 pixel limits on Exynos4

2011-04-11 Thread Sylwester Nawrocki
Correct pixel limits for the fourth FIMC entity on Exynos4 SoCs. FIMC3 only supports the writeback input from the LCD mixer. Also rename s5pv310 variant to exynos4 which is needed after renaming s5pv310 series to Exynos4. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by:

[PATCH 2/4] s5p-fimc: Do not allow changing format after REQBUFS

2011-04-11 Thread Sylwester Nawrocki
Protecting the color format with vb2_is_streaming() is not sufficient as this prevents changing the format only after VIDIOC_STREAMON. To prevent the color format reconfiguration as soon as buffers are allocated use vb2_is_busy() instead. Also make the videobuf queue ops structure static.

[PATCH 3/4] s5p-fimc: Fix bytesperline and plane payload setup

2011-04-11 Thread Sylwester Nawrocki
Make sure the sizeimage for 3-planar color formats is width * height * 3/2 and the bytesperline is same for each plane in case of a multi-planar format. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 4/4] s5p-fimc: Add support for the buffer timestamps and sequence

2011-04-11 Thread Sylwester Nawrocki
Add support for buffer timestamps and the sequence number in the video capture driver. Signed-off-by: Sylwester Nawrocki s.nawro...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/s5p-fimc/fimc-core.c | 10 ++ 1 files changed, 10

Re: mt9t111 sensor on Beagleboard xM

2011-04-11 Thread javier Martin
Hi Laurent, Adding pad-level operations will not break any existing driver, as long as you keep the existing operations functional. Is it really possible to have a sensor driver supporting soc-camera, v4l2-subdev and pad-level operations? I've been reviewing the code of mt9t112 and I'm not

dibusb device with lock problems

2011-04-11 Thread linux
Hi list, as a follow-up to http://www.spinics.net/lists/linux-media/msg30930.html: I have the Odys Easy TV Model X820001 (http://www.dooyoo.co.uk/tv-cards/odys-easy-tv-dvbt-usb-box/) which also is a dib3000mb device but it isn't mentioned yet in the list at

Re: [PATCH 0/2] V4L: Extended crop/compose API, ver2

2011-04-11 Thread Tomasz Stanislawski
Hans Verkuil wrote: Hi Tomasz! Some comments below... On Wednesday, April 06, 2011 10:44:17 Tomasz Stanislawski wrote: Hello everyone, This patch-set introduces new ioctls to V4L2 API. The new method for configuration of cropping and composition is presented. This is the second version of

Re: [PATCH/RFC 1/4] V4L: add three new ioctl()s for multi-size videobuffer management

2011-04-11 Thread Sakari Ailus
Hi Hans, Hans Verkuil wrote: Hi Hans, On Thursday 07 April 2011 09:50:13 Hans Verkuil wrote: On Thu, 7 Apr 2011, Hans Verkuil wrote: [snip] Regarding DESTROY_BUFS: perhaps we should just skip this for now and wait for the first use-case. That way we don't need to care about holes. I

Re: mt9t111 sensor on Beagleboard xM

2011-04-11 Thread Laurent Pinchart
Hi Javier, On Monday 11 April 2011 11:11:06 javier Martin wrote: Hi Laurent, Adding pad-level operations will not break any existing driver, as long as you keep the existing operations functional. Is it really possible to have a sensor driver supporting soc-camera, v4l2-subdev and

Re: [PATCH 2.6.39] V4L: videobuf-dma-contig: fix mmap_mapper broken on ARM

2011-04-11 Thread Janusz Krzysztofik
On Mon 11 Apr 2011 at 02:42:13 Mauro Carvalho Chehab wrote: Em 10-04-2011 19:47, Janusz Krzysztofik escreveu: After switching from mem-dma_handle to virt_to_phys(mem-vaddr) used for obtaining page frame number passed to remap_pfn_range() (commit 35d9f510b67b10338161aba6229d4f55b4000f5b),

Re: mt9t111 sensor on Beagleboard xM

2011-04-11 Thread Guennadi Liakhovetski
On Mon, 11 Apr 2011, Laurent Pinchart wrote: Hi Javier, On Monday 11 April 2011 11:11:06 javier Martin wrote: Hi Laurent, Adding pad-level operations will not break any existing driver, as long as you keep the existing operations functional. Is it really possible to have a

Re: mt9t111 sensor on Beagleboard xM

2011-04-11 Thread Laurent Pinchart
Hi Guennadi, On Monday 11 April 2011 14:16:49 Guennadi Liakhovetski wrote: On Mon, 11 Apr 2011, Laurent Pinchart wrote: On Monday 11 April 2011 11:11:06 javier Martin wrote: Adding pad-level operations will not break any existing driver, as long as you keep the existing operations

[PATCH 1/3] v4l: add macro for 1080p59_54 preset

2011-04-11 Thread Tomasz Stanislawski
The 1080p59_94 is supported in latest Samusng SoC. Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/media/video/v4l2-common.c |1 + include/linux/videodev2.h |1 + 2 files changed, 2 insertions(+), 0

[PATCH 2/3] v4l: add g_tvnorms callback to V4L2 subdev

2011-04-11 Thread Tomasz Stanislawski
Signed-off-by: Tomasz Stanislawski t.stanisl...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- include/media/v4l2-subdev.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index

[RFC/PATCH v3 0/3] TV driver for Samsung Exynos4 platform (media part)

2011-04-11 Thread Tomasz Stanislawski
Hello, I would like to present the 3rd version of TV drivers for EXYNOS4 (former S5PV310) platform. The most recent changes are: 1. Added SDO driver. Now analog TV is supported. - add VIDIOC_{S/G/ENUM}_OUTPUT ioctls family - add VIDIOC_S_STD to configure analog standard 2. Driver upgrades -

Re: [PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-11 Thread Janusz Krzysztofik
Dnia poniedziałek 11 kwiecień 2011 o 10:58:26 Guennadi Liakhovetski napisał(a): A recent patch has given individual soc-camera host drivers a possibility to calculate .sizeimage and .bytesperline pixel format fields internally, however, some drivers relied on the core calculating these values

Re: [PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-11 Thread Guennadi Liakhovetski
On Mon, 11 Apr 2011, Aguirre, Sergio wrote: Hi Guennadi, On Mon, Apr 11, 2011 at 3:58 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: A recent patch has given individual soc-camera host drivers a possibility to calculate .sizeimage and .bytesperline pixel format fields

[PATCH] v4l: Don't register media entities for subdev device nodes

2011-04-11 Thread Laurent Pinchart
Subdevs already have their own entity, don't register as second one when registering the subdev device node. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/v4l2-dev.c | 15 ++- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git

Re: [RFCv1 PATCH 3/9] v4l2-ioctl: add ctrl_handler to v4l2_fh

2011-04-11 Thread Laurent Pinchart
Hi Hans, On Friday 08 April 2011 17:39:01 Hans Verkuil wrote: On Friday, April 08, 2011 17:10:32 Laurent Pinchart wrote: On Monday 04 April 2011 13:51:48 Hans Verkuil wrote: From: Hans Verkuil hverk...@xs4all.nl This is required to implement control events and is also needed to

Re: [RFCv1 PATCH 4/9] v4l2-ctrls: add per-control events.

2011-04-11 Thread Hans Verkuil
Hi Hans, Thanks for the patchset! This looks really nice! Hans Verkuil wrote: Whenever a control changes value an event is sent to anyone that subscribed to it. Signed-off-by: Hans Verkuil hans.verk...@cisco.com --- drivers/media/video/v4l2-ctrls.c | 59 ++

Re: [RFC v2] V4L2 API for flash devices

2011-04-11 Thread Laurent Pinchart
Hi Sakari, On Saturday 09 April 2011 18:17:34 Sakari Ailus wrote: Laurent Pinchart wrote: On Wednesday 06 April 2011 11:25:56 Sakari Ailus wrote: Nayden Kanchev wrote: On 04/06/2011 11:10 AM, Sakari Ailus wrote: - Added an open question on a new control:

Re: [PATCH 2.6.39] V4L: videobuf-dma-contig: fix mmap_mapper broken on ARM

2011-04-11 Thread Janusz Krzysztofik
On Mon 11 Apr 2011 at 02:42:13 Mauro Carvalho Chehab wrote: Em 10-04-2011 19:47, Janusz Krzysztofik escreveu: After switching from mem-dma_handle to virt_to_phys(mem-vaddr) used for obtaining page frame number passed to remap_pfn_range() (commit 35d9f510b67b10338161aba6229d4f55b4000f5b),

Re: [PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-11 Thread Aguirre, Sergio
Hi Guennadi, On Mon, Apr 11, 2011 at 8:23 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Mon, 11 Apr 2011, Aguirre, Sergio wrote: Hi Guennadi, On Mon, Apr 11, 2011 at 3:58 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: A recent patch has given individual

Re: HVR-1600 (model 74351 rev F1F5) analog Red Screen

2011-04-11 Thread Eric B Munson
On Sun, 10 Apr 2011, Andy Walls wrote: On Wed, 2011-04-06 at 13:28 -0400, Eric B Munson wrote: On Tue, Apr 5, 2011 at 10:58 AM, Andy Walls awa...@md.metrocast.net wrote: On Mon, 2011-04-04 at 14:36 -0400, Eric B Munson wrote: On Mon, Apr 4, 2011 at 11:16 AM, Eric B Munson

Re: HVR-1600 (model 74351 rev F1F5) analog Red Screen

2011-04-11 Thread Devin Heitmueller
On Mon, Apr 11, 2011 at 12:32 PM, Eric B Munson emun...@mgebm.net wrote: Can you tune to other known digital channels? I will have to see if I can set one up by hand and try it.  I will get back to you when I am able to do this (should be later today). Let me know if you need anything

Re: HVR-1600 (model 74351 rev F1F5) analog Red Screen

2011-04-11 Thread Eric B Munson
On Mon, Apr 11, 2011 at 12:42 PM, Devin Heitmueller dheitmuel...@kernellabs.com wrote: On Mon, Apr 11, 2011 at 12:32 PM, Eric B Munson emun...@mgebm.net wrote: Can you tune to other known digital channels? I will have to see if I can set one up by hand and try it.  I will get back to you

Re: [PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-11 Thread Guennadi Liakhovetski
On Mon, 11 Apr 2011, Aguirre, Sergio wrote: Hi Guennadi, On Mon, Apr 11, 2011 at 8:23 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Mon, 11 Apr 2011, Aguirre, Sergio wrote: Hi Guennadi, On Mon, Apr 11, 2011 at 3:58 AM, Guennadi Liakhovetski

Re: [PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-11 Thread Aguirre, Sergio
On Mon, Apr 11, 2011 at 11:58 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Mon, 11 Apr 2011, Aguirre, Sergio wrote: Hi Guennadi, On Mon, Apr 11, 2011 at 8:23 AM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: On Mon, 11 Apr 2011, Aguirre, Sergio wrote: Hi Guennadi,

Re: dvb-apps: charset support

2011-04-11 Thread handygewinnspiel
Hi Mauro, I added some patches to dvb-apps/util/scan.c in order to properly support EN 300 468 charsets. Before the patch, scan were producing invalid UTF-8 codes here, for ISO-8859-15 charsets, as scan were simply filling service/provider name with whatever non-control characters that

Re: dvb-apps: charset support

2011-04-11 Thread Mauro Carvalho Chehab
Em 11-04-2011 14:48, handygewinnsp...@gmx.de escreveu: Hi Mauro, I added some patches to dvb-apps/util/scan.c in order to properly support EN 300 468 charsets. Before the patch, scan were producing invalid UTF-8 codes here, for ISO-8859-15 charsets, as scan were simply filling

[cron job] v4l-dvb daily build: ERRORS

2011-04-11 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:Mon Apr 11 19:00:29 CEST 2011 git hash:d9954d8547181f9a6a23f835cc1413732700b785 gcc version: i686-linux-gcc (GCC)

Re: HVR-1600 (model 74351 rev F1F5) analog Red Screen

2011-04-11 Thread Eric B Munson
On Sun, 10 Apr 2011, Andy Walls wrote: 3. Please provide the relevant portion of the mythbackend log where where the digital scanner starts and then fails. So the Digital scanner doesn't fail per se, it just doesn't pick up most of the digital channels available. The same is true

Re: [PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-11 Thread Janusz Krzysztofik
Dnia poniedziałek 11 kwiecień 2011 o 18:58:51 Guennadi Liakhovetski napisał(a): On Mon, 11 Apr 2011, Aguirre, Sergio wrote: Ok. And how about the attached patch? Would that work? Yes, I think, ot would work too, only the call to soc_camera_xlate_by_fourcc() in the S_FMT case is

Re: HVR-1600 (model 74351 rev F1F5) analog Red Screen

2011-04-11 Thread Devin Heitmueller
On Mon, Apr 11, 2011 at 3:29 PM, Eric B Munson emun...@mgebm.net wrote: On Mon, 11 Apr 2011, Devin Heitmueller wrote: On Mon, Apr 11, 2011 at 3:24 PM, Eric B Munson emun...@mgebm.net wrote: I mean the /usr/bin/scan tool.  Most of the channels seem to be missing the EIT information and

Re: [PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-11 Thread Aguirre, Sergio
On Mon, Apr 11, 2011 at 1:40 PM, Janusz Krzysztofik jkrzy...@tis.icnet.pl wrote: Dnia poniedziałek 11 kwiecień 2011 o 18:58:51 Guennadi Liakhovetski napisał(a): On Mon, 11 Apr 2011, Aguirre, Sergio wrote: Ok. And how about the attached patch? Would that work? Yes, I think, ot would work

Re: [PATCH] libv4lconvert-priv.h: indent with tabs, not spaces

2011-04-11 Thread Hans de Goede
Thanks, applied. On 04/07/2011 05:57 PM, Antonio Ospite wrote: Indent wrapped lines with tabs, just like it is done for the other functions in the same file. Signed-off-by: Antonio Ospiteosp...@studenti.unina.it --- lib/libv4lconvert/libv4lconvert-priv.h |2 +- 1 files changed, 1

Re: [RFC, PATCH] libv4lconvert: Add support for Y10B grey format (V4L2_PIX_FMT_Y10BPACK)

2011-04-11 Thread Hans de Goede
Hi, On 04/07/2011 06:16 PM, Antonio Ospite wrote: Y10B is a 10 bits per pixel greyscale format in a bit-packed array representation. Such pixel format is supplied for instance by the Kinect sensor device. Signed-off-by: Antonio Ospiteosp...@studenti.unina.it --- Hi, this is a very first

Re: [stable] [PATCH] media/radio/wl1273: fix build errors

2011-04-11 Thread Greg KH
On Thu, Mar 31, 2011 at 08:09:57PM -0400, Mike Frysinger wrote: On Sun, Feb 27, 2011 at 12:51, Randy Dunlap wrote: From: Randy Dunlap randy.dun...@oracle.com RADIO_WL1273 needs to make sure that the mfd core is built to avoid build errors: ERROR: mfd_add_devices

Re: [PATCH] tm6000: fix vbuf may be used uninitialized

2011-04-11 Thread Jarod Wilson
On Mar 24, 2011, at 6:05 PM, Jarod Wilson wrote: On Thu, Mar 24, 2011 at 11:31:08PM +0300, Dan Carpenter wrote: On Thu, Mar 24, 2011 at 04:07:00PM -0400, Jarod Wilson wrote: Signed-off-by: Jarod Wilson ja...@redhat.com Jarod, there is a lot of information missing from your change log... :/

Re: [PATCH] V4L: soc-camera: regression fix: calculate .sizeimage in soc_camera.c

2011-04-11 Thread Janusz Krzysztofik
Dnia poniedziałek 11 kwiecień 2011 o 22:05:35 Aguirre, Sergio napisał(a): Please find below a refreshed patch, which should be based on mainline commit: Hi, This version works for me, and fixes the regression. Thanks, Janusz From f767059c12c755ebe79c4b74de17c23a257007c7 Mon Sep 17

cx231xx: add support for Kworld..

2011-04-11 Thread Márcio Alves
patch to cx231xx: add support for Kworld UB430 Signed-off-by: Márcio A Alves fr...@gmail.com diff -upr ../new_build2/linux//drivers/media/dvb/dvb-usb/dvb-usb-ids.h linux//drivers/media/dvb/dvb-usb/dvb-usb-ids.h --- ../new_build2/linux//drivers/media/dvb/dvb-usb/dvb-usb-ids.h 2011-02-28

Re - pinnacle pctv 110i remote not detected in ubuntu natty 11.04

2011-04-11 Thread Rajeev Nair
Hi everyone My remote which used to work with older versions of ubuntu now wont work with the new natty 11.04. It used to be detected in /proc/bus/input/devices as input 5 but now i see no such entry. Is it because of move from hal to udev in new ubuntu . Please let me know what info you

Re: [PATCHES] Misc. trivial fixes

2011-04-11 Thread Robby Workman
On Mon, 11 Apr 2011, Robby Workman wrote: Patch #1 installs udev rules files to /lib/udev/rules.d/ instead of /etc/udev/rules.d/ - see commit message for more info. Patch #2 allows override of manpage installation directory by packagers - see commit message for more info EEEK! It just

[PATCHES] Misc. trivial fixes

2011-04-11 Thread Robby Workman
Patch #1 installs udev rules files to /lib/udev/rules.d/ instead of /etc/udev/rules.d/ - see commit message for more info. Patch #2 allows override of manpage installation directory by packagers - see commit message for more info -RWFrom d3356b0cf968c41b1d44fcc682a441129d0b Mon Sep 17

Re: [PATCH 2.6.39] soc_camera: OMAP1: fix missing bytesperline and sizeimage initialization

2011-04-11 Thread Kassey Lee
hi, Guennadi: a lot of sensors support JPEG output. 1) bytesperline is defined by sensor timing. 2) and sizeimage is unknow for jpeg. how about for JPEG 1) host driver gets bytesperline from sensor driver. 2) sizeimage refilled by host driver after dma transfer done( a frame