Re: [RFC PATCH] saa7134: Add AverMedia Satelllite Hybrid+FM A706 (and FM radio problems)

2013-01-17 Thread Ondrej Zary
On Tuesday 15 January 2013 23:37:58 Ondrej Zary wrote: > On Tuesday 15 January 2013 22:57:06 Ondrej Zary wrote: > > On Monday 14 January 2013 22:29:58 Ondrej Zary wrote: > > > On Saturday 12 January 2013 21:24:50 Ondrej Zary wrote: > > > > Partially working: FM radio > > > > Radio seems to be a lon

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Fri, 18 Jan 2013 00:22:00 +0200 Antti Palosaari escreveu: > My propose was to ask if we could add some generic calculations for the > DVB-core, so that implementing only one method for the driver is enough. > If app is asking relative value and driver does dB, then DVB-core makes > conversi

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Antti Palosaari
On 01/17/2013 11:29 PM, Manu Abraham wrote: On Fri, Jan 18, 2013 at 12:41 AM, Antti Palosaari wrote: On 01/17/2013 08:50 PM, Mauro Carvalho Chehab wrote: Em Fri, 18 Jan 2013 00:07:17 +0530 Manu Abraham escreveu: On Thu, Jan 17, 2013 at 11:57 PM, Antti Palosaari wrote: Resetting counte

cron job: media_tree daily build: ERRORS

