[PATCH 0/6] [0b48:3014] TechnoTrend TVStick CT2-4400

2014-07-13 Thread Olli Salonen
=200816 count=3944 of=dvb-tuner-si2158-20-01.fw Olli Salonen (6): si2168: Small typo fix (SI2157 - SI2168) si2168: Add handling for different chip revisions and firmwares si2157: Move chip initialization to si2157_init si2157: Add support for Si2158 chip si2157: Set delivery system

[PATCH 2/6] si2168: Add handling for different chip revisions and firmwares

2014-07-13 Thread Olli Salonen
Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 34 ++- drivers/media/dvb-frontends/si2168_priv.h | 4 +++- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers

[PATCH 1/6] si2168: Small typo fix (SI2157 - SI2168)

2014-07-13 Thread Olli Salonen
Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168_priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb-frontends/si2168_priv.h b/drivers/media/dvb-frontends/si2168_priv.h index 53f7f06..97f9d87 100644 --- a/drivers

[PATCH 4/6] si2157: Add support for Si2158 chip

2014-07-13 Thread Olli Salonen
Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 73 +++--- drivers/media/tuners/si2157.h | 2 +- drivers/media/tuners/si2157_priv.h | 5 ++- 3 files changed, 73 insertions(+), 7 deletions(-) diff --git a/drivers

[PATCH 3/6] si2157: Move chip initialization to si2157_init

2014-07-13 Thread Olli Salonen
Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 71 ++- 1 file changed, 30 insertions(+), 41 deletions(-) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index a4908ee..a92570f9 100644

[PATCH 5/6] si2157: Set delivery system and bandwidth before tuning

2014-07-13 Thread Olli Salonen
Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 31 +++ 1 file changed, 31 insertions(+) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index 58c5ef5..b656f9b 100644 --- a/drivers/media/tuners/si2157.c

[PATCH 6/6] cxusb: TechnoTrend CT2-4400 USB DVB-T2/C tuner support

2014-07-13 Thread Olli Salonen
Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + drivers/media/usb/dvb-usb/Kconfig| 3 + drivers/media/usb/dvb-usb/cxusb.c| 191 ++- drivers/media/usb/dvb-usb/cxusb.h| 2 + 4 files changed, 196

[PATCH] si2168: improve scanning performance by setting property 0301 with a value from Windows driver.

2014-07-17 Thread Olli Salonen
Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c index 0422925..56811e1 100644 --- a/drivers/media/dvb-frontends/si2168.c

[PATCH] si2157: Use name si2157_ops instead of si2157_tuner_ops (harmonize with si2168)

2014-07-17 Thread Olli Salonen
Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index 329004f..4730f69 100644 --- a/drivers/media/tuners/si2157.c +++ b/drivers

cxusb: How to add CI support?

2014-07-23 Thread Olli Salonen
Hi everyone, I'm in need of advice when it comes to the implementation of the drivers. I recently added support for TechnoTrend CT2-4400 DVB-T2 tuner into the dvb-usb-cxusb module. Now I have gotten another TechnoTrend device CT2-4650 and it seems this is more or less the same device as CT2-4400

[PATCH] si2168: clean logging

2014-08-05 Thread Olli Salonen
Same thing for si2168 as Antti did earlier for tda18212: There is no need to print module name nor function name as those are done by kernel logging system when dev_xxx logging is used and driver is proper I2C driver. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb

[PATCH] si2157: clean logging

2014-08-05 Thread Olli Salonen
Same thing for si2157 as Antti did earlier for tda18212: There is no need to print module name nor function name as those are done by kernel logging system when dev_xxx logging is used and driver is proper I2C driver. While here, fix a typo (unknown) in si2157_init. Signed-off-by: Olli Salonen

[PATCH 3/3] cxusb: Add support for TechnoTrend TT-connect CT2-4650 CI

2014-08-06 Thread Olli Salonen
for CAM operations. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/Kconfig | 1 + drivers/media/usb/dvb-usb/cxusb.c | 92 ++- drivers/media/usb/dvb-usb/cxusb.h | 4 ++ 3 files changed, 96 insertions(+), 1 deletion(-) diff --git

[PATCH 2/3] Add USB ID for TechnoTrend TT-connect CT2-4650 CI

2014-08-06 Thread Olli Salonen
Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h index 5135a09..b7a9b98 100644 --- a/drivers/media/dvb-core/dvb-usb-ids.h +++ b

[PATCH 1/3] sp2: Add I2C driver for CIMaX SP2 common interface module

