Re: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

2014-06-13 Thread Sebastian Kemper
On Fri, Jun 13, 2014 at 12:27:54AM +0300, Antti Palosaari wrote:
 Moikka,
 
 The reason is that Avermedia has programmed wrong tuner ID to device
 eeprom. For one IT9135BX device I have it is set 0x38 (whilst Windows
 driver programs 0x60), no idea how others. That same issues was for
 AF9015 too, where I added USB ID based overrides for certain Avermedia
 models. I think I will do same for AF9035 driver.

Hello Antti,

Thank you for the patch. Problem solved.

I checked with both versions 3.42.3.3 and 3.39.1.0 of
dvb-usb-it9135-02.fw. With 3.39.1.0 I usually get some blocks when
zapping (they disappear after a short while when staying on the same
channel). With 3.42.3.3 I don't have this issue. Looks like 3.42.3.3 is
an improvement.

Kind regards,
Sebastian
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

2014-06-12 Thread Antti Palosaari

Moikka,

The reason is that Avermedia has programmed wrong tuner ID to device 
eeprom. For one IT9135BX device I have it is set 0x38 (whilst Windows 
driver programs 0x60), no idea how others. That same issues was for 
AF9015 too, where I added USB ID based overrides for certain Avermedia 
models. I think I will do same for AF9035 driver.


regards
Antti


On 06/11/2014 11:11 AM, jason.d...@ite.com.tw wrote:

Dear David,

The RF performance of ITE9137 BX + IE9133 dongle is a little worse than single 
tuner.
As our test resolut, the RF performances should be -80db and -82db for dual 
tuners and single tuner.
There is an issue in hardware design if the reception capability is too worse.

We don’t need to change the firmware for dual tuners. I think there are some 
problems in af9033 driver of kernel v3.15.

BRs,
Jason

-Original Message-
From: David Shirley [mailto:tep...@gmail.com]
Sent: Wednesday, June 11, 2014 3:00 PM
To: Jason Dong (董志堅)
Cc: sebastian...@gmx.net; linux-media@vger.kernel.org
Subject: Re: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

Hey Jason,

Do we know if that RF problem exists in 3.14.5? Using the IT913X driver?

I have a Leadtek Winfast Dual Dongle (0413:6a05 - dual usb - ITE9137 BX + 
IE9133) which is being extremely painful (random signal locks, tzap reports ok 
signal strength for one tuner but poor for the other, random signal dropouts 
(ie working fine, then progressively getting more and more blips in 
visual/audio from stream)).

I dont think its signal strength related because 3x Leadtek Winfast Gold 
dongles (AF9013) all work (until they stop tuning and cold reboot is required)

I suspect something about the firmware is at fault, I have tried to talk to 
Antti - but he must be busy. I have tried three different dvb-usb-it9135-02.fw 
firmwares, and they don't seem to make a huge difference (newest doesn't create 
/dev/dvb bits)...

Does a BX (v2) 9137 require yet another firmware image?

If I use the AF9035 kernel driver it doesn't tune at all. But does detect the 
tuners...

Sorry to threadjack - but seeing your @ite.com.tw I thought I would ask while I 
can :)

Regards
David

On 11 June 2014 15:31,  jason.d...@ite.com.tw wrote:

Dear Sebastian,

There is a RF performance issue in the af9033 driver of kernel 3.15. It is no 
problem in the it913x driver of kernel 3.14.
There were some initial sequences not correct after the it913x driver was 
integrated into af9033 driver.

BRs,
Jason

-Original Message-
From: linux-media-ow...@vger.kernel.org
[mailto:linux-media-ow...@vger.kernel.org] On Behalf Of Sebastian
Kemper
Sent: Tuesday, June 10, 2014 8:51 PM
To: linux-media@vger.kernel.org
Subject: AF9033 / IT913X: Avermedia A835B(1835) only works
sporadically

Hello list,

I have an Avermedia A835B(1835) USB DVB-T stick (07ca:1835) which works only 
(very) sporadically. It's pure luck as far as I can see.
I can't reproduce how to get it working. There are no special steps that I can 
take to guarantee that it'll work once I plug it in.

I'd rate my chances of having the device actually working between 5
and
10 percent.

In the log everything looks fine, apart from the messages at the bottom about 
the device not being able to get a lock on a channel.

Reception here is really good, so there's no problem with signal strength. When 
loading the device in Windows 7 64 bit it always finds a lock.

Has anybody any idea? Thanks for any suggestions!

