Autor Thema: ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found  (Gelesen 29577 mal)

K405

  • Newbie
  • *
  • Beiträge: 5
    • Profil anzeigen
ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« am: September 18, 2014, 02:28:47 Nachmittag »
Dear Sundtek Support, forum members,

I can't get tvheadend to see my DVBC USB Stick.
The TV Adapters pull down menu stays empty no matter what.

Setup:
  • Asus RT-N66U
  • Sundtek MediaTV Digital Home III (DVB-C/T/T2)
  • Sitecom CN-050 4 port USB HUB externally powered
  • asuswrt-merlin
  • entware

admin@RT-N66U:/tmp/mnt/MYPART/home/admin# /opt/bin/mediaclient -e
**** List of Media Hardware Devices ****
device 0: [MediaTV Digital Home III (EU)]  DVB-C, DVB-T, DVB-T2, REMOTE-CONTROL
  [INFO]:
     STATUS: STANDBY
  [BUS]:
     ID: 1-1.1.3
  [SERIAL]:
     ID: U140903175457
  [DVB-C]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [DVB-T]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [DVB-T2]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0

admin@RT-N66U:/tmp/mnt/MYPART/home/admin# ldd mediaclient
        /opt/lib/libmediaclient.so => /opt/lib/libmediaclient.so (0x2aabf000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x2ab13000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x2ab32000)
        libc.so.0 => /lib/libc.so.0 (0x2ab54000)
        libdl.so.0 => /lib/libdl.so.0 (0x2abad000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
admin@RT-N66U:/tmp/mnt/MYPART/home/admin# ldd mediasrv
        /opt/lib/libmediaclient.so => /opt/lib/libmediaclient.so (0x2aabf000)
        libdl.so.0 => /lib/libdl.so.0 (0x2ab13000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x2ab26000)
        libc.so.0 => /lib/libc.so.0 (0x2ab48000)
        ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x2aaa8000)
admin@RT-N66U:/tmp/mnt/MYPART/home/admin# ldd tvheadend
        libssl.so.1.0.0 => /opt/lib/libssl.so.1.0.0 (0x2aac0000)
        libcrypto.so.1.0.0 => /opt/lib/libcrypto.so.1.0.0 (0x2ab23000)
        libz.so.1 => /opt/lib/libz.so.1 (0x2ac8f000)
        libcurl.so.4 => /opt/lib/libcurl.so.4 (0x2acb3000)
        librt.so.0 => /opt/lib/librt.so.0 (0x2ad12000)
        libdl.so.0 => /opt/lib/libdl.so.0 (0x2ad26000)
        libpthread.so.0 => /opt/lib/libpthread.so.0 (0x2ad39000)
        libm.so.0 => /opt/lib/libm.so.0 (0x2ad5e000)
        libc.so.0 => /opt/lib/libc.so.0 (0x2ad7a000)
        libgcc_s.so.1 => /opt/lib/libgcc_s.so.1 (0x2ae2a000)
        librtmp.so.0 => /opt/lib/librtmp.so.0 (0x2ae4d000)
        ld-uClibc.so.0 => /opt/lib/ld-uClibc.so.0 (0x2aaa8000)
admin@RT-N66U:/tmp/mnt/MYPART/home/admin#
admin@RT-N66U:/tmp/mnt/MYPART/home/admin# /opt/bin/mediaclient --lc
**** List of Media Clients ****
/dev/dvb/adapter0/frontend0:
  No client connected
/dev/dvb/adapter0/dvr0:
  No client connected
/dev/dvb/adapter0/demux0:
  No client connected
/dev/mediainput0:
  No client connected

admin@RT-N66U:/tmp/mnt/MYPART/home/admin#

And this is how I start tvheadend:

admin@RT-N66U:/tmp/mnt/MYPART/etc/tvheadend# export
export HOME='/root'
export LD_PRELOAD='/opt/lib/libmediaclient.so'
export LOGNAME='admin'
export OLDPWD='/tmp/home/root'
export PATH='/opt/usr/sbin:/opt/sbin:/opt/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin'
export PS1='\u@\h:\w\$ '
export PWD='/opt/etc/tvheadend'
export SHELL='/bin/sh'
export SSH_TTY='/dev/pts/1'
export TEMP='/opt/tmp'
export TERM='xterm'
export TMP='/opt/tmp'
export USER='admin'
admin@RT-N66U:/tmp/mnt/MYPART/etc/tvheadend# uname -a
Linux RT-N66U 2.6.22.19 #1 Fri Apr 18 15:32:03 EDT 2014 mips GNU/Linux
admin@RT-N66U:/tmp/mnt/MYPART/etc/tvheadend# tvheadend -C -u admin -g root -c /opt/etc/tvheadend
Sep 18 14:15:37.399 [   INFO]:epggrab: module pyepg created
Sep 18 14:15:37.402 [   INFO]:epggrab: module xmltv created
Sep 18 14:15:37.422 [   INFO]:epggrab: module /opt/bin/tv_grab_wl500g_info created
Sep 18 14:15:37.455 [   INFO]:epggrab: module /opt/bin/tv_grab_wl500g_info_toffset created
Sep 18 14:15:37.464 [   INFO]:epgdb: loaded v2
Sep 18 14:15:37.470 [   INFO]:epgdb:   channels   0
Sep 18 14:15:37.476 [   INFO]:epgdb:   brands     0
Sep 18 14:15:37.482 [   INFO]:epgdb:   seasons    0
Sep 18 14:15:37.489 [   INFO]:epgdb:   episodes   0
Sep 18 14:15:37.494 [   INFO]:epgdb:   broadcasts 0
Sep 18 14:15:37.500 [   INFO]:dvr: Creating new configuration ''
Sep 18 14:15:37.507 [WARNING]:dvr: Output directory for video recording is not yet configured for DVR configuration "". Defaulting to to "/root". This can be changed from the web user interface.
Sep 18 14:15:37.512 [ NOTICE]:START: HTS Tvheadend version  started, running as PID:2422 UID:0 GID:0, settings located in '/opt/etc/tvheadend'



Please help me getting this fixed.
Thanks for your time.

Regards,

Marc
« Letzte Änderung: September 18, 2014, 02:42:35 Nachmittag von K405 »

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #1 am: September 18, 2014, 02:31:09 Nachmittag »
Hi,

did you compile tvheadend by yourself?

Failure is a good thing! I'll fix it

K405

  • Newbie
  • *
  • Beiträge: 5
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #2 am: September 18, 2014, 02:40:54 Nachmittag »
Hi,

No I didn't.

admin@RT-N66U:/tmp/mnt/MYPART/home/admin# opkg list|grep tvheadend
tvheadend - 3.4patch1-0.1 - Tvheadend is a TV streaming server for Linux supporting DVB, ATSC, IPTV, and Analog video (V4L) as input sources. Can be used as a backend to Showtime, XBMC and various other clients.
admin@RT-N66U:/tmp/mnt/MYPART/home/admin#

Also:

admin@RT-N66U:/tmp/mnt/MYPART/home/admin# /opt/bin/mediaclient -m DVBC -f 404000000 -M Q256 -S 6875000
Using device: /dev/dvb/adapter0/frontend0
Checking for lock:
. [LOCKED]
admin@RT-N66U:/tmp/mnt/MYPART/home/admin# /opt/bin/mediaclient --tsscan /dev/dvb/adapter0/dvr0
Timed out after 10 seconds
admin@RT-N66U:/tmp/mnt/MYPART/home/admin# /opt/bin/mediaclient -e
admin@RT-N66U:/tmp/mnt/MYPART/home/admin#

I have installed the driver using the net installer script with -admin in the end.

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #3 am: September 18, 2014, 02:42:06 Nachmittag »
can you contact us via Skype-chat (sundtek) or our webchat http://chat.sundtek.de

Skype is preferred.
Failure is a good thing! I'll fix it

K405

  • Newbie
  • *
  • Beiträge: 5
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #4 am: September 18, 2014, 02:56:13 Nachmittag »
I've added you to my Skype contacts and I'm logged on to Skype right now.

K405

  • Newbie
  • *
  • Beiträge: 5
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #5 am: September 29, 2014, 06:01:53 Vormittag »
Well, it's been a nightmare so far..  ;D

Bricked my RT-N66U trying to get DD-WRT installed. So that's gonna get RMA'd.
Switched to Rasberry Pi Model B+/OpenElec/TVHeadend, first results success!
But I understand running TVHeadend on Pi is too heavy for the Pi also had the Sundtek directly in the USB port but was getting the under-voltage Rainbow square.

