Re: [BUG] - Why anyone fix this problem?

2015-02-03 Thread Olli Salonen
Hi Francesco, You need to understand that many people write code for their own enjoyment. In other words, they often write code to scratch an itch. Thus it can sometimes happen that there really is no-one here who could help you. The person who wrote the code originally might have stopped

Re: [BUG] - Why anyone fix this problem?

2015-02-03 Thread Olli Salonen
don't know what the problem is, I'm an aerospace engineer not a software engineer. Best Regards Francesco 2015-02-03 9:06 GMT+01:00 Olli Salonen olli.salo...@iki.fi: Hi Francesco, You need to understand that many people write code for their own enjoyment. In other words, they often write

Re: TechnoTrend TT-TVStick CT2-4400v2 no firmware load

2015-02-08 Thread Olli Salonen
The si2168 and si2157 firmware is loaded when you try to use the tuner for the first time, not at the time of module load or device plugin. Cheers, -olli On 8 February 2015 at 22:17, Sebastian Süsens s.sues...@gmx.de wrote: Hello, I use kernel 3.13.0 and the media_build

[PATCH 1/2] si2168: return error if set_frontend is called with invalid parameters

2015-01-16 Thread Olli Salonen
the behaviour in a way that EINVAL is returned if bandwidth_hz is 0. Cc-to: Antti Palosaari cr...@iki.fi Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends

[PATCH 2/2] si2168: add support for 1.7MHz bandwidth

2015-01-16 Thread Olli Salonen
This patch is based on Antti's silabs branch. Add support for 1.7 MHz bandwidth. Supported in all versions of Si2168 according to short data sheets. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCHv2] si2168: return error if set_frontend is called with invalid parameters

2015-01-16 Thread Olli Salonen
the behaviour in a way that EINVAL is returned if bandwidth_hz is 0. v2: remove error message, remove line break to comply with coding style. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: Latest media_build break Geniatech T230

2015-01-18 Thread Olli Salonen
Hello Roy, There's already a fix for this problem, it just has not made it's way yet to media_tree. https://www.mail-archive.com/linux-media@vger.kernel.org/msg83778.html I see Hans submitted a pull request just a couple of days ago which includes this patch, so probably the media_build will be

Re: usb3 + 2 x pctv290e issues

2015-01-25 Thread Olli Salonen
...@reportlab.com wrote: Thanks to all, I applied the patch suggested by Olli Salonen and I can now run multiple vlc's on my NUC. On 25 January 2015 at 11:23, Antti Palosaari cr...@iki.fi wrote: Moikka! On 01/25/2015 11:33 AM, Robin Becker wrote: Has anyone else her had the problem described

[PATCH 1/3] dw2102: combine su3000_state and s6x0_state into dw2102_state

2015-03-16 Thread Olli Salonen
Two separate state structs are defined for different devices inside the dw2102. Combine them, as both only contain one element. This will also make it easier to implement the next patch in the patch series. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/dw2102

[PATCH 3/3] dw2102: TechnoTrend TT-connect S2-4600 DVB-S/S2 tuner

2015-03-16 Thread Olli Salonen
-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + drivers/media/usb/dvb-usb/Kconfig| 6 +- drivers/media/usb/dvb-usb/dw2102.c | 160 ++- 3 files changed, 163 insertions(+), 4 deletions(-) diff --git a/drivers/media/dvb

[PATCH 2/3] dw2102: store i2c client for tuner into dw2102_state

2015-03-16 Thread Olli Salonen
Prepare the dw2102 driver for tuner drivers that are implemented as I2C drivers (such as m88ts2022). The I2C client is stored in to the state and released at disconnect. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/dw2102.c | 19 ++- 1 file

[PATCHv2 3/3] dw2102: TechnoTrend TT-connect S2-4600 DVB-S/S2 tuner

2015-03-16 Thread Olli Salonen
: removed one unnecessary debug printout. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + drivers/media/usb/dvb-usb/Kconfig| 6 +- drivers/media/usb/dvb-usb/dw2102.c | 158 ++- 3 files changed, 161 insertions

[PATCH] dw2102: TeVii S482 support

2015-03-21 Thread Olli Salonen
as TechnoTrend TT-connect S2-4600. Firmware for DS3103 demodulator is required: http://palosaari.fi/linux/v4l-dvb/firmware/M88DS3103/ This patch should be applied on top of the TT S2-4600 patch: https://patchwork.linuxtv.org/patch/28818/ Signed-off-by: Olli Salonen olli.salo...@iki.fi

