Skip to contentSkip to conversation

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

DISCUSSION Sebastian Kemper 4 participants 9 messages Jun 10, 2014 – Jun 13, 2014 2 messages not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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 [email protected]):
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 14:18:29 meiner vdr: [1653] found 1 DVB device
Jun 10 14:18:29 meiner vdr: [1653] initializing plugin: softhddevice (0.6.1rc1): Ein Software und GPU emulieres HD-Gerät
Jun 10 14:18:29 meiner vdr: [1653] setting primary device to 2
Jun 10 14:18:29 meiner vdr: [1653] SVDRP listening on port 6419
Jun 10 14:18:29 meiner vdr: [1653] setting current skin to "lcars"
Jun 10 14:18:29 meiner vdr: [1653] loading /etc/vdr/themes/lcars-default.theme
Jun 10 14:18:29 meiner vdr: [1653] starting plugin: softhddevice
Jun 10 14:18:30 meiner vdr: [1653] switching to channel 2
Jun 10 14:18:30 meiner lircd-0.9.0[1219]: accepted new client on /var/run/lirc/lircd
Jun 10 14:18:30 meiner lircd-0.9.0[1219]: zotac initializing '/dev/usb/hiddev0'
Jun 10 14:18:31 meiner kernel: nvidia 0000:02:00.0: irq 46 for MSI/MSI-X
Jun 10 14:18:31 meiner vdr: [1653] connect from 127.0.0.1, port 59159 - accepted
Jun 10 14:18:31 meiner vdr: [1653] closing SVDRP connection
Jun 10 14:18:31 meiner vdrwatchdog[1702]: Starting vdrwatchdog
Jun 10 14:18:39 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818
Jun 10 14:19:43 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818

Kind regards,
Sebatian

#1 lore raw

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: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Kemper
Sent: Tuesday, June 10, 2014 8:51 PM
To: [email protected]
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 [email protected]):
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 14:18:29 meiner vdr: [1653] found 1 DVB device Jun 10 14:18:29 meiner vdr: [1653] initializing plugin: softhddevice (0.6.1rc1): Ein Software und GPU emulieres HD-Gerät Jun 10 14:18:29 meiner vdr: [1653] setting primary device to 2 Jun 10 14:18:29 meiner vdr: [1653] SVDRP listening on port 6419 Jun 10 14:18:29 meiner vdr: [1653] setting current skin to "lcars"
Jun 10 14:18:29 meiner vdr: [1653] loading /etc/vdr/themes/lcars-default.theme
Jun 10 14:18:29 meiner vdr: [1653] starting plugin: softhddevice Jun 10 14:18:30 meiner vdr: [1653] switching to channel 2 Jun 10 14:18:30 meiner lircd-0.9.0[1219]: accepted new client on /var/run/lirc/lircd Jun 10 14:18:30 meiner lircd-0.9.0[1219]: zotac initializing '/dev/usb/hiddev0'
Jun 10 14:18:31 meiner kernel: nvidia 0000:02:00.0: irq 46 for MSI/MSI-X Jun 10 14:18:31 meiner vdr: [1653] connect from 127.0.0.1, port 59159 - accepted Jun 10 14:18:31 meiner vdr: [1653] closing SVDRP connection Jun 10 14:18:31 meiner vdrwatchdog[1702]: Starting vdrwatchdog Jun 10 14:18:39 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818 Jun 10 14:19:43 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818

Kind regards,
Sebatian
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

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

Quoted 52 lines · On 11 June 2014 15:31, <[email protected]> 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: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Kemper
Sent: Tuesday, June 10, 2014 8:51 PM
To: [email protected]
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 [email protected]):
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 14:18:29 meiner vdr: [1653] found 1 DVB device Jun 10 14:18:29 meiner vdr: [1653] initializing plugin: softhddevice (0.6.1rc1): Ein Software und GPU emulieres HD-Gerät Jun 10 14:18:29 meiner vdr: [1653] setting primary device to 2 Jun 10 14:18:29 meiner vdr: [1653] SVDRP listening on port 6419 Jun 10 14:18:29 meiner vdr: [1653] setting current skin to "lcars"
Jun 10 14:18:29 meiner vdr: [1653] loading /etc/vdr/themes/lcars-default.theme
Jun 10 14:18:29 meiner vdr: [1653] starting plugin: softhddevice Jun 10 14:18:30 meiner vdr: [1653] switching to channel 2 Jun 10 14:18:30 meiner lircd-0.9.0[1219]: accepted new client on /var/run/lirc/lircd Jun 10 14:18:30 meiner lircd-0.9.0[1219]: zotac initializing '/dev/usb/hiddev0'
Jun 10 14:18:31 meiner kernel: nvidia 0000:02:00.0: irq 46 for MSI/MSI-X Jun 10 14:18:31 meiner vdr: [1653] connect from 127.0.0.1, port 59159 - accepted Jun 10 14:18:31 meiner vdr: [1653] closing SVDRP connection Jun 10 14:18:31 meiner vdrwatchdog[1702]: Starting vdrwatchdog Jun 10 14:18:39 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818 Jun 10 14:19:43 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818