Jun 10 14:18:07 meiner kernel: usb 1-2: new high-speed USB device number 2 
using xhci_hcd Jun 10 14:18:07 meiner kernel: WARNING: You are using an 
experimental version of the media stack.
Jun 10 14:18:07 meiner kernel:  As the driver is backported to an
older kernel, it doesn't offer Jun 10 14:18:07 meiner kernel:  enough quality 
for its usage in production.
Jun 10 14:18:07 meiner kernel:  Use it with care.
Jun 10 14:18:07 meiner kernel: Latest git patches (needed if you report a bug 
to linux-media@vger.kernel.org):
Jun 10 14:18:07 meiner kernel:
bfd0306462fdbc5e0a8c6999aef9dde0f9745399 [media] v4l: Document
timestamp buffer flag behaviour Jun 10 14:18:07 meiner kernel:
309f4d62eda0e864c2d4eef536cc82e41931c3c5 [media] v4l: Copy timestamp
source flags to destination on m2m devices Jun 10 14:18:07 meiner kernel:  
599b08929efe9b90e44b504454218a120bb062a0 [media] exynos-gsc, m2m-deinterlace, 
mx2_emmaprp: Copy v4l2_buffer data from src to dst Jun 10 14:18:07 meiner 
kernel:  experimental: a60b303c3e347297a25f0a203f0ff11a8efc818c 
experimental/ngene: Support DuoFlex C/C2/T/T2 (V3) Jun 10 14:18:07 meiner 
kernel:  v4l-dvb-saa716x: 052c468e33be00a3d4d9b93da3581ffa861bb288 saa716x: IO 
memory of upper PHI1 regions is mapped in saa716x_ff driver.
Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_af9035: prechip_version=83 
chip_version=02 chip_type=9135 Jun 10 14:18:07 meiner kernel: usb 1-2: 
dvb_usb_v2: found a 'Avermedia A835B(1835)' in cold state Jun 10 14:18:07 
meiner kernel: usb 1-2: dvb_usb_v2

Re: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

2014-06-11 Thread David Shirley
Hey Jason,

Do we know if that RF problem exists in 3.14.5? Using the IT913X driver?

I have a Leadtek Winfast Dual Dongle (0413:6a05 - dual usb - ITE9137
BX + IE9133) which is being extremely painful (random signal locks,
tzap reports ok signal strength for one tuner but poor for the other,
random signal dropouts (ie working fine, then progressively getting
more and more blips in visual/audio from stream)).

I dont think its signal strength related because 3x Leadtek Winfast
Gold dongles (AF9013) all work (until they stop tuning and cold reboot
is required)

I suspect something about the firmware is at fault, I have tried to
talk to Antti - but he must be busy. I have tried three different
dvb-usb-it9135-02.fw firmwares, and they don't seem to make a huge
difference (newest doesn't create /dev/dvb bits)...

Does a BX (v2) 9137 require yet another firmware image?

If I use the AF9035 kernel driver it doesn't tune at all. But does
detect the tuners...

Sorry to threadjack - but seeing your @ite.com.tw I thought I would
ask while I can :)

Regards
David

