Hauppauge WinTV HVR850 2040:b140 unusable with cx231xx

2013-12-11 Thread Connor Behan
I ordered an HVR850 USB TV tuner, planning to use it with an NTSC cable input. The LinuxTV.org page http://www.linuxtv.org/wiki/index.php/Hauppauge_WinTV-HVR-850 said that there were three different models, so I checked and mine is 2040:b140... the last one to be supported. A discussion post

RE: [RFCv4 PATCH 7/8] vb2: return ENODATA in start_streaming in case of too few buffers.

2013-12-11 Thread Kamil Debski
Hi, From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Tuesday, December 10, 2013 8:52 AM As Guennadi mentioned in his review, ENODATA will be replaced by ENOBUFS, which is more appropriate. Prabhakar, Kamil, Tomasz, are you OK with this patch provided s/ENODATA/ENOBUFS/ ? The patch

Re: [RFCv4 PATCH 7/8] vb2: return ENODATA in start_streaming in case of too few buffers.

2013-12-11 Thread Hans Verkuil
Hi Kamil, On 12/11/13 11:27, Kamil Debski wrote: Hi, From: Hans Verkuil [mailto:hverk...@xs4all.nl] Sent: Tuesday, December 10, 2013 8:52 AM As Guennadi mentioned in his review, ENODATA will be replaced by ENOBUFS, which is more appropriate. Prabhakar, Kamil, Tomasz, are you OK with

Re: [PATCH] v4l2-dev: Add tracepoints for QBUF and DQBUF

2013-12-11 Thread Mauro Carvalho Chehab
Hans, Em Wed, 11 Dec 2013 08:29:58 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On 12/10/2013 09:53 PM, Mauro Carvalho Chehab wrote: Em Sat, 23 Nov 2013 17:54:48 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On 11/23/2013 05:30 PM, Sylwester Nawrocki wrote: Hi, On 11/23/2013

[GIT PULL for v3.13-rc4] media fixes

2013-12-11 Thread Mauro Carvalho Chehab
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For a dvb core deadlock fix, a couple videobuf2 fixes an a series of media driver fixes. Thank you! Mauro The following changes since

Re: [PATCH] v4l2-dev: Add tracepoints for QBUF and DQBUF

2013-12-11 Thread Hans Verkuil
Hi Mauro, On 12/11/13 11:44, Mauro Carvalho Chehab wrote: Hans, Em Wed, 11 Dec 2013 08:29:58 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On 12/10/2013 09:53 PM, Mauro Carvalho Chehab wrote: Em Sat, 23 Nov 2013 17:54:48 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On 11/23/2013

Re: [PATCH v3] staging: media: davinci_vpfe: Rewrite return statement in vpfe_video.c

2013-12-11 Thread Laurent Pinchart
Hi Lisa, Thank you for the patch. On Tuesday 10 December 2013 22:09:22 Lisa Nguyen wrote: Rewrite the return statement in vpfe_video.c. This will prevent the checkpatch.pl script from generating a warning saying to remove () from this particular return statement. Signed-off-by: Lisa Nguyen

[PATCH v3] v4l: sh_vou: Fix warnings due to improper casts and printk formats

2013-12-11 Thread Laurent Pinchart
Use the %zu and %pad printk specifiers to print size_t and dma_addr_t variables. This fixes warnings on platforms where dma_addr_t has a different size than int. Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org

Re: [PATCH] v4l2-dev: Add tracepoints for QBUF and DQBUF

2013-12-11 Thread Mauro Carvalho Chehab
Em Wed, 11 Dec 2013 12:53:55 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: Hi Mauro, On 12/11/13 11:44, Mauro Carvalho Chehab wrote: Hans, Em Wed, 11 Dec 2013 08:29:58 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On 12/10/2013 09:53 PM, Mauro Carvalho Chehab wrote: Em

Re: [PATCH 06/15] v4l: sh_vou: Enable driver compilation with COMPILE_TEST

2013-12-11 Thread Laurent Pinchart
Hi Mauro, Could you please pick this patch up for v3.14 ? On Wednesday 27 November 2013 02:18:28 Laurent Pinchart wrote: This helps increasing build testing coverage. Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc:

Re: Patch mceusb: fix invalid urb interval