Re: [PATCH] dw2102: switch ts2022 to ts2020 driver

2015-03-30 Thread Olli Salonen
Just tested this and it seems to work fine with the TT S2-4600. Reviewed-by: Olli Salonen olli.salo...@iki.fi On 30 March 2015 at 01:35, Antti Palosaari cr...@iki.fi wrote: Change ts2022 driver to ts2020 driver. ts2020 driver supports both tuner chip models. That affects TechnoTrend TT

[PATCH 5/5] saa7164: Hauppauge HVR-2205 and HVR-2215 DVB-C/T/T2 tuners

2015-03-27 Thread Olli Salonen
of each module can then make the call what to merge. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/saa7164/Kconfig | 2 + drivers/media/pci/saa7164/saa7164-cards.c | 101 ++ drivers/media/pci/saa7164/saa7164-dvb.c | 67

[PATCH 3/5] saa7164: store i2c_client for demod and tuner in state

2015-03-27 Thread Olli Salonen
In order to support demodulators and tuners that have their drivers implemented as I2C drivers, the i2c_client should be stored in state for both. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/saa7164/saa7164-dvb.c | 16 drivers/media/pci/saa7164/saa7164

[PATCH 4/5] dvbsky: use si2168 config option ts_clock_gapped

2015-03-27 Thread Olli Salonen
Change the dvbsky driver to support gapped clock instead of the current hack. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb

[PATCH 1/5] saa7164: add support for i2c read

2015-03-27 Thread Olli Salonen
Add support for pure I2C reads. Needed by si2157 tuner driver. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/saa7164/saa7164-i2c.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/media/pci/saa7164/saa7164-i2c.c b/drivers/media/pci

[PATCH 2/5] si2168: add support for gapped clock

2015-03-27 Thread Olli Salonen
Add a parameter in si2168_config to support gapped clock. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 3 +++ drivers/media/dvb-frontends/si2168.h | 3 +++ drivers/media/dvb-frontends/si2168_priv.h | 1 + 3 files changed, 7 insertions

Re: [PATCH 5/5] saa7164: Hauppauge HVR-2205 and HVR-2215 DVB-C/T/T2 tuners

2015-03-27 Thread Olli Salonen
Hi, Feel free to ignore the patches I sent. Just thought that since I made the work to get the devices working anyway I'll post my code in case someone can benefit from that somehow. The HVR-2215 is sold in Australia, it's not a prototype card:

[v4l-utils] dvbv5-scan stores incorrect channel data for DVB-S

2015-03-23 Thread Olli Salonen
Hi, I noticed that when doing a channel scan using dvbv5-scan the scan results in a bogus dvb_channel.conf file. During the scan the correct frequency is printed out: Scanning frequency #1 11265000 Service Viasat History HD, provider (null): reserved Service TV6 HD Sweden, provider (null):

[PATCH] si2157: extend frequency range for ATSC

2015-03-03 Thread Olli Salonen
The Si2157 tuner supports ATSC in addition to DVB-T and DVB-C. Extend minimum frequency range to cover the complete ATSC/QAM-B range. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers

[PATCH 2/2] cx231xx: Hauppauge HVR-955Q ATSC/QAM tuner

2015-02-28 Thread Olli Salonen
Hauppauge HVR-955Q is a ATSC/QAM USB tuner with LGDT3306A demodulator and SiLabs Si2157-A30 tuner. This patch should be applied on top of the LGDT3306A patches in Mauro's lgdt3306a branch. Only digital TV has been tested to work (ATSC and QAM256). Signed-off-by: Olli Salonen olli.salo

[PATCH 1/2] si2157: IF frequency for ATSC and QAM

2015-02-28 Thread Olli Salonen
For supporting ATSC and QAM modes the driver should use a smaller IF frequency than 5 MHz. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 23 ++- drivers/media/tuners/si2157_priv.h | 1 + 2 files changed, 23 insertions(+), 1

Re: HVR2205 / HVR2255 support

2015-03-04 Thread Olli Salonen
Hello Steven, Great to hear! The LGDT3306A went into the media_tree yesterday as far as I can see, together with my HVR-955Q patches. Coincidentally, I've been working with HVR-2205 and HVR-2215 as well and have looked into the HVR-2255 a bit too. I'll also be travelling (luckily on leisure) for

