76

Odp: TVheadend dla wr1043dn

Zakupiłęm, zobaczymy jak będzie to działac i czy bedzie odbierac na tej mini antenie u mnie w bloku

RB760iGS + RB260GS / Ryzen 5 2660 / 16G DDR4 / MiniITX - Inea 1G (https://i.imgur.com/TLbJVDw.png)
RB951-2HnD / Celeron J1900 / 4G DDR3 / MiniITX - Satpol 100M

77

Odp: TVheadend dla wr1043dn

Witam,

Udało mi się skompilować sterowniki do mojej karty dvb-s2 WinTV Nova HD USB2.
Kanały niekodowane przez tvheadend dają obciążenie rzędu do 10%
natomiast mam problem z kanałami kodowanymi, używam phoenixa z kartą cyfry+ i tu obciążenie skacze do 100%.
Poszperałem trochę i znalazłem informacje na temat biblioteki libdvbcsa która to niby zmniejsza obciążenie i jest wykorzystywana przez nowego tvheadenda.
Próbowałem ją skompilować pod openwrt ale tu moje umiejętności są za słabe
źródła pobierałem z : http://download.videolan.org/pub/videol … csa/1.1.0/
do tego nowego tvheadenda 3.3 z: https://github.com/fape/tvheadend-openwrt ta wersja daje możliwość użycia dvbcsa.
Czy ktoś mógł by mnie pokierować jak to ugryźć ??
Do tej pory używam tvheadenda i xbmc na ubuntu i działa to nieźle ale ciekawe rozwiązanie jest z openwrt mniej prądu to pobiera i daje możliwość oglądania na dowolnym urządzeniu w sieci domowej.

Mam routerek TP-Link WR842ND

A może jest inne rozwiązanie ??

pzdr

78

Odp: TVheadend dla wr1043dn

Robisz makefile tak jak są do innych bibliotek, a później kompilujesz samego tvheadend. Od niego makefile masz w trunku, źródło plików tylko musisz zmienić na to repo.

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

79

Odp: TVheadend dla wr1043dn

Dokładnie tak jak mówisz Cezary zacząłem robić makefile i pobiera mi już ze źródła tego libdvbcsa:

#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=libdvbcsa
PKG_VERSION:=1.1.0
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://download.videolan.org/pub/videolan/libdvbcsa/${PKG_VERSION}/ \
PKG_MD5SUM:=478ab1ca56ca58d2667da6ce22f74e39

PKG_BUILD_DEPENDS:=toolchain

PKG_FIXUP:=autoreconf
PKG_INSTALL:=1

include $(INCLUDE_DIR)/package.mk

define Package/libdvbcsa
  SECTION:=libs
  CATEGORY:=Libraries
  TITLE:=libdvbcsa is a free implementation of the DVB Common Scrambling Algorithm - DVB/CSA - with encryption and decryption capabilities
  URL:=http://www.videolan.org/developers/libdvbcsa.html
endef

define Package/libdvbcsa/description
    libdvbcsa is a free implementation of the DVB Common Scrambling
    Algorithm - DVB/CSA - with encryption and decryption capabilities
endef

CONFIGURE_ARGS += \
    --enable-shared \
    --enable-static \


TARGET_LDFLAGS += \
    -ldvbcsa

define Build/InstallDev
    $(INSTALL_DIR) $(1)/usr/include/dvbcsa
    $(CP) $(PKG_INSTALL_DIR)/usr/include/dvbcsa/* $(1)/usr/include/dvbcsa/
    $(INSTALL_DIR) $(1)/usr/lib
    $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdvbcsa.{a,so*} $(1)/usr/lib/
endef

define Package/libdvbcsa/install
    $(INSTALL_DIR) $(1)/usr/lib
    $(CP) $(PKG_INSTALL_DIR)/usr/lib/libdvbcsa++.so* $(1)/usr/lib/
endef

$(eval $(call BuildPackage,libdvbcsa))


no ale sekcja define Build/InsallDev to już chyba dla mnie czarna magia bo nie wiem co dokładnie i gdzie takie coś napisałem ale nie działa wink
Chętnie się nauczę ale nie bardzo wiem od czego się zabrać .
Ten link do tvheadenda to już źródło które ma gotowe makefile i podmieniam je w trunku one ciągnie wersje 3.3 z gita tvheadend i to już nie będzie problemu tylko brakuje tego libdvbcsa sad

80

Odp: TVheadend dla wr1043dn

Install dev instaluje biiblioteki do sdk żebyś inne programy z nią mógł skompilować. Więc o o ile tak się pliki wynikowego nazywają to ideologicznie tak to powinno być.

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

81

Odp: TVheadend dla wr1043dn

Udało mi się skompilować libdvbcsa wprowadziłem małe zmiany do makefile :
#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=libdvbcsa
PKG_VERSION:=1.1.0
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://download.videolan.org/pub/videolan/libdvbcsa/${PKG_VERSION}/ \
PKG_MD5SUM:=478ab1ca56ca58d2667da6ce22f74e39


PKG_FIXUP:=autoreconf

include $(INCLUDE_DIR)/package.mk

PKG_INSTALL:=1

define Package/libdvbcsa
  SECTION:=libs
  CATEGORY:=Libraries
  TITLE:=libdvbcsa - DVB/CSA - with encryption and decryption capabilities
  URL:=http://www.videolan.org/developers/libdvbcsa.html
endef

define Package/libdvbcsa/description
    libdvbcsa is a free implementation of the DVB Common Scrambling
    Algorithm - DVB/CSA - with encryption and decryption capabilities
endef

CONFIGURE_ARGS += \
    --enable-shared \
    --enable-static \


TARGET_LDFLAGS += \
    -ldvbcsa

define Build/InstallDev
    $(INSTALL_DIR) $(1)/usr/include/dvbcsa
    $(INSTALL_DIR) $(1)/usr/lib
    $(INSTALL_DATA) \
        $(PKG_INSTALL_DIR)/usr/include/dvbcsa/*.h \
        $(1)/usr/include/dvbcsa/
    $(CP) \
         $(PKG_INSTALL_DIR)/usr/lib/*.* \
         $(1)/usr/lib/

endef

define Package/libdvbcsa/install
    $(INSTALL_DIR) $(1)/usr/lib
    $(CP) \
        $(PKG_INSTALL_DIR)/usr/lib/*.* \
        $(1)/usr/lib/
endef

$(eval $(call BuildPackage,libdvbcsa))

teraz jeszcze zabawa z tvheadend 3.3 smile

82

Odp: TVheadend dla wr1043dn

Zaraz pierwszy punkt - nie zainstalowałeś kmod-input-core, kmod-ir-core. Więc nie robisz wg opisu smile

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

83 (edytowany przez zdzichu6969 2013-02-02 15:35:41)

Odp: TVheadend dla wr1043dn

ls /lib/modules/3.3.8/ | grep core
Nie masz?
Muszą byc, ładujesz je po prostu ręcznie


@odpowiedz do skasowanego postu

RB760iGS + RB260GS / Ryzen 5 2660 / 16G DDR4 / MiniITX - Inea 1G (https://i.imgur.com/TLbJVDw.png)
RB951-2HnD / Celeron J1900 / 4G DDR3 / MiniITX - Satpol 100M

84 (edytowany przez Szymon_Zy 2013-02-02 17:06:30)

Odp: TVheadend dla wr1043dn

Mam tak w /etc/rc.local

insmod dvb-core
insmod dvb-usb
insmod dvb-usb-it913x

it913x wymaga

root@Gargoyle:/lib/modules/3.3.8# strings /lib/modules/3.3.8/dvb-usb-it913x.ko  | grep depends
depends=dvb-usb,usbcore,rc-core

dmesg pokazuje:

[  104.870000] it913x: Chip Version=02 Chip Type=9135
[  104.880000] it913x: Firmware Version 52887808
[  104.880000] it913x: Dual mode=0 Remote=1 Tuner Type=0
[  104.890000] dvb-usb: found a 'ITE 9135(9006) Generic' in warm state.
[  104.890000] dvb-usb: will use the device's hardware PID filter (table count: 31).
[  104.900000] DVB: registering new adapter (ITE 9135(9006) Generic)
[  104.920000] DVB: Unable to find symbol it913x_fe_attach()
[  104.920000] dvb-usb: no frontend was attached by 'ITE 9135(9006) Generic'
[  104.930000] Couldn't load IR keymap rc-msi-digivox-iii
[  104.940000] Registered IR keymap rc-empty
[  104.940000] input: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-platform/usb1/1-1/1-1.2/rc/rc0/input0
[  104.950000] rc0: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-platform/usb1/1-1/1-1.2/rc/rc0
[  104.960000] dvb-usb: schedule remote query interval to 250 msecs.
[  104.970000] dvb-usb: ITE 9135(9006) Generic successfully initialized and connected.
[  104.980000] it913x: DEV registering device driver
[  104.980000] it913x: Chip Version=02 Chip Type=9135
[  105.000000] it913x: Firmware Version 52887808
[  105.000000] it913x: Dual mode=0 Remote=1 Tuner Type=0
[  105.010000] dvb-usb: found a 'ITE 9135(9006) Generic' in warm state.
[  105.010000] dvb-usb: will use the device's hardware PID filter (table count: 31).
[  105.030000] DVB: registering new adapter (ITE 9135(9006) Generic)
[  105.040000] DVB: Unable to find symbol it913x_fe_attach()
[  105.040000] dvb-usb: no frontend was attached by 'ITE 9135(9006) Generic'
[  105.060000] Couldn't load IR keymap rc-msi-digivox-iii
[  105.060000] Registered IR keymap rc-empty
[  105.070000] input: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-platform/usb1/1-1/1-1.2/rc/rc1/input1
[  105.080000] rc1: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-platform/usb1/1-1/1-1.2/rc/rc1
[  105.090000] dvb-usb: schedule remote query interval to 250 msecs.
[  105.090000] dvb-usb: ITE 9135(9006) Generic successfully initialized and connected.
[  105.100000] it913x: DEV registering device driver
[  105.110000] usbcore: registered new interface driver it913x

Czyli nie zna funkcji

[  104.920000] DVB: Unable to find symbol it913x_fe_attach()

i stąd nie powstaje frontend.

Załadowane mam moduły:

root@Gargoyle:/lib/modules/3.3.8# lsmod
Module                  Size  Used by    Tainted: G
dvb_usb_it913x          9328  0
dvb_usb                13536  1 dvb_usb_it913x
dvb_core               70240  1 dvb_usb
fuse                   51088  0
sierra                  6736  0
option                 15104  1
cdc_ncm                 6448  0
usb_wwan                6560  1 option
cdc_ether               2992  0
ums_usbat               7360  0
ums_sddr55              4752  0
ums_sddr09              8704  0
ums_karma               1456  0
ums_jumpshot            3584  0
ums_isd200              4912  0
ums_freecom             1872  0
ums_datafab             4592  0
ums_cypress             2064  0
ums_alauda              8240  0
usbserial              23792  5 sierra,option,usb_wwan
usblp                   8288  0
usbnet                 12032  2 cdc_ncm,cdc_ether
cdc_acm                11456  0
rc_core                 9392  4 dvb_usb_it913x,dvb_usb
ath79_wdt               2240  1
ledtrig_usbdev          2032  0
ledtrig_netdev          3184  0
xt_set                  3056 10
ip_set_list_set         4800  0
ip_set_hash_netport    22512  0
ip_set_hash_netiface    22880  0
ip_set_hash_net        20288  1
ip_set_hash_ipportnet    23904  0
ip_set_hash_ipportip    18976  0
ip_set_hash_ipport     17936  0
ip_set_hash_ip         16336  0
ip_set_bitmap_port      4160  0
ip_set_bitmap_ipmac     4816  0
ip_set_bitmap_ip        4864  0
ip_set                 17936 12 xt_set,ip_set_list_set,ip_set_hash_netport,ip_set_hash_netiface,ip_set_hash_net,ip_set_hash_ipportnet,ip_set_hash_ipportip,ip_set_hash_ipport,ip_set_hash_ip,ip_set_bitmap_port,ip_set_bitmap_ipmac,ip_set_bitmap_ip
ebt_among               1968  0
ebt_802_3                592  0
nfnetlink               1680  1 ip_set
xt_IMQ                   624  0
imq                     5024  0
ipt_weburl             13296  0
ipt_webmon             12528  0
ipt_timerange            784  0
nf_nat_tftp              400  0
nf_conntrack_tftp       2352  1 nf_nat_tftp
nf_nat_snmp_basic       6912  0
nf_conntrack_snmp        656  1 nf_nat_snmp_basic
nf_nat_sip              5088  0
nf_conntrack_sip       15872  1 nf_nat_sip
nf_nat_pptp             1312  0
nf_conntrack_pptp       3072  1 nf_nat_pptp
nf_nat_h323             4544  0
nf_conntrack_h323      33200  1 nf_nat_h323
nf_nat_proto_gre         784  1 nf_nat_pptp
nf_conntrack_proto_gre     2368  1 nf_conntrack_pptp
nf_nat_amanda            608  0
nf_conntrack_amanda     1536  1 nf_nat_amanda
nf_conntrack_broadcast      752  1 nf_conntrack_snmp
nf_nat_irc               784  0
nf_conntrack_irc        2464  1 nf_nat_irc
nf_nat_ftp               976  0
nf_conntrack_ftp        4416  1 nf_nat_ftp
xt_iprange               896  0
xt_HL                   1200  0
xt_hl                    720  0
xt_ecn                  1168  0
ipt_ECN                 1264  0
xt_CLASSIFY              496  0
xt_time                 1456  0
xt_tcpmss                912  0
xt_statistic             688  0
xt_mark                  592  0
xt_length                608  0
xt_DSCP                 1360  0
xt_dscp                  912  0
xt_string                672  0
xt_layer7               8944  0
xt_quota                 656  0
xt_pkttype               528  0
xt_physdev              1248  0
xt_owner                 592  0
ipt_bandwidth          17600 20
ipt_REDIRECT             576  0
ipt_NETMAP               592  0
ipt_MASQUERADE           976  1
iptable_nat             2544  1
nf_nat                 10256 12 nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_h323,nf_nat_proto_gre,nf_nat_amanda,nf_nat_irc,nf_nat_ftp,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,iptable_nat
xt_recent               5680  0
xt_helper                784  0
xt_connmark              960  0
xt_connbytes            1424  0
pptp                   13296  0
pppoe                   7488  0
xt_conntrack            2048  3
xt_CT                   1216  0
xt_NOTRACK               448  0
iptable_raw              560  1
xt_state                 608  0
nf_conntrack_ipv4       4384  6 iptable_nat,nf_nat
nf_defrag_ipv4           656  1 nf_conntrack_ipv4
nf_conntrack           38320 30 nf_nat_tftp,nf_conntrack_tftp,nf_nat_snmp_basic,nf_conntrack_snmp,nf_nat_sip,nf_conntrack_sip,nf_nat_pptp,nf_conntrack_pptp,nf_nat_h323,nf_conntrack_h323,nf_conntrack_proto_gre,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_broadcast,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,xt_layer7,ipt_MASQUERADE,iptable_nat,nf_nat,xt_helper,xt_connmark,xt_connbytes,xt_conntrack,xt_CT,xt_NOTRACK,xt_state,nf_conntrack_ipv4
pppox                   1152  2 pptp,pppoe
ipt_REJECT              1808  2
xt_TCPMSS               2560  1
ipt_LOG                 6160  0
xt_comment               400  0
xt_multiport            1104  0
xt_mac                   528  0
xt_limit                 944  1
iptable_mangle           832  1
iptable_filter           592  1
ip_tables               9440  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
nfsd                   69648  0
nfs                   124704  0
msdos                   5520  0
gre                      896  1 pptp
tun                    10640  0
ppp_async               5952  1
ppp_generic            18848  8 pptp,pppoe,pppox,ppp_async
slhc                    4368  1 ppp_generic
vfat                    7824  0
fat                    41728  2 msdos,vfat
lockd                  55552  2 nfsd,nfs
sunrpc                149216  4 nfsd,nfs,lockd
ath9k                  85024  0
ath9k_common            1152  1 ath9k
ath9k_hw              329024  2 ath9k,ath9k_common
ath                    12480  3 ath9k,ath9k_common,ath9k_hw
nls_utf8                 784  0
nls_koi8_r              3824  0
nls_iso8859_2           3312  0
nls_iso8859_15          3312  0
nls_iso8859_13          3312  0
nls_iso8859_1           2800  0
nls_cp866               3824  0
nls_cp852               3568  0
nls_cp850               3568  0
nls_cp775               3824  0
nls_cp437               4336  0
nls_cp1251              3568  0
nls_cp1250              3824  0
mac80211              254208  1 ath9k
ts_fsm                  2496  0
ts_bm                   1344  0
ts_kmp                  1264  5
crc_ccitt                944  1 ppp_async
exportfs                2608  1 nfsd
cfg80211              154304  2 ath9k,mac80211
compat                  5776  5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
input_core             20016  4 dvb_usb,rc_core
arc4                     768  2
aes_generic            29808  4
usb_storage            33136 12 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda
ehci_hcd               33616  0
sd_mod                 22240  3
ext4                  237664  1
jbd2                   37248  1 ext4
mbcache                 3504  1 ext4
usbcore                99168 25 dvb_usb_it913x,dvb_usb,sierra,option,cdc_ncm,usb_wwan,cdc_ether,ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,usbserial,usblp,usbnet,cdc_acm,ledtrig_usbdev,usb_storage,ehci_hcd
usb_common               480  1 usbcore
scsi_mod               69888  3 ums_cypress,usb_storage,sd_mod
nls_base                4640 16 vfat,fat,nls_utf8,nls_koi8_r,nls_iso8859_2,nls_iso8859_15,nls_iso8859_13,nls_iso8859_1,nls_cp866,nls_cp852,nls_cp850,nls_cp775,nls_cp437,nls_cp1251,nls_cp1250,usbcore
crc16                    944  1 ext4
crypto_algapi           9200  2 arc4,aes_generic
ledtrig_timer           1072  0
ledtrig_default_on       416  0
leds_gpio               1552  0
gpio_button_hotplug     3216  0

I za cholere nie wiem o co biega .... zgłupiałem.

root@Gargoyle:/lib/modules/3.3.8# insmod rc-core
insmod: can't insert 'rc-core': File exists
root@Gargoyle:/lib/modules/3.3.8# insmod dvb-usb
insmod: can't insert 'dvb-usb': File exists
root@Gargoyle:/lib/modules/3.3.8# insmod usbcore
insmod: can't insert 'usbcore': File exists

85

Odp: TVheadend dla wr1043dn

ls /lib/modules/3.3.8/
pokaz

RB760iGS + RB260GS / Ryzen 5 2660 / 16G DDR4 / MiniITX - Inea 1G (https://i.imgur.com/TLbJVDw.png)
RB951-2HnD / Celeron J1900 / 4G DDR3 / MiniITX - Satpol 100M

86

Odp: TVheadend dla wr1043dn

root@Gargoyle:/lib/modules/3.3.8# ls
act_ipt.ko                 iptable_filter.ko          sch_netem.ko
act_mirred.ko              iptable_mangle.ko          sch_prio.ko
act_police.ko              iptable_nat.ko             sch_red.ko
act_skbedit.ko             iptable_raw.ko             sch_sfq.ko
aes_generic.ko             jbd2.ko                    sch_tbf.ko
arc4.ko                    leds-gpio.ko               sch_teql.ko
ath.ko                     ledtrig-default-on.ko      scsi_mod.ko
ath79_wdt.ko               ledtrig-netdev.ko          sd_mod.ko
ath9k.ko                   ledtrig-timer.ko           sierra.ko
ath9k_common.ko            ledtrig-usbdev.ko          slhc.ko
ath9k_hw.ko                lockd.ko                   sunrpc.ko
cdc-acm.ko                 mac80211.ko                ts_bm.ko
cdc_ether.ko               mbcache.ko                 ts_fsm.ko
cdc_ncm.ko                 msdos.ko                   ts_kmp.ko
cfg80211.ko                nf_conntrack.ko            tun.ko
cls_basic.ko               nf_conntrack_amanda.ko     ums-alauda.ko
cls_flow.ko                nf_conntrack_broadcast.ko  ums-cypress.ko
cls_fw.ko                  nf_conntrack_ftp.ko        ums-datafab.ko
cls_route.ko               nf_conntrack_h323.ko       ums-freecom.ko
cls_tcindex.ko             nf_conntrack_ipv4.ko       ums-isd200.ko
cls_u32.ko                 nf_conntrack_irc.ko        ums-jumpshot.ko
compat.ko                  nf_conntrack_pptp.ko       ums-karma.ko
crc-ccitt.ko               nf_conntrack_proto_gre.ko  ums-sddr09.ko
crc16.ko                   nf_conntrack_sip.ko        ums-sddr55.ko
crypto_algapi.ko           nf_conntrack_snmp.ko       ums-usbat.ko
dvb-core.ko                nf_conntrack_tftp.ko       usb-common.ko
dvb-usb-it913x.ko          nf_defrag_ipv4.ko          usb-storage.ko
dvb-usb.ko                 nf_nat.ko                  usb_wwan.ko
ebt_802_3.ko               nf_nat_amanda.ko           usbcore.ko
ebt_among.ko               nf_nat_ftp.ko              usblp.ko
ehci-hcd.ko                nf_nat_h323.ko             usbnet.ko
em_cmp.ko                  nf_nat_irc.ko              usbserial.ko
em_meta.ko                 nf_nat_pptp.ko             vfat.ko
em_nbyte.ko                nf_nat_proto_gre.ko        xt_CLASSIFY.ko
em_text.ko                 nf_nat_sip.ko              xt_CT.ko
em_u32.ko                  nf_nat_snmp_basic.ko       xt_DSCP.ko
exportfs.ko                nf_nat_tftp.ko             xt_HL.ko
ext4.ko                    nfnetlink.ko               xt_IMQ.ko
fat.ko                     nfs.ko                     xt_NOTRACK.ko
fuse.ko                    nfsd.ko                    xt_TCPMSS.ko
gpio-button-hotplug.ko     nls_base.ko                xt_comment.ko
gre.ko                     nls_cp1250.ko              xt_connbytes.ko
imq.ko                     nls_cp1251.ko              xt_connmark.ko
input-core.ko              nls_cp437.ko               xt_conntrack.ko
ip_gre.ko                  nls_cp775.ko               xt_dscp.ko
ip_set.ko                  nls_cp850.ko               xt_ecn.ko
ip_set_bitmap_ip.ko        nls_cp852.ko               xt_helper.ko
ip_set_bitmap_ipmac.ko     nls_cp866.ko               xt_hl.ko
ip_set_bitmap_port.ko      nls_iso8859-1.ko           xt_iprange.ko
ip_set_hash_ip.ko          nls_iso8859-13.ko          xt_layer7.ko
ip_set_hash_ipport.ko      nls_iso8859-15.ko          xt_length.ko
ip_set_hash_ipportip.ko    nls_iso8859-2.ko           xt_limit.ko
ip_set_hash_ipportnet.ko   nls_koi8-r.ko              xt_mac.ko
ip_set_hash_net.ko         nls_utf8.ko                xt_mark.ko
ip_set_hash_netiface.ko    option.ko                  xt_multiport.ko
ip_set_hash_netport.ko     ppp_async.ko               xt_owner.ko
ip_set_list_set.ko         ppp_generic.ko             xt_physdev.ko
ip_tables.ko               pppoe.ko                   xt_pkttype.ko
ipt_ECN.ko                 pppox.ko                   xt_quota.ko
ipt_LOG.ko                 pptp.ko                    xt_recent.ko
ipt_MASQUERADE.ko          rc-core.ko                 xt_set.ko
ipt_NETMAP.ko              sch_codel.ko               xt_state.ko
ipt_REDIRECT.ko            sch_dsmark.ko              xt_statistic.ko
ipt_REJECT.ko              sch_fq_codel.ko            xt_string.ko
ipt_bandwidth.ko           sch_gred.ko                xt_tcpmss.ko
ipt_timerange.ko           sch_hfsc.ko                xt_time.ko
ipt_webmon.ko              sch_htb.ko
ipt_weburl.ko              sch_ingress.ko
root@Gargoyle:/lib/modules/3.3.8#

87

Odp: TVheadend dla wr1043dn

insmod dvb-core.ko
insmod dvb-usb.ko
insmod dvb-usb-it913x.ko
i działać musi.

RB760iGS + RB260GS / Ryzen 5 2660 / 16G DDR4 / MiniITX - Inea 1G (https://i.imgur.com/TLbJVDw.png)
RB951-2HnD / Celeron J1900 / 4G DDR3 / MiniITX - Satpol 100M

88

Odp: TVheadend dla wr1043dn

No to nie działa. Coś jest nie tak z dependencies pomiędzy modułami. Sprawdzę to na dużym linuxie.

89

Odp: TVheadend dla wr1043dn

it913x-fe nie masz załadowanego.

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

90 (edytowany przez Szymon_Zy 2013-02-02 18:14:12)

Odp: TVheadend dla wr1043dn

insmod dvb-core.ko
insmod dvb-usb.ko
insmod it913x-fe.ko
insmod dvb-usb-it913x.ko

dmesg

[ 6762.020000] dvb-usb: no frontend was attached by 'ITE 9135(9006) Generic'

po reboocie

insmod dvb-usb-it913x.ko
insmod: can't insert 'dvb-usb-it913x.ko': unknown symbol in module, or unknown parameter

91

Odp: TVheadend dla wr1043dn

A ładuje sie sterownik w ogole ?

RB760iGS + RB260GS / Ryzen 5 2660 / 16G DDR4 / MiniITX - Inea 1G (https://i.imgur.com/TLbJVDw.png)
RB951-2HnD / Celeron J1900 / 4G DDR3 / MiniITX - Satpol 100M

92

Odp: TVheadend dla wr1043dn

@Szymon_Zy: pewnie potrzebujesz jeszcze jeden z tych modułów: tda*, stb* stv* itd. Który - zależy co na karcie jest.
Podłącz do dużego linuksa i zobaczysz co się automatem załaduje.

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

93 (edytowany przez Szymon_Zy 2013-02-02 19:26:25)

Odp: TVheadend dla wr1043dn

Ok, w nocy  przełoże i zobaczymy. Jak będzie gotowy plik to warto dorzucić do Twojego opisu. Bo it9135 jest chyba najpopularniejszy.

Na razie mam lsmod z drugiego identycznego (prawie bo ma inna obudowe, ale ten sam vid i pid chodzi caly czas na ubuntu server):

Module                  Size  Used by
rfcomm                 37277  16
bnep                   17708  2
parport_pc             31969  0
ppdev                  12818  0
snd_intel8x0           33107  3
snd_ac97_codec        105652  1 snd_intel8x0
arc4                   12474  2
ac97_bus               12671  1 snd_ac97_codec
snd_pcm                80235  2 snd_intel8x0,snd_ac97_codec
snd_seq_midi           13133  0
b43                   347311  0
snd_rawmidi            25383  1 snd_seq_midi
btusb                  17987  0
snd_seq_midi_event     14476  1 snd_seq_midi
it913x_fe              38664  1
i915                  457247  3
snd_seq                51281  2 snd_seq_midi,snd_seq_midi_event
bluetooth             183270  22 rfcomm,bnep,btusb
snd_timer              24412  2 snd_pcm,snd_seq
snd_seq_device         14138  3 snd_seq_midi,snd_rawmidi,snd_seq
pcmcia                 39545  0
drm_kms_helper         47304  1 i915
drm                   238811  4 i915,drm_kms_helper
mac80211              461203  1 b43
dvb_usb_it913x         17748  2
snd                    62146  13 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
yenta_socket           27096  0
dvb_usb                23637  1 dvb_usb_it913x
soundcore              14600  1 snd
pcmcia_rsrc            18192  1 yenta_socket
snd_page_alloc         14037  2 snd_intel8x0,snd_pcm
pcmcia_core            21506  3 pcmcia,yenta_socket,pcmcia_rsrc
i2c_algo_bit           13198  1 i915
dvb_core               98655  1 dvb_usb
cfg80211              175574  2 b43,mac80211
lpc_ich                16926  0
psmouse                84878  0
joydev                 17162  0
rc_core                21267  2 dvb_usb_it913x,dvb_usb
acer_wmi               27587  0
serio_raw              13032  0
sparse_keymap          13659  1 acer_wmi
bcma                   34484  1 b43
microcode              18210  0
lp                     13300  0
wmi                    18591  1 acer_wmi
mac_hid                13038  0
video                  18848  2 i915,acer_wmi
parport                40754  3 parport_pc,ppdev,lp
hid_generic            12485  0
8139too                23072  0
8139cp                 26620  0
ssb                    50088  1 b43
usbhid                 41734  0
hid                    82179  2 hid_generic,usbhid
usb_storage            39351  1

94

Odp: TVheadend dla wr1043dn

af9105 raczej IMO. Jak znajdziesz gotowy potrzeby zestaw to podziel się nim, przyda się dla innych.

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

95 (edytowany przez Szymon_Zy 2013-02-02 21:08:43)

Odp: TVheadend dla wr1043dn

usbhid                 41734  0
hid                    82179  1 usbhid
it913x_fe              38664  2
dvb_usb_it913x         17748  0
dvb_usb                23637  1 dvb_usb_it913x
dvb_core               98655  1 dvb_usb
rc_core                21267  2 dvb_usb_it913x,dvb_usb

To są nowe moduły na Ubuntu po podłączeniu tego tunera.
Hid i usbhid są spoza tych, które ładowałem. Są gdzieś skompilowane lub w jakimś pakiecie?

Ok. kmod-hid, kmod-usb-hid ale .....
dmesg daje:

[ 5347.030000] dvb_usb_it913x: Unknown symbol dvb_usb_device_init (err 0)
[ 5347.040000] dvb_usb_it913x: Unknown symbol dvb_usb_device_exit (err 0)

Za to zarejestował się pilot jako hid. Czegoś jeszcze brakuje hmm

96

Odp: TVheadend dla wr1043dn

Tak, w kmod-hid/kmod-usb-hid, ale one nie do tego.
Pokaż cały wynik lsmod

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

97

Odp: TVheadend dla wr1043dn

OpenWrt:

 lsmod
Module                  Size  Used by    Tainted: G
usbhid                 20656  0
hid                    64000  1 usbhid
evdev                   7008  0
it913x_fe              27728  0
fuse                   51088  0
sierra                  6736  0
option                 15104  1
cdc_ncm                 6448  0
usb_wwan                6560  1 option
cdc_ether               2992  0
ums_usbat               7360  0
ums_sddr55              4752  0
ums_sddr09              8704  0
ums_karma               1456  0
ums_jumpshot            3584  0
ums_isd200              4912  0
ums_freecom             1872  0
ums_datafab             4592  0
ums_cypress             2064  0
ums_alauda              8240  0
usbserial              23792  5 sierra,option,usb_wwan
usblp                   8288  0
usbnet                 12032  2 cdc_ncm,cdc_ether
cdc_acm                11456  0
rc_core                 9392  0
ath79_wdt               2240  1
ledtrig_usbdev          2032  0
ledtrig_netdev          3184  0
xt_set                  3056 10
ip_set_list_set         4800  0
ip_set_hash_netport    22512  0
ip_set_hash_netiface    22880  0
ip_set_hash_net        20288  1
ip_set_hash_ipportnet    23904  0
ip_set_hash_ipportip    18976  0
ip_set_hash_ipport     17936  0
ip_set_hash_ip         16336  0
ip_set_bitmap_port      4160  0
ip_set_bitmap_ipmac     4816  0
ip_set_bitmap_ip        4864  0
ip_set                 17936 12 xt_set,ip_set_list_set,ip_set_hash_netport,ip_set_hash_netiface,ip_set_hash_net,ip_set_hash_ipportnet,ip_set_hash_ipportip,ip_set_hash_ipport,ip_set_hash_ip,ip_set_bitmap_port,ip_set_bitmap_ipmac,ip_set_bitmap_ip
ebt_among               1968  0
ebt_802_3                592  0
nfnetlink               1680  1 ip_set
xt_IMQ                   624  0
imq                     5024  0
ipt_weburl             13296  0
ipt_webmon             12528  0
ipt_timerange            784  0
nf_nat_tftp              400  0
nf_conntrack_tftp       2352  1 nf_nat_tftp
nf_nat_snmp_basic       6912  0
nf_conntrack_snmp        656  1 nf_nat_snmp_basic
nf_nat_sip              5088  0
nf_conntrack_sip       15872  1 nf_nat_sip
nf_nat_pptp             1312  0
nf_conntrack_pptp       3072  1 nf_nat_pptp
nf_nat_h323             4544  0
nf_conntrack_h323      33200  1 nf_nat_h323
nf_nat_proto_gre         784  1 nf_nat_pptp
nf_conntrack_proto_gre     2368  1 nf_conntrack_pptp
nf_nat_amanda            608  0
nf_conntrack_amanda     1536  1 nf_nat_amanda
nf_conntrack_broadcast      752  1 nf_conntrack_snmp
nf_nat_irc               784  0
nf_conntrack_irc        2464  1 nf_nat_irc
nf_nat_ftp               976  0
nf_conntrack_ftp        4416  1 nf_nat_ftp
xt_iprange               896  0
xt_HL                   1200  0
xt_hl                    720  0
xt_ecn                  1168  0
ipt_ECN                 1264  0
xt_CLASSIFY              496  0
xt_time                 1456  0
xt_tcpmss                912  0
xt_statistic             688  0
xt_mark                  592  0
xt_length                608  0
xt_DSCP                 1360  0
xt_dscp                  912  0
xt_string                672  0
xt_layer7               8944  0
xt_quota                 656  0
xt_pkttype               528  0
xt_physdev              1248  0
xt_owner                 592  0
ipt_bandwidth          17600 20
ipt_REDIRECT             576  0
ipt_NETMAP               592  0
ipt_MASQUERADE           976  1
iptable_nat             2544  1
nf_nat                 10256 12 nf_nat_tftp,nf_nat_sip,nf_nat_pptp,nf_nat_h323,nf_nat_proto_gre,nf_nat_amanda,nf_nat_irc,nf_nat_ftp,ipt_REDIRECT,ipt_NETMAP,ipt_MASQUERADE,iptable_nat
xt_recent               5680  0
xt_helper                784  0
xt_connmark              960  0
xt_connbytes            1424  0
pptp                   13296  0
pppoe                   7488  0
xt_conntrack            2048  3
xt_CT                   1216  0
xt_NOTRACK               448  0
iptable_raw              560  1
xt_state                 608  0
nf_conntrack_ipv4       4384  6 iptable_nat,nf_nat
nf_defrag_ipv4           656  1 nf_conntrack_ipv4
nf_conntrack           38320 30 nf_nat_tftp,nf_conntrack_tftp,nf_nat_snmp_basic,nf_conntrack_snmp,nf_nat_sip,nf_conntrack_sip,nf_nat_pptp,nf_conntrack_pptp,nf_nat_h323,nf_conntrack_h323,nf_conntrack_proto_gre,nf_nat_amanda,nf_conntrack_amanda,nf_conntrack_broadcast,nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,xt_layer7,ipt_MASQUERADE,iptable_nat,nf_nat,xt_helper,xt_connmark,xt_connbytes,xt_conntrack,xt_CT,xt_NOTRACK,xt_state,nf_conntrack_ipv4
pppox                   1152  2 pptp,pppoe
ipt_REJECT              1808  2
xt_TCPMSS               2560  1
ipt_LOG                 6160  0
xt_comment               400  0
xt_multiport            1104  0
xt_mac                   528  0
xt_limit                 944  1
iptable_mangle           832  1
iptable_filter           592  1
ip_tables               9440  4 iptable_nat,iptable_raw,iptable_mangle,iptable_filter
nfsd                   69648  0
nfs                   124704  0
msdos                   5520  0
gre                      896  1 pptp
tun                    10640  0
ppp_async               5952  1
ppp_generic            18848  8 pptp,pppoe,pppox,ppp_async
slhc                    4368  1 ppp_generic
vfat                    7824  0
fat                    41728  2 msdos,vfat
lockd                  55552  2 nfsd,nfs
sunrpc                149216  4 nfsd,nfs,lockd
ath9k                  85024  0
ath9k_common            1152  1 ath9k
ath9k_hw              329024  2 ath9k,ath9k_common
ath                    12480  3 ath9k,ath9k_common,ath9k_hw
nls_utf8                 784  0
nls_koi8_r              3824  0
nls_iso8859_2           3312  0
nls_iso8859_15          3312  0
nls_iso8859_13          3312  0
nls_iso8859_1           2800  0
nls_cp866               3824  0
nls_cp852               3568  0
nls_cp850               3568  0
nls_cp775               3824  0
nls_cp437               4336  0
nls_cp1251              3568  0
nls_cp1250              3824  0
mac80211              254208  1 ath9k
ts_fsm                  2496  0
ts_bm                   1344  0
ts_kmp                  1264  5
crc_ccitt                944  1 ppp_async
exportfs                2608  1 nfsd
cfg80211              154304  2 ath9k,mac80211
compat                  5776  5 ath9k,ath9k_common,ath9k_hw,mac80211,cfg80211
input_core             20016  5 usbhid,hid,evdev,rc_core
arc4                     768  2
aes_generic            29808  4
usb_storage            33136 12 ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda
ehci_hcd               33616  0
sd_mod                 22240  3
ext4                  237664  1
jbd2                   37248  1 ext4
mbcache                 3504  1 ext4
usbcore                99168 24 usbhid,sierra,option,cdc_ncm,usb_wwan,cdc_ether,ums_usbat,ums_sddr55,ums_sddr09,ums_karma,ums_jumpshot,ums_isd200,ums_freecom,ums_datafab,ums_cypress,ums_alauda,usbserial,usblp,usbnet,cdc_acm,ledtrig_usbdev,usb_storage,ehci_hcd
usb_common               480  1 usbcore
scsi_mod               69888  3 ums_cypress,usb_storage,sd_mod
nls_base                4640 16 vfat,fat,nls_utf8,nls_koi8_r,nls_iso8859_2,nls_iso8859_15,nls_iso8859_13,nls_iso8859_1,nls_cp866,nls_cp852,nls_cp850,nls_cp775,nls_cp437,nls_cp1251,nls_cp1250,usbcore
crc16                    944  1 ext4
crypto_algapi           9200  2 arc4,aes_generic
ledtrig_timer           1072  0
ledtrig_default_on       416  0
leds_gpio               1552  0
gpio_button_hotplug     3216  0

Ubuntu bez tunera:

Module                  Size  Used by
rfcomm                 37277  12
parport_pc             31969  0
bnep                   17708  2
ppdev                  12818  0
snd_intel8x0           33107  0
snd_ac97_codec        105652  1 snd_intel8x0
arc4                   12474  2
ac97_bus               12671  1 snd_ac97_codec
btusb                  17987  0
snd_pcm                80235  2 snd_intel8x0,snd_ac97_codec
snd_seq_midi           13133  0
bluetooth             183270  22 rfcomm,bnep,btusb
b43                   347311  0
snd_rawmidi            25383  1 snd_seq_midi
snd_seq_midi_event     14476  1 snd_seq_midi
i915                  457247  2
snd_seq                51281  2 snd_seq_midi,snd_seq_midi_event
snd_timer              24412  2 snd_pcm,snd_seq
snd_seq_device         14138  3 snd_seq_midi,snd_rawmidi,snd_seq
pcmcia                 39545  0
drm_kms_helper         47304  1 i915
mac80211              461203  1 b43
drm                   238811  3 i915,drm_kms_helper
snd                    62146  7 

snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
yenta_socket           27096  0
soundcore              14600  1 snd
pcmcia_rsrc            18192  1 yenta_socket
cfg80211              175574  2 b43,mac80211
snd_page_alloc         14037  2 snd_intel8x0,snd_pcm
pcmcia_core            21506  3 pcmcia,yenta_socket,pcmcia_rsrc
i2c_algo_bit           13198  1 i915
lpc_ich                16926  0
psmouse                84878  0
joydev                 17162  0
acer_wmi               27587  0
bcma                   34484  1 b43
microcode              18210  0
sparse_keymap          13659  1 acer_wmi
serio_raw              13032  0
wmi                    18591  1 acer_wmi
mac_hid                13038  0
lp                     13300  0
video                  18848  2 i915,acer_wmi
parport                40754  3 parport_pc,ppdev,lp
ssb                    50088  1 b43
8139too                23072  0
8139cp                 26620  0
usb_storage            39351  1

Ubuntu z tunerem

Module                  Size  Used by
usbhid                 41734  0
hid                    82179  1 usbhid
it913x_fe              38664  2
dvb_usb_it913x         17748  0
dvb_usb                23637  1 dvb_usb_it913x
dvb_core               98655  1 dvb_usb
rc_core                21267  2 dvb_usb_it913x,dvb_usb
rfcomm                 37277  12
parport_pc             31969  0
bnep                   17708  2
ppdev                  12818  0
snd_intel8x0           33107  0
snd_ac97_codec        105652  1 snd_intel8x0
arc4                   12474  2
ac97_bus               12671  1 snd_ac97_codec
btusb                  17987  0
snd_pcm                80235  2 snd_intel8x0,snd_ac97_codec
snd_seq_midi           13133  0
bluetooth             183270  22 rfcomm,bnep,btusb
b43                   347311  0
snd_rawmidi            25383  1 snd_seq_midi
snd_seq_midi_event     14476  1 snd_seq_midi
i915                  457247  2
snd_seq                51281  2 snd_seq_midi,snd_seq_midi_event
snd_timer              24412  2 snd_pcm,snd_seq
snd_seq_device         14138  3 snd_seq_midi,snd_rawmidi,snd_seq
pcmcia                 39545  0
drm_kms_helper         47304  1 i915
mac80211              461203  1 b43
drm                   238811  3 i915,drm_kms_helper
snd                    62146  7 

snd_intel8x0,snd_ac97_codec,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
yenta_socket           27096  0
soundcore              14600  1 snd
pcmcia_rsrc            18192  1 yenta_socket
cfg80211              175574  2 b43,mac80211
snd_page_alloc         14037  2 snd_intel8x0,snd_pcm
pcmcia_core            21506  3 pcmcia,yenta_socket,pcmcia_rsrc
i2c_algo_bit           13198  1 i915
lpc_ich                16926  0
psmouse                84878  0
joydev                 17162  0
acer_wmi               27587  0
bcma                   34484  1 b43
microcode              18210  0
sparse_keymap          13659  1 acer_wmi
serio_raw              13032  0
wmi                    18591  1 acer_wmi
mac_hid                13038  0
lp                     13300  0
video                  18848  2 i915,acer_wmi
parport                40754  3 parport_pc,ppdev,lp
ssb                    50088  1 b43
8139too                23072  0
8139cp                 26620  0
usb_storage            39351  1

dmesg z Ubuntu:

[  131.092198] usb 1-7: new high-speed USB device number 4 using ehci_hcd
[  131.228651] usb 1-7: New USB device found, idVendor=048d, idProduct=9006
[  131.228660] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  131.228667] usb 1-7: Product: DVB-T TV Stick
[  131.228674] usb 1-7: Manufacturer: ITE Technologies, Inc.
[  131.349022] it913x: Chip Version=02 Chip Type=9135
[  131.350507] it913x: Remote HID mode NOT SUPPORTED
[  131.350884] it913x: Dual mode=0 Tuner Type=60
[  131.352216] dvb-usb: found a 'ITE 9135(9006) Generic' in cold state, will try to 

load a firmware
[  131.373008] dvb-usb: downloading firmware from file 'dvb-usb-it9135-02.fw'
[  131.374757] it913x: FRM Starting Firmware Download
[  131.590124] it913x: FRM Firmware Download Completed - Resetting Device
[  131.625270] it913x: Chip Version=02 Chip Type=9135
[  131.625765] it913x: Firmware Version 52887808
[  131.696403] dvb-usb: found a 'ITE 9135(9006) Generic' in warm state.
[  131.698150] dvb-usb: will use the device's hardware PID filter (table count: 31).
[  131.698560] DVB: registering new adapter (ITE 9135(9006) Generic)
[  131.752143] it913x-fe: ADF table value       :00
[  131.756897] it913x-fe: Crystal Frequency :12000000 Adc Frequency :20250000 ADC X2: 

01
[  131.792514] it913x-fe: Tuner LNA type :60
[  132.039392] DVB: registering adapter 0 frontend 0 (ITE 9135(9006) Generic_1)...
[  132.040994] dvb-usb: ITE 9135(9006) Generic successfully initialized and 

connected.
[  132.040999] it913x: DEV registering device driver
[  132.041507] it913x: Chip Version=02 Chip Type=9135
[  132.041880] it913x: Firmware Version 52887808
[  132.043378] it913x: Remote HID mode NOT SUPPORTED
[  132.043879] it913x: Dual mode=0 Tuner Type=60
[  132.043886] dvb-usb: found a 'ITE 9135(9006) Generic' in warm state.
[  132.043990] dvb-usb: will use the device's hardware PID filter (table count: 31).
[  132.046432] DVB: registering new adapter (ITE 9135(9006) Generic)
[  132.049723] it913x-fe: ADF table value       :00
[  132.054706] it913x-fe: Crystal Frequency :12000000 Adc Frequency :20250000 ADC X2: 

01
[  132.094142] it913x-fe: Tuner LNA type :60
[  132.227518] DVB: registering adapter 1 frontend 0 (ITE 9135(9006) Generic_1)...
[  132.229247] dvb-usb: ITE 9135(9006) Generic successfully initialized and 

connected.
[  132.229253] it913x: DEV registering device driver
[  132.230841] usbcore: registered new interface driver it913x
[  132.344281] usbcore: registered new interface driver usbhid
[  132.344288] usbhid: USB HID core driver

98 (edytowany przez Szymon_Zy 2013-02-02 22:37:12)

Odp: TVheadend dla wr1043dn

Ok. Działa:

/etc/rc.local musi iść w kolejności:

insmod dvb-core
insmod dvb-usb
insmod it913x-fe
insmod dvb-usb-it913x

do tego doinstalowane moduły hid i usb-hid. Inaczej klapa.


Coś jest nie tak z tvheadend:

Feb  2 22:24:06 Gargoyle daemon.alert tvheadend[3967]: START: Configuration path /etc/tvheadend is not read/write:able by user (UID:1, GID:1) -- Permission denied
Feb  2 22:24:06 Gargoyle daemon.debug tvheadend[3967]: config: no configuration, loading defaults

taki jest efekt po wywołaniu z -f -s.

Szybki fix do /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 -u root -f -c /etc/tvheadend
}

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

Dobra to teraz jak wyedytować extroot bo mi dyski skaczą na /dev/sdX?

99 (edytowany przez andersik 2013-02-02 22:56:35)

Odp: TVheadend dla wr1043dn

Z takiego /etc/init.d/tvheadend ja korzystam

#!/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() {
    logger "Starting TV Headend"
    [ -d /media/video ] || mkdir -p /media/video
    [ -d /etc/config/tvheadend ] || mkdir -p /etc/config/tvheadend
    service_start /usr/bin/tvheadend -f -c /etc/config/tvheadend -u root -C
}

stop() {
    logger "Shutting down TV Headend"
    service_stop /usr/bin/tvheadend
}

a to kod do zbudowania lidvbcsa wersja ostateczna :

#
# Copyright (C) 2006-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

include $(TOPDIR)/rules.mk

PKG_NAME:=libdvbcsa
PKG_VERSION:=1.1.0
PKG_RELEASE:=1

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://download.videolan.org/pub/videolan/libdvbcsa/${PKG_VERSION}/ \
PKG_MD5SUM:=478ab1ca56ca58d2667da6ce22f74e39


PKG_FIXUP:=autoreconf

include $(INCLUDE_DIR)/package.mk

PKG_INSTALL:=1

define Package/libdvbcsa
  SECTION:=libs
  CATEGORY:=Libraries
  TITLE:=libdvbcsa - DVB/CSA - with encryption and decryption capabilities
  URL:=http://www.videolan.org/developers/libdvbcsa.html
endef

define Package/libdvbcsa/description
    libdvbcsa is a free implementation of the DVB Common Scrambling
    Algorithm - DVB/CSA - with encryption and decryption capabilities
endef

CONFIGURE_ARGS += \
    --enable-shared \
    --enable-static \

TARGET_CFLAGS += $(FPIC)

define Build/InstallDev
    $(INSTALL_DIR) $(1)/usr/include/dvbcsa
    $(INSTALL_DIR) $(1)/usr/lib
    $(INSTALL_DATA) \
        $(PKG_INSTALL_DIR)/usr/include/dvbcsa/*.h \
        $(1)/usr/include/dvbcsa/
    $(CP) \
         $(PKG_INSTALL_DIR)/usr/lib/libdvbcsa.{so*,a,la} \
         $(1)/usr/lib/

endef

define Package/libdvbcsa/install
    $(INSTALL_DIR) $(1)/usr/lib
    $(CP) \
        $(PKG_INSTALL_DIR)/usr/lib/libdvbcsa.{so*,a,la} \
        $(1)/usr/lib/
endef

$(eval $(call BuildPackage,libdvbcsa))

100 (edytowany przez Sly 2013-02-08 18:09:20)

Odp: TVheadend dla wr1043dn

Hej,

Zainstalowałem sterownik i TVHeadEnd ale napotkałem na problem przy obsłudze thheadenda.

W momencie gdy chcę wybrać adapter nie pojawia się nic.

tvheadend pokazuje bląd:

Feb 07 18:59:23 [ERROR]:webui: failed to open src/webui/static/extjs/adapter/ext/ext-base.js
Feb 07 18:59:23 [ERROR]:HTTP: 192.168.1.198: /static/extjs/adapter/ext/ext-base.js -- 500

Feb 07 18:59:35 [ERROR]:webui: failed to open src/webui/static/extjs/resources/images/default/tabs/tabs-sprite.gif
Feb 07 18:59:35 [ERROR]:HTTP: 192.168.1.198: /static/extjs/resources/images/default/tabs/tabs-sprite.gif -- 500

Natomiast dmesg pokazuje(dwie instancje tunera?):

 39.030000] usbcore: registered new interface driver ums-alauda
[   39.060000] usbcore: registered new interface driver ums-cypress
[   39.080000] usbcore: registered new interface driver ums-datafab
[   39.150000] usbcore: registered new interface driver ums-freecom
[   39.180000] usbcore: registered new interface driver ums-isd200
[   39.200000] usbcore: registered new interface driver ums-jumpshot
[   39.230000] usbcore: registered new interface driver ums-karma
[   39.260000] usbcore: registered new interface driver ums-sddr09
[   39.280000] usbcore: registered new interface driver ums-sddr55
[   39.310000] usbcore: registered new interface driver ums-usbat
[   39.510000] it913x: Chip Version=02 Chip Type=9135
[   39.520000] it913x: Firmware Version 52887808
[   39.520000] it913x: Dual mode=0 Remote=1 Tuner Type=60
[   39.530000] dvb-usb: found a 'ITE 9135(9006) Generic' in warm state.
[   39.540000] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   39.560000] DVB: registering new adapter (ITE 9135(9006) Generic)
[   39.570000] it913x-fe: ADF table value       :00
[   40.770000] it913x-fe: Crystal Frequency :12000000 Adc Frequency :20250000 ADC X2: 01
[   40.770000] dvb-usb: no frontend was attached by 'ITE 9135(9006) Generic'
[   40.780000] Couldn't load IR keymap rc-msi-digivox-iii
[   40.790000] Registered IR keymap rc-empty
[   40.790000] input: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-platform/usb1/1-1/1-1.4/rc/rc0/input0
[   40.800000] rc0: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-platform/usb1/1-1/1-1.4/rc/rc0
[   40.810000] dvb-usb: schedule remote query interval to 250 msecs.
[   40.820000] dvb-usb: ITE 9135(9006) Generic successfully initialized and connected.
[   40.830000] it913x: DEV registering device driver
[   40.830000] it913x: Chip Version=02 Chip Type=9135
[   40.840000] it913x: Firmware Version 52887808
[   40.840000] it913x: Dual mode=0 Remote=1 Tuner Type=60
[   40.850000] dvb-usb: found a 'ITE 9135(9006) Generic' in warm state.
[   40.850000] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[   40.880000] DVB: registering new adapter (ITE 9135(9006) Generic)
[   40.880000] it913x-fe: ADF table value       :00
[   41.270000] dvb-usb: error -145 while querying for an remote control event.
[   41.720000] dvb-usb: error -145 while querying for an remote control event.
[   41.970000] it913x-fe: Crystal Frequency :12000000 Adc Frequency :20250000 ADC X2: 01
[   41.970000] dvb-usb: no frontend was attached by 'ITE 9135(9006) Generic'
[   41.980000] Couldn't load IR keymap rc-msi-digivox-iii
[   41.990000] Registered IR keymap rc-empty
[   41.990000] input: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-platform/usb1/1-1/1-1.4/rc/rc1/input1
[   42.000000] rc1: IR-receiver inside an USB DVB receiver as /devices/platform/ehci-platform/usb1/1-1/1-1.4/rc/rc1
[   42.010000] dvb-usb: schedule remote query interval to 250 msecs.
[   42.020000] dvb-usb: ITE 9135(9006) Generic successfully initialized and connected.
[   42.030000] it913x: DEV registering device driver
[   42.030000] usbcore: registered new interface driver it913x
[   42.140000] USB Serial support registered for GSM modem (1-port)