2014-08-06 Thread Olli Salonen
and I don't have a PCIe device for development). Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/Makefile | 1 + drivers/media/dvb-frontends/sp2.c | 411 + drivers/media/dvb-frontends/sp2.h | 54 + drivers/media/dvb

[PATCH] sp2: Add SP2 entry to Kconfig

2014-08-06 Thread Olli Salonen
Option DVB_SP2 must be in Kconfig as well. This patch should be applied together with patch 25206 that was submitted earlier today. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/Kconfig | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/media

Re: [PATCH 1/3] sp2: Add I2C driver for CIMaX SP2 common interface module

2014-08-07 Thread Olli Salonen
Thank you Antti for the review. I'll submit another version of the patch in the coming days. Cheers, -olli On 7 August 2014 19:28, Antti Palosaari cr...@iki.fi wrote: Reviewed-by: Antti Palosaari cr...@iki.fi None of those findings are critical. However I hope you double check and fix if

Re: [PATCH 3/4] support for DVBSky dvb-s2 usb: add dvb-usb-v2 driver for DVBSky dvb-s2 box

2014-08-07 Thread Olli Salonen
Hi Max, nibble.max nibble.max at gmail.com writes: diff --git a/drivers/media/usb/dvb-usb-v2/Kconfig b/drivers/media/usb/dvb-usb-v2/Kconfig index 66645b0..8107c8d 100644 --- a/drivers/media/usb/dvb-usb-v2/Kconfig +++ b/drivers/media/usb/dvb-usb-v2/Kconfig at at -141,3 +141,9 at at

[PATCH 4/4] cxusb: Add read_mac_address for TT CT2-4400 and CT2-4650

2014-08-08 Thread Olli Salonen
Read MAC address from the EEPROM. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/cxusb.c | 37 + 1 file changed, 37 insertions(+) diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c index c3a44c7

[PATCHv2 1/4] sp2: Add I2C driver for CIMaX SP2 common interface module

2014-08-08 Thread Olli Salonen
and I don't have a PCIe device for development). This is the second version of the patch series after review by Antti Palosaari. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/Kconfig| 7 + drivers/media/dvb-frontends/Makefile | 1 + drivers/media/dvb

[PATCHv2 3/4] cxusb: Add support for TechnoTrend TT-connect CT2-4650 CI

2014-08-08 Thread Olli Salonen
and called back for CAM operations. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/Kconfig | 2 +- drivers/media/usb/dvb-usb/cxusb.c | 92 ++- drivers/media/usb/dvb-usb/cxusb.h | 4 ++ 3 files changed, 96 insertions(+), 2 deletions

[PATCHv2 2/4] Add USB ID for TechnoTrend TT-connect CT2-4650 CI

2014-08-08 Thread Olli Salonen
Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/dvb-core/dvb-usb-ids.h b/drivers/media/dvb-core/dvb-usb-ids.h index 5135a09..b7a9b98 100644 --- a/drivers/media/dvb-core/dvb-usb-ids.h +++ b

[PATCH 2/6] em28xx: add ts mode setting for PCTV 461e

2014-08-11 Thread Olli Salonen
TS mode must be set in the existing PCTV 461e driver. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/em28xx/em28xx-dvb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c index d8e9760

[PATCH 5/6] cx23855: add frontend set voltage function into state

2014-08-11 Thread Olli Salonen
Setting the LNB voltage requires setting some GPIOs on the cx23885 with some boards before calling the actual set_voltage function in the demod driver. Add a function pointer into state for that case. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/cx23885.h | 2

[PATCH 1/6] si2168: add ts_mode setting and move to si2168_init

2014-08-11 Thread Olli Salonen
to config struct. - Possible (interesting) values are * Parallel mode = 0x06 * Serial mode = 0x03 Currently the modules using this demod only use parallel mode. Patches for these modules later in this patch series. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb

[PATCH 3/6] cxusb: add ts mode setting for TechnoTrend CT2-4400

2014-08-11 Thread Olli Salonen
TS mode must be set in the existing TechnoTrend CT2-4400 driver. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/cxusb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c index 16bc579..87842e9

[PATCH 4/6] cx23885: add i2c client handling into dvb_unregister and state

2014-08-11 Thread Olli Salonen
Prepare cx23885 driver for handling I2C client that is needed for certain demodulators and tuners (for example Si2168 and Si2157). I2C client for tuner and demod stored in state and unregistering of the I2C devices added into dvb_unregister. Signed-off-by: Olli Salonen olli.salo...@iki.fi

[PATCH 6/6] cx23855: add support for DVBSky T9580 DVB-C/T2/S2 tuner