[PATCH] saa7164: free_irq before pci_disable_device

2015-02-21 Thread Olli Salonen
] remove_proc_entry: removing non-empty directory 'irq/47', leaking at least 'saa7164[0]' Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/saa7164/saa7164-core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/saa7164/saa7164-core.c b/drivers/media

Re: Linux TV support Elgato EyeTV hybrid

2015-02-21 Thread Olli Salonen
Hi Gilles, Not sure if the following information will help you, but here comes. The USB bridge is EM2884, supported by em28xx driver. The Micronas demodulator is probably supported by drxk driver. Tuner I did not recognize after a quick glimpse. That sandwich construction look like something PCTV

Re: DVBSky T982 (Si2168) Questions/Issues/Request

2015-02-20 Thread Olli Salonen
Hi, It would seem to me that you are using application that are not capable of handling frontends that do support multiple standards. TVheadend 3.4.27 does not for sure. You will need to use the 3.9 series where you can define the wanted standard for each mux. Also, w_scan needs to be fairly

Re: [v4l-utils] dvbv5-scan stores incorrect channel data for DVB-S

2015-04-03 Thread Olli Salonen
, -olli -- Earlier message -- From: Olli Salonen olli.salo...@iki.fi Date: 23 March 2015 at 17:37 Subject: [v4l-utils] dvbv5-scan stores incorrect channel data for DVB-S To: linux-media linux-media@vger.kernel.org Hi, I noticed that when doing a channel scan using dvbv5-scan the scan

[PATCH 12/12] rtl2832: add support for GoTView MasterHD 3 USB tuner

2015-04-23 Thread Olli Salonen
I2C write method supported by the RTL2832. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/rtl2832.c | 4 + drivers/media/dvb-frontends/rtl2832.h | 1 + drivers/media/dvb-frontends/rtl2832_priv.h | 25 +++ drivers/media/usb/dvb-usb-v2/rtl28xxu.c

[PATCH 11/12] rtl28xxu: add I2C read without write

2015-04-23 Thread Olli Salonen
Add support for I2C read operation without a preceeding write. While here, change the error code to EOPNOTSUPP in case an unsupported I2C operation is attempted. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 8 +++- 1 file changed, 7

[PATCH 04/12] cx23885: specify if_port for si2157 devices

2015-04-23 Thread Olli Salonen
Set the if_port parameter for all Si2157-based devices. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/cx23885-dvb.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/media/pci/cx23885/cx23885-dvb.c b/drivers/media/pci/cx23885/cx23885-dvb.c index

[PATCH 03/12] si2157: support selection of IF interface

2015-04-23 Thread Olli Salonen
The chips supported by the si2157 driver have two IF outputs (either pins 12+13 or pins 9+11). Instead of hardcoding the output to be used add an option to choose which output shall be used. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/tuners/si2157.c | 4 +++- drivers

[PATCH 08/12] dvbsky: specify if_port for si2157 devices

2015-04-23 Thread Olli Salonen
Set the if_port parameter for all Si2157-based devices. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c index 0f73b1d

[PATCH 01/12] si2168: add support for gapped clock

2015-04-23 Thread Olli Salonen
Add a parameter in si2168_config to support gapped clock. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 3 +++ drivers/media/dvb-frontends/si2168.h | 3 +++ drivers/media/dvb-frontends/si2168_priv.h | 1 + 3 files changed, 7 insertions

[PATCH 02/12] dvbsky: use si2168 config option ts_clock_gapped

2015-04-23 Thread Olli Salonen
Change the dvbsky driver to support gapped clock instead of the current hack. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb

[PATCH 07/12] af9035: specify if_port for si2157 devices

2015-04-23 Thread Olli Salonen
Set the if_port parameter for all Si2157-based devices. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/af9035.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 80a29f5

[PATCH 06/12] cx231xx: specify if_port for si2157 devices

2015-04-23 Thread Olli Salonen
Set the if_port parameter for all Si2157-based devices. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/cx231xx/cx231xx-dvb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/cx231xx/cx231xx-dvb.c b/drivers/media/usb/cx231xx/cx231xx-dvb.c index

[PATCH 05/12] smipcie: specify if_port for si2157 devices