On 11 June 2014 15:31,  jason.d...@ite.com.tw wrote:
 Dear Sebastian,

 There is a RF performance issue in the af9033 driver of kernel 3.15. It is no 
 problem in the it913x driver of kernel 3.14.
 There were some initial sequences not correct after the it913x driver was 
 integrated into af9033 driver.

 BRs,
 Jason

 -Original Message-
 From: linux-media-ow...@vger.kernel.org 
 [mailto:linux-media-ow...@vger.kernel.org] On Behalf Of Sebastian Kemper
 Sent: Tuesday, June 10, 2014 8:51 PM
 To: linux-media@vger.kernel.org
 Subject: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

 Hello list,

 I have an Avermedia A835B(1835) USB DVB-T stick (07ca:1835) which works 
 only (very) sporadically. It's pure luck as far as I can see.
 I can't reproduce how to get it working. There are no special steps that I 
 can take to guarantee that it'll work once I plug it in.

 I'd rate my chances of having the device actually working between 5 and
 10 percent.

 In the log everything looks fine, apart from the messages at the bottom about 
 the device not being able to get a lock on a channel.

 Reception here is really good, so there's no problem with signal strength. 
 When loading the device in Windows 7 64 bit it always finds a lock.

 Has anybody any idea? Thanks for any suggestions!

 Jun 10 14:18:07 meiner kernel: usb 1-2: new high-speed USB device number 2 
 using xhci_hcd Jun 10 14:18:07 meiner kernel: WARNING: You are using an 
 experimental version of the media stack.
 Jun 10 14:18:07 meiner kernel:  As the driver is backported to an older 
 kernel, it doesn't offer
 Jun 10 14:18:07 meiner kernel:  enough quality for its usage in production.
 Jun 10 14:18:07 meiner kernel:  Use it with care.
 Jun 10 14:18:07 meiner kernel: Latest git patches (needed if you report a bug 
 to linux-media@vger.kernel.org):
 Jun 10 14:18:07 meiner kernel:  bfd0306462fdbc5e0a8c6999aef9dde0f9745399 
 [media] v4l: Document timestamp buffer flag behaviour
 Jun 10 14:18:07 meiner kernel:  309f4d62eda0e864c2d4eef536cc82e41931c3c5 
 [media] v4l: Copy timestamp source flags to destination on m2m devices
 Jun 10 14:18:07 meiner kernel:  599b08929efe9b90e44b504454218a120bb062a0 
 [media] exynos-gsc, m2m-deinterlace, mx2_emmaprp: Copy v4l2_buffer data from 
 src to dst
 Jun 10 14:18:07 meiner kernel:  experimental: 
 a60b303c3e347297a25f0a203f0ff11a8efc818c experimental/ngene: Support DuoFlex 
 C/C2/T/T2 (V3)
 Jun 10 14:18:07 meiner kernel:  v4l-dvb-saa716x: 
 052c468e33be00a3d4d9b93da3581ffa861bb288 saa716x: IO memory of upper PHI1 
 regions is mapped in saa716x_ff driver.
 Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_af9035: prechip_version=83 
 chip_version=02 chip_type=9135 Jun 10 14:18:07 meiner kernel: usb 1-2: 
 dvb_usb_v2: found a 'Avermedia A835B(1835)' in cold state Jun 10 14:18:07 
 meiner kernel: usb 1-2: dvb_usb_v2: downloading firmware from file 
 'dvb-usb-it9135-02.fw'
 Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_af9035: firmware 
 version=3.42.3.3 Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_v2: found a 
 'Avermedia A835B(1835)' in warm state Jun 10 14:18:07 meiner kernel: usb 1-2: 
 dvb_usb_v2: will pass the complete MPEG2 transport stream to the software 
 demuxer Jun 10 14:18:07 meiner kernel: DVB: registering new adapter 
 (Avermedia A835B(1835)) Jun 10 14:18:07 meiner kernel: i2c i2c-0: af9033: 
 firmware version: LINK=0.0.0.0 OFDM=3.29.3.3 Jun 10 14:18:07 meiner kernel: 
 usb 1-2: DVB: registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))...
 Jun 10 14:18:07 meiner kernel: i2c i2c-0: tuner_it913x: ITE Tech IT913X 
 successfully attached Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_v2: 
 'Avermedia A835B(1835)' successfully initialized and connected Jun 10 
 14:18:07 meiner kernel: usbcore: registered new interface driver 
 dvb_usb_af9035 Jun 10 14:18:28 meiner vdr: [1653] VDR version 2.0.4 started 
 Jun 10 14:18:28 meiner vdr: 

Re: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

2014-06-11 Thread Sebastian Kemper
On Wed, Jun 11, 2014 at 05:31:47AM +, jason.d...@ite.com.tw wrote:
 Dear Sebastian,
 
 There is a RF performance issue in the af9033 driver of kernel 3.15.
 It is no problem in the it913x driver of kernel 3.14.  There were some
 initial sequences not correct after the it913x driver was integrated
 into af9033 driver.
 
 BRs, Jason

Hello Jason,

Thank you very much for your reply!

So I guess this RF performance issue is not yet fixed. I was using fairly
recent media driver sources (linux-media-2014-05-26).

I'm using kernel 3.10.42. This morning I rebuilt it from scratch, only relying
on the in-kernel drivers instead of the experimental external ones. On the
first try it worked fine.  The (reported) signal strength was lower than with
linux-media-2014-05-26. But no uncorrectable errors occurred.

To test, I shut down the computer and cold started it with the USB stick
attached. Unfortunately it failed.

Maybe my USB stick and computer aren't meant to get along :-)

...
Jun 11 09:28:03 meiner kernel: usb 1-2: new high-speed USB device number 2 
using xhci_hcd
...
Jun 11 09:28:03 meiner kernel: usbcore: registered new interface driver 
dvb_usb_it913x
Jun 11 09:28:03 meiner kernel: it913x: Chip Version=02 Chip Type=9135
Jun 11 09:28:03 meiner kernel: it913x: Remote propriety (raw) modeit913x: Dual 
mode=0 Tuner Type=38
Jun 11 09:28:03 meiner kernel: it913x: Unknown tuner ID applying default 
0x606usb 1-2: dvb_usb_v2: found a 'Avermedia A835B(1835)' in cold state
Jun 11 09:28:03 meiner kernel: usb 1-2: dvb_usb_v2: downloading firmware from 
file 'dvb-usb-it9135-02.fw'
...
Jun 11 09:28:03 meiner kernel: it913x: FRM Starting Firmware Download
Jun 11 09:28:03 meiner kernel: it913x: FRM Firmware Download Completed - 
Resetting Device6usb 5-2: new low-speed USB device number 2 using uhci_hcd
...
Jun 11 09:28:03 meiner kernel: usb 1-2: dvb_usb_v2: 2nd usb_bulk_msg() 
failed=-110
Jun 11 09:28:03 meiner kernel: it913x: FRM Device not responding to reboot
Jun 11 09:28:03 meiner kernel: usb 1-2: dvb_usb_v2: 2nd usb_bulk_msg() 
failed=-110
Jun 11 09:28:03 meiner kernel: usb 1-2: dvb_usb_v2: 2nd usb_bulk_msg() 
failed=-110
Jun 11 09:28:03 meiner kernel: usb 1-2: dvb_usb_v2: 2nd usb_bulk_msg() 
failed=-110
Jun 11 09:28:03 meiner kernel: usb 1-2: dvb_usb_v2: 2nd usb_bulk_msg() 
failed=-110
Jun 11 09:28:03 meiner kernel: usb 1-2: dvb_usb_v2: 2nd usb_bulk_msg() 
failed=-110
Jun 11 09:28:03 meiner kernel: it913x: Failed to identify chip version applying 
1
Jun 11 09:28:03 meiner kernel: it913x: FRM Failed to reboot device6usb 1-2: 
dvb_usb_v2: 'Avermedia A835B(1835)' error while loading driver (-19)
Jun 11 09:28:03 meiner kernel: usb 1-2: dvb_usb_v2: 'Avermedia A835B(1835)' 
successfully deinitialized and disconnected
...