Kind regards,
Sebatian
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw

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:[email protected]]
Sent: Wednesday, June 11, 2014 3:00 PM
To: Jason Dong (董志堅)
Cc: [email protected]; [email protected]
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

Quoted 67 lines · On 11 June 2014 15:31, <[email protected]> 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: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Kemper
Sent: Tuesday, June 10, 2014 8:51 PM
To: [email protected]
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 [email protected]):
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 14:18:29 meiner vdr: [1653] found 1 DVB device Jun 10 14:18:29 meiner vdr: [1653] initializing plugin: softhddevice (0.6.1rc1): Ein Software und GPU emulieres HD-Gerät Jun 10 14:18:29 meiner vdr: [1653] setting primary device to 2 Jun 10 14:18:29 meiner vdr: [1653] SVDRP listening on port 6419 Jun 10 14:18:29 meiner vdr: [1653] setting current skin to "lcars"
Jun 10 14:18:29 meiner vdr: [1653] loading 
/etc/vdr/themes/lcars-default.theme
Jun 10 14:18:29 meiner vdr: [1653] starting plugin: softhddevice Jun 10 14:18:30 meiner vdr: [1653] switching to channel 2 Jun 10 14:18:30 meiner lircd-0.9.0[1219]: accepted new client on /var/run/lirc/lircd Jun 10 14:18:30 meiner lircd-0.9.0[1219]: zotac initializing '/dev/usb/hiddev0'
Jun 10 14:18:31 meiner kernel: nvidia 0000:02:00.0: irq 46 for 

MSI/MSI-X Jun 10 14:18:31 meiner vdr: [1653] connect from 127.0.0.1, port 59159 - accepted Jun 10 14:18:31 meiner vdr: [1653] closing SVDRP connection Jun 10 14:18:31 meiner vdrwatchdog[1702]: Starting vdrwatchdog Jun 10 14:18:39 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818 Jun 10 14:19:43 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818

Kind regards,
Sebatian
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): CAM187nBB=eueS7Na=CcXPLU0dC61w+fnHPY3HBZSK4NX7jO12Q@mail.gmail.com

A message that is not in the archive (sent off-list or not yet received): 97D30D57D08C2C49A26A3312F17290483B008E41@TPEMAIL2.internal.ite.com.tw

#6 lore raw

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.

Quoted 139 lines · On 11 Jun 2014 20:08, <[email protected]> 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:[email protected]]
Sent: Wednesday, June 11, 2014 4:29 PM
To: Jason Dong (董志堅)
Cc: [email protected]; 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, <[email protected]> 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:[email protected]]
Sent: Wednesday, June 11, 2014 3:00 PM
To: Jason Dong (董志堅)
Cc: [email protected]; [email protected]
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

Quoted 67 lines · On 11 June 2014 15:31, <[email protected]> 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: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Kemper
Sent: Tuesday, June 10, 2014 8:51 PM
To: [email protected]
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 [email protected]):
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 14:18:29 meiner vdr: [1653] found 1 DVB device Jun 10 14:18:29 meiner vdr: [1653] initializing plugin: softhddevice (0.6.1rc1): Ein Software und GPU emulieres HD-Gerät Jun 10 14:18:29 meiner vdr: [1653] setting primary device to 2 Jun 10 14:18:29 meiner vdr: [1653] SVDRP listening on port 6419 Jun 10 14:18:29 meiner vdr: [1653] setting current skin to "lcars"
Jun 10 14:18:29 meiner vdr: [1653] loading
/etc/vdr/themes/lcars-default.theme
Jun 10 14:18:29 meiner vdr: [1653] starting plugin: softhddevice Jun 10 14:18:30 meiner vdr: [1653] switching to channel 2 Jun 10 14:18:30 meiner lircd-0.9.0[1219]: accepted new client on /var/run/lirc/lircd Jun 10 14:18:30 meiner lircd-0.9.0[1219]: zotac initializing '/dev/usb/hiddev0'
Jun 10 14:18:31 meiner kernel: nvidia 0000:02:00.0: irq 46 for

MSI/MSI-X Jun 10 14:18:31 meiner vdr: [1653] connect from 127.0.0.1, port 59159 - accepted Jun 10 14:18:31 meiner vdr: [1653] closing SVDRP connection Jun 10 14:18:31 meiner vdrwatchdog[1702]: Starting vdrwatchdog Jun 10 14:18:39 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818 Jun 10 14:19:43 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818

Kind regards,
Sebatian
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw

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: [email protected] [mailto:[email protected]] On Behalf Of David Shirley
Sent: Wednesday, June 11, 2014 9:23 PM
To: Jason Dong (董志堅)
Cc: [email protected]; 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.

Quoted 70 lines · On 11 Jun 2014 20:08, <[email protected]> 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:[email protected]]
Sent: Wednesday, June 11, 2014 4:29 PM
To: Jason Dong (董志堅)
Cc: [email protected]; 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, <[email protected]> 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:[email protected]]
Sent: Wednesday, June 11, 2014 3:00 PM
To: Jason Dong (董志堅)
Cc: [email protected]; [email protected]
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...

