[PATCH 3/8] rtl2832: Fix deadlock on i2c mux select function.

2014-02-08 Thread Antti Palosaari
From: Luis Alves lja...@gmail.com Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2832.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/rtl2832.c b/drivers/media/dvb-frontends/rtl2832.c index c0366a8..cfc5438

[PATCH 5/8] rtl28xxu: use muxed RTL2832 I2C adapters for E4000 and RTL2832_SDR

2014-02-08 Thread Antti Palosaari
RTL2832 driver provides muxed I2C adapters for tuner bus I2C gate control. Pass those adapters to rtl2832_sdr and e4000 modules in order to get rid of proprietary DVB .i2c_gate_ctrl() callback use. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 12

[PATCH 7/8] rtl2832_sdr: do not init tuner when only freq is changed

2014-02-08 Thread Antti Palosaari
Initializing whole tuner every time when frequency is changed is wrong and unnecessary. Init tuner only when streaming is started. Change other parameters runtime. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/staging/media/rtl2832u_sdr/rtl2832_sdr.c | 25 +++- 1

[PATCH 6/8] e4000: get rid of DVB i2c_gate_ctrl()

2014-02-08 Thread Antti Palosaari
Gate control is now implemented by rtl2832 I2C adapter so we do not need proprietary DVB i2c_gate_ctrl() anymore. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/tuners/e4000.c | 106 +-- 1 file changed, 21 insertions(+), 85 deletions(-)

[PATCH 0/8] regmap API kernel I2C driver model

