OpenWrt Forum Archive

Topic: DVB Stick 'ITE 9135 Generic' Bleeding edge (4.1.11) + tvheadend?

The content of this topic has been archived on 17 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hey guys,

it's a simple question, i have installed 15.05 binary, I have extroot, I still have one usb free. And I see tvheadend in packages in trunk. but my binary is not from trunk, by that time the tvheadend wasnt there.

-m

(Last edited by mucha on 30 Nov 2015, 21:21)

bump.

I installed trunk version of CC, I have installed tvheadend.
I am on TP-Link TL-WDR3600 v1, running on kernel 4.11.1.

tvheadend has running web gui, it's ok.

My USB Device reports itself as:

Bus 001 Device 004: ID 048d:9135 Integrated Technology Express, Inc. Zolid Mini DVB-T Stick

but dvb interface is not detected. Yes I was googling.

Here I found out I need FW (there are two versions) but firstly I need to get my stick detected.

http://ocsovszki-dorian.blogspot.cz/201 … e9135.html

I guess I need kernel modules for my 4.11.1 kernel running on mips arch.

Please, what is the proper way to compile them for my arch and for my kernel?

Or should I compile my own openwrt with DVB support enabled?

What's my best go? thx

First check that you DVB dongle is supported in linux.

http://linuxtv.org/wiki/index.php/DVB-C_USB_Devices

And next, you can compile a whole openwrt build and then choose the kernel modules you need and install in your actual openwrt setup (compiling the exactly same kernel version that you are using).
Download openwrt source code, compile the kernel modules you need marking them as module in make menuconfig and copy the *.ko files to your actual opewrt setup.

https://wiki.openwrt.org/doc/howto/build

If you dvb dongle works in a linux dist like ubuntu, then it will work in openwrt. You only has to consider the requeriments of memory/cpu of tvheadend and your router specs.

Hey! Thanks for the reply! smile

1. this chip is definitely supported, the dongle is working in Ubuntu (IR not tested)

dmesg Ubuntu 14.04.X

[11739.345867] usb 1-2.3: USB disconnect, device number 6
[11739.368923] usb 1-2.3: dvb_usb_v2: 'ITE 9135 Generic' successfully deinitialized and disconnected
[11743.116027] usb 1-2.4.4: new high-speed USB device number 8 using ehci-pci
[11743.210120] usb 1-2.4.4: New USB device found, idVendor=048d, idProduct=9135
[11743.210128] usb 1-2.4.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[11743.212743] usb 1-2.4.4: dvb_usb_af9035: prechip_version=83 chip_version=01 chip_type=9135
[11743.213112] usb 1-2.4.4: dvb_usb_v2: found a 'ITE 9135 Generic' in cold state
[11743.229623] usb 1-2.4.4: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9135-01.fw'
[11743.360620] usb 1-2.4.4: dvb_usb_af9035: firmware version=12.54.14.0
[11743.360640] usb 1-2.4.4: dvb_usb_v2: found a 'ITE 9135 Generic' in warm state
[11743.361743] usb 1-2.4.4: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[11743.361820] DVB: registering new adapter (ITE 9135 Generic)
[11743.363493] i2c i2c-1: af9033: firmware version: LINK=255.255.255.255 OFDM=2.47.14.0
[11743.363504] usb 1-2.4.4: DVB: registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))...
[11743.363995] i2c i2c-1: tuner_it913x: ITE Tech IT913X successfully attached
[11743.387622] Registered IR keymap rc-it913x-v1
[11743.387887] input: ITE 9135 Generic as /devices/pci0000:00/0000:00:04.1/usb1/1-2/1-2.4/1-2.4.4/rc/rc0/input13
[11743.388137] rc0: ITE 9135 Generic as /devices/pci0000:00/0000:00:04.1/usb1/1-2/1-2.4/1-2.4.4/rc/rc0
[11743.388153] usb 1-2.4.4: dvb_usb_v2: schedule remote query interval to 500 msecs
[11743.388164] usb 1-2.4.4: dvb_usb_v2: 'ITE 9135 Generic' successfully initialized and connected

dmesg OpenWrt CC Bleeding Edge, r47603

[159800.045413] usb 1-1.2: USB disconnect, device number 4
[159803.352737] usb 1-1.2: new high-speed USB device number 5 using ehci-platform

2. I have set up the OpenWrt Buildroot

my steps on Debian 7.9

sudo apt-get update
sudo apt-get install %all_the_required_prereqs% //plus i had to build jikespg
git clone git://git.openwrt.org/openwrt.git
cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a
make defconfig
make prereq
make menuconfig

Now I am trying to configure the configuration according to this blog: http://ocsovszki-dorian.blogspot.cz/201 … e9135.html

Target, subtarget, that's no prob.

BUT am I correct to see that the menuconfig structure is different than in the blog? I am unable to find some of the items/subitems, eg:

<m> Multimedia support  --->
 [*]   Digital TV support 
 [*]   Remote Controller support
 [*]   DVB Network Support (NEW)

3. Please help me someone, now I am lost. sad sad smile

1. I got farther.
I am stuck on this. I cannot find the item called "I2C device interface" in make kernel_menuconfig

[*] USB support  --->
 <m>   I2C device interface

It has some prerequisites I did not check? for the record, I have checked everything mentioned here: http://ocsovszki-dorian.blogspot.cz/201 … e9135.html

any trick?

bump.

1. After few days of getting into kconfig magic, I just came into a conslusion that

[*] USB support  --->
 <m>   I2C device interface

just does not exist, and it is just mistyped.

2. Still, according to the my earlier mentioned Ubuntu dmesg

[11739.368923] usb 1-2.3: dvb_usb_v2: 'ITE 9135 Generic' successfully deinitialized and disconnected

and according the source tutorial I used as a reference (http://ocsovszki-dorian.blogspot.cz/201 … e9135.html) I was looking for

  <m>   Support for various USB DVB devices v2
   <m>     ITE IT913X DVB-T USB2.0 support

and guess what. It just does not exist lol. It was removed in kernel 3.15. smile I mean... really? big_smile At least I know what kconfig is now.
http://lxr.free-electrons.com/source/dr … x.c?v=3.14

3. Now, I guess, this is what I need: http://lxr.free-electrons.com/source/dr … 35.c?v=4.1
At the end of the file there s IT9135 mentioned.
So I will go with

  <m>   Support for various USB DVB devices v2
   <m>     Afatech AF9035 DVB-T USB2.0 support

..and I believe I can make this work.

tvheadend for openwrt CC ( ar71xx,ramips,mvebu )

pan.baidu.com/s/1i5vA7cT

(Last edited by harrylwc on 19 Mar 2017, 02:08)

The discussion might have continued from here.