[PATCH] lmedm04 v2.05 conversion to dvb-usb-v2

2012-08-05 Thread Malcolm Priestley
Conversion of lmedm04 to dvb-usb-v2 functional changes are that callbacks have been moved to fe_ioctl_override. This patch is applied on top of [BUG] Re: dvb_usb_lmedm04 crash Kernel (rs2000) http://patchwork.linuxtv.org/patch/13584/ Signed-off-by: Malcolm Priestley --- drivers/media/dvb/dvb

[PATCH] [BUG] Re: dvb_usb_lmedm04 crash Kernel (rs2000)

2012-08-02 Thread Malcolm Priestley
far udev-182 is only a problem on first ever plug. Regards Malcolm Signed-off-by: Malcolm Priestley --- drivers/media/dvb/dvb-usb/lmedm04.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/media/dvb/dvb-usb/lmedm04.c b/drivers/media/dvb/dvb-usb/lmedm04.c index 25d1031

[PATCH] it913x (test) - add support for AVerMedia A373

2012-07-22 Thread Malcolm Priestley
Initial test support for IT9137/IT9133 dual. This test patch uses IT9135 firmware sets just in case they are version 2 chips. dvb-usb-it9135-01.fw dvb-usb-it9135-02.fw Signed-off-by: Malcolm Priestley --- drivers/media/dvb/dvb-usb/dvb-usb-ids.h |1 + drivers/media/dvb/dvb-usb/it913x.c

Re: AVerMedia A373 PCIe MiniCard Dual DVB-T - ITE IT913x Tuners

2012-07-22 Thread Malcolm Priestley
On Sun, 2012-07-22 at 17:34 +0100, John Layt wrote: > Hi, > > I have recently purchased an Acer Aspire Revo RL70 HTPC which comes > with a built-in "AVerMedia A373 MiniCard Dual DVB-T" which uses two > ITE T913x tuners. This card is currently unsupported in Linux and I > have documented some deta

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

2012-07-01 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.

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

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 Palosa

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 wr

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

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

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 > > http://git.linuxtv.org/anttip/media_tree.gi

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 Priest

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 re

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

2012-06-13 Thread Malcolm Priestley
heck / solve. > > > 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

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

2012-06-13 Thread Malcolm Priestley
ng 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 --- drivers/media/dvb/dvb-usb/dvb_usb.h |