2013-12-11 Thread Sean Young
On Sun, Nov 10, 2013 at 10:50:45AM +, Martin Kittel wrote: Hi, I had trouble getting my MCE remote control to work on my new Intel mainboard. It was working fine with older boards but with the new board there would be no reply from the remote just after the setup package was received

Re: [PATCH] v4l2-dev: Add tracepoints for QBUF and DQBUF

2013-12-11 Thread Hans Verkuil
On 12/11/13 13:44, Mauro Carvalho Chehab wrote: Em Wed, 11 Dec 2013 12:53:55 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: Hi Mauro, On 12/11/13 11:44, Mauro Carvalho Chehab wrote: Hans, Em Wed, 11 Dec 2013 08:29:58 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On 12/10/2013 09:53

Re: Fwd: dib8000 scanning not working on 3.10.3

2013-12-11 Thread Ezequiel Garcia
Hi Javier, On Tue, Dec 10, 2013 at 04:46:16PM -0200, Javier BĂșcar wrote: The issue remain on kernel 3.12.3 I'll try to push a fixed kernel (with some patches reverted), so you can try. Will you be able to try a mainline-like kernel? I'll push a git branch, so it'll be something like this:

Re: [PATCH] v4l2-dev: Add tracepoints for QBUF and DQBUF

2013-12-11 Thread Mauro Carvalho Chehab
Em Wed, 11 Dec 2013 14:15:23 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: On 12/11/13 13:44, Mauro Carvalho Chehab wrote: Em Wed, 11 Dec 2013 12:53:55 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: Hi Mauro, On 12/11/13 11:44, Mauro Carvalho Chehab wrote: Hans, Em Wed, 11

pctv 290e fails with kernel 3.12.3

2013-12-11 Thread Robin Becker
Apologies if this is the wrong place to report this. I am running arch linux on a 64 bit machine. Currently I am stuck on Linux bunyip 3.12.2-1-ARCH #1 SMP PREEMPT Fri Nov 29 21:14:15 CET 2013 x86_64 GNU/Linux If I upgrade to the next kernel in line linux-3.12.3-1-x86_64.pkg.tar.xz I see

Re: [PATCH] v4l2-dev: Add tracepoints for QBUF and DQBUF

2013-12-11 Thread Wade Farnsworth
Hi Hans, Hans Verkuil wrote: On 12/11/13 13:44, Mauro Carvalho Chehab wrote: Em Wed, 11 Dec 2013 12:53:55 +0100 Hans Verkuil hverk...@xs4all.nl escreveu: Hi Mauro, On 12/11/13 11:44, Mauro Carvalho Chehab wrote: Hans, Em Wed, 11 Dec 2013 08:29:58 +0100 Hans Verkuil hverk...@xs4all.nl

[GIT PULL FOR v3.14] More OMAP3 ISP patches

