Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-28 Thread Olli Salonen
, Mauro Carvalho Chehab <mchehab+sams...@kernel.org> wrote: > Em Fri, 27 Apr 2018 16:25:08 +0200 > Olli Salonen <olli.salo...@iki.fi> escreveu: > >> Thanks for the suggestion Antti. >> >> I've tried to add a delay in various places, but haven't seen any

Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-27 Thread Olli Salonen
ere usb_mutex is used. If the mutex is held for a longer time, the next attempt to lock the mutex should just be delayed a bit, no? Cheers, -olli On 18 April 2018 at 10:49, Antti Palosaari <cr...@iki.fi> wrote: > > On 04/18/2018 07:49 AM, Olli Salonen wrote: >> >> Thank

Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-17 Thread Olli Salonen
, -olli On 9 April 2018 at 11:14, Peter Zijlstra <pet...@infradead.org> wrote: > On Wed, Apr 04, 2018 at 02:41:51PM +0300, Olli Salonen wrote: >> Hello Peter and Max, >> >> I noticed that when using kernel 4.10 or newer my DVBSky S960 and >> S960CI satellite USB

Re: Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-08 Thread Olli Salonen
I created a report of the issue in Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=199323 I'd be grateful for any tips on how to debug this further. Cheers, -olli On 4 April 2018 at 14:41, Olli Salonen <olli.salo...@iki.fi> wrote: > Hello Peter and Max, > > I noticed

Regression: DVBSky S960 USB tuner doesn't work in 4.10 or newer

2018-04-04 Thread Olli Salonen
Hello Peter and Max, I noticed that when using kernel 4.10 or newer my DVBSky S960 and S960CI satellite USB TV tuners stopped working properly. Basically, they will fail at one point when tuning to a channel. This typically takes less than 100 tuning attempts. For perspective, when performing a

Mygica 230C defined in two drivers

2018-01-05 Thread Olli Salonen
Hi Stefan and all, I noticed that the Mygica 230C is currently defined in two different drivers. in dvbsky.c: { DVB_USB_DEVICE(USB_VID_CONEXANT, USB_PID_MYGICA_T230C, _t230c_props, "MyGica Mini DVB-T2 USB Stick T230C", RC_MAP_TOTAL_MEDIA_IN_HAND_02) }, in cxusb.c:

[PATCH] dtv-scan-tables: update all Finnish Digita DVB-T2 transponders

2017-12-26 Thread Olli Salonen
Update Finnish frequencies for Digita. --- dvb-t/fi-Anjalankoski_Ruotila | 18 +- dvb-t/fi-Enontekio_Kuttanen | 7 +-- dvb-t/fi-Espoo| 11 +++ dvb-t/fi-Eurajoki | 20 ++-- dvb-t/fi-Fiskars | 11 +++

[PATCHv4 2/2] dib0700: add support for Xbox One Digital TV Tuner

2017-11-23 Thread olli . salonen
From: Olli Salonen <olli.salo...@iki.fi> Xbox One Digital TV Tuner is a low-cost USB 2.0 multistandard TV tuner. It supports DVB-T, DVB-T2 and DVB-C broadcast standards. USB bridge: DibCom 0700C Demodulator: Panasonic MN88472 Tuner: TDA18250BHN The demodulator requires firmware. Downlo

[PATCHv4 1/2] tda18250: support for new silicon tuner

2017-11-23 Thread olli . salonen
From: Olli Salonen <olli.salo...@iki.fi> NXP TDA18250 silicon tuner driver. Version 4 includes some checkpatch fixes. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- MAINTAINERS | 9 + drivers/media/tuners/Kconfig | 7 + drivers/media/tun

Re: [PATCHv3 1/2] tda18250: support for new silicon tuner