Quoted 57 lines

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

Regards
David

Quoted 50 lines · On 11 June 2014 15:31, <[email protected]> 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: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Kemper
Sent: Tuesday, June 10, 2014 8:51 PM
To: [email protected]
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 [email protected]):
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 14:18:29 meiner vdr: [1653] found 1 DVB device Jun 10 14:18:29 m!

einer vdr: [1653] initializing plugin: softhddevice (0.6.1rc1): Ein Software und GPU emulieres HD-Gerät Jun 10 14:18:29 meiner vdr: [1653] setting primary device to 2 Jun 10 14:18:29 meiner vdr: [1653] SVDRP listening on port 6419 Jun 10 14:18:29 meiner vdr: [1653] setting current skin to "lcars"

Quoted 11 lines
Quoted 11 lines
Jun 10 14:18:29 meiner vdr: [1653] loading 
/etc/vdr/themes/lcars-default.theme
Jun 10 14:18:29 meiner vdr: [1653] starting plugin: softhddevice Jun 10 14:18:30 meiner vdr: [1653] switching to channel 2 Jun 10 14:18:30 meiner lircd-0.9.0[1219]: accepted new client on /var/run/lirc/lircd Jun 10 14:18:30 meiner lircd-0.9.0[1219]: zotac initializing '/dev/usb/hiddev0'
Jun 10 14:18:31 meiner kernel: nvidia 0000:02:00.0: irq 46 for 

MSI/MSI-X Jun 10 14:18:31 meiner vdr: [1653] connect from 127.0.0.1, port 59159 - accepted Jun 10 14:18:31 meiner vdr: [1653] closing SVDRP connection Jun 10 14:18:31 meiner vdrwatchdog[1702]: Starting vdrwatchdog Jun 10 14:18:39 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818 Jun 10 14:19:43 meiner vdr:
[1674] frontend 0/0 timed out while tuning to channel 2, tp 818

Quoted 6 lines
Quoted 6 lines

Kind regards,
Sebatian
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#8 lore raw
In reply to [email protected]

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

Quoted 30 lines · On 06/11/2014 11:11 AM, [email protected] 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:[email protected]]
Sent: Wednesday, June 11, 2014 3:00 PM
To: Jason Dong (董志堅)
Cc: [email protected]; [email protected]
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?

Quoted 58 lines

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

Quoted 50 lines · On 11 June 2014 15:31, <[email protected]> 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: [email protected] [mailto:[email protected]] On Behalf Of Sebastian Kemper
Sent: Tuesday, June 10, 2014 8:51 PM
To: [email protected]
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 [email protected]):
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 14:18:29 meiner vdr: [1653] found 1 DVB device Jun 10 14:18:29 meiner vdr: 

[1653] initializing plugin: softhddevice (0.6.1rc1): Ein Software und GPU emulieres HD-Gerät Jun 10 14:18:29 meiner vdr: [1653] setting primary device to 2 Jun 10 14:18:29 meiner vdr: [1653] SVDRP listening on port 6419 Jun 10 14:18:29 meiner vdr: [1653] setting current skin to "lcars"

Quoted 19 lines
Quoted 11 lines
Jun 10 14:18:29 meiner vdr: [1653] loading
/etc/vdr/themes/lcars-default.theme
Jun 10 14:18:29 meiner vdr: [1653] starting plugin: softhddevice Jun 10 14:18:30 meiner vdr: [1653] switching to channel 2 Jun 10 14:18:30 meiner lircd-0.9.0[1219]: accepted new client on /var/run/lirc/lircd Jun 10 14:18:30 meiner lircd-0.9.0[1219]: zotac initializing '/dev/usb/hiddev0'
Jun 10 14:18:31 meiner kernel: nvidia 0000:02:00.0: irq 46 for

MSI/MSI-X Jun 10 14:18:31 meiner vdr: [1653] connect from 127.0.0.1, port 59159 - accepted Jun 10 14:18:31 meiner vdr: [1653] closing SVDRP connection Jun 10 14:18:31 meiner vdrwatchdog[1702]: Starting vdrwatchdog Jun 10 14:18:39 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818 Jun 10 14:19:43 meiner vdr: [1674] frontend 0/0 timed out while tuning to channel 2, tp 818

Quoted 6 lines

Kind regards,
Sebatian
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

N�����r��y���b�X��ǧv�^�)޺{.n�+����{���bj)���w*jg��������ݢj/���z�ޖ��2�ޙ���&�)ߡ�a�����G���h��j:+v���w�٥

Signature · 1 line
http://palosaari.fi/
#9 lore raw
Quoted 7 lines · 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.

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

#10 lore raw
In reply to [email protected]
Quoted 8 lines · On Wed, Jun 11, 2014 at 05:31:47AM +0000, [email protected] 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 0x60<6>usb 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 Device<6>usb 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 device<6>usb 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