2013-12-11 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 989af88339db26345e23271dae1089d949c4a0f1: [media] v4l: vsp1: Add LUT support (2013-12-11 09:25:20 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git omap3isp/next for you to fetch changes up to

[GIT PULL FOR v3.14] V4L2 OF fixes

2013-12-11 Thread Laurent Pinchart
Hi Mauro, The following changes since commit 989af88339db26345e23271dae1089d949c4a0f1: [media] v4l: vsp1: Add LUT support (2013-12-11 09:25:20 -0200) are available in the git repository at: git://linuxtv.org/pinchartl/media.git v4l2/core for you to fetch changes up to

[PATCH v2 0/7] Atmel ISI fixes and improvements

2013-12-11 Thread Laurent Pinchart
Hello, Here's the second version of a set of miscellaneous fixes and improvement patches for the atmel-isi driver. Please see individual commit messages for more information. Patch 5/7 makes the MCK clock optional. The goal is to remove it completely, but we first need to port boards to the new

[PATCH v2 4/7] v4l: atmel-isi: Reset the ISI when starting the stream

2013-12-11 Thread Laurent Pinchart
The queue setup operation isn't the right place to reset the ISI. Move the reset call to the start streaming operation. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Josh Wu josh...@atmel.com --- drivers/media/platform/soc_camera/atmel-isi.c | 20

[PATCH v2 1/7] v4l: atmel-isi: remove SOF wait in start_streaming()

2013-12-11 Thread Laurent Pinchart
From: Josh Wu josh...@atmel.com when a userspace applications calls the VIDIOC_STREAMON ioctl. The V4L2 core calls the soc_camera_streamon function, which is responsible for starting the video stream. It does so by first starting the atmel-isi host by a call to the vb2_streamon function, and then

[PATCH v2 6/7] v4l: atmel-isi: Fix color component ordering

2013-12-11 Thread Laurent Pinchart
The ISI_CFG2.YCC_SWAP field controls color component ordering. The datasheet lists the following orderings for the memory formats. YCC_SWAPByte 0 Byte 1 Byte 2 Byte 3 00: Default Cb(i) Y(i)Cr(i) Y(i+1) 01: Mode1 Cr(i) Y(i)Cb(i) Y(i+1) 10: Mode2 Y(i)

[PATCH v2 5/7] v4l: atmel-isi: Make the MCK clock optional

2013-12-11 Thread Laurent Pinchart
ISI_MCK is the sensor master clock. It should be handled by the sensor driver directly, as the ISI has no use for that clock. Make the clock optional here while platforms transition to the correct model. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Josh Wu

[PATCH v2 3/7] v4l: atmel-isi: Defer clock (un)preparation to enable/disable time

2013-12-11 Thread Laurent Pinchart
The PCLK and MCK clocks are prepared and unprepared at probe and remove time. Clock (un)preparation isn't needed before enabling/disabling the clocks, and the enable/disable operation happen in non-atomic context. We can thus defer (un)preparation to enable/disable time. Signed-off-by: Laurent

[PATCH v2 7/7] v4l: atmel-isi: Should clear bits before set the hardware register

2013-12-11 Thread Laurent Pinchart
From: Josh Wu josh...@atmel.com In the ISI driver it reads the config register to get original value, then set the correct FRATE_DIV and YCC_SWAP_MODE directly. This will cause some bits overlap. So we need to clear these bits first, then set correct value. This patch fix it. Signed-off-by:

[PATCH v2 2/7] v4l: atmel-isi: Use devm_* managed allocators

2013-12-11 Thread Laurent Pinchart
This simplifies error and cleanup code paths. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Josh Wu josh...@atmel.com --- drivers/media/platform/soc_camera/atmel-isi.c | 56 +-- 1 file changed, 19 insertions(+), 37 deletions(-) diff --git

Re: [PATCH v3] staging: media: davinci_vpfe: Rewrite return statement in vpfe_video.c

2013-12-11 Thread Prabhakar Lad
Hi Lisa, Thanks for the patch. On Wed, Dec 11, 2013 at 11:39 AM, Lisa Nguyen l...@xenapiadmin.com wrote: Rewrite the return statement in vpfe_video.c. This will prevent the checkpatch.pl script from generating a warning saying to remove () from this particular return statement.

[GIT PULL FOR v3.14] DaVinci VPFE trivial fixes

2013-12-11 Thread Prabhakar Lad
Hi Mauro, Please pull the following patches for davinci vpfe driver. Regards, --Prabhakar Lad The following changes since commit 989af88339db26345e23271dae1089d949c4a0f1: [media] v4l: vsp1: Add LUT support (2013-12-11 09:25:20 -0200) are available in the git repository at:

Re: Patch mceusb: fix invalid urb interval

2013-12-11 Thread Martin Kittel
Hi Mauro, hi Sean, thanks for considering the patch. I have added an updated version at the end of this mail. Regarding the info Sean was requesting, it is indeed an xhci hub. I also added the details of the remote itself. Please let me know if there is anything missing. Best wishes, Martin.

[PATCH RFC 4/4] v4l: 1 Hz resolution flag for tuners

2013-12-11 Thread Antti Palosaari
Add V4L2_TUNER_CAP_1HZ for 1 Hz resolution. Signed-off-by: Antti Palosaari cr...@iki.fi --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 6c6a601..1bac6c4 100644 ---

[PATCH RFC 0/4] SDR API set ADC and RF frequency

2013-12-11 Thread Antti Palosaari
Here is small example what it looks like when v4l2-ctl is used. [crope@localhost v4l2-ctl]$ [crope@localhost v4l2-ctl]$ ./v4l2-ctl -d /dev/sdr0 --all Driver Info (not using libv4l2): Driver name : rtl2832_sdr Card type : Realtek RTL2832U SDR Bus info :

[PATCH RFC 1/4] v4l2-core: don't clear VIDIOC_G_FREQUENCY tuner type

2013-12-11 Thread Antti Palosaari
No need to clear as it will be overridden in every case when v4l_g_frequency() is called. We will need that value later when new tuner types are defined. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/v4l2-core/v4l2-ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH RFC 3/4] v4l: add new tuner types for SDR