2015-04-23 Thread Olli Salonen
Set the if_port parameter for all Si2157-based devices. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/smipcie/smipcie.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/pci/smipcie/smipcie.c b/drivers/media/pci/smipcie/smipcie.c index 4115925..143fd78

[PATCH 10/12] em28xx: specify if_port for si2157 devices

2015-04-23 Thread Olli Salonen
Set the if_port parameter for all Si2157-based devices. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/em28xx/em28xx-dvb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/em28xx/em28xx-dvb.c b/drivers/media/usb/em28xx/em28xx-dvb.c index a5b22c5

[PATCH 09/12] cxusb: specify if_port for si2157 devices

2015-04-23 Thread Olli Salonen
Set the if_port parameter for all Si2157-based devices. 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 ffc3704..ab71511 100644

Re: [PATCH 02/12] dvbsky: use si2168 config option ts_clock_gapped

2015-04-24 Thread Olli Salonen
at 09:01, Olli Salonen olli.salo...@iki.fi wrote: Hi Tycho, Yes, so far the only device that I know should use gapped clock is the DVBSky T330 a.k.a. TechnoTrend CT2-4400. I've also seen that the Hauppauge HVR-2205 Windows driver enables this option, but it seems to me that that board works

[PATCHv2 2/5] dvbsky: use si2168 config option ts_clock_gapped

2015-04-29 Thread Olli Salonen
Change the dvbsky driver to support gapped clock instead of the current hack. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb

[PATCHv2 3/5] si2157: support selection of IF interface

2015-04-29 Thread Olli Salonen
si2157 driver. This is to keep bisectability. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/cx23885-dvb.c | 4 drivers/media/pci/smipcie/smipcie.c | 1 + drivers/media/tuners/si2157.c | 4 +++- drivers/media/tuners/si2157.h | 6

[PATCHv2 1/5] si2168: add support for gapped clock

2015-04-29 Thread Olli Salonen
Add a parameter in si2168_config to support gapped clock. This might be necessary on some devices with higher bitrates. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 3 +++ drivers/media/dvb-frontends/si2168.h | 3 +++ drivers/media/dvb

[PATCHv2 4/5] rtl28xxu: add I2C read without write

2015-04-29 Thread Olli Salonen
Add support for I2C read operation without a preceeding write. While here, change the error code to EOPNOTSUPP in case an unsupported I2C operation is attempted. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 8 +++- 1 file changed, 7

[PATCHv2 5/5] rtl2832: add support for GoTView MasterHD 3 USB tuner

2015-04-29 Thread Olli Salonen
I2C write method supported by the RTL2832. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/rtl2832.c | 4 + drivers/media/dvb-frontends/rtl2832.h | 1 + drivers/media/dvb-frontends/rtl2832_priv.h | 25 +++ drivers/media/usb/dvb-usb-v2/rtl28xxu.c

Re: [PATCH 02/12] dvbsky: use si2168 config option ts_clock_gapped

2015-04-27 Thread Olli Salonen
Thank you Steven, That's helpful to know. I've been bumping into some issues with another Si2168-based device and certain DVB-C streams. Will try to see if this could help in that case... Cheers, -olli On 24 April 2015 at 15:16, Steven Toth st...@kernellabs.com wrote: I've also seen that the

Re: Mystique SaTiX-S2 Sky V2 USB (DVBSKY S960 clone) - Linux driver.

2015-05-03 Thread Olli Salonen
Hi Steve, I've got the device in question and can confirm that it works ok. lsusb definitely should work ok - maybe there's indeed something wrong with your device. As suggested by P. van Gaans, maybe you can try your device on another computer or even on Windows and see if it works there.

Re: issue with TechnoTrend CT2-4650 CI

2015-05-01 Thread Olli Salonen
Hi Michal, I've seen something like this before with some CAMs. It seems that the CAM needs to be initialized if it is plugged in. This does not happen if you use software which does not have CAM support (such as w_scan). The linuxtv.org wiki has the following comment on the CT2-4650 page: Some

[PATCH v3 4/6] rtl28xxu: add I2C read without write

2015-05-03 Thread Olli Salonen
Add support for I2C read operation without a preceeding write. While here, change the error code to EOPNOTSUPP in case an unsupported I2C operation is attempted. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 8 +++- 1 file changed, 7

[PATCH v3 5/6] si2168: add I2C error handling

2015-05-03 Thread Olli Salonen
Return error from si2168_cmd_execute in case the demodulator returns an error. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends

[PATCH v3 6/6] rtl2832: add support for GoTView MasterHD 3 USB tuner

2015-05-03 Thread Olli Salonen
I2C write method supported by the RTL2832. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/rtl2832.c | 4 + drivers/media/dvb-frontends/rtl2832.h | 1 + drivers/media/dvb-frontends/rtl2832_priv.h | 25 ++ drivers/media/usb/dvb-usb-v2/rtl28xxu.c

[PATCH v3 1/6] si2168: add support for gapped clock

2015-05-03 Thread Olli Salonen
Add a parameter in si2168_config to support gapped clock. This might be necessary on some devices with higher bitrates. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 3 +++ drivers/media/dvb-frontends/si2168.h | 3 +++ drivers/media/dvb

[PATCH v3 2/6] dvbsky: use si2168 config option ts_clock_gapped

2015-05-03 Thread Olli Salonen
Change the dvbsky driver to support gapped clock instead of the current hack. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb

[PATCH v3 3/6] si2157: support selection of IF interface

2015-05-03 Thread Olli Salonen
si2157 driver. This is to keep bisectability. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/cx23885-dvb.c | 4 drivers/media/pci/smipcie/smipcie.c | 1 + drivers/media/tuners/si2157.c | 4 +++- drivers/media/tuners/si2157.h | 6

Re: [PATCH v3 5/6] si2168: add I2C error handling

2015-05-07 Thread Olli Salonen
Antti On 05/03/2015 04:00 PM, Olli Salonen wrote: Return error from si2168_cmd_execute in case the demodulator returns an error. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers

[PATCH 1/4] dw2102: remove unnecessary printing of MAC address

2015-05-05 Thread Olli Salonen
ea 2b 46 12 00 [ 1515.784565] bc ea 2b 46 12 92 [ 1515.784571] dvb-usb: MAC address: bc:ea:2b:46:12:92 Output after the patch: [ 3803.495706] dvb-usb: MAC address: bc:ea:2b:46:12:92 Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/dw2102.c | 2 -- 1 file changed, 2

[PATCH 2/4] dw2102: remove unnecessary newline from log printouts

2015-05-05 Thread Olli Salonen
The info and warn functions already add a newline to the end of the log printouts, so remove the extra newline from the printouts. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/dw2102.c | 60 +++--- 1 file changed, 30 insertions

[PATCH 4/4] dw2102: resync fifo when demod locks

2015-05-05 Thread Olli Salonen
If the streaming_ctrl is called to enable TS before demod has locked the TS will be empty. Copied the solution from the dvbsky driver for the TechnoTrend S2-4600 device: when the state changes from unlock to lock, call su3000_streaming_ctrl again. Signed-off-by: Olli Salonen olli.salo...@iki.fi

[PATCH 3/4] dw2102: debugging improvements

2015-05-05 Thread Olli Salonen
Move some info printouts to be debugging printouts that are only shown if debugging for the module is enabled. The module already implemented deb_rc and deb_xfer, but not deb_info. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb/dw2102.c | 6 -- drivers/media

[PATCHv4 0/6] GoTView MasterHD 3 USB tuner

2015-05-05 Thread Olli Salonen
Fourth version of this patch series as there had been new si2157 devices that were added to the media_tree since the last submission. The si2157-patch in this series now takes care of those devices as well. Olli Salonen (6): si2168: add support for gapped clock dvbsky: use si2168 config

[PATCH v4 1/6] si2168: add support for gapped clock

2015-05-05 Thread Olli Salonen
Add a parameter in si2168_config to support gapped clock. This might be necessary on some devices with higher bitrates. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 3 +++ drivers/media/dvb-frontends/si2168.h | 3 +++ drivers/media/dvb

[PATCH v4 2/6] dvbsky: use si2168 config option ts_clock_gapped

2015-05-05 Thread Olli Salonen
Change the dvbsky driver to support gapped clock instead of the current hack. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb

[PATCH v4 4/6] si2157: support selection of IF interface

2015-05-05 Thread Olli Salonen
si2157 driver. This is to keep bisectability. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/cx23885/cx23885-dvb.c | 4 drivers/media/pci/saa7164/saa7164-dvb.c | 3 +++ drivers/media/pci/smipcie/smipcie.c | 1 + drivers/media/tuners/si2157.c | 4

