Re: staging: media: Use dev_err() instead of pr_err()

2013-11-17 Thread Mauro Carvalho Chehab
Em Fri, 15 Nov 2013 15:29:39 +0900 Greg Kroah-Hartman gre...@linuxfoundation.org escreveu: On Thu, Nov 14, 2013 at 11:08:14AM -0200, Mauro Carvalho Chehab wrote: Hi, I'm not sure how this patch got applied upstream: commit b6ea5ef80aa7fd6f4b18ff2e4174930e8772e812 Author:

Re: [PATCH] gspca-stk1135: Add delay after configuring clock

2013-11-17 Thread Hans de Goede
Hi, On 11/03/2013 01:09 AM, Ondrej Zary wrote: Add a small delay at the end of configure_clock() to allow sensor to initialize. This is needed by Asus VX2S laptop webcam to detect sensor type properly (the already-supported MT9M112). Signed-off-by: Ondrej Zary li...@rainbow-software.org ---

Re: [PATCH] [media] radio-shark: Mark shark_resume_leds() inline to kill compiler warning

2013-11-17 Thread Hans de Goede
Hi, On 10/28/2013 01:16 PM, Geert Uytterhoeven wrote: If SHARK_USE_LEDS=1, but CONFIG_PM=n: drivers/media/radio/radio-shark.c:275: warning: ‘shark_resume_leds’ defined but not used Instead of making the #ifdef logic even more complicated (there are already two definitions of

[PATCH] radio-shark2: Mark shark_resume_leds() inline to kill compiler warning

2013-11-17 Thread Hans de Goede
This mirrors the patch to the radio-shark driver by Geert Uytterhoeven. If SHARK_USE_LEDS=1, but CONFIG_PM=n: drivers/media/radio/radio-shark2.c:240: warning: ‘shark_resume_leds’ defined but not used Instead of making the #ifdef logic even more complicated (there are already two definitions of

[GIT PULL FIXES for 3.13] 1 small gspca and 2 small radio-shark fixes

2013-11-17 Thread Hans de Goede
Hi Mauro, Please pull from my tree for 3 small fixes for 3.13 : The following changes since commit 80f93c7b0f4599ffbdac8d964ecd1162b8b618b9: [media] media: st-rc: Add ST remote control driver (2013-10-31 08:20:08 -0200) are available in the git repository at:

усмотреть свет во любых окрасках

2013-11-17 Thread atbox
практика может перевоплотиться несравнимо симпатичней. http://captur.in/YLkA N‹ЇВцьrИ›yњшšиbВXЌЖЧЇvи^–)оК{.nЧ+‰ЗЅŠ{Б™чbj)э… цшw*jgЌБЈЖ‰šŽŠнЂj/ъфzЙо–Šр2Šо™Јш­кЂ)пЁЋaЖкўјЎGЋщhЎцj:+v‰ЈŠwш†йЅ

[no subject]

2013-11-17 Thread Martin Herrman
subscribe linux-media -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

ddbridge module fails to load

2013-11-17 Thread Martin Herrman
Hi, Since about a year I'm a happy user of the experimental driver for my cine c2 v6. I have just tried to use the latest code. It compiles without issues (kernel 3.11 with gentoo and ck patches), but doesn't load: ddbridge: Unknown symbol dvb_usercopy (err 0) I reviewed the updates:

[PATCH RFC 0/6] SDR API libV4L stream conversion

2013-11-17 Thread Antti Palosaari
That patch set contains libv4lconvert conversion for all SDR formats I have currently available. Also simple test app to stream data from device to standard output. Seems to works very well. CPU usage is something like 13% when 2MSps sampling rate is used, which goes very much from the runtime

[PATCH RFC 4/6] libv4lconvert: SDR conversion from MSi2500 format 384 to FLOAT

2013-11-17 Thread Antti Palosaari
It is one Mirics MSi2500 (MSi3101) USB ADC specific source format. Signed-off-by: Antti Palosaari cr...@iki.fi --- contrib/freebsd/include/linux/videodev2.h | 1 + include/linux/videodev2.h | 1 + lib/libv4lconvert/libv4lconvert.c | 49 +++ 3

[PATCH RFC 5/6] libv4lconvert: SDR conversion from packed S12 to FLOAT

2013-11-17 Thread Antti Palosaari
It is 12-bit sample pairs packed to 3 bytes. fourcc DS12. Signed-off-by: Antti Palosaari cr...@iki.fi --- contrib/freebsd/include/linux/videodev2.h | 1 + include/linux/videodev2.h | 1 + lib/libv4lconvert/libv4lconvert.c | 23 +++ 3 files changed,

[PATCH RFC 3/6] libv4lconvert: SDR conversion from S8 to FLOAT

2013-11-17 Thread Antti Palosaari
SDR I/Q data conversion from signed 8-bit to [-1 to +1] float. Signed-off-by: Antti Palosaari cr...@iki.fi --- contrib/freebsd/include/linux/videodev2.h | 1 + include/linux/videodev2.h | 1 + lib/libv4lconvert/libv4lconvert.c | 12 3 files changed, 14