Kind regards,
Sebastian
--
To unsubscribe from this list: send the line unsubscribe linux-media in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


RE: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

2014-06-11 Thread Jason.Dong
Dear David,

The RF performance of ITE9137 BX + IE9133 dongle is a little worse than single 
tuner.
As our test resolut, the RF performances should be -80db and -82db for dual 
tuners and single tuner.
There is an issue in hardware design if the reception capability is too worse.

We don’t need to change the firmware for dual tuners. I think there are some 
problems in af9033 driver of kernel v3.15.

BRs,
Jason

-Original Message-
From: David Shirley [mailto:tep...@gmail.com] 
Sent: Wednesday, June 11, 2014 3:00 PM
To: Jason Dong (董志堅)
Cc: sebastian...@gmx.net; linux-media@vger.kernel.org
Subject: Re: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

Hey Jason,

Do we know if that RF problem exists in 3.14.5? Using the IT913X driver?

I have a Leadtek Winfast Dual Dongle (0413:6a05 - dual usb - ITE9137 BX + 
IE9133) which is being extremely painful (random signal locks, tzap reports ok 
signal strength for one tuner but poor for the other, random signal dropouts 
(ie working fine, then progressively getting more and more blips in 
visual/audio from stream)).

I dont think its signal strength related because 3x Leadtek Winfast Gold 
dongles (AF9013) all work (until they stop tuning and cold reboot is required)

I suspect something about the firmware is at fault, I have tried to talk to 
Antti - but he must be busy. I have tried three different dvb-usb-it9135-02.fw 
firmwares, and they don't seem to make a huge difference (newest doesn't create 
/dev/dvb bits)...

Does a BX (v2) 9137 require yet another firmware image?

If I use the AF9035 kernel driver it doesn't tune at all. But does detect the 
tuners...

Sorry to threadjack - but seeing your @ite.com.tw I thought I would ask while I 
can :)

Regards
David

