1

Temat: Tuner DVB-T it9135 TL-WR1043ND do v3

Przepraszam za tłumaczenie translate.google.com

Cześć, jestem z Linuksem i początkujących OpenWRT i potrzebuję pomocy.

Mam tuner DVB-T evolveo Wenus, którzy chcieliby uruchomić na routerze TP-Link wr1043ndv3 jako kanały Strem DVB-T.
http://www.evolveo.eu/en/venus

Po zainstalowaniu routera na "spokojniejszy OpenWRT chaosu":
http://dl.eko.one.pl/chaos_calmer/ar71x … actory.bin


Zrobiłem również Pobierz sterownik karty TV:

lsusb

Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 048d:9006 Integrated Technology Express, Inc. IT9135 BDA Afatech DVB-T HDTV Dongle
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Pobierz Moduły

lsmod

act_ipt                 2432  0
act_mirred              2336  0
act_police              3168  0
act_skbedit             1600  0
aead                    4272  0
arc4                    1312  2
ath                    18437  3 ath9k
ath9k                  95270  0
ath9k_common           17806  1 ath9k
ath9k_hw              358728  2 ath9k
cdc_acm                13744  0
cdc_ether               3788  1 rndis_host
cdc_mbim                3904  0
cdc_ncm                11877  2 cdc_mbim
cdc_wdm                 7845  3 cdc_mbim
cfg80211              214161  4 ath9k
cls_basic               3024  0
cls_flow                5040  0
cls_fw                  3456  0
cls_route               4576  0
cls_tcindex             4256  0
cls_u32                 6176  0
compat                  1332  4 ath9k
crc16                   1015  1 ext4
crc_ccitt               1019  1 ppp_async
crypto_blkcipher       10487  2 ecb
crypto_hash             9698  3 sha1_generic
dvb_core               68886  1 dvb_usb
dvb_usb                14358  0
ecb                     1328  0
ehci_hcd               32092  1 ehci_platform
ehci_platform           3488  0
em_cmp                   736  0
em_meta                 4512  0
em_nbyte                 720  0
em_text                 1344  0
em_u32                   576  0
ext4                  311868  0
fat                    47503  1 vfat
fuse                   65913  0
gpio_button_hotplug     4496  0
gre                     3387  2 pptp
huawei_cdc_ncm          1536  0
i2c_dev                 4096  0
ifb                     2656  0
input_core             24510  2 dvb_usb
ip6_tables              9873  3 ip6table_raw
ip6t_REJECT             1184  2
ip6table_filter          608  1
ip6table_mangle         1072  1
ip6table_raw             576  1
ip_gre                  6688  0
ip_tables              10013  4 iptable_nat
ip_tunnel              10483  1 ip_gre
ipt_ECN                 1376  0
ipt_MASQUERADE           624  1
ipt_REJECT               912  2
iptable_filter           672  1
iptable_mangle           944  1
iptable_nat              768  1
iptable_raw              640  1
ipv6                  269283 36 nf_conntrack_ipv6
it913x                  3536  0
jbd2                   47362  1 ext4
ledtrig_usbdev          1936  0
lzo_compress            2146  1 regmap_core
lzo_decompress          1415  1 regmap_core
mac80211              382755  1 ath9k
mbcache                 4557  1 ext4
mii                     3528  1 usbnet
nf_conntrack           48862 15 nf_nat_ipv4
nf_conntrack_ftp        5280  1 nf_nat_ftp
nf_conntrack_ipv4       5152  8
nf_conntrack_ipv6       5536  3
nf_conntrack_rtcache    2480  0
nf_defrag_ipv4           838  1 nf_conntrack_ipv4
nf_defrag_ipv6          9063  1 nf_conntrack_ipv6
nf_log_common           2479  2 nf_log_ipv4
nf_log_ipv4             3136  0
nf_log_ipv6             3296  0
nf_nat                  9948  5 nf_nat_ipv4
nf_nat_ftp              1200  0
nf_nat_ipv4             4225  1 iptable_nat
nf_nat_masquerade_ipv4    1388  1 ipt_MASQUERADE
nf_reject_ipv4          1955  1 ipt_REJECT
nf_reject_ipv6          2055  1 ip6t_REJECT
nls_base                4976  5 vfat
nls_cp437               4432  0
nls_iso8859_1           2896  0
ohci_hcd               22207  1 ohci_platform
ohci_platform           2864  0
option                 27136  0
ppp_async               6320  0
ppp_generic            20658  5 pppoe
ppp_mppe                4800  0
pppoe                   8096  0
pppox                   1354  2 pppoe
pptp                   13456  0
qmi_wwan               10304  0
rc_core                14288  3 rc_it913x_v2
rc_it913x_v1             928  0
rc_it913x_v2             896  0
regmap_core            31278  3 it913x
regmap_i2c              1670  1 it913x
regmap_spi              1094  0
rndis_host              4937  0
sch_codel               4096  0
sch_dsmark              3600  0
sch_fq                  5936  0
sch_gred                6384  0
sch_hfsc               13344  0
sch_htb                12576  0
sch_ingress              944  0
sch_netem               6864  0
sch_pie                 4016  0
sch_prio                3184  0
sch_red                 4496  0
sch_sfq                 8160  0
sch_tbf                 5104  0
sch_teql                3648  0
scsi_mod               85623  2 usb_storage
sd_mod                 25600  0
sha1_generic            1475  0
sierra                  6112  0
sierra_net              5648  0
slhc                    4299  1 ppp_generic
usb_common              1160  1 usbcore
usb_storage            37695  0
usb_wwan                4391  1 option
usbcore               117912 22 dvb_usb
usblp                   8480  0
usbnet                 17014  7 cdc_mbim
usbserial              18187  3 option
v4l2_common             4003  0
vfat                    7936  0
videodev               96375  1 v4l2_common
x_tables               10741 42 ipt_REJECT
xt_CLASSIFY              576  0
xt_CT                   2224  0
xt_DSCP                 1504  0
xt_HL                   1296  0
xt_LOG                   768  0
xt_REDIRECT             1056  0
xt_TCPMSS               2608  2
xt_comment               480 62
xt_connbytes            1488  0
xt_connlimit            3360  0
xt_connmark             1040  0
xt_conntrack            2160 10
xt_dscp                  992  0
xt_ecn                  1296  0
xt_helper                880  0
xt_hl                    800  0
xt_id                    480  0
xt_length                688  0
xt_limit                 992 20
xt_mac                   624  0
xt_mark                  672  0
xt_multiport            1184  0
xt_nat                  1072  0
xt_recent               6336  0
xt_state                 688  0
xt_statistic             784  0
xt_tcpmss                992  0
xt_tcpudp               1696 10
xt_time                 1632  0