[PATCH RFC 2/6] v4l2: add sdr-fetch test app

2013-11-17 Thread Antti Palosaari
That simple app reads data from SDR device using libv4l2 and writes it in float format to standard output. Stream is converted to complex float format by libv4l. sdr-fetch is based of v4l2grab v4l2 test app. Signed-off-by: Antti Palosaari cr...@iki.fi --- contrib/test/Makefile.am | 6 +-

[PATCH RFC 1/6] libv4lconvert: SDR conversion from U8 to FLOAT

2013-11-17 Thread Antti Palosaari
Convert unsigned 8 to float 32 [-1 to +1], which is commonly used format for baseband signals by SDR applications. Some implementation changes done as suggested by Hans Verkuil, Hans de Goede and Andy Walls. Cc: Hans Verkuil hverk...@xs4all.nl Cc: Hans de Goede hdego...@redhat.com Cc: Andy Walls

[PATCH RFC 6/6] libv4lconvert: SDR conversion from S14 to FLOAT

2013-11-17 Thread Antti Palosaari
It is 14-bit sample packed to 2 bytes. fourcc DS14. Signed-off-by: Antti Palosaari cr...@iki.fi --- contrib/freebsd/include/linux/videodev2.h | 1 + include/linux/videodev2.h | 1 + lib/libv4lconvert/libv4lconvert.c | 23 +++ 3 files changed, 25

[PATCH RFC 1/7] v4l2: add two pixel format for SDR

2013-11-17 Thread Antti Palosaari
These are used for converting / streaming I/Q data from SDR. * float 32-bit * unsigned 8-bit Signed-off-by: Antti Palosaari cr...@iki.fi --- include/uapi/linux/videodev2.h | 4 1 file changed, 4 insertions(+) diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h

[PATCH RFC 4/7] msi3101: implement FMT IOCTLs

2013-11-17 Thread Antti Palosaari
VIDIOC_ENUM_FMT, VIDIOC_G_FMT, VIDIOC_S_FMT and VIDIOC_TRY_FMT. Implement 8-bit signed stream (type '504' samples per USB packet) using FMT. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 165 +--- 1 file changed, 123

[PATCH RFC 5/7] msi3101: move format 384 conversion to libv4lconvert

2013-11-17 Thread Antti Palosaari
Move format 384 conversion to libv4lconvert as a fourcc M384. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 162 ++-- include/uapi/linux/videodev2.h | 1 + 2 files changed, 57 insertions(+), 106 deletions(-)

[PATCH RFC 3/7] v4l2: add signed 8-bit pixel format for SDR

2013-11-17 Thread Antti Palosaari
It is 8-bit unsigned data, byte after byte. Used for streaming SDR I/Q data from ADC. V4L2_PIX_FMT_SDR_S8, v4l fourcc DS08. 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

[PATCH RFC 7/7] msi3101: move format 252 conversion to libv4lconvert

2013-11-17 Thread Antti Palosaari
Move format 252 conversion to libv4lconvert as a fourcc DS14. It is 14-bit sample pairs packed to 4 bytes. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 64 +++-- include/uapi/linux/videodev2.h | 1 + 2 files

[PATCH RFC 6/7] msi3101: move format 336 conversion to libv4lconvert

2013-11-17 Thread Antti Palosaari
Move format 384 conversion to libv4lconvert as a fourcc DS12. It is 12-bit sample pairs packed to 3 bytes. msi3101: move format 336 conversion 336 to libv4l Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/msi3101/sdr-msi3101.c | 65 ++---

[PATCH RFC 2/7] rtl2832_sdr: implement FMT IOCTLs

2013-11-17 Thread Antti Palosaari
VIDIOC_ENUM_FMT, VIDIOC_G_FMT, VIDIOC_S_FMT and VIDIOC_TRY_FMT. Return stream according to FMT. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 125 ++- 1 file changed, 75 insertions(+), 50 deletions(-) diff --git

[PATCH v5 00/17] add COMMON_CLK support for PowerPC MPC512x

2013-11-17 Thread Gerhard Sittig
this series introduces support for the common clock framework (CCF, COMMON_CLK Kconfig option) in the PowerPC based MPC512x platform, which brings device tree based clock lookup as well at subsystem maintainers: this series was streamlined for conflict free application through the subsystems'

[PATCH v5 13/17] [media] fsl-viu: adjust for OF based clock lookup

2013-11-17 Thread Gerhard Sittig
after device tree based clock lookup became available, the VIU driver need no longer use the previous global viu_clk name, but should use the ipg clock name specific to the OF node Cc: Mauro Carvalho Chehab m.che...@samsung.com Cc: linux-media@vger.kernel.org Signed-off-by: Gerhard Sittig

Re: SAA7134 driver reports zero frame rate

2013-11-17 Thread Tim E. Real
On November 16, 2013 10:21:03 PM you wrote: On Sat, Nov 16, 2013 at 6:19 PM, Tim E. Real termt...@rogers.com wrote: The SAA7134 driver causes libav to crash because the driver reports zero frame rate. Thus it is virtually impossible to do any recording. Step #1: Open a bug