2014-02-08 Thread Antti Palosaari
Converting DVB tuner driver to near kernel practices has been long on my todo, as I have mentioned multiple times. Here it is, looks pretty nice! No gate-control, nor home made I2C low level access routines anymore... Maybe the only downside is new dependency to regmap (and I2C mux, which was

[PATCH 4/8] rtl2832: implement delayed I2C gate close

2014-02-08 Thread Antti Palosaari
Delay possible I2C gate close a little bit in order to see if there is next message coming to tuner in a sequence. Also, export private muxed I2C adapter. That is aimed only for SDR extension module as SDR belongs to same RTL2832 physical I2C bus (it is physically property of RTL2832, whilst it

[PATCH 1/8] rtl2832: provide muxed I2C adapter

2014-02-08 Thread Antti Palosaari
RTL2832 provides gated / repeater I2C adapter for tuner. Implement it as a muxed I2C adapter. Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/Kconfig| 2 +- drivers/media/dvb-frontends/rtl2832.c | 26 ++

[PATCH 8/8] e4000: convert to Regmap API

2014-02-08 Thread Antti Palosaari
That comes possible after driver was converted to kernel I2C model (I2C binding proper I2C client with no gate control hack). All nasty low level I2C routines are now covered by regmap. Also some variable renaming and minor functionality changes. Cc: Mauro Carvalho Chehab m.che...@samsung.com

[PATCH 2/8] rtl2832: add muxed I2C adapter for demod itself

2014-02-08 Thread Antti Palosaari
There was a deadlock between master I2C adapter and muxed I2C adapter. Implement two I2C muxed I2C adapters and leave master alone, just only for offering I2C adapter for these mux adapters. Reported-by: Luis Alves lja...@gmail.com Reported-by: Benjamin Larsson benja...@southpole.se

Re: [PATCH 3/8] rtl2832: Fix deadlock on i2c mux select function.

2014-02-08 Thread Antti Palosaari
Luis, Could you send your SOB? Antti On 08.02.2014 11:37, Antti Palosaari wrote: From: Luis Alves lja...@gmail.com Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2832.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [RFC 0/4] rc: ir-raw: Add encode, implement NEC encode

2014-02-08 Thread Antti Seppälä
On 6 February 2014 21:59, James Hogan james.ho...@imgtec.com wrote: A recent discussion about proposed interfaces for setting up the hardware wakeup filter lead to the conclusion that it could help to have the generic capability to encode and modulate scancodes into raw IR events so that

[RFC PATCH 1/3] rc-core: Add Manchester encoder (phase encoder) support to rc-core

2014-02-08 Thread Antti Seppälä
Adding a simple Manchester encoder to rc-core. Manchester coding is used by at least RC-5 protocol and its variants. Signed-off-by: Antti Seppälä a.sepp...@gmail.com --- drivers/media/rc/ir-raw.c | 44 + drivers/media/rc/rc-core-priv.h | 14

[RFC PATCH 3/3] nuvoton-cir: Add support for writing wakeup samples via sysfs filter callback

2014-02-08 Thread Antti Seppälä
Nuvoton-cir utilizes the encoding capabilities of currently active protocols to convert scancodes from user space to pulse/space format understood by the underlying hardware. Samples are then written to the wakeup fifo along with other necessary configuration to enable wake up functionality.

[RFC PATCH 0/3] rc: add RC5-SZ encoder and utilize encoders in nuvoton-cir

2014-02-08 Thread Antti Seppälä
This patchset is based and built on an earlier series posted by James Hogan (rc: ir-raw: Add encode, implement NEC encode). This set extends the series by adding a generic RC-5 encoder and adds support for it to RC-5-SZ protocol. In addition nuvoton-cir driver is modified to read wakeup filters

[RFC PATCH 2/3] ir-rc5-sz: Add ir encoding support

2014-02-08 Thread Antti Seppälä
The encoding in rc5-sz first inserts a pulse and then simply utilizes the generic Manchester encoder available in rc-core. Signed-off-by: Antti Seppälä a.sepp...@gmail.com --- drivers/media/rc/ir-rc5-sz-decoder.c | 35 +++ 1 file changed, 35 insertions(+) diff

Re: [PATCH v4.2 4/4] v4l: Document timestamp buffer flag behaviour

2014-02-08 Thread Hans Verkuil
On 02/07/2014 11:52 PM, Sakari Ailus wrote: Timestamp buffer flags are constant at the moment. Document them so that 1) they're always valid and 2) not changed by the drivers. This leaves room to extend the functionality later on if needed. Signed-off-by: Sakari Ailus sakari.ai...@iki.fi

Re: Where to find the em28xx log parser

2014-02-08 Thread Geert Stappers
On Sat, Feb 08, 2014 at 07:34:09AM +0100, mjs wrote: Hello, I'm trying to make a patch for a :zolid usb dvb-t receiver. Like to try the em28xx log parser to decode the usbsnoop output. According to: http://www.linuxtv.org/wiki/index.php/Bus_snooping/sniffing it has been out there at least

SOB

2014-02-08 Thread Geert Stappers
On Sat, Feb 08, 2014 at 11:48:08AM +0200, Antti Palosaari wrote: On 08.02.2014 11:37, Antti Palosaari wrote: From: Luis Alves lja...@gmail.com Signed-off-by: Antti Palosaari cr...@iki.fi Luis, Could you send your SOB? What is a SOB on this mailinglist? My visit to

Re: SOB

2014-02-08 Thread Antti Palosaari
Moikka! On 08.02.2014 15:58, Geert Stappers wrote: On Sat, Feb 08, 2014 at 11:48:08AM +0200, Antti Palosaari wrote: On 08.02.2014 11:37, Antti Palosaari wrote: From: Luis Alves lja...@gmail.com Signed-off-by: Antti Palosaari cr...@iki.fi Luis, Could you send your SOB? What is a SOB on

Re: [PATCH] [media] stb0899: Fix DVB-S2 support for TechniSat SkyStar 2 HD CI USB ID 14f7:0002

2014-02-08 Thread Antti Palosaari
Moikka! On 08.02.2014 15:28, David Jedelsky wrote: Manu, Antti, Thank you for explanation. Now I see that I patched wrong place. More appropriate would be to concentrate on az6027 I2C code. Maybe my device could be working with corrected I2C code. And yes, I have to confirm that the current

[PATCH] omap_vout: Add DVI display type support

2014-02-08 Thread Laurent Pinchart
Since the introduction of the new OMAP DSS DVI connector driver in commit 348077b154357eec595068a3336ef6beb870e6f3 (OMAPDSS: Add new DVI Connector driver), DVI outputs report a new display type of OMAP_DISPLAY_TYPE_DVI instead of OMAP_DISPLAY_TYPE_DPI. Handle the new type in the IRQ handler.

Re: video from USB DVB-T get damaged after some time

2014-02-08 Thread kapetr
Hello, unfortunately I do not understand development, patching, compiling things. I have try it but I need more help. I have done: git clone --depth=1 git://linuxtv.org/media_build.git cd media_build ./build it downloads and builds all. At begin of compiling I had stop it. Then I did manual

Re: video from USB DVB-T get damaged after some time

2014-02-08 Thread Malcolm Priestley
On Sat, 2014-02-08 at 15:43 +0100, kap...@mizera.cz wrote: Hello, unfortunately I do not understand development, patching, compiling things. I have try it but I need more help. I have done: git clone --depth=1 git://linuxtv.org/media_build.git cd media_build ./build it downloads

[PATCH] af9035: Move it913x single devices to af9035

2014-02-08 Thread Malcolm Priestley
The generic v1 and v2 devices have been all tested. IDs tested USB_PID_ITETECH_IT9135 v1 v2 USB_PID_ITETECH_IT9135_9005 v1 USB_PID_ITETECH_IT9135_9006 v2 Current Issues There is no signal on USB_PID_ITETECH_IT9135 v2 No SNR reported all devices. All single devices tune and scan fine. All

GSPCA ov534 payload error

2014-02-08 Thread Mark Pupilli
Hi, I have successfully been using the PS3 eye camera on a beagleboard-xm with kernel 2.6.32. I have upgraded to kernel 3.13.1 and can no longer stream from the camera. I am using unicap to access the camera which never returns any frames. I enabled debugging for the gspca_main module and saw

Re: [PATCH v4.2 4/4] v4l: Document timestamp buffer flag behaviour

2014-02-08 Thread Sakari Ailus
Hi Hans, Thanks for the comments. Hans Verkuil wrote: On 02/07/2014 11:52 PM, Sakari Ailus wrote: Timestamp buffer flags are constant at the moment. Document them so that 1) they're always valid and 2) not changed by the drivers. This leaves room to extend the functionality later on if