2017-10-29 Thread Olli Salonen
Hello Michael, Many thanks for taking the time to review the patches. On 27 October 2017 at 13:27, Michael Ira Krufky wrote: >> +static int tda18250_sleep(struct dvb_frontend *fe) >> +{ >> + struct i2c_client *client = fe->tuner_priv; >> + struct tda18250_dev

[PATCHv3 1/2] tda18250: support for new silicon tuner

2017-08-02 Thread olli . salonen
From: Olli Salonen <olli.salo...@iki.fi> NXP TDA18250 silicon tuner driver. Version 3 removes regmap_exit as I was pointed out that device management code automatically frees the regmap. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/tuners/Kconfig |

[PATCHv3 2/2] dib0700: add support for Xbox One Digital TV Tuner

2017-08-02 Thread olli . salonen
From: Olli Salonen <olli.salo...@iki.fi> Xbox One Digital TV Tuner is a low-cost USB 2.0 multistandard TV tuner. It supports DVB-T, DVB-T2 and DVB-C broadcast standards. USB bridge: DibCom 0700C Demodulator: Panasonic MN88472 Tuner: TDA18250BHN The demodulator requires firmware. Downlo

[PATCHv2 2/2] dib0700: add support for Xbox One Digital TV Tuner

2017-08-01 Thread olli . salonen
From: Olli Salonen <olli.salo...@iki.fi> Xbox One Digital TV Tuner is a low-cost USB 2.0 multistandard TV tuner. It supports DVB-T, DVB-T2 and DVB-C broadcast standards. USB bridge: DibCom 0700C Demodulator: Panasonic MN88472 Tuner: TDA18250BHN The demodulator requires firmware. Downlo

[PATCHv2 1/2] tda18250: support for new silicon tuner

2017-08-01 Thread olli . salonen
From: Olli Salonen <olli.salo...@iki.fi> NXP TDA18250 silicon tuner driver. Version 2 adds media controller support and does regmap_exit at exit. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/tuners/Kconfig | 7 + drivers/media/tuners/Makefile

[PATCH 1/2] tda18250: support for new silicon tuner

2017-07-31 Thread olli . salonen
From: Olli Salonen <olli.salo...@iki.fi> NXP TDA18250 silicon tuner driver. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/tuners/Kconfig | 7 + drivers/media/tuners/Makefile| 1 + drivers/media/tuners/tda18250.

[PATCH 2/2] dib0700: add support for Xbox One Digital TV Tuner

2017-07-31 Thread olli . salonen
From: Olli Salonen <olli.salo...@iki.fi> Xbox One Digital TV Tuner is a low-cost USB 2.0 multistandard TV tuner. It supports DVB-T, DVB-T2 and DVB-C broadcast standards. USB bridge: DibCom 0700C Demodulator: Panasonic MN88472 Tuner: TDA18250BHN The demodulator requires firmware. Downlo

[PATCH 1/2] mn88472: reset stream ID reg if no PLP given

2017-07-30 Thread olli . salonen
From: Olli Salonen <olli.salo...@iki.fi> If the PLP given is NO_STREAM_ID_FILTER (~0u) don't try to set that into the PLP register. Set PLP to 0 instead. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/dvb-frontends/mn88472.c | 4 +++- 1 file changed, 3 inse

[PATCH 2/2] mn88473: reset stream ID reg if no PLP given

2017-07-30 Thread olli . salonen
From: Olli Salonen <olli.salo...@iki.fi> If the PLP given is NO_STREAM_ID_FILTER (~0u) don't try to set that into the PLP register. Set PLP to 0 instead. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/dvb-frontends/mn88473.c | 4 +++- 1 file changed, 3 inse

media_build: fails to install

2017-05-30 Thread Olli Salonen
It seems that I'm able to build the media_build correctly on Ubuntu 16.04.2 with kernel 4.8, but make install fails: ~/src/media_build$ sudo make install make -C /home/olli/src/media_build/v4l install make[1]: Entering directory '/home/olli/src/media_build/v4l' make[1]: *** No rule to make target

[PATCH] dvb-scan-tables: updated Digita frequencies for Finland

2017-04-08 Thread Olli Salonen
In summer 2016 some DVB-T/DVB-T2 frequencies were changed by the broadcaster Digita. Here are some that have already changed. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- dvb-t/fi-Espoo | 6 +++--- dvb-t/fi-Fiskars| 4 ++-- dvb-t/fi-Kustavi_Viherlaht

Re: em28xx WinTV dualHD in Raspbian

2016-10-23 Thread Olli Salonen
Hi Andrey, When I submitted the original patch to add support for this device I stated that it only supports the first tuner. The em28xx driver is not built with dual-tuner support in mind and I had not enough interest to start changing it (the driver supports like 100 devices and is quite

[PATCH] dvb-usb-dvbsky: Add support for TechnoTrend S2-4650 CI

2016-09-09 Thread Olli Salonen
TechnoTrend TT-connect S2-4650 CI seems to be a variation of the DVBSky S960CI device. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/dvb-core/dvb-usb-ids.h | 1 + drivers/media/usb/dvb-usb-v2/dvbsky.c | 4 2 files changed, 5 insertions(+) diff --git a/drivers

Re: [PATCH] [media] dw2102: Add support for Terratec Cinergy S2 USB BOX

2016-07-16 Thread Olli Salonen
Hi guys, It seems Philipp added the support for this device in dw2102 driver and Benjamin did that for the dvbsky driver a bit earlier. # grep -i 0ccdp0105 /lib/modules/$(uname -r)/modules.alias alias usb:v0CCDp0105d*dc*dsc*dp*ic*isc*ip*in* dvb_usb_dvbsky alias

Re: si2157 driver

2016-06-28 Thread Olli Salonen
Hi Oleg, Correct, only digital TV is supported currently by the driver. Cheers, -olli On 28 June 2016 at 23:22, Oleh Kravchenko wrote: > Hello linux media developers! > > I try add support for usb hybrid tuner, it based on: > CX23102-112, Si2158, Si2168 > > I updated

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-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-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

Re: dvb-s2 card "TeVii S472" (cx23885)

2016-04-28 Thread Olli Salonen
88DS3103' in cold > state > > [XXX] m88ds3103 7-0068: downloading firmware from file > 'dvb-demod-m88ds3103.fw' > > [XXX] m88ds3103 7-0068: firmware did not run > > I've copied the firmware as suggested to /lib/firmware. > > Regards, > Hendrik > > Am Tue, 26 A

Re: dvb-s2 card "TeVii S472" (cx23885)

2016-04-26 Thread Olli Salonen
x23885.ko: ELF > 64-bit LSB relocatable, x86-64, version 1 (SYSV), > BuildID[sha1]=07a3f2f2fe383ab691b0022568dcd4d8315dc4b8, not stripped > > Regards, > Hendrik > > On Mo, 25 Apr 2016 11:56:37 +0300, Olli Salonen <olli.salo...@iki.fi> > wrote: > >> Hello Hendrik, >> >> I

Fwd: [PATCH] em28xx: add support for Hauppauge WinTV-dualHD DVB tuner

2016-04-11 Thread Olli Salonen
tei...@outlook.de> wrote: > > On 04.04.2016 17:12, Olli Salonen wrote: > > Hauppauge WinTV-dualHD is a USB 2.0 dual DVB-T/T2/C tuner with > > following components: > > > > USB bridge: Empia EM28274 (chip id is the same as EM28174) > > Demodulator: 2x Silicon

[PATCH] em28xx: add support for Hauppauge WinTV-dualHD DVB tuner

2016-04-04 Thread Olli Salonen
firmware, available for example here: http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/Si2168-B40/4.0.11/ The demodulators sit on the same I2C bus and their addresses are 0x64 and 0x67. The tuners are behind the demodulators and their addresses are 0x60 and 0x63. Signed-off-by: Olli Salonen <olli.s

Re: [PATCH 1/2] media/dvb-core: fix inverted check

2016-03-21 Thread Olli Salonen
Hi Max, Already in the tree: http://git.linuxtv.org/media_tree.git/commit/drivers/media/dvb-core?id=711f3fba6ffd3914fd1b5ed9faf8d22bab6f2203 Cheers, -olli On 18 March 2016 at 23:31, Max Kellermann wrote: > Breakage caused by commit f50d51661a > > Signed-off-by: Max Kellermann

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

2016-03-19 Thread Olli Salonen
New USB ID for Adaptec eHome receiver in some HP laptops. 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 35155ae..09ca9f6 100644 --- a/drivers

[PATCH] pctv452e: correct parameters for TechnoTrend TT S2-3600

2016-03-19 Thread Olli Salonen
below. Any objections? Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/usb/dvb-usb/pctv452e.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/usb/dvb-usb/pctv452e.c b/drivers/media/usb/dvb-usb/pctv452e.c index ec397c4..c05de1b

[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] 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

[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

[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

[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

[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] smipcie: add RC map into card configuration options

2016-03-10 Thread Olli Salonen
Remove the if..else statement from smipcie-ir.c and add the remote controller map as a configuration parameter for the card. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/pci/smipcie/smipcie-ir.c | 5 + drivers/media/pci/smipcie/smipcie-main.c | 4 drivers

[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

Re: How to see the content of my device's EEPROM?

2016-03-07 Thread Olli Salonen
Hi, Load the module with i2c_debug on: From: em28xx-i2c.c: 693 if (i2c_debug) { 694 /* Display eeprom content */ 695 print_hex_dump(KERN_INFO, "eeprom ", DUMP_PREFIX_OFFSET, 69616, 1, data, len, true); 697 698

Re: DVBSky T980C CI issues (kernel 4.0.x)

2016-03-04 Thread Olli Salonen
; Hi Olli, > > On Thu, 2016-03-03 at 13:02 +0200, Olli Salonen wrote: >> Hi Jurgen, Torbjörn, >> >> I've noticed that there is currently a small confusion about the >> firmware versions for the Si2168-A20 demodulator. This is used in the >> older versions of DVBS

Re: AverMedia HD Duet (White Box) A188WB drivers

2016-03-03 Thread Olli Salonen
Hi Manu, How's it going with the SAA7160? I'd be really happy to see the driver being mainlined, but do not really understand if there is some major showstoppers still that keep this from happening. Luis has his personal media_tree here https://github.com/ljalves/linux_media/wiki that contains

Re: [PATCH] media: fix null pointer dereference in v4l_vb2q_enable_media_source()

2016-03-03 Thread Olli Salonen
Hi Shuah, Thanks for your quick reaction. This patch seems to fix the oops I got earlier. Tested-by: Olli Salonen <olli.salo...@iki.fi> Cheers, -olli On 4 March 2016 at 04:24, Shuah Khan <shua...@osg.samsung.com> wrote: > Fix the null pointer dereference in v4l_vb2q_enab

Re: [PATCH v3 13/22] media: Change v4l-core to check if source is free

2016-03-03 Thread Olli Salonen
Hello Shuah, This patch seems to cause issues with my setup. Basically, when I try to tune to a channel, I get an oops. I'm using TechnoTrend CT2-4650 PCIe DVB-T tuner (cx23885). Here's the oops: [ 548.443272] BUG: unable to handle kernel NULL pointer dereference at 0010 [

Re: DVBSky T980C CI issues (kernel 4.0.x)

2016-03-03 Thread Olli Salonen
> ---- >> >> so something else is broken too. >> > I have been using the patches for a few days. So far everything works > great (using MythTV). Scanning with dvbv5_scan does indeed not work > (never did for me). w_scan works though. > > Can these patches please be

[PATCH 1/2] dw2102: ts2020 included twice

2016-03-02 Thread Olli Salonen
ts2020.h was already included a few lines earlier. Remove the unnecessary entry. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/usb/dvb-usb/dw2102.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/media/usb/dvb-usb/dw2102.c b/drivers

[PATCH 2/2] dw2102: add support for TeVii S662

2016-03-02 Thread Olli Salonen
TeVii S662 is a USB 2.0 DVB-S2 tuner that's identical to TechnoTrend S2-4600 tuner. Add the USB ID to dw2102 driver. Signed-off-by: Olli Salonen <olli.salo...@iki.fi> --- drivers/media/usb/dvb-usb/dw2102.c | 23 +-- 1 files changed, 17 insertions(+), 6 deletions(-)

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: 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: [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: 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: 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: 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: 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: 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: 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: [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: 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: 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: 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: [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: 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.

[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: 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

[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: [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

[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

  1   2   3   >