dmesg

[    5.380000] usbcore: registered new interface driver usbfs
[    5.390000] usbcore: registered new interface driver hub
[    5.400000] usbcore: registered new device driver usb
[    5.590000] usbcore: registered new interface driver usb-storage
[    5.830000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   14.070000] usbcore: registered new interface driver cdc_acm
[   14.100000] usbcore: registered new interface driver cdc_wdm
[   14.200000] usbcore: registered new interface driver usblp
[   14.220000] usbcore: registered new interface driver usbserial
[   14.220000] usbcore: registered new interface driver usbserial_generic
[   14.230000] usbserial: USB Serial support registered for generic
[   14.320000] usbcore: registered new interface driver cdc_ether
[   14.330000] usbcore: registered new interface driver cdc_ncm
[   14.400000] usbcore: registered new interface driver huawei_cdc_ncm
[   14.600000] usbcore: registered new interface driver qmi_wwan
[   14.610000] usbcore: registered new interface driver rndis_host
[   14.620000] usbcore: registered new interface driver sierra
[   14.620000] usbserial: USB Serial support registered for Sierra USB modem
[   14.640000] usbcore: registered new interface driver sierra_net
[   14.710000] usbcore: registered new interface driver cdc_mbim
[   14.720000] usbcore: registered new interface driver option
[   14.730000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 1075.320000] usb 1-1: USB disconnect, device number 2
[ 1095.260000] usb 1-1: new high-speed USB device number 3 using ehci-platform
[ 2228.470000] usb 1-1: USB disconnect, device number 3
[ 2228.760000] usb 1-1: new high-speed USB device number 4 using ehci-platform