Re: video from USB DVB-T get damaged after some time

2014-02-08 Thread kapetr
Hello, I have compile it (I hope) the more right way now :-) The patch saved as aaa.patch in media_build/backports and added lines to media_build/backports/backports.txt: [3.2.0] add aaa.patch Now dmesg looks like: - [ 17.643287] usb 1-1.3: dvb_usb_af9035:

[PATCH] saa7134: Add support for Snazio TvPVR PRO

2014-02-08 Thread GEORGE
From 6eb8ed397f724499b4439426bec98ab7e1cd588e Mon Sep 17 00:00:00 2001 From: POJAR GEORGE geoubu...@gmail.com Date: Sat, 8 Feb 2014 20:46:35 +0200 Subject: [PATCH] saa7134: Add support for Snazio TvPVR PRO Signed-off-by: POJAR GEORGE geoubu...@gmail.com ---

Re: video from USB DVB-T get damaged after some time

2014-02-08 Thread Malcolm Priestley
On Sat, 2014-02-08 at 19:35 +0100, kap...@mizera.cz wrote: Hello, I have compile it (I hope) the more right way now :-) The patch saved as aaa.patch in media_build/backports and added lines to media_build/backports/backports.txt: [3.2.0] add aaa.patch Now dmesg looks

RE: [PATCH 3/8] rtl2832: Fix deadlock on i2c mux select function.