On 11 June 2014 15:31,  jason.d...@ite.com.tw wrote:
 Dear Sebastian,

 There is a RF performance issue in the af9033 driver of kernel 3.15. It is no 
 problem in the it913x driver of kernel 3.14.
 There were some initial sequences not correct after the it913x driver was 
 integrated into af9033 driver.

 BRs,
 Jason

 -Original Message-
 From: linux-media-ow...@vger.kernel.org 
 [mailto:linux-media-ow...@vger.kernel.org] On Behalf Of Sebastian 
 Kemper
 Sent: Tuesday, June 10, 2014 8:51 PM
 To: linux-media@vger.kernel.org
 Subject: AF9033 / IT913X: Avermedia A835B(1835) only works 
 sporadically

 Hello list,

 I have an Avermedia A835B(1835) USB DVB-T stick (07ca:1835) which works 
 only (very) sporadically. It's pure luck as far as I can see.
 I can't reproduce how to get it working. There are no special steps that I 
 can take to guarantee that it'll work once I plug it in.

 I'd rate my chances of having the device actually working between 5 
 and
 10 percent.

 In the log everything looks fine, apart from the messages at the bottom about 
 the device not being able to get a lock on a channel.

 Reception here is really good, so there's no problem with signal strength. 
 When loading the device in Windows 7 64 bit it always finds a lock.

 Has anybody any idea? Thanks for any suggestions!

 Jun 10 14:18:07 meiner kernel: usb 1-2: new high-speed USB device number 2 
 using xhci_hcd Jun 10 14:18:07 meiner kernel: WARNING: You are using an 
 experimental version of the media stack.
 Jun 10 14:18:07 meiner kernel:  As the driver is backported to an 
 older kernel, it doesn't offer Jun 10 14:18:07 meiner kernel:  enough quality 
 for its usage in production.
 Jun 10 14:18:07 meiner kernel:  Use it with care.
 Jun 10 14:18:07 meiner kernel: Latest git patches (needed if you report a bug 
 to linux-media@vger.kernel.org):
 Jun 10 14:18:07 meiner kernel:  
 bfd0306462fdbc5e0a8c6999aef9dde0f9745399 [media] v4l: Document 
 timestamp buffer flag behaviour Jun 10 14:18:07 meiner kernel:  
 309f4d62eda0e864c2d4eef536cc82e41931c3c5 [media] v4l: Copy timestamp 
 source flags to destination on m2m devices Jun 10 14:18:07 meiner kernel:  
 599b08929efe9b90e44b504454218a120bb062a0 [media] exynos-gsc, m2m-deinterlace, 
 mx2_emmaprp: Copy v4l2_buffer data from src to dst Jun 10 14:18:07 meiner 
 kernel:  experimental: a60b303c3e347297a25f0a203f0ff11a8efc818c 
 experimental/ngene: Support DuoFlex C/C2/T/T2 (V3) Jun 10 14:18:07 meiner 
 kernel:  v4l-dvb-saa716x: 052c468e33be00a3d4d9b93da3581ffa861bb288 saa716x: 
 IO memory of upper PHI1 regions is mapped in saa716x_ff driver.
 Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_af9035: prechip_version=83 
 chip_version=02 chip_type=9135 Jun 10 14:18:07 meiner kernel: usb 1-2: 
 dvb_usb_v2: found a 'Avermedia A835B(1835)' in cold state Jun 10 14:18:07 
 meiner kernel: usb 1-2: dvb_usb_v2: downloading firmware from file 
 'dvb-usb-it9135-02.fw'
 Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_af9035: firmware 
 version=3.42.3.3 Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_v2: found a 
 'Avermedia A835B(1835)' in warm state Jun 10 14:18:07 meiner kernel: usb 1-2: 
 dvb_usb_v2: will pass the complete MPEG2 transport stream to the software

RE: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

2014-06-11 Thread David Shirley
Hey Jason,

We have access to the following firmwares for it913x:

http://palosaari.fi/linux/v4l-dvb/firmware/IT9135/12.10.04.1/IT9135v2_3.40.1.0_3.17.1.0/

http://palosaari.fi/linux/v4l-dvb/firmware/IT9135/12.10.04.1/IT9135v2_3.42.3.3_3.29.3.3/

and of course the one the kernel uses:

http://www.ite.com.tw/uploads/firmware/v3.6.0.0/dvb-usb-it9135.zip


Will any work with the dual it9137/9133?

Regards
D.