2014-08-11 Thread Olli Salonen
in this patch. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/Kconfig | 4 + drivers/media/pci/cx23885/cx23885-cards.c | 26 + drivers/media/pci/cx23885/cx23885-dvb.c | 160 ++ drivers/media/pci/cx23885/cx23885.h | 1

Re: [PATCH 2/6] em28xx: add ts mode setting for PCTV 461e

2014-08-13 Thread Olli Salonen
-by: Antti Palosaari cr...@iki.fi PCTV 461e is satellite receiver whilst that one should be PCTV 292e. I will fix the type, no new patch needed. Antti On 08/11/2014 10:58 PM, Olli Salonen wrote: TS mode must be set in the existing PCTV 461e driver. Signed-off-by: Olli Salonen olli.salo

[PATCH] si2157: Add support for delivery system SYS_ATSC

2014-08-16 Thread Olli Salonen
Set the property for delivery system also in case of SYS_ATSC. This behaviour is observed in the sniffs taken with Hauppauge HVR-955Q Windows driver. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers

[PATCHv2] cxusb: Add read_mac_address for TT CT2-4400 and CT2-4650

2014-08-21 Thread Olli Salonen
Read MAC address from the EEPROM. This version two corrects a flaw in the result code returning that did exist in the first version. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/cxusb.c | 35 +++ 1 file changed, 35 insertions

[PATCH] MAINTAINERS: add sp2 entry

2014-08-22 Thread Olli Salonen
Add a maintainer for the new CIMaX SP2 driver. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- MAINTAINERS |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4cdf24c..6139b66 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8451,6

[PATCH 2/3] si2157: avoid firmware loading if it has been loaded previously

2014-08-25 Thread Olli Salonen
Add a variable into state to keep track if firmware has been loaded or not. Skip firmware loading in case it is already loaded (resume from sleep). Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 11 +-- drivers/media/tuners/si2157_priv.h | 1

[PATCH 1/3] si2157: change command for sleep

2014-08-25 Thread Olli Salonen
after that. This is not an issue with tuners that do not require firmware, but resuming from sleep on an Si2158 takes noticeable time as firmware is loaded on resume. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 7 --- 1 file changed, 4 insertions

[PATCH 3/3] si2168: avoid firmware loading if it has been loaded previously

2014-08-25 Thread Olli Salonen
binary-only si2168 driver for TechnoTrend CT2-4400. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 31 --- drivers/media/dvb-frontends/si2168_priv.h | 1 + 2 files changed, 29 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 3/3] si2168: avoid firmware loading if it has been loaded previously

2014-09-05 Thread Olli Salonen
? It will be given later in any case. For my Si2168 B40 there was no need for it. regards Antti On 08/25/2014 09:07 PM, Olli Salonen wrote: Add a variable to keep track if firmware is loaded or not and skip parts of the initialization if fw is already loaded. Resume from sleep with a different

Re: [PATCH 3/3] si2168: avoid firmware loading if it has been loaded previously

2014-09-06 Thread Olli Salonen
applying the si2157: sleep hack patch: my TT CT2-4400 does not lock on the second tune, ie. after sleep. Log of the testing of that patch is here: http://paste.ubuntu.com/8271869/ Cheers, -olli On 5 September 2014 21:54, Olli Salonen olli.salo...@iki.fi wrote: Moro, I'll test it once more when

[PATCH] si2157: Add support for Si2147-A30 tuner

2014-09-11 Thread Olli Salonen
is 0x and I can't get a lock with that value. While here, fix the return length of the previous set command to 4 bytes. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 13 +++-- drivers/media/tuners/si2157.h | 2 +- drivers/media/tuners

[PATCH 0/3] IT930x USB DVB-T2/C tuner

2014-09-21 Thread Olli Salonen
This patch set adds support for IT930x reference design. It contains IT9303 USB bridge, Si2168-B40 demodulator and Si2147-A30 tuner. The patches should be applied on top of Antti's af9035 branch. http://git.linuxtv.org/cgit.cgi/anttip/media_tree.git/log/?h=af9035 Cc: cr...@iki.fi Olli Salonen

[PATCH 1/3] si2157: Add support for Si2147-A30

2014-09-21 Thread Olli Salonen
is 0x and I can't get a lock with that value. Signed-off-by: Olli Salonen olli.salo...@iki.fi Cc: cr...@iki.fi --- drivers/media/tuners/si2157.c | 13 +++-- drivers/media/tuners/si2157.h | 2 +- drivers/media/tuners/si2157_priv.h | 2 +- 3 files changed, 13 insertions(+), 4

[PATCH 2/3] af9035: Add possibility to define which I2C adapter to use

