Intermittent Logitech C510 problems (with kernel OOPSes)

2014-10-06 Thread Artem S. Tashkinov
Hi, I posted a bug report almost a year ago and since it's got zero attention so far I'm writing to this mailing list. My problem is that video capturing doesn't work on Logitech C510 webcam in some cases. Mind that audio input always works. Video capturing is guaranteed not to work after

cron job: media_tree daily build: WARNINGS

2014-10-06 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: Tue Oct 7 04:00:16 CEST 2014 git branch: test git hash: cf3167cf1e969b17671a4d3d956d22718a8ceb85 gcc versi

Re: [PATCH v2] [media] uvcvideo: Add quirk to force the Oculus DK2 IR tracker to grayscale

2014-10-06 Thread Laurent Pinchart
Hi Philipp, On Monday 06 October 2014 23:45:54 Philipp Zabel wrote: > On Mon, Oct 6, 2014 at 4:34 PM, Laurent Pinchart wrote: > >> > @@ -311,6 +311,7 @@ static int uvc_parse_format(struct uvc_device *dev, > >> > struct uvc_format_desc *fmtdesc; > >> > struct uvc_frame *frame; > >>

Re: [PATCH v2] [media] uvcvideo: Add quirk to force the Oculus DK2 IR tracker to grayscale

2014-10-06 Thread Philipp Zabel
Hi Laurent, On Mon, Oct 6, 2014 at 4:34 PM, Laurent Pinchart wrote: >> > @@ -311,6 +311,7 @@ static int uvc_parse_format(struct uvc_device *dev, >> > struct uvc_format_desc *fmtdesc; >> > struct uvc_frame *frame; >> > const unsigned char *start = buffer; >> > + bool

Re: omap3isp Device Tree support status

2014-10-06 Thread Alaganraj Sandhanam
Hi Sakari, Thanks for the patches. On Monday 29 September 2014 03:43 AM, Sakari Ailus wrote: > Hi, > > I managed to find some time for debugging my original omap3isp DT support > patchset (which includes smiapp DT support as well), and found a few small > but important bugs. > > The status is no

[PATCH v5 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-10-06 Thread Vincent Palatin
Map V4L2_CID_TILT_SPEED and V4L2_CID_PAN_SPEED to the standard UVC CT_PANTILT_RELATIVE_CONTROL terminal control request. Tested by plugging a Logitech ConferenceCam C3000e USB camera and controlling pan/tilt from the userspace using the VIDIOC_S_CTRL ioctl. Verified that it can pan and tilt at the

[PATCH v5 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-10-06 Thread Vincent Palatin
The V4L2_CID_PAN_SPEED and V4L2_CID_TILT_SPEED controls allow to move the camera by setting its rotation speed around its axis. Signed-off-by: Vincent Palatin Reviewed-by: Pawel Osciak --- Changes from v1: - update the documentation wording according to Pawel suggestion. Changes from v2: - bump

Re: [PATCH v4 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-10-06 Thread Vincent Palatin
On Thu, Sep 4, 2014 at 1:35 PM, Laurent Pinchart wrote: > > Hi Vincent, > > On Wednesday 03 September 2014 17:47:48 Vincent Palatin wrote: > > Map V4L2_CID_TILT_SPEED and V4L2_CID_PAN_SPEED to the standard UVC > > CT_PANTILT_RELATIVE_CONTROL terminal control request. > > > > Tested by plugging a L

Re: [PATCH v4 2/2] V4L: uvcvideo: Add support for pan/tilt speed controls

2014-10-06 Thread Vincent Palatin
On Thu, Sep 4, 2014 at 1:29 PM, Laurent Pinchart wrote: > > Hi Vincent, > > Thank you for the patch. > > On Wednesday 03 September 2014 17:47:48 Vincent Palatin wrote: > > Map V4L2_CID_TILT_SPEED and V4L2_CID_PAN_SPEED to the standard UVC > > CT_PANTILT_RELATIVE_CONTROL terminal control request. >

Re: [PATCH 0/7 linux-next] drivers: remove deprecated IRQF_DISABLED

2014-10-06 Thread Fabian Frederick
> On 06 October 2014 at 20:46 Borislav Petkov wrote: > > > On Mon, Oct 06, 2014 at 08:33:00PM +0200, Fabian Frederick wrote: > >    You're right, I guess we can forget this patchset. > > I didn't see it was already done. (nothing in linux-next yet). > > Not the whole patchset - I was replying on

Re: [PATCH 0/7 linux-next] drivers: remove deprecated IRQF_DISABLED

2014-10-06 Thread Borislav Petkov
On Mon, Oct 06, 2014 at 08:33:00PM +0200, Fabian Frederick wrote: >    You're right, I guess we can forget this patchset. > I didn't see it was already done. (nothing in linux-next yet). Not the whole patchset - I was replying only to your two patches touching code in drivers/edac/. I don't know a

Re: [PATCH 0/7 linux-next] drivers: remove deprecated IRQF_DISABLED

2014-10-06 Thread Fabian Frederick
> On 06 October 2014 at 19:40 Borislav Petkov wrote: > > > On Mon, Oct 06, 2014 at 05:35:47PM +0200, Fabian Frederick wrote: > > This small patchset removes IRQF_DISABLED from drivers branch. > > > > See include/linux/interrupt.h: > > "This flag is a NOOP and scheduled to be removed" > > > > Not

Re: [PATCH 0/7 linux-next] drivers: remove deprecated IRQF_DISABLED

2014-10-06 Thread Borislav Petkov
On Mon, Oct 06, 2014 at 05:35:47PM +0200, Fabian Frederick wrote: > This small patchset removes IRQF_DISABLED from drivers branch. > > See include/linux/interrupt.h: > "This flag is a NOOP and scheduled to be removed" > > Note: (cross)compiled but untested. > > Fabian Frederick (7): > mv64x60_

Re: [PATCH] Staging: media: Added semicolon.

2014-10-06 Thread Greg KH
On Mon, Oct 06, 2014 at 08:18:28PM +0530, Stevean Rk wrote: > > Its against  3.17.0-rc6+ > I had cloned the Greg Kroah-Hartman's staging tree repository. > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git Which branch? 3.17-rc6 is quite old, you need to work against the staging-n

[PATCH -next] media: tw68: fix build errors and warnings

2014-10-06 Thread Randy Dunlap
From: Randy Dunlap Fix build errors and kconfig warning: since 'select' does not check Kconfig symbol dependencies, add that dependency explicitly. VIDEO_TW68 selects I2C_ALGOBIT, so it should depend on I2C to prevent build errors and warnings. warning: (CAN_PEAK_PCIEC && SFC && IGB && VIDEO_TW

Re: [PATCH v2] [media] Remove references to non-existent PLAT_S5P symbol

2014-10-06 Thread Paul Bolle
On Mon, 2014-10-06 at 18:10 +0200, Sylwester Nawrocki wrote: > The PLAT_S5P Kconfig symbol was removed in commit d78c16ccde96 > ("ARM: SAMSUNG: Remove remaining legacy code"). However, there > are still some references to that symbol left, fix that by > substituting them with ARCH_S5PV210. > > Rep

[PATCH 1/1] dvbdev: add dvb_register_subdev() & dvb_unregister_subdev()

2014-10-06 Thread Буди Романто, AreMa Inc
Taken from https://github.com/knight-rider/ptx/tree/master/pt3_dvb, these routines simplify I2C binding of subdevices. Applicable at least to the followings: drivers/media/pci/bt8xx/bttv-input.c drivers/media/pci/cx23885/cx23885-dvb.c drivers/media/pci/cx23885/cx23885-i2c.c drivers/media/pci/cx238

[PATCH v2] [media] Remove references to non-existent PLAT_S5P symbol

2014-10-06 Thread Sylwester Nawrocki
The PLAT_S5P Kconfig symbol was removed in commit d78c16ccde96 ("ARM: SAMSUNG: Remove remaining legacy code"). However, there are still some references to that symbol left, fix that by substituting them with ARCH_S5PV210. Reported-by: Paul Bolle Signed-off-by: Sylwester Nawrocki --- drivers/med

Re: [PATCH] [media] Remove references to non-existent PLAT_S5P symbol

2014-10-06 Thread Sylwester Nawrocki
On 06/10/14 17:52, Tomasz Figa wrote: > On 06.10.2014 17:39, Sylwester Nawrocki wrote: >> diff --git a/drivers/media/platform/exynos4-is/Kconfig >> b/drivers/media/platform/exynos4-is/Kconfig >> index 77c9512..b3b270a 100644 >> --- a/drivers/media/platform/exynos4-is/Kconfig >> +++ b/drivers/media

Re: [PATCH] [media] Remove references to non-existent PLAT_S5P symbol

2014-10-06 Thread Tomasz Figa
On 06.10.2014 17:39, Sylwester Nawrocki wrote: > diff --git a/drivers/media/platform/exynos4-is/Kconfig > b/drivers/media/platform/exynos4-is/Kconfig > index 77c9512..b3b270a 100644 > --- a/drivers/media/platform/exynos4-is/Kconfig > +++ b/drivers/media/platform/exynos4-is/Kconfig > @@ -2,7 +2,7 @

Re: [PATCH] media/vb2: fix VBI/poll regression

2014-10-06 Thread Greg KH
On Mon, Oct 06, 2014 at 09:16:46AM +0200, Hans Verkuil wrote: > This is a backport of mainline commit 58d75f4b1ce26324b4d809b18f94819843a98731 > for kernels 3.15 and 3.16. > > The recent conversion of saa7134 to vb2 uncovered a poll() bug that > broke the teletext applications alevt and mtt. Thes

[PATCH 3/7 linux-next] tw68: remove deprecated IRQF_DISABLED

2014-10-06 Thread Fabian Frederick
See include/linux/interrupt.h: "This flag is a NOOP and scheduled to be removed" Signed-off-by: Fabian Frederick --- drivers/media/pci/tw68/tw68-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/pci/tw68/tw68-core.c b/drivers/media/pci/tw68/tw68-core.c ind

[PATCH] [media] Remove references to non-existent PLAT_S5P symbol

2014-10-06 Thread Sylwester Nawrocki
The PLAT_S5P Kconfig symbol was removed in commit d78c16ccde96 ("ARM: SAMSUNG: Remove remaining legacy code"). However, there are still some references to that symbol left, fix that by substituting them with ARCH_S5PV210. Reported-by: Paul Bolle Signed-off-by: Sylwester Nawrocki --- drivers/med

[PATCH 0/7 linux-next] drivers: remove deprecated IRQF_DISABLED

2014-10-06 Thread Fabian Frederick
This small patchset removes IRQF_DISABLED from drivers branch. See include/linux/interrupt.h: "This flag is a NOOP and scheduled to be removed" Note: (cross)compiled but untested. Fabian Frederick (7): mv64x60_edac: remove deprecated IRQF_DISABLED ppc4xx_edac: remove deprecated IRQF_DISABLED

Re: [PATCH v2] [media] uvcvideo: Add quirk to force the Oculus DK2 IR tracker to grayscale

2014-10-06 Thread Laurent Pinchart
Hi Philipp, On Monday 29 September 2014 21:38:39 Philipp Zabel wrote: > On Wed, Aug 6, 2014 at 10:50 PM, Philipp Zabel wrote: > > This patch adds a quirk to force Y8 pixel format even if the camera > > reports half-width YUYV. > > > > Signed-off-by: Philipp Zabel > > do you have any further com

[PATCH] [media] rc-core: fix protocol_change regression in ir_raw_event_register

2014-10-06 Thread Tomas Melin
IR reciever using nuvoton-cir and lirc was not working anymore after upgrade from kernel 3.16 to 3.17-rcX. Bisected regression to commit da6e162d6a4607362f8478c715c797d84d449f8b ("[media] rc-core: simplify sysfs code"). The regression comes from adding function change_protocol in ir-raw.c. During

Re: [PATCH 2/4] [media] exynos4-is: Remove optional dependency on PLAT_S5P

2014-10-06 Thread Sylwester Nawrocki
On 06/10/14 14:37, Sergei Shtylyov wrote: >> diff --git a/drivers/media/platform/exynos4-is/Kconfig >> b/drivers/media/platform/exynos4-is/Kconfig >> index 77c951237744..775c3278d0eb 100644 >> --- a/drivers/media/platform/exynos4-is/Kconfig >> +++ b/drivers/media/platform/exynos4-is/Kconfig >> @@

Re: [PATCH 2/4] [media] exynos4-is: Remove optional dependency on PLAT_S5P

2014-10-06 Thread Sergei Shtylyov
Hello. On 10/6/2014 1:08 PM, Paul Bolle wrote: Commit d78c16ccde96 ("ARM: SAMSUNG: Remove remaining legacy code") removed the Kconfig symbol PLAT_S5P. Remove an optional dependency on that symbol from this Kconfig file too. Signed-off-by: Paul Bolle --- drivers/media/platform/exynos4-is/K

Re: [PATCH 2/5] media: v4l2-core changes to use media tuner token api

2014-10-06 Thread Laurent Pinchart
Hi Hans, On Wednesday 24 September 2014 14:25:59 Hans Verkuil wrote: > On 09/23/2014 10:46 PM, Shuah Khan wrote: > > Hi Devin/Mauro/Hans, > > > > Summarizing the discussion on v4l to keep others on this > > thread in the loop. Please see below: > > > > Hans! Could you please take a look and see

Re: [PATCH 3/4] [media] Remove optional dependency on PLAT_S5P

2014-10-06 Thread Paul Bolle
On Mon, 2014-10-06 at 11:34 +0200, Sylwester Nawrocki wrote: > On 06/10/14 11:26, Arnd Bergmann wrote: > > > > Does S5PV210 have this device? > > Yes, it does. Indeed, in all patches in this series we should > have replaced PLAT_S5P with ARCH_S5PV210. If somebody would actually do that, that wou

Re: [PATCH 3/4] [media] Remove optional dependency on PLAT_S5P

2014-10-06 Thread Paul Bolle
On Mon, 2014-10-06 at 11:26 +0200, Arnd Bergmann wrote: > On Monday 06 October 2014 11:10:26 Paul Bolle wrote: > > config VIDEO_SAMSUNG_S5P_TV > > bool "Samsung TV driver for S5P platform" > > depends on PM_RUNTIME > > - depends on PLAT_S5P || ARCH_EXYNOS || COMPILE_TEST > >

Re: [PATCH 3/4] [media] Remove optional dependency on PLAT_S5P

2014-10-06 Thread Sylwester Nawrocki
On 06/10/14 11:26, Arnd Bergmann wrote: > On Monday 06 October 2014 11:10:26 Paul Bolle wrote: >> config VIDEO_SAMSUNG_S5P_TV >> bool "Samsung TV driver for S5P platform" >> depends on PM_RUNTIME >> - depends on PLAT_S5P || ARCH_EXYNOS || COMPILE_TEST >> + depends on AR

Re: [PATCH 3/4] [media] Remove optional dependency on PLAT_S5P

2014-10-06 Thread Arnd Bergmann
On Monday 06 October 2014 11:10:26 Paul Bolle wrote: > config VIDEO_SAMSUNG_S5P_TV > bool "Samsung TV driver for S5P platform" > depends on PM_RUNTIME > - depends on PLAT_S5P || ARCH_EXYNOS || COMPILE_TEST > + depends on ARCH_EXYNOS || COMPILE_TEST > default n >

[PATCH 3/4] [media] Remove optional dependency on PLAT_S5P

2014-10-06 Thread Paul Bolle
Commit d78c16ccde96 ("ARM: SAMSUNG: Remove remaining legacy code") removed the Kconfig symbol PLAT_S5P. Remove an optional dependency on that symbol from this Kconfig file too. Signed-off-by: Paul Bolle --- drivers/media/platform/s5p-tv/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(

[PATCH 2/4] [media] exynos4-is: Remove optional dependency on PLAT_S5P

2014-10-06 Thread Paul Bolle
Commit d78c16ccde96 ("ARM: SAMSUNG: Remove remaining legacy code") removed the Kconfig symbol PLAT_S5P. Remove an optional dependency on that symbol from this Kconfig file too. Signed-off-by: Paul Bolle --- drivers/media/platform/exynos4-is/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH 1/4] [media] Remove optional dependencies on PLAT_S5P

2014-10-06 Thread Paul Bolle
Commit d78c16ccde96 ("ARM: SAMSUNG: Remove remaining legacy code") removed the Kconfig symbol PLAT_S5P. Remove three optional dependencies on that symbol from this Kconfig file too. Signed-off-by: Paul Bolle --- drivers/media/platform/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deleti

[PATCH 0/4] Remove optional dependencies on PLAT_S5P

2014-10-06 Thread Paul Bolle
Commit d78c16ccde96 ("ARM: SAMSUNG: Remove remaining legacy code") removed the Kconfig symbol PLAT_S5P. The seven dependencies on that symbol have evaluated to false since next-20140716 (for linux-next) and v3.17-rc1 (for mainline). Probably no one noticed because these are all optional dependencie

[GIT PULL FOR v3.18] Various fixes

2014-10-06 Thread Hans Verkuil
Various fixes for v3.18. Regards, Hans The following changes since commit cf3167cf1e969b17671a4d3d956d22718a8ceb85: [media] pt3: fix DTV FE I2C driver load error paths (2014-09-28 22:23:42 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git fo

Re: [PATCH] Staging: media: Added semicolon.

2014-10-06 Thread Hans Verkuil
On 10/04/2014 08:43 PM, Stevean Raja Kumar wrote: > Added semicolon for the line usleep_range(1, 11000); Against which kernel is this patch? I don't see a usleep_range in either the mainline kernel or the media_tree.git kernel. Regards, Hans > > Signed-off-by: Stevean Raja Kumar

[PATCH for v3.10] media/vb2: fix VBI/poll regression

2014-10-06 Thread Hans Verkuil
This is a backport of mainline commit 58d75f4b1ce26324b4d809b18f94819843a98731 for kernel 3.10. The recent conversion of saa7134 to vb2 uncovered a poll() bug that broke the teletext applications alevt and mtt. These applications expect that calling poll() without having called VIDIOC_STREAMON wil

[PATCH for v3.14] media/vb2: fix VBI/poll regression

2014-10-06 Thread Hans Verkuil
This is a backport of mainline commit 58d75f4b1ce26324b4d809b18f94819843a98731 for kernel 3.14. The recent conversion of saa7134 to vb2 uncovered a poll() bug that broke the teletext applications alevt and mtt. These applications expect that calling poll() without having called VIDIOC_STREAMON wil

[PATCH] media/vb2: fix VBI/poll regression

2014-10-06 Thread Hans Verkuil
This is a backport of mainline commit 58d75f4b1ce26324b4d809b18f94819843a98731 for kernels 3.15 and 3.16. The recent conversion of saa7134 to vb2 uncovered a poll() bug that broke the teletext applications alevt and mtt. These applications expect that calling poll() without having called VIDIOC_S