2013-01-17 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 Jan 17 19:00:17 CET 2013 git hash:3151d14aa6e983aa36d51a80d0477859f9ba12af gcc version: i686-linux-gcc (GCC

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Manu Abraham
On Fri, Jan 18, 2013 at 12:41 AM, Antti Palosaari wrote: > On 01/17/2013 08:50 PM, Mauro Carvalho Chehab wrote: >> >> Em Fri, 18 Jan 2013 00:07:17 +0530 >> Manu Abraham escreveu: >> >>> On Thu, Jan 17, 2013 at 11:57 PM, Antti Palosaari wrote: >>> Resetting counters when user tunes

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Jan 2013 21:11:08 +0200 Antti Palosaari escreveu: > On 01/17/2013 08:50 PM, Mauro Carvalho Chehab wrote: > > Em Fri, 18 Jan 2013 00:07:17 +0530 > > Manu Abraham escreveu: > > > >> On Thu, Jan 17, 2013 at 11:57 PM, Antti Palosaari wrote: > >> > >>> > >>> > >>> Resetting counters when

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Antti Palosaari
On 01/17/2013 08:50 PM, Mauro Carvalho Chehab wrote: Em Fri, 18 Jan 2013 00:07:17 +0530 Manu Abraham escreveu: On Thu, Jan 17, 2013 at 11:57 PM, Antti Palosaari wrote: Resetting counters when user tunes channel sounds the only correct option. This might not be correct, especially when

[PATCH RFCv11 06/16] [media] mb86a20s: Fix i2c gate on error

2013-01-17 Thread Mauro Carvalho Chehab
If an error happens, restore tuner I2C gate to the right value. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/mb86a20s.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-frontends/mb86a20s.

[PATCH RFCv11 01/16] [media] mb86a20s: improve error handling at get_frontend

2013-01-17 Thread Mauro Carvalho Chehab
The read/write errors are not handled well on get_frontend. Fix it, by letting the frontend cached values to represent the DVB properties that were successfully retrieved. While here, use "c" for dtv_frontend_properties cache, instead of "p", as this is more common. Signed-off-by: Mauro Carvalho C

[PATCH RFCv11 08/16] [media] mb86a20s: fix interleaving and FEC retrival

2013-01-17 Thread Mauro Carvalho Chehab
Get the proper bits from the TMCC table registers. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/mb86a20s.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-frontends/mb8

[PATCH RFCv11 05/16] [media] mb86a20s: functions reorder

2013-01-17 Thread Mauro Carvalho Chehab
No functional changes here. Just re-organizes the functions inside the file. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/mb86a20s.c | 223 + 1 file changed, 118 insertions(+), 105 deletions(-) diff --git a/drivers/media/dvb-frontends/mb86

[PATCH RFCv11 07/16] [media] mb86a20s: improve debug for RF level

2013-01-17 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/mb86a20s.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-frontends/mb86a20s.c index f403b3e..adf292c 100644 --- a/drivers/media/dvb-frontends/mb

[PATCH RFCv11 16/16] [media] mb86a20s: Add CNR measurement

2013-01-17 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/mb86a20s.c | 328 - 1 file changed, 326 insertions(+), 2 deletions(-) v2: Several fixes and cleanups for the per-layer CNR measures. diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/driver

[PATCH RFCv11 10/16] [media] mb86a20s: -EBUSY is expected when getting stats measures

2013-01-17 Thread Mauro Carvalho Chehab
Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/mb86a20s.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-frontends/mb86a20s.c index cfe65e3..710370d 100644 --- a/drivers/media/dvb-frontends/mb

[PATCH RFCv11 12/16] [media] mb86a20s: Some improvements for BER measurement

2013-01-17 Thread Mauro Carvalho Chehab
Reduce the bit count from 2^24-1 to 2^16-1 to speedup BER measurement; Do a per-layer reset, instead of waiting for data on all layers; Global stats now start to appear as soon as the first layer (e. g. the one with the biggest number of segments) start to have collected data. Signed-off-by: Mauro

[PATCH RFCv11 02/16] [media] dvb: Add DVBv5 statistics properties

2013-01-17 Thread Mauro Carvalho Chehab
The DVBv3 statistics parameters are limited on several ways: - Doesn't provide any way to indicate the used measure, so userspace need to guess how to calculate the measure; - Only a limited set of stats are supported; - Can't be called in a way to require them

[PATCH RFCv11 03/16] [media] dvb: the core logic to handle the DVBv5 QoS properties

2013-01-17 Thread Mauro Carvalho Chehab
Add the logic to poll, reset counters and report the QoS stats to the end user. The idea is that the core will periodically poll the frontend for the stats. The frontend may return -EBUSY, if the previous collect didn't finish, or it may fill the cached data. The value returned to the end user is a

[PATCH RFCv11 04/16] [media] mb86a20s: Add DVBv5 statistics at FE read_status

2013-01-17 Thread Mauro Carvalho Chehab
Instead of providing separate callbacks to read the several FE status properties, the better seems to use just one method that will: - Read lock status; - Read signal strength; - if locked, get TMCC data; - if locked, get DVB status. As the DVB frontend thread will call this method

[PATCH RFCv11 13/16] [media] mb86a20s: improve bit error count for BER

2013-01-17 Thread Mauro Carvalho Chehab
Do a better job on setting the bit error counters, in order to have all layer measures to happen in a little less than one second. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/mb86a20s.c | 186 - 1 file changed, 162 insertions(+), 24 deleti

[PATCH RFCv11 11/16] [media] mb86a20s: make AGC work better

2013-01-17 Thread Mauro Carvalho Chehab
It is recommented to change register 0x0440 value to 0, in order to fix some AGC bug. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/mb86a20s.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drivers/media/dvb-

[PATCH RFCv11 09/16] [media] mb86a20s: convert it to use dev_info/dev_err/dev_dbg

2013-01-17 Thread Mauro Carvalho Chehab
Also add some additional debug and error messages when needed. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/mb86a20s.c | 156 +++-- 1 file changed, 111 insertions(+), 45 deletions(-) diff --git a/drivers/media/dvb-frontends/mb86a20s.c b/drive

[PATCH RFCv11 14/16] [media] dvb: increase API version

2013-01-17 Thread Mauro Carvalho Chehab
Due to statistics, we should update the DVB API version. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/media/dvb/dvbapi.xml | 2 +- include/uapi/linux/dvb/version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/DocBook/media/dvb/d

[PATCH RFCv11 15/16] [media] mb86a20s: global stat is just a sum, and not an increment

2013-01-17 Thread Mauro Carvalho Chehab
As global BER stat is already summing both BER counters, it should not be incremented with its previous value. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-frontends/mb86a20s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/mb86a

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Fri, 18 Jan 2013 00:07:17 +0530 Manu Abraham escreveu: > On Thu, Jan 17, 2013 at 11:57 PM, Antti Palosaari wrote: > > > > > > > Resetting counters when user tunes channel sounds the only correct option. > > > > This might not be correct, especially when we have true Multiple Input > Stream

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Jan 2013 19:22:06 +0200 Antti Palosaari escreveu: > On 01/17/2013 07:16 PM, Manu Abraham wrote: > > On Thu, Jan 17, 2013 at 3:03 PM, Antti Palosaari wrote: > >> On 01/17/2013 05:40 AM, Manu Abraham wrote: > >>> MB86A20 is not the only demodulator driver with the Linux DVB. > >>> And n

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Manu Abraham
On Thu, Jan 17, 2013 at 11:57 PM, Antti Palosaari wrote: > > > Resetting counters when user tunes channel sounds the only correct option. > This might not be correct, especially when we have true Multiple Input Streams. The tune might be single, but the filter setup would be different. In which

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Antti Palosaari
On 01/17/2013 08:11 PM, Mauro Carvalho Chehab wrote: Em Thu, 17 Jan 2013 19:15:22 +0200 Antti Palosaari escreveu: On 01/17/2013 06:50 PM, Mauro Carvalho Chehab wrote: Em Thu, 17 Jan 2013 11:33:46 +0200 Antti Palosaari escreveu: What goes to these units in general, dB conversion is done by

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Jan 2013 19:15:22 +0200 Antti Palosaari escreveu: > On 01/17/2013 06:50 PM, Mauro Carvalho Chehab wrote: > > Em Thu, 17 Jan 2013 11:33:46 +0200 > > Antti Palosaari escreveu: > > > >> What goes to these units in general, dB conversion is done by the driver > >> about always. It is quit

Re: [linux-media] Re: [linux-media] Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Klaus Schmidinger
On 17.01.2013 18:37, Klaus Schmidinger wrote: On 17.01.2013 18:22, Antti Palosaari wrote: On 01/17/2013 07:16 PM, Manu Abraham wrote: On Thu, Jan 17, 2013 at 3:03 PM, Antti Palosaari wrote: On 01/17/2013 05:40 AM, Manu Abraham wrote: MB86A20 is not the only demodulator driver with the Linux

Re: [linux-media] Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Klaus Schmidinger
On 17.01.2013 18:22, Antti Palosaari wrote: On 01/17/2013 07:16 PM, Manu Abraham wrote: On Thu, Jan 17, 2013 at 3:03 PM, Antti Palosaari wrote: On 01/17/2013 05:40 AM, Manu Abraham wrote: MB86A20 is not the only demodulator driver with the Linux DVB. And not all devices can output in dB scale

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Antti Palosaari
On 01/17/2013 07:16 PM, Manu Abraham wrote: On Thu, Jan 17, 2013 at 3:03 PM, Antti Palosaari wrote: On 01/17/2013 05:40 AM, Manu Abraham wrote: MB86A20 is not the only demodulator driver with the Linux DVB. And not all devices can output in dB scale proposed by you, But any device output can b

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Manu Abraham
On Thu, Jan 17, 2013 at 3:03 PM, Antti Palosaari wrote: > On 01/17/2013 05:40 AM, Manu Abraham wrote: >> >> On Thu, Jan 17, 2013 at 3:31 AM, Mauro Carvalho Chehab >> wrote: >>> >>> Em Wed, 16 Jan 2013 19:29:28 + >>> Simon Farnsworth escreveu: >>> On Wednesday 16 January 2013 23:56:48 Ma

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Antti Palosaari
On 01/17/2013 06:50 PM, Mauro Carvalho Chehab wrote: Em Thu, 17 Jan 2013 11:33:46 +0200 Antti Palosaari escreveu: What goes to these units in general, dB conversion is done by the driver about always. It is quite hard or even impossible to find out that formula unless you has adjustable test s

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Mauro Carvalho Chehab
Em Thu, 17 Jan 2013 11:33:46 +0200 Antti Palosaari escreveu: > What goes to these units in general, dB conversion is done by the driver > about always. It is quite hard or even impossible to find out that > formula unless you has adjustable test signal generator. > > Also we could not offer a

Re: [PATCH] Support Digivox Mini HD (rtl2832)

2013-01-17 Thread Antti Palosaari
On 01/15/2013 12:21 AM, Eddi De Pieri wrote: Add support for Digivox Mini HD (rtl2832) The tuner works, but with worst performance then realtek linux driver, due to incomplete implementation of fc2580.c Signed-off-by: Eddi De Pieri Tested-by: Lorenzo DongarrĂ  diff --git a/drivers/media/usb/d

Re: [PATCH v2] s5p-g2d: Add support for G2D H/W Rev.4.1

2013-01-17 Thread Sachin Kamat
Hi Sylwester, On 17 January 2013 16:46, Sylwester Nawrocki wrote: > Hi Sachin, > > On 01/17/2013 05:07 AM, Sachin Kamat wrote: >> Modified the G2D driver (which initially supported only H/W Rev.3) >> to support H/W Rev.4.1 present on Exynos4x12 and Exynos52x0 SOCs. >> >> -- Set the SRC and DST ty

Re: [PATCH v2] s5p-g2d: Add support for G2D H/W Rev.4.1

2013-01-17 Thread Sylwester Nawrocki
Hi Sachin, On 01/17/2013 05:07 AM, Sachin Kamat wrote: > Modified the G2D driver (which initially supported only H/W Rev.3) > to support H/W Rev.4.1 present on Exynos4x12 and Exynos52x0 SOCs. > > -- Set the SRC and DST type to 'memory' instead of using reset values. > -- FIMG2D v4.1 H/W uses diff

Re: [PATCH RFCv10 00/15] DVB QoS statistics API

2013-01-17 Thread Antti Palosaari
On 01/17/2013 05:40 AM, Manu Abraham wrote: On Thu, Jan 17, 2013 at 3:31 AM, Mauro Carvalho Chehab wrote: Em Wed, 16 Jan 2013 19:29:28 + Simon Farnsworth escreveu: On Wednesday 16 January 2013 23:56:48 Manu Abraham wrote: On Wed, Jan 16, 2013 at 10:51 PM, Mauro Carvalho Chehab It is

Baseband I/Q raw data from a dvb-s/dvb-s2 card. Is it possible ?

2013-01-17 Thread Stelios Koroneos
Greetings to all ! First of all apologies, as this might not an "on-topic " question for the list. I am looking for a way to access the raw baseband I/Q data either for dvb-s or dvb-s2 but i am kind of confused if this is possible and with which card. I had a look at some of the driver(s) code, bu