2014-09-21 Thread Olli Salonen
Some I2C tuner drivers require that the I2C device of the tuner is added to the I2C adapter of the demodulator (Si2168+Si2157 for example). Add possibility to tell af9035_add_i2c_dev which I2C adapter should be used. Cc: cr...@iki.fi Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers

[PATCH 3/3] af9035: Add support for IT930x USB bridge

2014-09-21 Thread Olli Salonen
/ The Si2168-B40 requires firmware, but the one that is used by PCTV 292e can be used. http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/Si2168-B40/ The Si2147-A30 tuner does not require firmware loading. Cc: cr...@iki.fi Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-core/dvb-usb

Re: [PATCH 3/3] af9035: Add support for IT930x USB bridge

2014-09-23 Thread Olli Salonen
adapter xfer goes pretty complex, but that is because there is actually 3 I2C adapters and some of those even offer multiple access methods by firmware. Maybe there is also room for later improvement. But as I said, patch it is OK. regards Antti On 09/21/2014 01:53 PM, Olli Salonen wrote: Add

[PATCH] si2168: add FE_CAN_MULTISTREAM into caps

2014-09-23 Thread Olli Salonen
PLP selection was implemented for Si2168 last month (patchwork 25387). However, FE_CAN_MULTISTREAM was not added to dvb_frontend_ops of si2168. This patch adds FE_CAN_MULTISTREAM, which indicates that multiple PLP are supported. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media

[PATCH] cx23885: initialize config structs for T9580

2014-09-23 Thread Olli Salonen
The config structs used for DVBSky T9580 were not initialized. This patch fixes that. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/cx23885-dvb.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/media/pci/cx23885/cx23885-dvb.c b

[PATCH 1/5] cx23855: add support for DVBSky T980C (no CI support)

2014-09-29 Thread Olli Salonen
with TT CT2-4650 CI: https://www.mail-archive.com/linux-media@vger.kernel.org/msg78033.html Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/cx23885-cards.c | 40 drivers/media/pci/cx23885/cx23885-dvb.c | 61

[PATCH 2/5] sp2: fix incorrect struct

2014-09-29 Thread Olli Salonen
Incorrect struct used in the SP2 driver. Reported-by: Max Nibble nibble@gmail.com Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/sp2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/sp2.c b/drivers/media/dvb

[PATCH 3/5] sp2: improve debug logging

2014-09-29 Thread Olli Salonen
Improve debugging output. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/sp2.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/media/dvb-frontends/sp2.c b/drivers/media/dvb-frontends/sp2.c index 1f4f250..320cbe9

[PATCH 5/5] cx23855: add CI support for DVBSky T980C

2014-09-29 Thread Olli Salonen
Add CI support for DVBSky T980C. I used the new host device independent CIMaX SP2 I2C driver to implement it. cx23885_sp2_ci_ctrl function is borrowed entirely from cimax2.c. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/cx23885-dvb.c | 105

[PATCH 4/5] cx23885: add I2C client for CI into state and handle unregistering

2014-09-29 Thread Olli Salonen
If the CI chip has an I2C driver, we need to store I2C client into state. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/cx23885-dvb.c | 7 +++ drivers/media/pci/cx23885/cx23885.h | 1 + 2 files changed, 8 insertions(+) diff --git a/drivers/media/pci

Re: [PATCH 5/5] cx23855: add CI support for DVBSky T980C

2014-09-29 Thread Olli Salonen
driver to implement it. cx23885_sp2_ci_ctrl function is borrowed entirely from cimax2.c. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/cx23885-dvb.c | 105 +++- 1 file changed, 103 insertions(+), 2 deletions(-) diff --git a/drivers

[PATCHv2 5/5] cx23855: add CI support for DVBSky T980C

2014-10-04 Thread Olli Salonen
Add CI support for DVBSky T980C card. The new host device independent CIMaX SP2 I2C driver was used to implement it. IRQ handling is not implemented at this point. It could be used to detect the CAM insertion/removal instantly. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media

[PATCH 1/4] dvbsky: don't print MAC address from read_mac_address

2014-10-12 Thread Olli Salonen
The dvb-usb-v2 already prints out the MAC address, no need to print it out also here. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb

[PATCH 4/4] dvbsky: add option to disable IR receiver

2014-10-12 Thread Olli Salonen
Added an option disable_rc that can be used to disable the IR receiver polling for this module. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2

[PATCH 3/4] dvbsky: clean logging

2014-10-12 Thread Olli Salonen
dev_err includes the function name in the log printout, so there is no need to include it manually. While here, fix a small grammatical error in the i2c error message. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 21 - 1 file

[PATCH 2/4] dvbsky: added debug logging