On 11 Jun 2014 20:08, jason.d...@ite.com.tw wrote:

 Dear David,



 The RF performance is no problem. Each firmware needs tie in with the correct 
 tuner script (some register settings).

 The driver should be modified if we changed the firmware.



 BRs,

 Jason



 From: David Shirley [mailto:tep...@gmail.com]
 Sent: Wednesday, June 11, 2014 4:29 PM
 To: Jason Dong (董志堅)
 Cc: sebastian...@gmx.net; Unname
 Subject: RE: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically



 Hey Jason,

 Is it possible yo get a copy if the newest stable firmware? I feel like the 
 v3.6 that the kernel extracts is pretty old?

 Regards
 D.

 On 11 Jun 2014 18:11, jason.d...@ite.com.tw wrote:

 Dear David,

 The RF performance of ITE9137 BX + IE9133 dongle is a little worse than 
 single tuner.
 As our test resolut, the RF performances should be -80db and -82db for dual 
 tuners and single tuner.
 There is an issue in hardware design if the reception capability is too worse.

 We don’t need to change the firmware for dual tuners. I think there are some 
 problems in af9033 driver of kernel v3.15.

 BRs,
 Jason

 -Original Message-
 From: David Shirley [mailto:tep...@gmail.com]
 Sent: Wednesday, June 11, 2014 3:00 PM
 To: Jason Dong (董志堅)
 Cc: sebastian...@gmx.net; linux-media@vger.kernel.org
 Subject: Re: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

 Hey Jason,

 Do we know if that RF problem exists in 3.14.5? Using the IT913X driver?

 I have a Leadtek Winfast Dual Dongle (0413:6a05 - dual usb - ITE9137 BX + 
 IE9133) which is being extremely painful (random signal locks, tzap reports 
 ok signal strength for one tuner but poor for the other, random signal 
 dropouts (ie working fine, then progressively getting more and more blips in 
 visual/audio from stream)).

 I dont think its signal strength related because 3x Leadtek Winfast Gold 
 dongles (AF9013) all work (until they stop tuning and cold reboot is required)

 I suspect something about the firmware is at fault, I have tried to talk to 
 Antti - but he must be busy. I have tried three different 
 dvb-usb-it9135-02.fw firmwares, and they don't seem to make a huge difference 
 (newest doesn't create /dev/dvb bits)...

 Does a BX (v2) 9137 require yet another firmware image?

 If I use the AF9035 kernel driver it doesn't tune at all. But does detect the 
 tuners...

 Sorry to threadjack - but seeing your @ite.com.tw I thought I would ask while 
 I can :)

 Regards
 David

 On 11 June 2014 15:31,  jason.d...@ite.com.tw wrote:
  Dear Sebastian,
 
  There is a RF performance issue in the af9033 driver of kernel 3.15. It is 
  no problem in the it913x driver of kernel 3.14.
  There were some initial sequences not correct after the it913x driver was 
  integrated into af9033 driver.
 
  BRs,
  Jason
 
  -Original Message-
  From: linux-media-ow...@vger.kernel.org
  [mailto:linux-media-ow...@vger.kernel.org] On Behalf Of Sebastian
  Kemper
  Sent: Tuesday, June 10, 2014 8:51 PM
  To: linux-media@vger.kernel.org
  Subject: AF9033 / IT913X: Avermedia A835B(1835) only works
  sporadically
 
  Hello list,
 
  I have an Avermedia A835B(1835) USB DVB-T stick (07ca:1835) which works 
  only (very) sporadically. It's pure luck as far as I can see.
  I can't reproduce how to get it working. There are no special steps that I 
  can take to guarantee that it'll work once I plug it in.
 
  I'd rate my chances of having the device actually working between 5
  and
  10 percent.
 
  In the log everything looks fine, apart from the messages at the bottom 
  about the device not being able to get a lock on a channel.
 
  Reception here is really good, so there's no problem with signal strength. 
  When loading the device in Windows 7 64 bit it always finds a lock.
 
  Has anybody any idea? Thanks for any suggestions!
 
  Jun 10 14:18:07 meiner kernel: usb 1-2: new high-speed USB device number 2 
  using xhci_hcd Jun 10 14:18:07 meiner kernel: WARNING: You are using an 
  experimental version of the media stack.
  Jun 10 14:18:07 meiner kernel:  As the driver is backported to an
  older kernel, it doesn't offer Jun 10 14:18:07 meiner kernel:  enough 
  quality for its usage in production.
  Jun 10 14:18:07 meiner kernel:  Use it with care.
  Jun 10 14:18:07 meiner kernel: Latest git patches (needed if you report a 
  bug to linux-media@vger.kernel.org):
  Jun 10 14:18:07 meiner kernel:
  bfd0306462fdbc5e0a8c6999aef9dde0f9745399 [media] v4l: Document
  timestamp buffer flag behaviour Jun 10 14:18:07 meiner kernel

RE: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

2014-06-11 Thread Jason.Dong
Dear David,

From our test, Linux kernel 3.14 + v3.6.0.0 firmware have good RF performance 
on single and dual tuners.

BRs,
Jason

-Original Message-
From: linux-media-ow...@vger.kernel.org 
[mailto:linux-media-ow...@vger.kernel.org] On Behalf Of David Shirley
Sent: Wednesday, June 11, 2014 9:23 PM
To: Jason Dong (董志堅)
Cc: sebastian...@gmx.net; Unname
Subject: RE: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

Hey Jason,

We have access to the following firmwares for it913x:

http://palosaari.fi/linux/v4l-dvb/firmware/IT9135/12.10.04.1/IT9135v2_3.40.1.0_3.17.1.0/

http://palosaari.fi/linux/v4l-dvb/firmware/IT9135/12.10.04.1/IT9135v2_3.42.3.3_3.29.3.3/

and of course the one the kernel uses:

http://www.ite.com.tw/uploads/firmware/v3.6.0.0/dvb-usb-it9135.zip


Will any work with the dual it9137/9133?

Regards
D.