2013-12-11 Thread Antti Palosaari
Define tuner types V4L2_TUNER_ADC and V4L2_TUNER_SDR for SDR usage. ADC is used for setting sampling rate (sampling frequency) to SDR device. Another tuner type, SDR, is possible RF tuner. Is is used to down-convert RF frequency to range ADC could sample. It is optional for SDR device. Also add

Re: pctv 290e fails with kernel 3.12.3

2013-12-11 Thread Antti Palosaari
Hello On 11.12.2013 16:41, Robin Becker wrote: Apologies if this is the wrong place to report this. I am running arch linux on a 64 bit machine. Currently I am stuck on Linux bunyip 3.12.2-1-ARCH #1 SMP PREEMPT Fri Nov 29 21:14:15 CET 2013 x86_64 GNU/Linux If I upgrade to the next kernel in

Re: [PATCH 0/4] Bugfixes for UVC gadget test application

2013-12-11 Thread Laurent Pinchart
Hi Robert, On Tuesday 10 December 2013 12:40:33 Robert Baldyga wrote: Hello, This patchset fixes UVC gadget test application, created by Laurent Pinchart (git tree available here: git://git.ideasonboard.org/uvc-gadget.git), with applied patches created by Bhupesh Sharma (which can be found

Re: [PATCH 0/4] Bugfixes for UVC gadget test application

2013-12-11 Thread Laurent Pinchart
Hi Robert, [Repost with Bhupesh's hopefully correct e-mail address] On Tuesday 10 December 2013 12:40:33 Robert Baldyga wrote: Hello, This patchset fixes UVC gadget test application, created by Laurent Pinchart (git tree available here: git://git.ideasonboard.org/uvc-gadget.git), with

v4l2 dmabuf test on Ubuntu 13.10 with logitech c210 camera

2013-12-11 Thread Zhao, Halley
Hi experts: With Laurent Pinchart's test case: http://www.mail-archive.com/linux-media@vger.kernel.org/msg54806.html I update it to work on my PC (haswell) with Ubuntu 13.10 + c210 camera: https://gitorious.org/halley-test/v4l2-dmabuf-test the loop keeps running, however, video scene almost

cron job: media_tree daily build: ERRORS

2013-12-11 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: Thu Dec 12 04:00:31 CET 2013 git branch: test git hash: 989af88339db26345e23271dae1089d949c4a0f1 gcc

[PATCH -next] [media] radio-bcm2048: fix missing unlock on error in bcm2048_rds_fifo_receive()

2013-12-11 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Add the missing unlock before return from function bcm2048_rds_fifo_receive() in the error handling case. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/staging/media/bcm2048/radio-bcm2048.c | 1 + 1 file changed, 1

Re: [PATCH RFC 3/4] v4l: add new tuner types for SDR

2013-12-11 Thread Hans Verkuil
On 12/12/2013 12:54 AM, Antti Palosaari wrote: Define tuner types V4L2_TUNER_ADC and V4L2_TUNER_SDR for SDR usage. ADC is used for setting sampling rate (sampling frequency) to SDR device. Another tuner type, SDR, is possible RF tuner. Is is used to down-convert RF frequency to range ADC

Re: [PATCH RFC 4/4] v4l: 1 Hz resolution flag for tuners

2013-12-11 Thread Hans Verkuil
On 12/12/2013 12:54 AM, Antti Palosaari wrote: Add V4L2_TUNER_CAP_1HZ for 1 Hz resolution. Signed-off-by: Antti Palosaari cr...@iki.fi --- include/uapi/linux/videodev2.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h