Re: [PATCH] Add interlace support to sh_mobile_ceu_camera.c

2010-07-12 Thread Guennadi Liakhovetski
Hello Morimoto-san I've got a question to you, regarding your interlaced support implementation for the CEU: do I understand it right, that the kind of support you actually have implemented is, that if an interlaced format is now requested from the CEU, it will interpret incoming data as

Re: Microsoft VX-1000 Microphone Drivers Crash in x86_64

2010-07-12 Thread Jean-Francois Moine
On Sun, 11 Jul 2010 17:18:53 -0400 Kyle Baker kyleaba...@gmail.com wrote: Is the previous maintainer, Michel Xhaard, still working on this driver at all? I wonder if he might be able to help identify the problem or narrow it down. Which function is called when I open Cheese or other video

RE: [RFC v4] Multi-plane buffer support for V4L2 API

2010-07-12 Thread Pawel Osciak
Hi Hans, thank you for your comments as always. Hans Verkuil wrote hverk...@xs4all.nl: Hi Pawel, Looks good, but I have a few small suggestions: On Friday 09 July 2010 20:59:45 Pawel Osciak wrote: (snip) struct v4l2_format { enum v4l2_buf_type type; union {

Re: Microsoft VX-1000 Microphone Drivers Crash in x86_64

2010-07-12 Thread Kyle Baker
On Mon, Jul 12, 2010 at 4:18 AM, Jean-Francois Moine moin...@free.fr wrote: The video capture is started in sd_start(). Checking all sequences again, I found that the GPIO is also set near line 1752. May you comment it and test? I tested this and it did not show any different results.

RE: [RFC/PATCH v2 7/7] v4l: subdev: Generic ioctl support

2010-07-12 Thread Pawel Osciak
Laurent Pinchart wrote: Sent: Friday, July 09, 2010 5:32 PM To: linux-media@vger.kernel.org Cc: sakari.ai...@maxwell.research.nokia.com Subject: [RFC/PATCH v2 7/7] v4l: subdev: Generic ioctl support Instead of returning an error when receiving an ioctl call with an unsupported command, forward

Re: [RFC/PATCH v2 6/7] v4l: subdev: Events support

2010-07-12 Thread Sakari Ailus
Hi Mauro, Mauro Carvalho Chehab wrote: Em 09-07-2010 12:31, Laurent Pinchart escreveu: From: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Provide v4l2_subdevs with v4l2_event support. Subdev drivers only need very little to support events. Signed-off-by: Sakari Ailus

Re: Microsoft VX-1000 Microphone Drivers Crash in x86_64

2010-07-12 Thread Jean-Francois Moine
On Mon, 12 Jul 2010 05:28:15 -0400 Kyle Baker kyleaba...@gmail.com wrote: Here is the exchange from plugging in my webcam until I quit Cheese. The point that the mic quits is at [ 224.692515] sonixj-2.9.51: reg_w1 [0002] = 62 as far as I can tell. I hope this sheds some light on the issue.

Re: [RFC/PATCH v2 6/7] v4l: subdev: Events support

2010-07-12 Thread Laurent Pinchart
Hi Sakari, On Monday 12 July 2010 13:06:34 Sakari Ailus wrote: Mauro Carvalho Chehab wrote: Em 09-07-2010 12:31, Laurent Pinchart escreveu: [snip] diff --git a/drivers/media/video/v4l2-subdev.c b/drivers/media/video/v4l2-subdev.c index 0ebd760..31bec67 100644 ---

Re: [RFC/PATCH v2 7/7] v4l: subdev: Generic ioctl support

2010-07-12 Thread Laurent Pinchart
Hi Pawel, On Monday 12 July 2010 11:33:52 Pawel Osciak wrote: On Friday 9 July 2010 17:32:00 Laurent Pinchart wrote: [snip] diff --git a/drivers/media/video/v4l2-subdev.c b/drivers/media/video/v4l2- subdev.c index 31bec67..ce47772 100644 --- a/drivers/media/video/v4l2-subdev.c +++

Re: [RFC v4] Multi-plane buffer support for V4L2 API

2010-07-12 Thread Hans Verkuil
On Monday 12 July 2010 11:14:30 Pawel Osciak wrote: Hi Hans, thank you for your comments as always. Hans Verkuil wrote hverk...@xs4all.nl: Hi Pawel, Looks good, but I have a few small suggestions: On Friday 09 July 2010 20:59:45 Pawel Osciak wrote: (snip) struct v4l2_format {

Re: macbook webcam no longer works on .35-rc

2010-07-12 Thread Johannes Berg
On Mon, 2010-07-05 at 10:23 +0200, Laurent Pinchart wrote: Could you please test the following patch when you will have time ? That fixes it, thank you. johannes diff --git a/drivers/media/video/uvc/uvc_ctrl.c b/drivers/media/video/uvc/uvc_ctrl.c index 9af4d47..a350fad 100644 ---

Re: em28xx/xc3028 - kernel driver vs. Markus Rechberger's driver

2010-07-12 Thread Torsten Krah
Am Sonntag, 4. Juli 2010 schrieben Sie: Please try it, should be the root cause. Did patch my v4l-dvb source tree too and modified it according to my usbid to be a PCTV device :-) After rewriting the eeprom it is a e1ba:2870 device again (70e) but still not working with the recent kernel, but

[RFC/PATCH v3 0/7] V4L2 subdev userspace API

2010-07-12 Thread Laurent Pinchart
Hi everybody, Here's the third version of the V4L2 subdev userspace API patches. Comments received on the first and second versions have been incorporated, including the video_usercopy usage. The generic ioctls support patch has been dropped and will be resubmitted later with a use case. Laurent

[RFC/PATCH v3 1/7] v4l: Share code between video_usercopy and video_ioctl2

2010-07-12 Thread Laurent Pinchart
The two functions are mostly identical. They handle the copy_from_user and copy_to_user operations related with V4L2 ioctls and call the real ioctl handler. Create a __video_usercopy function that implements the core of video_usercopy and video_ioctl2, and call that function from both.

[RFC/PATCH v3 5/7] v4l: subdev: Uninline the v4l2_subdev_init function

2010-07-12 Thread Laurent Pinchart
The function isn't small or performance sensitive enough to be inlined. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/v4l2-subdev.c | 14 ++ include/media/v4l2-subdev.h | 15 ++- 2 files changed, 16 insertions(+), 13

[RFC/PATCH v3 4/7] v4l: subdev: Add device node support

2010-07-12 Thread Laurent Pinchart
Create a device node named subdevX for every registered subdev. As the device node is registered before the subdev core::s_config function is called, return -EGAIN on open until initialization completes. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Signed-off-by: Vimarsh

[RFC/PATCH v3 7/7] v4l: subdev: Events support

2010-07-12 Thread Laurent Pinchart
From: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Provide v4l2_subdevs with v4l2_event support. Subdev drivers only need very little to support events. Signed-off-by: Sakari Ailus sakari.ai...@maxwell.research.nokia.com Signed-off-by: David Cohen david.co...@nokia.com Signed-off-by:

[RFC/PATCH v3 3/7] v4l: subdev: Merge v4l2_i2c_new_subdev_cfg and v4l2_i2c_new_subdev

2010-07-12 Thread Laurent Pinchart
v4l2_i2c_new_subdev_cfg is called by v4l2_i2c_new_subdev only. Merge the two functions into v4l2_i2c_new_subdev. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/media/video/v4l2-common.c |7 ++- include/media/v4l2-common.h | 15 +-- 2

[RFC/PATCH v3 6/7] v4l: subdev: Control ioctls support

2010-07-12 Thread Laurent Pinchart
Pass the control-related ioctls to the subdev driver through the core operations. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- Documentation/video4linux/v4l2-framework.txt | 16 drivers/media/video/v4l2-subdev.c| 24

[RFC/PATCH v3 2/7] v4l: subdev: Don't require core operations

2010-07-12 Thread Laurent Pinchart
There's no reason to require subdevices to implement the core operations. Remove the check for non-NULL core operations when initializing the subdev. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- include/media/v4l2-subdev.h |3 +-- 1 files changed, 1 insertions(+), 2

Re: macbook webcam no longer works on .35-rc

2010-07-12 Thread Laurent Pinchart
Hi Johannes, On Monday 12 July 2010 14:36:26 Johannes Berg wrote: On Mon, 2010-07-05 at 10:23 +0200, Laurent Pinchart wrote: Could you please test the following patch when you will have time ? That fixes it, thank you. The fix has been applied to

[GIT PULL for 2.6.34] V4L/DVB fixes

2010-07-12 Thread Mauro Carvalho Chehab
Linus, Please pull from: ssh://master.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6.git v4l_for_2.6.35 For some fixes at V4L/DVB. Cheers, Mauro. The following changes since commit b9f399594d12e353dcb609c25219bdaa76c2a050: Merge branch 'for-linus' of

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

2010-07-12 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 Jul 12 19:00:22 CEST 2010 path:http://www.linuxtv.org/hg/v4l-dvb changeset: 14993:9652f85e688a git master:

[PATCH 11/36] drivers/media: Remove unnecessary casts of private_data

2010-07-12 Thread Joe Perches
Signed-off-by: Joe Perches j...@perches.com --- drivers/media/IR/imon.c|6 +++--- drivers/media/common/saa7146_vbi.c |4 ++-- drivers/media/common/saa7146_video.c |4 ++-- drivers/media/dvb/bt8xx/dst_ca.c |2 +-

Re: [RFC v4] Multi-plane buffer support for V4L2 API

2010-07-12 Thread Mauro Carvalho Chehab
Hi Pawel, Em 09-07-2010 15:59, Pawel Osciak escreveu: Hello, This is the fourth version of the multi-plane API extensions proposal. I think that we have reached a stage at which it is more or less finalized. Rationale can be found at the beginning of the original thread:

Re: Microsoft VX-1000 Microphone Drivers Crash in x86_64

2010-07-12 Thread Kyle Baker
On Mon, Jul 12, 2010 at 7:21 AM, Jean-Francois Moine moin...@free.fr wrote: Fine job! The register 02 is the GPIO register. It seems the audio does not work when the bit 0x04 is not set. I am working on the driver for the other webcams, but you may patch it yourself removing the register 02

Re: [PATCH 11/36] drivers/media: Remove unnecessary casts of private_data

2010-07-12 Thread Jarod Wilson
On Mon, Jul 12, 2010 at 4:50 PM, Joe Perches j...@perches.com wrote: Signed-off-by: Joe Perches j...@perches.com ---  drivers/media/IR/imon.c                    |    6 +++--- For the imon parts, Acked-by: Jarod Wilson ja...@redhat.com -- Jarod Wilson ja...@wilsonet.com -- To unsubscribe

Re: [PATCH] Add interlace support to sh_mobile_ceu_camera.c

2010-07-12 Thread Kuninori Morimoto
Dear Guennadi I've got a question to you, regarding your interlaced support implementation for the CEU: do I understand it right, that the kind of support you actually have implemented is, that if an interlaced format is now requested from the CEU, it will interpret incoming data as