On 11 Jun 2014 20:08, jason.d...@ite.com.tw wrote:

 Dear David,



 The RF performance is no problem. Each firmware needs tie in with the correct 
 tuner script (some register settings).

 The driver should be modified if we changed the firmware.



 BRs,

 Jason



 From: David Shirley [mailto:tep...@gmail.com]
 Sent: Wednesday, June 11, 2014 4:29 PM
 To: Jason Dong (董志堅)
 Cc: sebastian...@gmx.net; Unname
 Subject: RE: AF9033 / IT913X: Avermedia A835B(1835) only works 
 sporadically



 Hey Jason,

 Is it possible yo get a copy if the newest stable firmware? I feel like the 
 v3.6 that the kernel extracts is pretty old?

 Regards
 D.

 On 11 Jun 2014 18:11, jason.d...@ite.com.tw wrote:

 Dear David,

 The RF performance of ITE9137 BX + IE9133 dongle is a little worse than 
 single tuner.
 As our test resolut, the RF performances should be -80db and -82db for dual 
 tuners and single tuner.
 There is an issue in hardware design if the reception capability is too worse.

 We don’t need to change the firmware for dual tuners. I think there are some 
 problems in af9033 driver of kernel v3.15.

 BRs,
 Jason

 -Original Message-
 From: David Shirley [mailto:tep...@gmail.com]
 Sent: Wednesday, June 11, 2014 3:00 PM
 To: Jason Dong (董志堅)
 Cc: sebastian...@gmx.net; linux-media@vger.kernel.org
 Subject: Re: AF9033 / IT913X: Avermedia A835B(1835) only works 
 sporadically

 Hey Jason,

 Do we know if that RF problem exists in 3.14.5? Using the IT913X driver?

 I have a Leadtek Winfast Dual Dongle (0413:6a05 - dual usb - ITE9137 BX + 
 IE9133) which is being extremely painful (random signal locks, tzap reports 
 ok signal strength for one tuner but poor for the other, random signal 
 dropouts (ie working fine, then progressively getting more and more blips in 
 visual/audio from stream)).

 I dont think its signal strength related because 3x Leadtek Winfast 
 Gold dongles (AF9013) all work (until they stop tuning and cold reboot 
 is required)

 I suspect something about the firmware is at fault, I have tried to talk to 
 Antti - but he must be busy. I have tried three different 
 dvb-usb-it9135-02.fw firmwares, and they don't seem to make a huge difference 
 (newest doesn't create /dev/dvb bits)...

 Does a BX (v2) 9137 require yet another firmware image?

 If I use the AF9035 kernel driver it doesn't tune at all. But does detect the 
 tuners...

 Sorry to threadjack - but seeing your @ite.com.tw I thought I would 
 ask while I can :)

 Regards
 David

 On 11 June 2014 15:31,  jason.d...@ite.com.tw wrote:
  Dear Sebastian,
 
  There is a RF performance issue in the af9033 driver of kernel 3.15. It is 
  no problem in the it913x driver of kernel 3.14.
  There were some initial sequences not correct after the it913x driver was 
  integrated into af9033 driver.
 
  BRs,
  Jason
 
  -Original Message-
  From: linux-media-ow...@vger.kernel.org 
  [mailto:linux-media-ow...@vger.kernel.org] On Behalf Of Sebastian 
  Kemper
  Sent: Tuesday, June 10, 2014 8:51 PM
  To: linux-media@vger.kernel.org
  Subject: AF9033 / IT913X: Avermedia A835B(1835) only works 
  sporadically
 
  Hello list,
 
  I have an Avermedia A835B(1835) USB DVB-T stick (07ca:1835) which works 
  only (very) sporadically. It's pure luck as far as I can see.
  I can't reproduce how to get it working. There are no special steps that I 
  can take to guarantee that it'll work once I plug it in.
 
  I'd rate my chances of having the device actually working between 5 
  and
  10 percent.
 
  In the log everything looks fine, apart from the messages at the bottom 
  about the device not being able to get a lock on a channel.
 
  Reception here is really good, so there's no problem with signal strength. 
  When loading the device in Windows 7 64 bit it always finds a lock.
 
  Has anybody any idea? Thanks for any suggestions!
 
  Jun 10 14:18:07 meiner kernel: usb 1-2: new high-speed USB device number 2 
  using xhci_hcd Jun 10 14:18:07 meiner kernel: WARNING: You are using an 
  experimental version of the media stack.
  Jun 10 14:18:07 meiner kernel:  As the driver is backported to an 
  older kernel

RE: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

2014-06-10 Thread Jason.Dong
Dear Sebastian,

There is a RF performance issue in the af9033 driver of kernel 3.15. It is no 
problem in the it913x driver of kernel 3.14.
There were some initial sequences not correct after the it913x driver was 
integrated into af9033 driver.

BRs,
Jason

-Original Message-
From: linux-media-ow...@vger.kernel.org 
[mailto:linux-media-ow...@vger.kernel.org] On Behalf Of Sebastian Kemper
Sent: Tuesday, June 10, 2014 8:51 PM
To: linux-media@vger.kernel.org
Subject: AF9033 / IT913X: Avermedia A835B(1835) only works sporadically

Hello list,

I have an Avermedia A835B(1835) USB DVB-T stick (07ca:1835) which works only 
(very) sporadically. It's pure luck as far as I can see.
I can't reproduce how to get it working. There are no special steps that I can 
take to guarantee that it'll work once I plug it in.

I'd rate my chances of having the device actually working between 5 and
10 percent.

In the log everything looks fine, apart from the messages at the bottom about 
the device not being able to get a lock on a channel.

Reception here is really good, so there's no problem with signal strength. When 
loading the device in Windows 7 64 bit it always finds a lock.

Has anybody any idea? Thanks for any suggestions!

