Re: dvb_usb_v2: use pointers to properties[REGRESSION]

2012-06-16 Thread Malcolm Priestley
On Sat, 2012-06-16 at 04:16 +0300, Antti Palosaari wrote: I did example for you, here you are :) On 06/16/2012 03:55 AM, Antti Palosaari wrote: On 06/16/2012 03:35 AM, Malcolm Priestley wrote: On Sat, 2012-06-16 at 01:54 +0300, Antti Palosaari wrote: Hello Malcolm, On 06/16/2012 01

Re: dvb_usb_v2: use pointers to properties[REGRESSION]

2012-06-16 Thread Malcolm Priestley
On Sat, 2012-06-16 at 18:52 +0300, Antti Palosaari wrote: On 06/16/2012 03:06 PM, Malcolm Priestley wrote: On Sat, 2012-06-16 at 04:16 +0300, Antti Palosaari wrote: I did example for you, here you are :) On 06/16/2012 03:55 AM, Antti Palosaari wrote: On 06/16/2012 03:35 AM, Malcolm

Re: dvb_usb_v2: use pointers to properties[REGRESSION]

2012-06-16 Thread Malcolm Priestley
On Sat, 2012-06-16 at 21:41 +0300, Antti Palosaari wrote: That is what you want to do: CALLBACK(struct dvb_usb_adapter *adap) { struct dvb_frontend *fe = adap-fe[adap-active_fe]; // now we have pointer to adap and fe } That is what I want to do:

dvb_usb_v2: use pointers to properties[REGRESSION]

2012-06-15 Thread Malcolm Priestley
Hi Antti You can't have dvb_usb_device_properties as constant structure pointer. At run time it needs to be copied to a private area. Two or more devices of the same type on the system will be pointing to the same structure. Any changes they make to the structure will be common to all.

Re: dvb_usb_v2: use pointers to properties[REGRESSION]

2012-06-15 Thread Malcolm Priestley
On Sat, 2012-06-16 at 01:54 +0300, Antti Palosaari wrote: Hello Malcolm, On 06/16/2012 01:11 AM, Malcolm Priestley wrote: Hi Antti You can't have dvb_usb_device_properties as constant structure pointer. At run time it needs to be copied to a private area. Having constant structure

Re: [PATCH 1/2] [BUG] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

2012-06-14 Thread Malcolm Priestley
On Thu, 2012-06-14 at 23:31 +0300, Antti Palosaari wrote: On 06/14/2012 04:15 AM, Antti Palosaari wrote: On 06/14/2012 03:44 AM, Malcolm Priestley wrote: On Thu, 2012-06-14 at 02:29 +0300, Antti Palosaari wrote: Hi Malcolm, I was really surprised someone has had interest to test

Re: [PATCH 1/2] [BUG] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

2012-06-14 Thread Malcolm Priestley
On Fri, 2012-06-15 at 01:12 +0300, Antti Palosaari wrote: On 06/15/2012 12:33 AM, Malcolm Priestley wrote: On Thu, 2012-06-14 at 23:31 +0300, Antti Palosaari wrote: On 06/14/2012 04:15 AM, Antti Palosaari wrote: On 06/14/2012 03:44 AM, Malcolm Priestley wrote: On Thu, 2012-06-14 at 02:29

Re: [PATCH 1/2] [BUG] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

2012-06-14 Thread Malcolm Priestley
On Fri, 2012-06-15 at 02:14 +0300, Antti Palosaari wrote: Hi Malcolm, Are you fine now with these two patches and no further changes are needed? http://git.linuxtv.org/anttip/media_tree.git/commit/2ced3f3b5763b4817c5a884b0980a9a7c87e4d96

[PATCH 1/2] [BUG] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

2012-06-13 Thread Malcolm Priestley
work. Regards Malcolm Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/dvb_usb_init.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb/dvb-usb/dvb_usb_init.c b/drivers/media/dvb/dvb-usb/dvb_usb_init.c index 60aa944

[PATCH 2/2] dvb_usb_v2 Allow d-props.bInterfaceNumber to set the correct interface.

2012-06-13 Thread Malcolm Priestley
Although the interface could be set in identify state, ideally it should be done in the probe. Allow d-props.bInterfaceNumber try to set the correct interface rather than return error. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/dvb_usb_init.c | 11

[PATCH] dvb_usb_v2 [RFC] draft use delayed work.

2012-06-13 Thread Malcolm Priestley
as before with state changing accordingly. 6. DVB_USB_STATE_INIT uses the value of 0x7 so clears the other states. The work queue then dies forever. However, it could continue on as the remote work. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/dvb_usb.h

Re: [PATCH 1/2] [BUG] dvb_usb_v2: return the download ret in dvb_usb_download_firmware

2012-06-13 Thread Malcolm Priestley
. On 06/14/2012 01:24 AM, Malcolm Priestley wrote: Hi antti There some issues with dvb_usb_v2 with the lmedm04 driver. The first being this patch, no return value from dvb_usb_download_firmware causes system wide dead lock with COLD disconnect as system attempts to continue to warm state

[PATCH] lmedm04 ver 2.00 - changes for [TEST] Regarding m88rc2000 i2c gate operation, SNR, BER and others

2012-05-14 Thread Malcolm Priestley
channel change/scan. Unfortunately, lmedm04 cannot support ucblocks or ber, neither are returned in the interrupt callback. I am working on a patch to map them back in when streaming is off. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/lmedm04.c | 46

[PATCH] m88rs2000 - only flip bit 2 on reg 0x70 on 16th try

2012-05-14 Thread Malcolm Priestley
Continuous flip of bit2 reg 0x70 can cause device to become unresponsive. Also correct reg read mistake. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/m88rs2000.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb

Re: [PATCH] [TEST] Regarding m88rc2000 i2c gate operation, SNR, BER and others

2012-05-09 Thread Malcolm Priestley
On Wed, 2012-05-09 at 04:54 -0700, Igor M. Liplianin wrote: Malcolm, I made SNR, BER, UCB and signal level code for m88rc2000, but my cards show them correctly only if I made changes in m88rs2000_tuner_read function. Analyzing USB logs I found that register 0x81 never set to 0x85 value. It

Re: [PATCH 2/2] TeVii DVB-S s421 and s632 cards support, rs2000 part

2012-05-08 Thread Malcolm Priestley
On Tue, 2012-05-08 at 11:08 +0300, Igor M. Liplianin wrote: One register needs to be changed to TS to work. So we use separate inittab. Signed-off-by: Igor M. Liplianin liplia...@me.by Acked-by: Malcolm Priestley tvbox...@gmail.com differences between files attachment (rs2000dw2102.patch

Re: m88rs2000: LNB voltage control implemented

2012-05-08 Thread Malcolm Priestley
On Tue, 2012-05-08 at 11:25 +0300, Igor M. Liplianin wrote: Trival patch to get it working with my cards stuff. Signed-off-by: Igor M. Liplianin liplia...@me.by Acked-by: Malcolm Priestley tvbox...@gmail.com differences between files attachment (rs2000volt.patch) diff --git a/drivers/media

[PATCH] re: drivers: Probable misuses of || - it913x.c

2012-05-07 Thread Malcolm Priestley
: if (ret == 0 || ret != -EBUSY || ret != -ETIMEDOUT) drivers/media/dvb/dvb-usb/it913x.c: if (ret == 0 || ret != -EBUSY || ret != -ETIMEDOUT) Could you please take a look on the above? Hmm... yes, thanks, also a bug. Just check for -EBUSY -ETIMEDOUT Signed-off-by: Malcolm Priestley

Re: [stable for 3.2][patch] Kernel 3.2 add support for IT9135 chip version 2 devices.

2012-04-10 Thread Malcolm Priestley
On Tue, 2012-04-10 at 16:10 -0700, Greg KH wrote: On Sun, Apr 01, 2012 at 08:36:15AM -0700, Greg KH wrote: On Sun, Apr 01, 2012 at 02:30:54PM +0100, Malcolm Priestley wrote: Originally, IT9135 chip version 2 devices were never intended to be supported in kernel 3.2 as they were

[stable for 3.2][patch] Kernel 3.2 add support for IT9135 chip version 2 devices.

2012-04-01 Thread Malcolm Priestley
: it913x v1.23 use it913x_config.chip_ver to select firmware Cc: sta...@vger.kernel.org # .32.x: fc594e3e5196d4cf7ace7735eeca399f7a80868b: sched: it913x ver 1.24 Make 0x60 default on version 2 devices Cc: sta...@vger.kernel.org # .32.x Signed-off-by: Malcolm Priestley tvbox...@gmail.com

[PATCH] [BUG FIX][For 3.4] it913x ver 1.28. fix firmware loading errors.

2012-03-25 Thread Malcolm Priestley
and indeed the reverse applies. Users should power off cold boot. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c | 54 ++- 1 files changed, 40 insertions(+), 14 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/it913x.c

[PATCH] m88rs2000 ver 1.13 Correct deseqc and tuner gain functions

2012-03-14 Thread Malcolm Priestley
. This is the set voltage pin which isn't used in lmedm04 driver but it is always set to 0x1. Correct the if statements in set_tuner_rf. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/m88rs2000.c | 17 - 1 files changed, 8 insertions(+), 9 deletions

Re: [PATCH 2/2 FOR 3.4] af9015: fix i2c failures for dual-tuner devices - part 2

2012-03-14 Thread Malcolm Priestley
On Wed, 2012-03-14 at 16:27 +0200, Antti Palosaari wrote: Some changes for previous patch I liked to do. Just move tuner init and sleep to own functions from the demod init and sleep functions. Functionality remains still almost the same. Signed-off-by: Antti Palosaari cr...@iki.fi ---

Re: [PATCH] AF903X driver update, v1.02

2012-03-12 Thread Malcolm Priestley
On Mon, 2012-03-12 at 18:10 +0100, Gianluca Gennari wrote: Il 11/03/2012 16:23, Hans-Frieder Vogt ha scritto: This is an update of the patch Basic AF9035/AF9033 driver that I send to the mailing list on 22 Feb. The driver provides support for DVB-T USB 2.0 sticks based on AF9035/AF9033.

[PATCH] lmedm04 - support for m88rs2000 missing kconfig option.

2012-03-08 Thread Malcolm Priestley
Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/Kconfig b/drivers/media/dvb/dvb-usb/Kconfig index 6154292..63bf456 100644 --- a/drivers/media/dvb/dvb-usb

[PATCH 1/4] lmedm04 v1.98 Remove clear halt

2012-03-07 Thread Malcolm Priestley
These were in the original lme2510 device driver. Removing them significantly speeds up the driver. All tuners tested. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/lmedm04.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git

[PATCH 2/4] lmedm04 ver 1.99 support for m88rs2000 v2

2012-03-07 Thread Malcolm Priestley
Support for m88rs2000 module. The driver also attempts to overcome occasional lock problems. Call backs are now used for read_status, signal level and SNR. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/lmedm04.c | 274

[PATCH 3/4] m88rs2000 1.12 v2 DVB-S frontend and tuner module.

2012-03-07 Thread Malcolm Priestley
scan problem solved by removing register calls from get_frontend. Kaffeine seems to call get_frontend when updating signal data. This can happen in the middle of a tune stalling the driver. Change calculations to those in the DS3000 driver. Signed-off-by: Malcolm Priestley tvbox...@gmail.com

[PATCH 4/4] lmedm04 RS2000 Firmware details

2012-03-07 Thread Malcolm Priestley
Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- Documentation/dvb/lmedm04.txt | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/Documentation/dvb/lmedm04.txt b/Documentation/dvb/lmedm04.txt index 10b5f04..f4b720a 100644 --- a/Documentation/dvb/lmedm04

[PATCH] STV0288 increase delay between carrier search.

2012-03-02 Thread Malcolm Priestley
suffered this problem. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/stv0288.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/dvb/frontends/stv0288.c b/drivers/media/dvb/frontends/stv0288.c index fb5548a..632b251

[PATCH] lmedm04 ver 1.97 Remove delays required for STV0288

2012-03-02 Thread Malcolm Priestley
Remove delays added for STV0288 frontend. This patch significantly speeds up channel change and scan. It requires patch 10161-STV0288 increase delay between carrier search. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/lmedm04.c |6 +- 1 files

[PATCH] it913x ver 1.26 change to remove interruptible mutex locks.

2012-02-12 Thread Malcolm Priestley
Some virtual I2C commands are missed along some PID filtering commands resulting complete stall of driver. Since dvb-usb cannot handle the -EAGAIN error and commands generally should not be missed mutex_lock is used instead. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media

[PATCH] it913x ver 1.27 Allow PID 8192 to turn PID filter off

2012-02-12 Thread Malcolm Priestley
Allow PID 8192 to turn PID filter off in USB high speed. The PID number is still written to the PID index and will only turn on again if that index is set to 0. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c | 18 -- 1 files changed

[PATCH] it913x-fe ver 1.15 read signal strenght using reg VAR_P_INBAND.

2012-02-12 Thread Malcolm Priestley
Read signal strength using VAR_P_INBAND and apply FEC preferred values. Note this does not work on IT9137 devices even with dvb-usb-it9135-01.fw firmware. Config read_sl allows switch between read signal strength and signal level. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers

Re: [PATCH 2/2] IT913X Version 1 and Version 2 keymaps

2012-02-06 Thread Malcolm Priestley
On Mon, 2012-02-06 at 14:42 +0200, Antti Palosaari wrote: On 02/02/2012 12:29 AM, Malcolm Priestley wrote: IT913X V1 V2 keymaps Signed-off-by: Malcolm Priestleytvbox...@gmail.com --- drivers/media/rc/keymaps/Makefile |2 + drivers/media/rc/keymaps/rc-it913x-v1.c | 95

[PATCH] lmedm04 ver 1.96 Turn off PID filter by default.

2012-02-06 Thread Malcolm Priestley
Problems with the PID setting stalling demux on applications like VDR and MythTV. The PID filter is now defaulted to OFF. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/lmedm04.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git

Re: DVB TS/PES filters

2012-02-02 Thread Malcolm Priestley
On Thu, 2012-02-02 at 19:04 +, Tony Houghton wrote: On Wed, 01 Feb 2012 18:40:44 +0100 Lars Hanisch d...@flensrocker.de wrote: Am 01.02.2012 14:32, schrieb Tony Houghton: On Thu, 26 Jan 2012 15:40:15 + Tony Houghtonh...@realh.co.uk wrote: I could do with a little more

[PATCH 1/2] it913x v1.25 support different for remotes.

2012-02-01 Thread Malcolm Priestley
it913x_identify_state function. TODO remotes for HID interfaces. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c | 104 1 files changed, 82 insertions(+), 22 deletions(-) diff --git a/drivers/media/dvb/dvb-usb

[PATCH 2/2] IT913X Version 1 and Version 2 keymaps

2012-02-01 Thread Malcolm Priestley
IT913X V1 V2 keymaps Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/rc/keymaps/Makefile |2 + drivers/media/rc/keymaps/rc-it913x-v1.c | 95 +++ drivers/media/rc/keymaps/rc-it913x-v2.c | 94 ++ include

[PATCH] it913x ver 1.24 Make 0x60 default on version 2 devices.

2012-01-28 Thread Malcolm Priestley
Some version 2 devices have different tuner IDs. ID 0x38 appears to have weak signal strength. Apply default 0x60 to unknown IDs. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff

[PATCH 1/3] m88rs2000 remove unused get/set property from driver.

2012-01-27 Thread Malcolm Priestley
--- drivers/media/dvb/frontends/m88rs2000.c | 16 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/drivers/media/dvb/frontends/m88rs2000.c b/drivers/media/dvb/frontends/m88rs2000.c index a614ffe..9d29b40 100644 --- a/drivers/media/dvb/frontends/m88rs2000.c +++

[PATCH 2/3] m88rs2000 - Remove +1 added to frequencies less than 1060000kHz

2012-01-27 Thread Malcolm Priestley
This was added when a small error appeared in the upper end frequencies in an old calculation. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/m88rs2000.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/media/dvb/frontends

[PATCH 3/3] m88rs2000 move test for lock to after offset force.

2012-01-27 Thread Malcolm Priestley
Sometimes, a otherwise good lock is lost after offset force. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/m88rs2000.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/media/dvb/frontends/m88rs2000.c b/drivers

Re: [PATCH 1/3] m88brs2000 DVB-S frontend and tuner module.

2012-01-27 Thread Malcolm Priestley
On Thu, 2012-01-26 at 14:56 -0200, Mauro Carvalho Chehab wrote: Em 22-01-2012 08:38, Malcolm Priestley escreveu: Support for m88brs2000 chip used in lmedm04 driver. Note there are still lock problems. Slow channel change due to the large block of registers sent in set_frontend

[PATCH 1/3] m88brs2000 DVB-S frontend and tuner module.

2012-01-22 Thread Malcolm Priestley
Support for m88brs2000 chip used in lmedm04 driver. Note there are still lock problems. Slow channel change due to the large block of registers sent in set_frontend. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/Kconfig |7 + drivers/media/dvb

[PATCH 2/3] lmedm04 ver 1.95 support m88rs2000 demodulator/tuner

2012-01-22 Thread Malcolm Priestley
Support for m88rs2000 module. Driver also defaults PID filter to off due to problems. The driver also attempts to overcome problems with occasional lock problems. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/lmedm04.c | 218

[PATCH 3/3] lmedm04 m88rs2000 Firmware details

2012-01-22 Thread Malcolm Priestley
Firmware details RS2000 Note: Firmware needs to be patched to return from cold boot with correct ID. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- Documentation/dvb/lmedm04.txt | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/Documentation/dvb

[PATCH] it913x v1.23 use it913x_config.chip_ver to select firmware.

2012-01-20 Thread Malcolm Priestley
As recommended by Jason at ITE, the chip version should select firmware. However, to continue to support IT9137 firmware with different configuration the driver will use udev-descriptor.idVendor to select the difference between IT9135 and IT9137. Signed-off-by: Malcolm Priestley tvbox

Re: DM04 USB DVB-S TUNER

2012-01-17 Thread Malcolm Priestley
On Tue, 2012-01-17 at 13:46 -0500, Dream HTPC wrote: On Sat, 2011-06-25 at 22:10 +0100, Malcolm Priestley wrote: On Wed, 2011-06-08 at 16:20 +0100, Malcolm Priestley wrote: On Wed, 2011-06-08 at 14:18 +0300, Mehmet Altan Pire wrote: 07-06-2011 22:34, Malcolm Priestley yazmis: On Tue

Re: Hauppage Nova: doesn't know how to handle a DVBv3 call to delivery system 0

2012-01-15 Thread Malcolm Priestley
On Sun, 2012-01-15 at 17:02 +, razza lists wrote: On 15 January 2012 16:22, Gianluca Gennari gennar...@gmail.com wrote: Il 15/01/2012 16:04, razza lists ha scritto: On 15 January 2012 14:24, Mauro Carvalho Chehab mche...@redhat.com wrote: Em 15-01-2012 09:51, Gianluca Gennari escreveu:

Re: [PATCH] [media] [PATCH] don't reset the delivery system on DTV_CLEAR

2012-01-14 Thread Malcolm Priestley
On Tue, 2012-01-10 at 23:44 -0200, Mauro Carvalho Chehab wrote: As a DVBv3 application may be relying on the delivery system, don't reset it at DTV_CLEAR. For DVBv5 applications, the delivery system should be set anyway. Signed-off-by: Mauro Carvalho Chehab mche...@redhat.com ---

Re: [PATCH] [media] [PATCH] don't reset the delivery system on DTV_CLEAR

2012-01-14 Thread Malcolm Priestley
On Sat, 2012-01-14 at 18:47 +, Malcolm Priestley wrote: On Tue, 2012-01-10 at 23:44 -0200, Mauro Carvalho Chehab wrote: As a DVBv3 application may be relying on the delivery system, don't reset it at DTV_CLEAR. For DVBv5 applications, the delivery system should be set anyway

[PATCH][BUG] it913x-fe fix typo error making SNR levels unstable.

2012-01-10 Thread Malcolm Priestley
Fix error where SNR unstable and jumps levels. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/it913x-fe.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/dvb/frontends/it913x-fe.c b/drivers/media/dvb/frontends/it913x

[PATCH] it913x ver 1.22 corrections to Tuner IDs

2012-01-03 Thread Malcolm Priestley
Correction to tuner ID 0x51. Don't force tuner ID 0x60 unless eprom data zero. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c |5 +++-- drivers/media/dvb/frontends/it913x-fe.h |2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff

[PATCH] it913x-fe ver 1.13 add BER and UNC monitoring

2012-01-03 Thread Malcolm Priestley
Add BER monitoring with Pre-Viterbi error rate. Add UCBLOCKS based on Aborted packets. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/it913x-fe.c | 21 + drivers/media/dvb/frontends/it913x-fe.h | 10 ++ 2 files changed, 27

[PATCH] [BUG] it913x ver 1.20. PID filter problems.

2012-01-02 Thread Malcolm Priestley
Fixes issues with PID filter Stalling of some channels when PID is on. PID filter not turning off fully. PID filter can now turn on and off each index. Removed PID_RST from it913x_pid_filter_ctrl. Replaced with PID_EN removed from it913x_pid_filter Signed-off-by: Malcolm Priestley tvbox

[PATCH][BUG] it913x ver 1.21 Fixed for issue with 9006 and warm boot.

2012-01-02 Thread Malcolm Priestley
Some channels appear weak signal after warm boot. Because tuner id is not present in eprom 0x38 is assigned. 9006 devices are now always assigned 0x60. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c |7 --- 1 files changed, 4 insertions

[PATCH] lmedm04 DM04/QQBOX ver 1.91 turn pid filter off by caps option only

2011-12-30 Thread Malcolm Priestley
Turn the pid filter off by caps option only. This is so the full stream is passed to demuxer and not limited by pid count. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/lmedm04.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git

[PATCH] it913x ver 1.18 Turn pid filter off by caps option only.

2011-12-30 Thread Malcolm Priestley
Turn the pid filter off by caps option only. This is so the full stream is passed to demuxer and not limited by pid count. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff

Re: em28xx_isoc_dvb_max_packetsize for EM2884 (Terratec Cinergy HTC Stick)

2011-12-25 Thread Malcolm Priestley
On Sun, 2011-12-25 at 15:11 +0100, Hans Petter Selasky wrote: On Sunday 25 December 2011 15:04:17 Dennis Sperlich wrote: On 25.12.2011 11:52, Mauro Carvalho Chehab wrote: On 24-12-2011 19:58, Dennis Sperlich wrote: Hi, I have a Terratec Cinergy HTC Stick an tried the new support

Re: [PATCH] it913x changed firmware loader for chip version 2 types

2011-12-24 Thread Malcolm Priestley
On Thu, 2011-12-15 at 22:43 +, Malcolm Priestley wrote: On Thu, 2011-12-15 at 16:42 +, Malcolm Priestley wrote: [ 1103.536156] it913x: Chip Version=ec Chip Type=5830 [ 1104.336178] it913x: Dual mode=92 Remote=92 Tuner Type=92 [ 1106.248116] dvb-usb: found a 'ITE 9135(9006

Re: [PATCH] it913x add support for IT9135 9006 devices

2011-12-15 Thread Malcolm Priestley
[ 1103.536156] it913x: Chip Version=ec Chip Type=5830 [ 1104.336178] it913x: Dual mode=92 Remote=92 Tuner Type=92 [ 1106.248116] dvb-usb: found a 'ITE 9135(9006) Generic' in cold state, will try to load a firmware [ 1106.253773] dvb-usb: downloading firmware from file

[PATCH] it913x changed firmware loader for chip version 2 types

2011-12-15 Thread Malcolm Priestley
On Thu, 2011-12-15 at 16:42 +, Malcolm Priestley wrote: [ 1103.536156] it913x: Chip Version=ec Chip Type=5830 [ 1104.336178] it913x: Dual mode=92 Remote=92 Tuner Type=92 [ 1106.248116] dvb-usb: found a 'ITE 9135(9006) Generic' in cold state, will try to load a firmware [ 1106.253773

Re: LME2510 Sharp 0194A DVB-S

2011-12-15 Thread Malcolm Priestley
On Fri, 2011-12-16 at 16:06 +1100, Andrew Congdon wrote: I have a DM04 DVB-S USB box which doesn't seem to be supported with the kernel 3.x dvb-usb-lmedm04 driver although it seems very close. The firmware is loaded the tuner seems to be identified but it fails to attach the tuner? It has a

Re: [PATCH] it913x add support for IT9135 9006 devices

2011-12-14 Thread Malcolm Priestley
On Wed, 2011-12-14 at 06:13 +, Adeq wrote: Malcolm Priestley tvboxspy at gmail.com writes: Support for IT1935 9006 devices. 9006 have version 2 type chip. 9006 devices should use dvb-usb-it9135-02.fw firmware. On the device tested the tuner id was set to 0 which meant

[PATCH] it913x add support for IT9135 9006 devices

2011-12-12 Thread Malcolm Priestley
Support for IT1935 9006 devices. 9006 have version 2 type chip. 9006 devices should use dvb-usb-it9135-02.fw firmware. On the device tested the tuner id was set to 0 which meant the driver used tuner id 0x38. The device functioned normally. Signed-off-by: Malcolm Priestley tvbox...@gmail.com

[PATCH] [BUG] Re: add support for IT9135 9005 devices

2011-12-11 Thread Malcolm Priestley
: Subject: [media] it9135: add support for IT9135 9005 devices Author: Malcolm Priestley tvbox...@gmail.com Date:Wed Nov 30 17:16:09 2011 -0300 Support add for IT9135 9005 devices With this patch IT9135 devices now move to using dvb-usb-it9135-01.fw firmware IT9137 remain on previous

[PATCH] it913x stop dual frontend attach in warm state with single devices.

2011-12-11 Thread Malcolm Priestley
Stop dual frontend attach in warm state with single devices. Since this is a no reconnect device this occurs only after a warm system reboot. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c |9 + 1 files changed, 5 insertions(+), 4

[PATCH] it913x multiple devices on system. Copy ite_config to priv area.

2011-12-04 Thread Malcolm Priestley
If there are two or more different it913x devices on the system they share the same ite_config and over write its settings. To over come this, the ite_config is copied to the priv area. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c |8

[PATCH] it913x add retry to USB bulk endpoints and IO.

2011-12-01 Thread Malcolm Priestley
This a bus repeater for it913x devices. Commands usually fail because of other activity on the USB bus. Bulk failures that report -ETIMEDOUT or -EBUSY are repeated. Enpoints that return actlen not equal len request -EAGAIN. The retry is set at 10. Signed-off-by: Malcolm Priestley tvbox

[PATCH 0/3] it913x add support for 9005 versions

2011-11-30 Thread Malcolm Priestley
Malcolm Priestley (3): [For 3.3] dvb-usb-it913x multi firmware loader [for 3.3] add support for IT9135 9005 devices [For 3.3] it913x dvb-get-firmware update Documentation/dvb/get_dvb_firmware | 22 +- drivers/media/dvb/dvb-usb/dvb-usb-ids.h |1 + drivers/media/dvb/dvb

[PATCH 2/3] [for 3.3] add support for IT9135 9005 devices.

2011-11-30 Thread Malcolm Priestley
option. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/dvb-usb-ids.h |1 + drivers/media/dvb/dvb-usb/it913x.c | 26 -- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b

[PATCH 3/3] [For 3.3] it913x dvb-get-firmware update

2011-11-30 Thread Malcolm Priestley
Changes to extract firmware for it913x devices ./get_dvb_firmware it9135 extracts dvb-usb-it9135-01.fw dvb-usb-it9135-02.fw ./get_dvb_firmware it9137 extracts dvb-usb-it9137-01.fw Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- Documentation/dvb/get_dvb_firmware | 22

Re: [PATCH FOR 3.2 FIX] af9015: limit I2C access to keep FW happy

2011-11-30 Thread Malcolm Priestley
On Tue, 2011-11-29 at 02:09 +0200, Antti Palosaari wrote: On 11/15/2011 12:25 AM, Malcolm Priestley wrote: I have tried this patch, while it initially got MythTV working, there is too many call backs and some failed to acquire the lock. The device became unstable on both single and dual

PATCH] for 3.3 it913x support for different tuner regs.

2011-11-28 Thread Malcolm Priestley
There appears to be differences in the tuner registers on earlier IT9135 devices. Using the current IT9137 settings cause corruptions on some channels This patch is in preparation for multi firmware loading and current unsupported types. Signed-off-by: Malcolm Priestley tvbox...@gmail.com

[PATCH] it913x support for NEC extended keys

2011-11-28 Thread Malcolm Priestley
Add support for NEC extended keys. The default remote has now changed to RC_MAP_MSI_DIGIVOX_III Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/media/dvb/dvb-usb

[PATCH] for 3_3 it913x endpoint size changes.

2011-11-27 Thread Malcolm Priestley
Previously endpoint had been aligned to packet size (128) Some early it9135 devices appear to have problems with this. This patch now aligns with mpeg TS size (188) With the pid filter off max size is increased to the maxmium size (348 * 188) Signed-off-by: Malcolm Priestley tvbox...@gmail.com

[PATCH] for 3_3 it913x-fe more user and debugging info.

2011-11-27 Thread Malcolm Priestley
More debugging and user info from it913x-fe. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/it913x-fe.c | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb/frontends/it913x-fe.c b/drivers/media/dvb

Re: PROBLEM: EHCI disconnects DVB HDD

2011-11-26 Thread Malcolm Priestley
On Fri, 2011-11-25 at 03:21 +0100, Johann Klammer wrote: When using a DVB-T Dongle and an external HDD simultaneously, EHCI almost always disconnects. Ideally HDD, and DVB devices shouldn't share the the same controller. Most systems have two. However, it is difficult for users know how

Re: AF9015 Dual tuner i2c write failures

2011-11-14 Thread Malcolm Priestley
On Mon, 2011-11-14 at 13:35 +, Tim Draper wrote: ok, looks like the patch has fixed the issue in my initial response, but now i've got a new issue (related?) when i reboot - the dvb-usb-af9015 module is not being loaded. if i try to modprobe it (sudo modprobe dvb-usb-af9015), then i get

Re: [PATCH FOR 3.2 FIX] af9015: limit I2C access to keep FW happy

2011-11-14 Thread Malcolm Priestley
On Sun, 2011-11-13 at 21:19 +0200, Antti Palosaari wrote: Mauro, Don't still but that to the 3.2 as fix. It is not much tested and not critical so better put it master for some more testing. regards Antti On 11/13/2011 09:05 PM, Antti Palosaari wrote: AF9015 firmware does not like if

Re: [PATCH 2/7] af9015 Remove call to get config from probe.

2011-11-13 Thread Malcolm Priestley
On Sat, 2011-11-12 at 21:36 +0200, Antti Palosaari wrote: On 11/12/2011 08:22 PM, Malcolm Priestley wrote: On Sat, 2011-11-12 at 18:18 +0200, Antti Palosaari wrote: On 11/12/2011 05:55 PM, Malcolm Priestley wrote: Remove get config from probe and move to identify_state. intf

[PATCH 1/7] af9015 Slow down download firmware

2011-11-12 Thread Malcolm Priestley
It is noticed that sometimes the device fails to download parts of the firmware. Since there is no ack from firmware write a 250u second delay has been added. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/af9015.c |1 + 1 files changed, 1 insertions(+), 0

[PATCH 2/7] af9015 Remove call to get config from probe.

2011-11-12 Thread Malcolm Priestley
to busy with USB sub system control calls. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/af9015.c | 87 ++- 1 files changed, 35 insertions(+), 52 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb

[PATCH 3/7] af9015/af9013 full pid filtering

2011-11-12 Thread Malcolm Priestley
filtering pid , it takes too long to fill up the buffer when tuning or scanning. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/af9015.c | 82 ++-- 1 files changed, 69 insertions(+), 13 deletions(-) diff --git a/drivers/media/dvb

[PATCH 4/7] af9013 frontend tuner bus lock and gate changes v2

2011-11-12 Thread Malcolm Priestley
Changes from version 1 Remove the bus lock from read status. Causing a lagging effect on some kernels [2.6.38] This does mean that noisy I2C traffic could be heard on the first frontend when its tuner gate is open. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb

[PATCH 5/7] af9015 usb bus repeater.

2011-11-12 Thread Malcolm Priestley
This a bus repeater for af9015 devices. Commands usually fail because of other activity on the usb bus. Afatech drivers can repeat up to ten times on the usb bus. bulk failures that report -ETIMEDOUT or -EBUSY are repeated. If the device fails it usually return 0x55 in the first byte. I am

[PATCH 7/7] af9013 empty buffer overflow command.

2011-11-12 Thread Malcolm Priestley
This command is present in other Afatech devices zeroing bit 7 seems to force streaming output even if it isn't one. I was considering timing it out, but it seems to have no harmful effect on streaming output. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends

[PATCH 0/7] af9015 dual tuner and othe fixes from my builds.

2011-11-12 Thread Malcolm Priestley
Here is the lastest patches, for dual tuner and other fixes on the patchwork server. Malcolm Priestley (7): af9015 Slow down download firmware af9015 Remove call to get config from probe. af9015/af9013 full pid filtering. af9013 frontend tuner bus lock and gate changes v2 af9015 bus

Re: [PATCH 1/7] af9015 Slow down download firmware

2011-11-12 Thread Malcolm Priestley
On Sat, 2011-11-12 at 18:14 +0200, Antti Palosaari wrote: On 11/12/2011 05:54 PM, Malcolm Priestley wrote: It is noticed that sometimes the device fails to download parts of the firmware. Since there is no ack from firmware write a 250u second delay has been added. Signed-off

Re: [PATCH 2/7] af9015 Remove call to get config from probe.

2011-11-12 Thread Malcolm Priestley
On Sat, 2011-11-12 at 18:18 +0200, Antti Palosaari wrote: On 11/12/2011 05:55 PM, Malcolm Priestley wrote: Remove get config from probe and move to identify_state. intf-cur_altsetting-desc.bInterfaceNumber is always expected to be zero, so there no point in checking for it. Are you

Re: [PATCH 3/7] af9015/af9013 full pid filtering

2011-11-12 Thread Malcolm Priestley
On Sat, 2011-11-12 at 18:25 +0200, Antti Palosaari wrote: On 11/12/2011 05:55 PM, Malcolm Priestley wrote: Allowing the pid to be enabled seems to suppress corrupted stream packets from the first frontend. This is mainly caused by other high speed devices on the usb bus. Full pid

Re: AF9015 Dual tuner i2c write failures

2011-11-11 Thread Malcolm Priestley
On Sat, 2011-11-12 at 09:51 +1100, Jason Hecker wrote: I concur. I have been using Malcolm Priestly's patches with both my AF9015 dual tuner cards (which are PCI but still look like USB to the kernel) for a few weeks now and have (finally!) got consistently perfect recordings in MythTV

Re: [RFC 1/2] dvb-core: add generic helper function for I2C register

2011-11-09 Thread Malcolm Priestley
On 09/11/11 10:52, Jean Delvare wrote: On Wed, 09 Nov 2011 12:41:36 +0200, Antti Palosaari wrote: On 11/09/2011 11:56 AM, Mauro Carvalho Chehab wrote: Due to the way I2C locks are bound, doing something like the above and something like: struct i2c_msg msg[2] = { {

[PATCH] it913x ver 1.09 support for USB 1 devices (IT9135)

2011-11-06 Thread Malcolm Priestley
IT9135 devices do support USB 1. Support added with restricton on pid count to 5. IT9137 devices wil not connect in USB 1 mode. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c | 23 --- 1 files changed, 20 insertions(+), 3

[PATCH] it913x-fe ver 1.10 correct SNR reading from frontend.

2011-11-06 Thread Malcolm Priestley
Correction of reading from frontend and represents a SNR nonlinear scale of minimum signal to full signal. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/it913x-fe.c | 56 +++ 1 files changed, 49 insertions(+), 7 deletions

[PATCH ]Re: Support for Sveon STV22 (IT9137)

2011-11-06 Thread Malcolm Priestley
This indeed a clone of Kworld UB499 2T Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/dvb-usb-ids.h |1 + drivers/media/dvb/dvb-usb/it913x.c |6 +- 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/dvb-usb

[PATCH] it913x Support it9135 Verions 2 chip.

2011-10-31 Thread Malcolm Priestley
are the same. Should be applied to: 8133 Support for single ITE 9135 device. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/dvb-usb/it913x.c | 52 +-- drivers/media/dvb/frontends/it913x-fe-priv.h | 718 +- drivers/media/dvb/frontends

[PATCH 2/2] it913x-fe ver 1.09 amend adc table entries.

2011-10-31 Thread Malcolm Priestley
Amend adc table entries and size. Signed-off-by: Malcolm Priestley tvbox...@gmail.com --- drivers/media/dvb/frontends/it913x-fe-priv.h |4 +--- drivers/media/dvb/frontends/it913x-fe.c |5 ++--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/media/dvb

Re: Avermedia TV Pilot

2011-10-28 Thread Malcolm Priestley
On Fri, 2011-10-28 at 18:02 +0200, Zbyněk Kocur wrote: Hi, I have new Linux DVB-T card from Avermedia. Avermedia TV Pilot but it is not supported in kernel. Is it possible to support this USB TV DVB-T? It has a chipset which is currently supported but demodulator is without support.

<    1   2   3   >