[PATCH v4 5/6] rtl28xxu: add I2C read without write

2015-05-05 Thread Olli Salonen
Add support for I2C read operation without a preceeding write. While here, change the error code to EOPNOTSUPP in case an unsupported I2C operation is attempted. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/usb/dvb-usb-v2/rtl28xxu.c | 8 +++- 1 file changed, 7

[PATCH v4 6/6] rtl2832: add support for GoTView MasterHD 3 USB tuner

2015-05-05 Thread Olli Salonen
I2C write method supported by the RTL2832. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/rtl2832.c | 4 + drivers/media/dvb-frontends/rtl2832.h | 1 + drivers/media/dvb-frontends/rtl2832_priv.h | 25 ++ drivers/media/usb/dvb-usb-v2/rtl28xxu.c

[PATCH v4 3/6] si2168: add I2C error handling

2015-05-05 Thread Olli Salonen
Return error from si2168_cmd_execute in case the demodulator returns an error. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/dvb-frontends/si2168.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-06-03 Thread Olli Salonen
2015 at 17:34, Antti Palosaari cr...@iki.fi wrote: On 06/03/2015 12:29 PM, Olli Salonen wrote: I'm seeing the same issue as well. I thought that maybe some recent Si2168 changes did impact this, but it does not seem to be the case. I made a quick test myself. I reverted the latest si2168 patches

Re: si2168/dvbsky - blind-scan for DVB-T2 with PLP fails

2015-06-05 Thread Olli Salonen
Even easier way to activate dynamic debugging at module load time (assuming your kernel has dynamic debugging enabled): modprobe si2168 dyndbg==pmf Cheers, -olli On 4 June 2015 at 21:28, Antti Palosaari cr...@iki.fi wrote: On 06/04/2015 08:36 PM, Hurda wrote: How can I enable debug-output

Re: [PATCH][media] SI2168: Resolve unknown chip version errors with different HVR22x5 models

2015-06-05 Thread Olli Salonen
the same with a little bit different formatting. Cheers, -olli On 4 June 2015 at 16:03, Steven Toth st...@kernellabs.com wrote: On Thu, Jun 4, 2015 at 9:22 AM, Olli Salonen olli.salo...@iki.fi wrote: I compiled an old HVR-2205 driver from my git tree: https://github.com/trsqr/media_tree/tree

Re: Unable to compile v4l-dvb in ubuntu 14.04

2015-06-09 Thread Olli Salonen
Hi, Do you have a specific reason for not using the media_build? You're getting the following warning: WARNING: You're using an obsolete driver! You shouldn't be using it! If you want anything new, you can use: http://git.linuxtv.org/media_build.git. The tree is still here just

[PATCH 1/2] saa7164: change Si2168 reglen to 0 bit

2015-06-06 Thread Olli Salonen
The i2c_reg_len for Si2168 should be 0 for correct I2C communication. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/saa7164/saa7164-cards.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/pci/saa7164/saa7164-cards.c b/drivers/media

[PATCH 2/2] Revert [media] saa7164: Improvements for I2C handling

2015-06-06 Thread Olli Salonen
This reverts commit ad90b6b0f10566d4a5546e27fe455ce3b5e6b6c7. This patch breaks I2C communication towards Si2168. After reverting and applying the other patch in this series the I2C communication is correct. Signed-off-by: Olli Salonen olli.salo...@iki.fi --- drivers/media/pci/saa7164/saa7164

Re: [PATCH][media] SI2168: Resolve unknown chip version errors with different HVR22x5 models