So took an external powered USB HUB next hobby session but the DVB-C stick couldn't be found in XBMC anymore.  :(

So went over to a Windows laptop to give it a shot with media-portal 1.9.0 Pre Release. Installed the latest Windows drivers http://www.sundtek.de/media/sundtek_driver_windows_mtvIII_2014-04-16.zip. Installs fine but media-portal TV server only sees type: DVB-T while I need DVB-C enabled.

Am I missing something?

Thanks again.
« Letzte Änderung: September 29, 2014, 06:04:11 Vormittag von K405 »

K405

  • Newbie
  • *
  • Beiträge: 5
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #6 am: September 29, 2014, 01:08:49 Nachmittag »
I'm running media-portal on Windows 7 Ultimate and noticed that you need to run MePo TV-Server Configuration as administrator. Both DVB-T & DVB-C Sundtek tuners are then displayed.

Anyway my local computer store gave me a new ASUS RT-N66U as they couldn't recover the one I bricked either..  ::)

Flashed latest stable Merlin again. Will install entware again and come back here for help when I find the time as it should be possible to get it running with this setup and I really want to find out how well this HW combo will perform. 8)

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #7 am: September 30, 2014, 09:36:09 Vormittag »
I removed my last answer, if you need any further assistance just contact us via Skype (sundtek).
Failure is a good thing! I'll fix it

michel30

  • Newbie
  • *
  • Beiträge: 19
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #8 am: Dezember 07, 2014, 10:16:57 Nachmittag »
Hello all,

Who can help me.

I install the sundtek on my asus rt-n66u but I have some problems.

What I did:

$ wget http://www.sundtek.de/media/sundtek_netinst.sh
$ chmod 755 sundtek_netinst.sh
$ ./sundtek_netinst.sh admin

mediaclient --enablenetwork=on

now it works on my asus router, I can use my dreambox to connect it.

BUT the problem is, when I close my terminal session from my mac true my asus router the mediaclient stop and my dreambox don't have the connection true the stick.

When I do again the complete process it works again, tail I close my ssh connection from the asus and it stops.


 

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #9 am: Dezember 15, 2014, 06:15:16 Nachmittag »
did you solve your problem?
Failure is a good thing! I'll fix it

michel30

  • Newbie
  • *
  • Beiträge: 19
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #10 am: Dezember 15, 2014, 08:27:45 Nachmittag »
Hello,

No I did not.

It is running when I leave my ssh connection open with my mac, but when I exit my session than it stops also the dvb-c stick.

But when my terminal is open, than it works very good.

Regards,
Michel

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #11 am: Dezember 16, 2014, 02:05:40 Vormittag »



how about this one?

Run the driver from the Merlin Firmware menu?

eg. if the driver is installed in /tmp/opt/bin

you can run it like this:
/tmp/opt/bin/mediasrv -d

-d will kick it into the background.


or this one if you are using dd-wrt:

http://www.dd-wrt.com/wiki/index.php/Startup_Scripts
« Letzte Änderung: Dezember 16, 2014, 02:08:26 Vormittag von Sundtek »
Failure is a good thing! I'll fix it

michel30

  • Newbie
  • *
  • Beiträge: 19
    • Profil anzeigen
Re:ASUS RT-N66U Merlin entware Home III (DVB-C/T/T2) tvheadend no adapter found
« Antwort #12 am: Dezember 16, 2014, 08:28:52 Nachmittag »
Hello,

Unfurttenly it not works

This is what I do:

Login with ssh on my asus router.

> wget http://www.sundtek.de/media/sundtek_netinst.sh

> chmod 755 sundtek_netinst.sh

> ./sundtek_netinst.sh -admin

> mediaclient --enablenetwork=on &

Now my box have the connection with the stick.
When exit the ssh connection with the asus router, the box stops no screen any more from the dvb-c stick

I also try the first steps again and after that this command:

> /tmp/opt/bin/mediasrv -d

When exit the ssh connection with the asus router, the box stops no screen any more from the dvc-c stick

it works only when I do all first steps, without exit the console with my asus router ( ssh).

In your screenshot I see run cmd but on my asus router I don't have but you have also the merlin firmware in it.