2014-02-08 Thread Luis Alves
From: Luis Alves lja...@gmail.com Signed-off-by: Luis Alves lja...@gmail.com Signed-off-by: Antti Palosaari cr...@iki.fi --- drivers/media/dvb-frontends/rtl2832.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/rtl2832.c

Re: video from USB DVB-T get damaged after some time

2014-02-08 Thread kapetr
Hello, thanks - but in my Antenna is noway the problem - the signal is strong and HQ. All other tuners (STB, TVs, ...) are more then happy. If it would not - the BERs would by HIGH all time. No WiFi. 4GB RAM - most of them always free. I thing the problem is - that the card loses tuned

Re: video from USB DVB-T get damaged after some time

2014-02-08 Thread Antti Palosaari
Moikka! I am going to extract new firmware. I dumped init tables out from Windows driver version 12.07.06.1. Is there any newer? regards Antti -- http://palosaari.fi/ -- To unsubscribe from this list: send the line unsubscribe linux-media in the body of a message to majord...@vger.kernel.org

cron job: media_tree daily build: WARNINGS

2014-02-08 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: Sun Feb 9 04:00:23 CET 2014 git branch: test git hash: 37e59f876bc710d67a30b660826a5e83e07101ce gcc

Re: video from USB DVB-T get damaged after some time

2014-02-08 Thread Antti Palosaari
On 09.02.2014 02:42, Antti Palosaari wrote: Moikka! I am going to extract new firmware. I dumped init tables out from Windows driver version 12.07.06.1. Is there any newer? regards Antti I extracted firmwares from Windows driver 12.10.04.1. Didn't find newer driver...

[PATCH 0/5] v4l2-ctl: add SDR device support

2014-02-08 Thread Antti Palosaari
That is here too: http://git.linuxtv.org/anttip/v4l-utils.git/shortlog/refs/heads/sdr I will pull request it soon. regards Antti Antti Palosaari (4): synch videodev2.h headers with kernel SDR API v4l2-ctl: add tuner support for SDR tuners v4l2-ctl: add support for SDR FMT v4l2-ctl:

[PATCH 5/5] v4l2-ctl: implement list SDR buffers command

2014-02-08 Thread Antti Palosaari
Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 6 ++ utils/v4l2-ctl/v4l2-ctl.cpp | 1 + utils/v4l2-ctl/v4l2-ctl.h | 1 + 3 files changed, 8 insertions(+) diff --git

[PATCH 1/5] libdvbv5: better handle ATSC/Annex B

2014-02-08 Thread Antti Palosaari
From: Mauro Carvalho Chehab m.che...@samsung.com As DVBv3 is confusing with regards to ATSC and ClearQAM (DVB-C annex B), userpace apps also only differenciate between ATSC and ClearQAM via modulation. However, when using DVBv5, may be using the delivery system in order to enforce one or the

[PATCH 2/5] synch videodev2.h headers with kernel SDR API

2014-02-08 Thread Antti Palosaari
Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- contrib/freebsd/include/linux/videodev2.h | 16 include/linux/videodev2.h | 16 2 files changed, 32 insertions(+) diff --git

[PATCH 4/5] v4l2-ctl: add support for SDR FMT

2014-02-08 Thread Antti Palosaari
Add support for FMT IOCTL operations used for SDR receivers. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- utils/v4l2-ctl/Makefile.am | 2 +- utils/v4l2-ctl/v4l2-ctl-common.cpp | 1 + utils/v4l2-ctl/v4l2-ctl-sdr.cpp| 104

[PATCH 3/5] v4l2-ctl: add tuner support for SDR tuners

2014-02-08 Thread Antti Palosaari
Add initial SDR support for tuner related operations. Cc: Hans Verkuil hverk...@xs4all.nl Signed-off-by: Antti Palosaari cr...@iki.fi --- utils/v4l2-ctl/v4l2-ctl-tuner.cpp | 53 +++ 1 file changed, 43 insertions(+), 10 deletions(-) diff --git