Jun 10 14:18:07 meiner kernel: usb 1-2: new high-speed USB device number 2 
using xhci_hcd Jun 10 14:18:07 meiner kernel: WARNING: You are using an 
experimental version of the media stack.
Jun 10 14:18:07 meiner kernel:  As the driver is backported to an older kernel, 
it doesn't offer
Jun 10 14:18:07 meiner kernel:  enough quality for its usage in production.
Jun 10 14:18:07 meiner kernel:  Use it with care.
Jun 10 14:18:07 meiner kernel: Latest git patches (needed if you report a bug 
to linux-media@vger.kernel.org):
Jun 10 14:18:07 meiner kernel:  bfd0306462fdbc5e0a8c6999aef9dde0f9745399 
[media] v4l: Document timestamp buffer flag behaviour
Jun 10 14:18:07 meiner kernel:  309f4d62eda0e864c2d4eef536cc82e41931c3c5 
[media] v4l: Copy timestamp source flags to destination on m2m devices
Jun 10 14:18:07 meiner kernel:  599b08929efe9b90e44b504454218a120bb062a0 
[media] exynos-gsc, m2m-deinterlace, mx2_emmaprp: Copy v4l2_buffer data from 
src to dst
Jun 10 14:18:07 meiner kernel:  experimental: 
a60b303c3e347297a25f0a203f0ff11a8efc818c experimental/ngene: Support DuoFlex 
C/C2/T/T2 (V3)
Jun 10 14:18:07 meiner kernel:  v4l-dvb-saa716x: 
052c468e33be00a3d4d9b93da3581ffa861bb288 saa716x: IO memory of upper PHI1 
regions is mapped in saa716x_ff driver.
Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_af9035: prechip_version=83 
chip_version=02 chip_type=9135 Jun 10 14:18:07 meiner kernel: usb 1-2: 
dvb_usb_v2: found a 'Avermedia A835B(1835)' in cold state Jun 10 14:18:07 
meiner kernel: usb 1-2: dvb_usb_v2: downloading firmware from file 
'dvb-usb-it9135-02.fw'
Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_af9035: firmware 
version=3.42.3.3 Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_v2: found a 
'Avermedia A835B(1835)' in warm state Jun 10 14:18:07 meiner kernel: usb 1-2: 
dvb_usb_v2: will pass the complete MPEG2 transport stream to the software 
demuxer Jun 10 14:18:07 meiner kernel: DVB: registering new adapter (Avermedia 
A835B(1835)) Jun 10 14:18:07 meiner kernel: i2c i2c-0: af9033: firmware 
version: LINK=0.0.0.0 OFDM=3.29.3.3 Jun 10 14:18:07 meiner kernel: usb 1-2: 
DVB: registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))...
Jun 10 14:18:07 meiner kernel: i2c i2c-0: tuner_it913x: ITE Tech IT913X 
successfully attached Jun 10 14:18:07 meiner kernel: usb 1-2: dvb_usb_v2: 
'Avermedia A835B(1835)' successfully initialized and connected Jun 10 14:18:07 
meiner kernel: usbcore: registered new interface driver dvb_usb_af9035 Jun 10 
14:18:28 meiner vdr: [1653] VDR version 2.0.4 started Jun 10 14:18:28 meiner 
vdr: [1653] switched to user 'vdr'
Jun 10 14:18:28 meiner vdr: [1653] codeset is 'UTF-8' - known Jun 10 14:18:28 
meiner vdr: [1653] loading plugin: 
/usr/lib64/vdr/plugins/libvdr-softhddevice.so.2.0.0
Jun 10 14:18:28 meiner vdr: New default svdrp port 6419!
Jun 10 14:18:29 meiner vdr: [1653] loading /etc/vdr/setup.conf Jun 10 14:18:29 
meiner vdr: [1653] loading /etc/vdr/sources.conf Jun 10 14:18:29 meiner vdr: 
[1653] loading /etc/vdr/diseqc.conf Jun 10 14:18:29 meiner vdr: [1653] loading 
/etc/vdr/scr.conf Jun 10 14:18:29 meiner vdr: [1653] loading 
/etc/vdr/channels.conf Jun 10 14:18:29 meiner vdr: [1653] loading 
/etc/vdr/timers.conf Jun 10 14:18:29 meiner vdr: [1653] loading 
/etc/vdr/commands.conf Jun 10 14:18:29 meiner vdr: [1653] loading 
/etc/vdr/reccmds.conf Jun 10 14:18:29 meiner vdr: [1653] loading 
/etc/vdr/svdrphosts.conf Jun 10 14:18:29 meiner vdr: [1653] loading 
/etc/vdr/remote.conf Jun 10 14:18:29 meiner vdr: [1653] loading 
/etc/vdr/keymacros.conf Jun 10 14:18:29 meiner vdr: [1653] DVB API version is 
0x050A (VDR was built with 0x050A) Jun 10 14:18:29 meiner vdr: [1653] frontend 
0/0 provides DVB-T with QPSK,QAM16,QAM64 (Afatech AF9033 (DVB-T)) Jun 10