1
Sundtek MediaTV Pro (Europe) / Problems with OpenWRT + TP-Link TL-WR1043ND and native DVB software
« am: Juli 16, 2011, 04:04:34 Nachmittag »
I'm currently experimenting with a MediaTV Home stick on a TP-Link TL-WR1043ND router running OpenWRT Backfire 10.03.1 RC5. My end goal is getting the stick and tvheadend running natively on the router. I'm having some problems, short version: driver works, DVB software doesn't.
I've installed the latest driver by unpacking it on my Linux dev box and copying over /opt/bin/mediaclient, /opt/bin/mediasrv, /opt/lib/*.so. The driver seems to be working fine, I can tune and lock using mediaclient.
I've also compiled and installed w_scan and tvheadend. Both applications cannot access /dev/dvb/adapter0/frontend0. w_scan example:
I've tried LD_PRELOAD=/opt/lib/libmediaclient.so w_scan ... but this produces the same result. I've run strace and it seems that libmediaclient.so is not preloaded, i.e. the dynamic linker ignores LD_PRELOAD. As the driver needs this lib to intercept syscalls to the device tree it seems that running DVB apps is a no-go.
I've also tried this on a OpenWRT bleeding edge trunk image, with the same result.
Does anyone have positive experiences getting DVB apps to run on OpenWRT on this router or a similar router (e.g. WNDR-3700)?
I've installed the latest driver by unpacking it on my Linux dev box and copying over /opt/bin/mediaclient, /opt/bin/mediasrv, /opt/lib/*.so. The driver seems to be working fine, I can tune and lock using mediaclient.
I've also compiled and installed w_scan and tvheadend. Both applications cannot access /dev/dvb/adapter0/frontend0. w_scan example:
Code: [Auswählen]
root@OpenWrt:/# w_scan -f c -c NL -X > channels-`date +%Y%m%d`.conf
w_scan version 20110306 (compiled for DVB API 5.2)
using settings for NETHERLANDS
DVB cable
DVB-C
frontend_type DVB-C, channellist 7
output format czap/tzap/szap/xine
Info: using DVB adapter auto detection.
main:3078: FATAL: ***** NO USEABLE DVB CARD FOUND. *****
Please check wether dvb driver is loaded and
verify that no dvb application (i.e. vdr) is running.
I've tried LD_PRELOAD=/opt/lib/libmediaclient.so w_scan ... but this produces the same result. I've run strace and it seems that libmediaclient.so is not preloaded, i.e. the dynamic linker ignores LD_PRELOAD. As the driver needs this lib to intercept syscalls to the device tree it seems that running DVB apps is a no-go.
I've also tried this on a OpenWRT bleeding edge trunk image, with the same result.
Does anyone have positive experiences getting DVB apps to run on OpenWRT on this router or a similar router (e.g. WNDR-3700)?