2014-10-12 Thread Olli Salonen
Added debug logging using dev_dgb. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c

Re: [PATCH 4/4] dvbsky: add option to disable IR receiver

2014-10-12 Thread Olli Salonen
On 12.10.2014 13:12, Antti Palosaari wrote: static int dvbsky_get_rc_config(struct dvb_usb_device *d, struct dvb_usb_rc *rc) { +if (dvb_usb_dvbsky_disable_rc) +return 0; + +rc-map_name = RC_MAP_DVBSKY; rc-allowed_protos = RC_BIT_RC5; rc-query =

[PATCHv2 4/4] dvbsky: add option to disable IR receiver

2014-10-12 Thread Olli Salonen
Add an option to disable remote controller for DVBSky devices by specifying the disable_rc option at modprobe. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c index 5c7387a..f2d0eb7 100644

[PATCH 1/2] dtv-scan-tables: add mux H to stations transmitting it in Finland

2014-10-19 Thread Olli Salonen
The new mux H is being broadcasted by Digita from 6 stations in Finland. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- dvb-t/fi-Espoo | 15 ++- dvb-t/fi-Jyvaskyla | 15 ++- dvb-t/fi-Lahti | 15 ++- dvb-t/fi-Oulu | 15 ++- dvb-t

[PATCH 2/2] dtv-scan-tables: fix the DNA muxes in Finland to DVB-T2

2014-10-19 Thread Olli Salonen
All of the DNA muxes in Finland are DVB-T2, not DVB-T. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- dvb-t/fi-DNA-Espoo| 6 +++--- dvb-t/fi-DNA-Eurajoki | 6 +++--- dvb-t/fi-DNA-Hameenlinna | 6 +++--- dvb-t/fi-DNA-Hamina | 6 +++--- dvb-t/fi-DNA-Hausjarvi| 6

[PATCH] cxusb: TS mode setting for TT CT2-4400

2014-10-26 Thread Olli Salonen
sets this as well. After this patch the driver works for both versions. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/cxusb.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c index

Re: [PATCH 1/1] dvb-usb-dvbsky: add s960ci dvb-s/s2 usb ci box support

2014-10-26 Thread Olli Salonen
Reviewed-by: Olli Salonen olli.salo...@iki.fi On Mon, 20 Oct 2014, Nibble Max wrote: DVBSky s960ci dvb-s/s2 usb ci box: 1dvb frontend: M88TS2022(tuner),M88DS3103(demod) 2usb controller: CY7C86013A 3ci controller: CIMAX SP2 or its clone. Signed-off-by: Nibble Max nibble@gmail.com

Re: [PATCH] si2157: Add support for delivery system SYS_ATSC

2014-10-30 Thread Olli Salonen
On Thu, 30 Oct 2014, Mauro Carvalho Chehab wrote: Ah, ok. Are you planning to submit a patch for it, and the patches adding support for HVR-955Q? I can submit a patch for that, no problem. However, I'm not working with HVR-955Q at the moment. I don't have access to ATSC/ClearQAM signal. If

[PATCH] si2157: add support for SYS_DVBC_ANNEX_B

2014-10-30 Thread Olli Salonen
Set the property for delivery system also in case of SYS_DVBC_ANNEX_B. This behaviour is observed in the sniffs taken with Hauppauge HVR-955Q Windows driver. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [PATCH 1/2] cx23885: add DVBSky S950C dvb-s/s2 ci PCIe card support(no RC)

2014-10-30 Thread Olli Salonen
Reviewed-by: Olli Salonen olli.salo...@iki.fi On Thu, 23 Oct 2014, Nibble Max wrote: DVBSky s950ci dvb-s/s2 ci PCIe card: 1dvb frontend: M88TS2022(tuner),M88DS3103(demod) 2ci controller: CIMAX SP2 or its clone. 3PCIe bridge: CX23885 The patchs are based on the following patchs. Olli Salonen

Re: [PATCH 2/2] cx23885: add DVBSky S950C and T980C RC support

2014-10-30 Thread Olli Salonen
Reviewed-by: Olli Salonen olli.salo...@iki.fi On Thu, 23 Oct 2014, Nibble Max wrote: DVBSky s950ci dvb-s/s2 ci PCIe card: 1dvb frontend: M88TS2022(tuner),M88DS3103(demod) 2ci controller: CIMAX SP2 or its clone. 3PCIe bridge: CX23885 The patchs are based on the following patchs. Olli Salonen

[PATCH] cx23885: add support for TechnoTrend CT2-4500 CI

2014-10-30 Thread Olli Salonen
TechnoTrend CT2-4500 CI is a PCIe device with DVB-T2/C tuner. It is similar to DVBSky T980C, just with different PCI ID and remote controller. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/cx23885-cards.c | 14 ++ drivers/media/pci/cx23885/cx23885

Re: [PATCH] cx23885: add support for TechnoTrend CT2-4500 CI

2014-10-30 Thread Olli Salonen
On Thu, 30 Oct 2014, Olli Salonen wrote: TechnoTrend CT2-4500 CI is a PCIe device with DVB-T2/C tuner. It is similar to DVBSky T980C, just with different PCI ID and remote controller. Additional note, this should be applied on top of Max Nibble's commits: http://www.mail-archive.com/linux

Re: [PATCH 1/3] cx23885: add DVBSky S950 support

2014-11-06 Thread Olli Salonen
Reviewed-by: Olli Salonen olli.salo...@iki.fi On Wed, 5 Nov 2014, Nibble Max wrote: DVBSky S950 dvb-s/s2 PCIe card: 1dvb frontend: M88TS2022(tuner),M88DS3103(demod) 2PCIe bridge: cx23885 3rc: cx23885 integrated. Signed-off-by: Nibble Max nibble@gmail.com --- drivers/media/pci/cx23885

Re: [PATCH 2/3] cx23885: add DVBSky S952 support

2014-11-06 Thread Olli Salonen
Looks good to me. Only missing T982 support now? Reviewed-by: Olli Salonen olli.salo...@iki.fi -olli On Wed, 5 Nov 2014, Nibble Max wrote: DVBSky S952 dvb-s/s2 dual PCIe card: 1dvb frontend: M88TS2022(tuner),M88DS3103(demod) 2PCIe bridge: CX23885(port b: parallel mode, port c: serial mode

Re: [PATCH 1/1] dvb-usb-dvbsky: add T680CI dvb-t2/t/c usb ci box support

2014-11-13 Thread Olli Salonen
Hi Max, My understanding is that T680CI is the same device as TechnoTrend CT2-4650 CI that is already supported by the cxusb driver. I think we should not duplicate this over two drivers. In my opinion, two options exist: - you add T680CI in the dvbsky driver and move CT2-4650 also to dvbsky

Re: [PATCH 1/3] tuners: si2157: Si2148 support.

2014-11-15 Thread Olli Salonen
What about defining the firmware for Si2148-A20, but since the file is the same as Si2158-A20 just point to the same file? #define SI2148_A20_FIRMWARE dvb-tuner-si2158-a20-01.fw Then if Si2158-A20 would in the future get a new firmware that would not work with Si2148, this would not break

Re: [PATCH 1/3] tuners: si2157: Si2148 support.

2014-11-15 Thread Olli Salonen
On Sat, 15 Nov 2014, Antti Palosaari wrote: Assuming you rename possible new firmware: dvb-tuner-si2158-a20-01.fw dvb-tuner-si2158-a20-02.fw ? Basically, you would not like to rename firmware when it is updated if it is compatible with the driver. Lets say firmware gets bug fixes, just

Re: SAA7164 firmware for Asus MyCinema

2014-11-20 Thread Olli Salonen
On Wed, 19 Nov 2014, Éder Zsolt wrote: Hi, I found at the site: http://www.linuxtv.org/wiki/index.php/ATSC_PCIe_Cards that if I have a TV-tuner card which is currently unsupported, you may help me how I can make workable this device. I have an Asus MyCinema EHD3-100/NAQ/FM/AV/MCE RC dual

Re: [PATCH 1/1] dvb-usb-dvbsky: add T680CI dvb-t2/t/c usb ci box support

2014-11-20 Thread Olli Salonen
Hi Max, I think this is ok. In the nearby future, would be good to move TT CT2-4650 CI support to the dvbsky driver as that one is a rebadged T680CI anyway. If you will add T330 support as well, we could move CT2-4400 too.. Reviewed-by: Olli Salonen olli.salo...@iki.fi Cheers, -olli On Thu

Re: [PATCH 2/3] si2168: TS clock inversion control.

2014-11-20 Thread Olli Salonen
Reviewed-by: Olli Salonen olli.salo...@iki.fi On Fri, 14 Nov 2014, CrazyCat wrote: TS clock polarity control implemented. Signed-off-by: Evgeny Plehov evgenyple...@ukr.net --- drivers/media/dvb-frontends/si2168.c | 7 +-- drivers/media/dvb-frontends/si2168.h | 4 drivers

Re: [PATCH 3/3] cxusb: Geniatech T230 support.

2014-11-20 Thread Olli Salonen
Reviewed-by: Olli Salonen olli.salo...@iki.fi On Fri, 14 Nov 2014, CrazyCat wrote: Geniatech Mygica T230 DVB-T/T2/C USB stick support. Signed-off-by: Evgeny Plehov evgenyple...@ukr.net --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + drivers/media/usb/dvb-usb/cxusb.c| 127

Re: [PATCH 1/3] tuners: si2157: Si2148 support.

2014-11-20 Thread Olli Salonen
On Mon, 17 Nov 2014, Michael Holzer wrote: I'd see merit to show the supported chips explicitly as otherwise users may be confused if a new unsupported chip (lets assume Si2159) appears and the message is generic as proposed Si215x. To get clarity for this case source code reading would be

[PATCH 3/3] em28xx: initialize si2168_config struct

2014-11-20 Thread Olli Salonen
When new parameters are added for si2168 driver, the parameters have to be explicitly defined for each device if the si2168_config struct is not initialized to all zeros. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/em28xx/em28xx-dvb.c | 1 + 1 file changed, 1 insertion

[PATCH 2/3] af9035: initialize si2168_config struct

2014-11-20 Thread Olli Salonen
When new parameters are added for si2168 driver, the parameters have to be explicitly defined for each device if the si2168_config struct is not initialized to all zeros. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/af9035.c | 1 + 1 file changed, 1 insertion

[PATCH 1/3] cxusb: initialize si2168_config struct

2014-11-20 Thread Olli Salonen
When new parameters are added for si2168 driver, the parameters have to be explicitly defined for each device if the si2168_config struct is not initialized to all zeros. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/cxusb.c | 1 + 1 file changed, 1 insertion

Re: SAA7164 firmware for Asus MyCinema

2014-11-22 Thread Olli Salonen
very much in advance. Best regards, Zsolt 2014.11.20. 20:51 keltezéssel, Olli Salonen írta: On Wed, 19 Nov 2014, Éder Zsolt wrote: Hi, I found at the site: http://www.linuxtv.org/wiki/index.php/ATSC_PCIe_Cards that if I have a TV-tuner card which is currently unsupported, you may help

[PATCH 2/2] em28xx: Add support for Terratec Cinergy T2 Stick HD

2014-11-23 Thread Olli Salonen
controllers and other supported Terratec devices with a similar remote. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/em28xx/em28xx-cards.c | 27 +++ drivers/media/usb/em28xx/em28xx-dvb.c | 58 + drivers/media/usb/em28xx/em28xx.h

[PATCH 1/2] si2157: Add support for Si2146-A10

2014-11-23 Thread Olli Salonen
also si2146 in this driver. The datasheet is available on manufacturer's website: http://www.silabs.com/support%20documents/technicaldocs/Si2146-short.pdf Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 23 +++ drivers/media/tuners

[PATCHv2 1/4] si2157: Add support for Si2146-A10

2014-11-23 Thread Olli Salonen
also si2146 in this driver. The datasheet is available on manufacturer's website: http://www.silabs.com/support%20documents/technicaldocs/Si2146-short.pdf Patch v2 adds also updates the descriptions to contain the newly supported chip. Signed-off-by: Olli Salonen olli.salo...@iki.fi

[PATCHv2 2/4] em28xx: Add support for Terratec Cinergy T2 Stick HD

2014-11-23 Thread Olli Salonen
controllers and other supported Terratec devices with a similar remote. Patch v2 initializes struct si2168_config with zeroes. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/em28xx/em28xx-cards.c | 27 +++ drivers/media/usb/em28xx/em28xx-dvb.c | 59

[PATCH 3/4] si2157: make checkpatch.pl happy (remove break after goto)

2014-11-23 Thread Olli Salonen
Break after goto is unnecessary. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/tuners/si2157.c b/drivers/media/tuners/si2157.c index a8f2edb9..3bdf00a 100644 --- a/drivers/media/tuners/si2157.c

[PATCH 4/4] si2157: Add support for Si2148-A20

2014-11-23 Thread Olli Salonen
for the firmware. The datasheet is available on manufacturer's website: http://www.silabs.com/Support%20Documents/TechnicalDocs/Si2148-short.pdf Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 13 + drivers/media/tuners/si2157.h | 2 +- drivers

v4l-utils: possible ir-keytable bug

2014-11-24 Thread Olli Salonen
Hi all, I've got an issue with ir-keytable when I try to use the -d parameter to choose the device. I've got one device: olli@dl160:~$ sudo ir-keytable -v Found device /sys/class/rc/rc0/ Input sysfs node is /sys/class/rc/rc0/input18/ Event sysfs node is /sys/class/rc/rc0/input18/event2/ Parsing

Re: [PATCH 4/4] si2157: Add support for Si2148-A20

2014-11-24 Thread Olli Salonen
that firmware change! If I ever will ran problem with Si2148 / Si2158 firmware difference, I know who to blame ;p That patch could be dropped. PULL request already sent. regards Antti On 11/24/2014 08:57 AM, Olli Salonen wrote: The Silicon Labs Si2148 tuner works as the Si2158, but does

Re: [PATCH 1/3] dvb-usb-dvbsky: add T330 dvb-t2/t/c usb stick support

2014-11-26 Thread Olli Salonen
Reviewed-by: Olli Salonen olli.salo...@iki.fi On Wed, 26 Nov 2014, Nibble Max wrote: DVBSky T330 dvb-t2/t/c usb stick: 1dvb frontend: SI2157A30(tuner), SI2168B40(demod) 2usb controller: CY7C68013A Signed-off-by: Nibble Max nibble@gmail.com --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 88

Re: [PATCH 2/3] cxusb: remove TechnoTrend CT2-4400 and CT2-4650 devices

2014-11-26 Thread Olli Salonen
Reviewed-by: Olli Salonen olli.salo...@iki.fi On Wed, 26 Nov 2014, Nibble Max wrote: Remove TechnoTrend CT2-4400 and CT2-4650 devices from cxusb. They are supported by dvb-usb-dvbsky driver in PATCH 3/3. Signed-off-by: Nibble Max nibble@gmail.com --- drivers/media/usb/dvb-usb/Kconfig

Re: [PATCH 3/3] dvb-usb-dvbsky: add TechnoTrend CT2-4400 and CT2-4650 devices support

2014-11-26 Thread Olli Salonen
patch with Technotrend CT2-4400v2 and CT2-4650 CI. Seems to work ok and the code looks ok for me as well. Reviewed-by: Olli Salonen olli.salo...@iki.fi Tested-by: Olli Salonen olli.salo...@iki.fi Cheers, -olli -- To unsubscribe from this list: send the line unsubscribe linux-media in the body

[PATCH 1/2] si2168: debug printout for firmware version

2014-11-27 Thread Olli Salonen
A debug printout for firmware version. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c index bec3aa5..6da38e8

[PATCH 2/2] si2168: add support for firmware files in new format

2014-11-27 Thread Olli Salonen
-treiber_4.3.0.0.zip) contains newer firmware for Si2168-B40 that is in the new format. It can be extracted with the following command: dd if=ttTVStick4400_64.sys ibs=1 skip=323872 count=6919 of=dvb-demod-si2168-b40-01.fw Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends

Re: Terratec H7 with yet another usb ID

2014-12-06 Thread Olli Salonen
Hi Eddi, As far as I know, the new version of Terratec H7 is another version of DVBSky T680CI or TechnoTrend CT2-4650 CI. Just try to change the USB IDs in the dvbsky.c driver and compile the driver and test. I'd do this for you, but am travelling at the moment and have very limited time.

Re: TT-connect CT2-4650 CI: DVB-C: no signal, no QAM

2014-12-08 Thread Olli Salonen
Hi Pavol, Thanks. As said, I have not had any time to look into this, but will definitely do so. I own the same device, but do not have cable TV at home. Am using Conax CAM also successfully, so I believe that CI is not the issue. Some things that came to my mind still: Can you share the

Re: dvbv5-scan needs which channel file?

2014-12-29 Thread Olli Salonen
Hello David, Coincidentally I was just yesterday working with dvbv5-scan and the initial scan files. dvbv5-scan expects the initial scan files in the new DVBV5 format. w_scan is not producing results in this format. The scan tables at http://git.linuxtv.org/cgit.cgi/dtv-scan-tables.git/ are in

Re: dvbv5-scan needs which channel file?

2014-12-30 Thread Olli Salonen
their particular location is not represented in the dtv-scan-tables.git? Finally, I'm using gnutv to record television; I imagine it still only accepts the old format? What's the new alternative? Cheers, David On 12/29/14, 11:55 PM, Olli Salonen wrote: Hello David, Coincidentally I was just yesterday

Re: [PATCH] Fix Mygica T230 support

2015-01-02 Thread Olli Salonen
Indeed, good catch. Mauro, this should go into 3.19. Reviewed-by: Olli Salonen olli.salo...@iki.fi On Fri, 2 Jan 2015, Jonathan McDowell wrote: Commit 2adb177e57417cf8409e86bda2c516e5f99a2099 removed 2 devices from the cxusb device table but failed to fix up the T230 properties that follow

  1   2   3   >