Zaczerpnięty Myślę, że DVB-T nie jest zainstalowany poprawnie, może ktoś doradzić jak prawidłowo zainstalować tuner?

Dziękuję. Ondrej.

2

Odp: Tuner DVB-T it9135 TL-WR1043ND do v3

Wrong. These  modules are for 3.18.21 kernel, not for  3.18.23. I don't have it for current version.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Tuner DVB-T it9135 TL-WR1043ND do v3

Thank you for your reply. Does somebody know if it is possible to download openwrt with kernel 3.18.21 for this router (tp-link wr1043nd v3). Or where to get these modules?

4

Odp: Tuner DVB-T it9135 TL-WR1043ND do v3

Just wait a moment,  I'll do it after christmas.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Tuner DVB-T it9135 TL-WR1043ND do v3

@xkapr
it9135 tuner requires additional modules with the name *af* and dependencies.
Here is my post in which I describe the sequence of loading modules ( insmod .... etc.)

Your lsusb smile

Bus 001 Device 004: ID 048d:9006 Integrated Technology Express, Inc. IT9135 BDA Afatech DVB-T HDTV Dongle

Do not forget about them.

Xiaomi AX3000T @ Netgear R6220
* DVBT2 - T230C *

6

Odp: Tuner DVB-T it9135 TL-WR1043ND do v3

Thank you both.
Now it seems the tuner is installed correctly. I would still ask what version of tvheadend I have to install to this version openwrt. kernel 3.18.23
http://dl.eko.one.pl/chaos_calmer/ar71xx/

7

Odp: Tuner DVB-T it9135 TL-WR1043ND do v3

I solve it by http://dl.eko.one.pl/test/tvheadend_4.0.7-1_ar71xx.ipk

Now I have problem with how to start correctly tvheadend service. My configuration is that I start modules for dvb-t tuner from luci system>startup>local startup (This is the content of /etc/rc.local):

insmod af9033
insmod dvb-core
insmod it913x
insmod input-core
insmod rc-core
insmod dvb_usb_v2
insmod dvb-usb-af9035

exit 0

and tvheadend service enabled.

The problem with this configuration is that there are no dvb-t adapters in tvheadend configuration>dvb inputs.

If I disable tvheadend service, reboot the routrer, and start tvheadend manualy from ssh:
tvheadend -c /etc/tvheadend -C
everything seem to be ok. There are adapters in tvheadend configuration>dvb inputs

8

Odp: Tuner DVB-T it9135 TL-WR1043ND do v3

insmod af9033
insmod dvb-core
insmod it913x
insmod input-core
insmod rc-core
insmod dvb_usb_v2
insmod dvb-usb-af9035
tvheadend -c /etc/tvheadend -C -f
exit 0

?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Tuner DVB-T it9135 TL-WR1043ND do v3

same problem.

10

Odp: Tuner DVB-T it9135 TL-WR1043ND do v3

On BB runs with settings

/etc/rc.local

insmod af9033
insmod dvb-core
insmod it913x
insmod input-core
insmod rc-core
insmod dvb_usb_v2
insmod dvb-usb-af9035
/etc/init.d/tvheadend start
sleep 25
chmod 777 /etc/tvheadend
/etc/init.d/tvheadend restart
exit 0

/etc/init.d/tvheadend

#!/bin/sh /etc/rc.common
# Copyright (C) 2012 OpenWrt.org
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

START=80

start() {
        service_start /usr/bin/tvheadend -f -u root -g root -c /etc/tvheadend
}

stop() {
        service_stop /usr/bin/tvheadend
}

11

Odp: Tuner DVB-T it9135 TL-WR1043ND do v3

So... add insmods with sleep 5 to /etc/init.d/tvheadend in start section.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.