2015-06-06 Thread Olli Salonen
on other boards, if any. Cheers, -olli On 5 June 2015 at 16:18, Antti Palosaari cr...@iki.fi wrote: On 06/05/2015 04:40 PM, Olli Salonen wrote: Hi Steven, It seems to me that that part of the code is identical to your driver, no? The media_tree driver: retval = saa7164_api_i2c_read(bus

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-06-03 Thread Olli Salonen
I'm seeing the same issue as well. I thought that maybe some recent Si2168 changes did impact this, but it does not seem to be the case. I made a quick test myself. I reverted the latest si2168 patches one by one, but that did not remedy the situation. Anyway, the kernel log does not seem to

Re: Hauppauge WinTV-HVR2205 driver feedback

2015-06-04 Thread Olli Salonen
2015 at 21:46, Antti Palosaari cr...@iki.fi wrote: On 06/03/2015 10:08 PM, Olli Salonen wrote: I cold booted my number cruncher after a hiatus of a couple of weeks, applied a couple of extra dev_dbg printouts in the si2168_cmd_execute and installed the newly built module. The results

Re: Unable to compile v4l-dvb in ubuntu 14.04

2015-06-10 Thread Olli Salonen
and also headers 3.16.0-38. I also realized that compiler claims 3.6.0, but it is wrong. I don't have such kernel. Thank you for fix Michal 2015-06-09 12:08 GMT+02:00 Olli Salonen olli.salo...@iki.fi: Hi, Do you have a specific reason for not using the media_build? You're getting

Re: Hauppauge 2250 on Ubuntu 15.04

2015-06-10 Thread Olli Salonen
Hi Jeff, Based on the PCI subsystem ID I think your card is actually HVR-2255 and not the older HVR-2250. Check what it says on the card. Some people have reported buying a HVR-2250, but receiving actually a HVR-2255. Anyway, HVR-2255 is supported by the media_tree these days, but you need to

Re: [PATCH][media] SI2168: Resolve unknown chip version errors with different HVR22x5 models

2015-06-04 Thread Olli Salonen
I'll test it with my old code I should have hanging around still somewhere. I'm sure the chip on my card has been previously been identified as Si2168-B40 by the code (I posted the logs already earlier) and it definitely has not turned into a Si2168-D40 chip somehow. I don't think there's version

Re: [PATCH][media] SI2168: Resolve unknown chip version errors with different HVR22x5 models

2015-06-04 Thread Olli Salonen
with my old driver? I don't think we should work around this issue with the patch suggested. Cheers, -olli On 4 June 2015 at 14:57, Olli Salonen olli.salo...@iki.fi wrote: I'll test it with my old code I should have hanging around still somewhere. I'm sure the chip on my card has been previously

Re: DVB-T2 PCIe vs DVB-S2

2015-05-26 Thread Olli Salonen
There are indeed a few DVB-T2 PCIe cards that are supported (DVBSky T9580, T980C, T982C, TechnoTrend CT2-4500 CI, Hauppauge HVR-2205, Hauppauge HVR-5525 at least come to my mind). PCTV 290e is a USB device, not PCIe. In the wiki there's currently some issue with the filtering when it comes to the

Re: DVBSky T330 DVB-C regression Linux 4.1.12 to 4.3

2015-11-09 Thread Olli Salonen
Hi Stephan, I had a look at recent changes to si2168 and dvb-usb-dvbsky drivers that are the ones most relevant here. si2157 is probably not the issue here as your demod does lock. si2168: 2015-08-11[media] dvb-frontends: Drop owner assignment from i2c_driver 2015-06-09[media] dvb: Get

Re: Geniatech / Mygica T230

2015-11-05 Thread Olli Salonen
Hi Mike, Can you also paste the dmesg output here, so we can see if the driver is starting up correctly? Cheers, -olli On 3 November 2015 at 23:35, Mike Parkins wrote: > Hi, > I can't get this dvb-t2 USB device to work despite the linuxtv site > claiming it is working

Re: [PATCHv2] si2157: Bounds check firmware

2015-10-08 Thread Olli Salonen
Reviewed-by: Olli Salonen <olli.salo...@iki.fi> Tested-by: Olli Salonen <olli.salo...@iki.fi> On 6 October 2015 at 01:33, Laura Abbott <labb...@fedoraproject.org> wrote: > > When reading the firmware and sending commands, the length > must be bounds checked to

Re: PCTV Triplestick and Raspberry Pi B+

2015-07-08 Thread Olli Salonen
Patrick has suggested many things here worth trying. In addition, you can load the modules with more debugging enabled: unload the modules first modprobe si2168 dyndbg==pmf modprobe si2157 dyndbg==pmf modprobe em28xx debug=1 If you are willing to try, TechnoTrend CT2-4400 has the same si2168 and

Re: Terratec H7 Rev. 4 is DVBSky

2015-09-15 Thread Olli Salonen
Hi Erik, Your patch looks good to my eyes. I heard already earlier that the new H7 is the same as the DVBSky receiver and your experience seems to confirm that. Could you resend the patch again with a proper title and a signed-off line to the mailing list?

Re: [PATCH 2/2] si2157: Bounds check firmware

2015-10-05 Thread Olli Salonen
Hi Laura, While the patch itself does what it says, the return code for the si2157_init will be 0 even if there's a faulty firmware file. Wouldn't it be better to set the return code as -EINVAL like done a few lines earlier in the code (see below)? if (fw->size % 17 != 0) {

Re: Changes in dw2102.c to support my Tevii S662

2015-12-06 Thread Olli Salonen
Hello Steffen, The patch itself looks valid. If you could submit it in a formally correct format it could probably be added to the linux-media tree for other people's enjoyment as well. Have a look at points 2, 6, 10 and 11 in the following link:

Re: dvb usb stick Hauppauge WinTV-soloHD

2016-06-22 Thread Olli Salonen
Hi Thomas, Ok, the correct firmwares are there: [ 101.423697] si2168 11-0064: found a 'Silicon Labs Si2168-B40' [ 101.428693] si2168 11-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' [ 101.657999] si2168 11-0064: firmware version: 4.0.11 [ 101.661225] si2157 12-0060: found

Re: dvb usb stick Hauppauge WinTV-soloHD

2016-06-22 Thread Olli Salonen
implements the version 5 of the DVB API (DVBv5) instead of the older version 3. Cheers, -olli On 22 June 2016 at 22:10, Olli Salonen <olli.salo...@iki.fi> wrote: > Hi Thomas, > > Ok, the correct firmwares are there: > [ 101.423697] si2168 11-0064: found a 'Silicon Labs Si2168-B4

Re: dvb usb stick Hauppauge WinTV-soloHD

2016-06-18 Thread Olli Salonen
Hi Thomas, Please reboot your PC, run w_scan and then send the full output of dmesg command. Maybe the driver has printed something in the logs that can help us narrow the cause. Cheers, -olli On 18 June 2016 at 18:55, Thomas Stein wrote: > Hello. > > I'm trying to get a

[PATCH] az6027: Add support for Elgato EyeTV Sat v3

2016-03-18 Thread Olli Salonen
Another version of Elgato EyeTV Sat USB DVB-S2 adapter needs just a USB ID addition. Signed-off-by: Christian Knippel <nam...@gmail.com> Reported-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + drivers/media/usb/dvb-usb/az6027.c | 7

[PATCH 1/2] smipcie: add support for TechnoTrend S2-4200 Twin

2016-03-09 Thread Olli Salonen
download one here: http://palosaari.fi/linux/v4l-dvb/firmware/M88RS6000/ Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/pci/smipcie/smipcie-ir.c | 5 - drivers/media/pci/smipcie/smipcie-main.c | 10 ++ drivers/media/pci/smipcie/smipcie.h | 1 + 3 files c

[PATCH 2/2] smipcie: MAC address printout formatting

2016-03-09 Thread Olli Salonen
Modify the printout for MAC address to be more vendor agnostic. Print also the port number. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/pci/smipcie/smipcie-main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/pci/smipcie/s

[PATCH 2/2] mceusb: add support for SMK eHome receiver

2016-03-19 Thread Olli Salonen
Add USB ID of SMK RXX6000 series IR receiver. Often branded as Lenovo receiver. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/rc/mceusb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/media/rc/mceusb.c b/drivers/media/rc/mceusb.c index 09ca9f6..5

[PATCH 1/2] ds3000: return meaningful return codes

2016-03-16 Thread Olli Salonen
Return -EINVAL if ds3000_set_frontend is called with invalid parameters. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/dvb-frontends/ds3000.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/dvb-frontends/ds3000.c b/drivers/media/dvb-fro

[PATCH 1/2] ds3000: return meaningful return codes

2016-03-16 Thread Olli Salonen
The ds3000 driver returned 1 as an error code in many places. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/dvb-frontends/ds3000.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/media/dvb-frontends/ds3000.c b/drivers/med

[PATCHv2 2/2] ds3000: return error if invalid symbol rate is set

2016-03-16 Thread Olli Salonen
Return -EINVAL if ds3000_set_frontend is called with invalid parameters. v1 of the patch series got incorrect subject lines. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/dvb-frontends/ds3000.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/med

[PATCHv2 1/2] ds3000: return meaningful return codes

2016-03-16 Thread Olli Salonen
The ds3000 driver returned 1 as an error code in many places. v1 of the patch series got incorrect subject lines. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/dvb-frontends/ds3000.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/d

<    1   2   3   >