[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 --- drivers/media/dvb/dvb-usb/dvb_usb_init.c | 11 +-- 1 f

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

2012-06-13 Thread Malcolm Priestley
yed work. Regards Malcolm Signed-off-by: Malcolm Priestley --- 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..c16a28a 100644 --

[PATCH] rc-it913x=v2 Incorrect assigned KEY_1

2012-05-14 Thread Malcolm Priestley
Correct incorrect scancode for KEY_1 Signed-off-by: Malcolm Priestley --- drivers/media/rc/keymaps/rc-it913x-v2.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/rc/keymaps/rc-it913x-v2.c b/drivers/media/rc/keymaps/rc-it913x-v2.c index 28e376e..bd42a30

[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 --- drivers/media/dvb/frontends/m88rs2000.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/frontends

[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 --- drivers/media/dvb/dvb-usb/lmedm04.c | 46

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.

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 Acked-by: Malcolm Priestley > differences between files attachment (rs2000volt.patch) > diff --git a/drivers/media/dvb/fronte

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 Acked-by: Malcolm Priestley differences between files attachment (rs2000dw2102.patch) > diff --git a/drive

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

2012-05-07 Thread Malcolm Priestley
m... yes, thanks, also a bug. Just check for -EBUSY && -ETIMEDOUT Signed-off-by: Malcolm Priestley --- drivers/media/dvb/dvb-usb/it913x.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/it913x.c b/drivers/media/dvb/dvb-usb/it913x.c in

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

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

2012-04-01 Thread Malcolm Priestley
2 devices Cc: # .32.x Signed-off-by: Malcolm Priestley --- Documentation/dvb/get_dvb_firmware | 22 +- 1 files changed, 21 insertions(+), 1 deletions(-) diff --git a/Documentation/dvb/get_dvb_firmware b/Documentation/dvb/get_dvb_firmware index e67be7a..a4ff8e7 100755 ---

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

2012-03-25 Thread Malcolm Priestley
indeed the reverse applies. Users should power off cold boot. Signed-off-by: Malcolm Priestley --- 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 b/drivers/media

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

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

2012-03-14 Thread Malcolm Priestley
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 --- drivers/media/dvb/frontends/m88rs2000.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --

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

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

2012-03-08 Thread Malcolm Priestley
Signed-off-by: Malcolm Priestley --- 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/Kconfig +++ b

[PATCH 4/4] lmedm04 RS2000 Firmware details

2012-03-07 Thread Malcolm Priestley
Signed-off-by: Malcolm Priestley --- 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.txt +++ b

[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 --- drivers/media/dvb

[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 --- drivers/media/dvb/dvb-usb/lmedm04.c | 274 +-- drivers/media/dvb

[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 --- drivers/media/dvb/dvb-usb/lmedm04.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/drivers/media/dvb/dvb

[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 --- drivers/media/dvb/dvb-usb/lmedm04.c |6 +- 1 files changed, 1 insertions

[PATCH] STV0288 increase delay between carrier search.

2012-03-02 Thread Malcolm Priestley
also suffered this problem. Signed-off-by: Malcolm Priestley --- 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 100644 --- a/dr

[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 --- drivers/media/dvb/dvb-usb

[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 --- drivers/media/dvb/dvb-usb/it913x.c | 18 -- 1 files changed, 16 insertions

[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 --- drivers/media/dvb/dvb-usb

[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 --- drivers/media/dvb/dvb-usb/lmedm04.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/media/dvb

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 Priestley > > > > --- > > drivers/media/rc/keymaps/Makefile |2 + > > d

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 wrote: > > > Am 01.02.2012 14:32, schrieb Tony Houghton: > > > On Thu, 26 Jan 2012 15:40:15 + Tony Houghton > > > wrote: > > > > > >> I could do with a little more information about DMX

[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 --- 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/media/rc-map.h

[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 --- drivers/media/dvb/dvb-usb/it913x.c | 104 1 files changed, 82 insertions(+), 22 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/it913x.c b/drivers

[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 --- drivers/media/dvb/dvb-usb/it913x.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/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

[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 --- 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/media/dvb/frontends

[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 --- drivers/media/dvb/frontends/m88rs2000.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/media/dvb/frontends/m88rs2000.c b/drivers

[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 +++ b/

[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 --- Documentation/dvb/lmedm04.txt | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/Documentation/dvb/lmedm04.txt b

[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 --- drivers/media/dvb/dvb-usb/lmedm04.c | 218 +-- 1 files

[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 --- drivers/media/dvb/frontends/Kconfig |7 + drivers/media/dvb/frontends/Makefile

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

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

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 wrote: > > Il 15/01/2012 16:04, razza lists ha scritto: > >> On 15 January 2012 14:24, Mauro Carvalho Chehab wrote: > >>> Em 15-01-2012 09:51, Gianluca Gennari escreveu: > Il 15/01/2012 12:35,

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 s

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 > --- > drivers/media/dvb/dv

[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 --- 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-fe.c index 7290801

[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 --- drivers/media/dvb/frontends/it913x-fe.c | 21 + drivers/media/dvb/frontends/it913x-fe.h | 10 ++ 2 files changed, 27 insertions(+), 4

[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 --- drivers/media/dvb/dvb-usb/it913x.c |5 +++-- drivers/media/dvb/frontends/it913x-fe.h |2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/dr

[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 --- drivers/media/dvb/dvb-usb/it913x.c |7 --- 1 files changed, 4 insertions(+), 3 deletions

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

[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 --- drivers/media/dvb/dvb-usb/it913x.c | 17 ++--- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git a/drivers

[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 --- drivers/media/dvb/dvb-usb/lmedm04.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb

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 t

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 +0000, Malcolm Priestley wrote: > > > [ 1103.536156] it913x: Chip Version=ec Chip Type=5830 > > > [ 1104.336178] it913x: Dual mode=92 Remote=92 Tuner Type=92 > > > [ 1106.2481

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

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

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 > 'dvb-usb-it9135

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 gmail.com> writes: > > > > > Support for IT1935 9006 devices. > > > > 9006 have version 2 type chip. > > > > 9006 devices should use dvb-usb-it9135-02.fw firmware. > > >

[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 --- drivers/media

[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 --- drivers/media/dvb/dvb-usb/it913x.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git

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

2011-12-11 Thread Malcolm Priestley
.git tree: > > Subject: [media] it9135: add support for IT9135 9005 devices > Author: Malcolm Priestley > 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

[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 --- drivers/media/dvb/dvb-usb/it913x.c |8 +++- 1 files changed, 7

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

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 unstab

[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 --- Documentation/dvb/get_dvb_firmware | 22 +- 1 files

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

2011-11-30 Thread Malcolm Priestley
option. Signed-off-by: Malcolm Priestley --- 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/drivers/media/dvb/dvb

[PATCH 1/3] [For 3.3] dvb-usb-it913x multi firmware loader.

2011-11-30 Thread Malcolm Priestley
Multi firmware loader This uses scatter write firmware headers The firmware must start with 03 XX 00 and be the extract firmware length. I have tried all available firmwares with this loader. Signed-off-by: Malcolm Priestley --- drivers/media/dvb/dvb-usb/it913x.c | 43

[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] 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 --- drivers/media/dvb/dvb-usb/it913x.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/it913x.c b

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 --- drivers/media/dvb

[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 --- 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/frontends/it913x-fe.c

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

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

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

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 pr

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 >

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 ther

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 secon

[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

[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 --- drivers/media/dvb/frontends/af9013.c |

[PATCH 5/7] af9015 usb bus repeater.

2011-11-12 Thread Malcolm Priestley
working on a patch to move parts of this to the dvb-usb common area to be used by other drivers. Signed-off-by: Malcolm Priestley --- drivers/media/dvb/dvb-usb/af9015.c | 61 ++-- 1 files changed, 37 insertions(+), 24 deletions(-) diff --git a/drivers/media/dvb

[PATCH 6/7] af9013 Stop OFSM while channel changing.

2011-11-12 Thread Malcolm Priestley
To minimise corruptions on channel change. Signed-off-by: Malcolm Priestley --- drivers/media/dvb/frontends/af9013.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/drivers/media/dvb/frontends/af9013.c b/drivers/media/dvb/frontends/af9013.c index 38a6ea2..6a5b40c

[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 --- drivers/media/dvb/dvb-usb/af901

[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 --- drivers/media/dvb/dvb-usb/af9015.c | 82 ++-- 1 files changed, 69 insertions(+), 13 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/af9015.c b

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

2011-11-12 Thread Malcolm Priestley
ars to busy with USB sub system control calls. Signed-off-by: Malcolm Priestley --- 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-usb/af

[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 --- drivers/media/dvb/dvb-usb/af9015.c |1 + 1 files changed, 1 insertions(+), 0 deletions

<    1   2   3   >