Autor Thema: Probleme mit OpenWRT & MediaTV Digital Home III  (Gelesen 3695 mal)

David

  • Newbie
  • *
  • Beiträge: 12
    • Profil anzeigen
Probleme mit OpenWRT & MediaTV Digital Home III
« am: Januar 31, 2022, 11:57:33 Nachmittag »
Vorweg: Ich denke, dass das Problem nichts mit dem Stick zu tun.

Mit dem Sundtek Mediaserver kann ich problemlos zu VLC auf einem anderen Computer streamen.

Leider schaffen es weder TVHeadend noch minisatip mit dem Stick zu arbeiten.

Nachdem ich mit Google nicht mehr weiterkomme, würde ich gerne wissen, ob mir jemand hier weiterhelfen könnte, oder mich zumindest in die richtige Richtung schicken könnte. Vielen Dank schon mal!


Relevante Zeilen aus den logs:


# tvheadend -B -c /etc/tvheadend --ipv6 -d
2022-01-31 21:25:43.718 [   INFO] main: Log started
2022-01-31 21:25:43.719 [   INFO] http: Starting HTTP server :::9981
2022-01-31 21:25:43.720 [   INFO] htsp: Starting HTSP server :::9982
2022-01-31 21:25:43.893 [   INFO] config: loaded
2022-01-31 21:25:43.894 [   INFO] config: scanfile (re)initialization with path <none>
2022-01-31 21:25:43.900 [  DEBUG] fsmonitor: watch /dev
2022-01-31 21:25:43.900 [  DEBUG] fsmonitor: watch /dev/dvb
2022-01-31 21:25:44.599 [   INFO] scanfile: DVB-S - loaded 1 regions with 115 networks
2022-01-31 21:25:44.599 [   INFO] scanfile: DVB-T - loaded 44 regions with 1124 networks
2022-01-31 21:25:44.599 [   INFO] scanfile: DVB-C - loaded 19 regions with 64 networks
2022-01-31 21:25:44.599 [   INFO] scanfile: ATSC-T - loaded 2 regions with 12 networks
2022-01-31 21:25:44.599 [   INFO] scanfile: ATSC-C - loaded 1 regions with 5 networks
2022-01-31 21:25:44.599 [   INFO] scanfile: ISDB-T - loaded 2 regions with 1297 networks
2022-01-31 21:25:46.574 [  ERROR] linuxdvb: unable to open /dev/dvb/adapter0/frontend0



# minisatip -f -vdvb
[31/01 21:26:25.403]: Adapter sources format parameter missing, using defaults for all adapters!
[31/01 21:26:25.404]: minisatip version 1.0-unknown, compiled in Jan 23 2022 10:30:30, with s2api version: 050B
[31/01 21:26:25.404]: Built without dvbcsa
[31/01 21:26:25.404]: Built without CI
[31/01 21:26:25.404]: Built with dvbapi
[31/01 21:26:25.404]: Built without AES (OpenSSL)
[31/01 21:26:25.404]: Built with tables processing
[31/01 21:26:25.404]: Built with pmt processing
[31/01 21:26:25.404]: Built with satip client
[31/01 21:26:25.405]: Built with linux dvb client
[31/01 21:26:25.405]: Built without backtrace
[31/01 21:26:25.405]: Built without netceiver
[31/01 21:26:25.405]: Built without ddci
[31/01 21:26:25.405]: Built without t2mi
[31/01 21:26:25.405]: New TCP listening socket 3 at 0:0:0:0:554, family 2
[31/01 21:26:25.405]: New TCP listening socket 4 at 0:0:0:0:8080, family 2
[31/01 21:26:25.406]: New UDP socket 5 bound to 0.0.0.0:1900
[31/01 21:26:25.406]: setting multicast for 239.255.255.250
[31/01 21:26:25.406]: New UDP socket 6 bound to 239.255.255.250:1900 (mcast:239.255.255.250)
[31/01 21:26:25.406]: sockets_add: handle 5 (type 0) returning socket sock 0 [:0] read: 0x405adf
[31/01 21:26:25.406]: sockets_add: handle 6 (type 0) returning socket sock 1 [:0] read: 0x405adf
[31/01 21:26:25.406]: sockets_add: handle 3 (type 2) returning socket sock 2 [:0] read: 0x4079f7
[31/01 21:26:25.407]: sockets_add: handle 4 (type 2) returning socket sock 3 [:0] read: 0x4079f7
[31/01 21:26:25.407]: sockets_add: handle -2 (type 0) returning socket sock 4 [:0] read: 0x405adf
[31/01 21:26:25.407]: sockets_add: handle -2 (type 0) returning socket sock 5 [:0] read: 0x405adf
[31/01 21:26:25.407]: set_socket_thread: thread 7f53d5cd8940 for sockets 5
[31/01 21:26:25.407]: sockets_add: handle -2 (type 0) returning socket sock 6 [:0] read: 0x405adf
[31/01 21:26:25.407]: starting init_all_hw 0
[31/01 21:26:25.407]: find_dvb_adapter: adding 0 0 to the list of devices
[31/01 21:26:25.446]: trying to open [ 0 ] adapter 0 and frontend 0
[31/01 21:26:25.512]: Could not open /dev/dvb/adapter0/frontend0 in RW mode (fe: -1, dvr: -1) error 6: No such device or address
[31/01 21:26:25.512]: Opening adapter 0 failed with error 1
[31/01 21:26:25.512]: opening adapter 0 failed with exit code 1537
[31/01 21:26:25.513]: Failed to init device 0 with return value 1
[31/01 21:26:25.513]: done init_hw 0


Stick: MediaTV Digital Home III (2013)
Hardware: PC engines Apu2 (x64)
System: OpenWRT 21.02.1 (x64/musl)


# /opt/bin/mediasrv --build
Build date: 2021-08-03 07:12:24

# /opt/bin/mediaclient -e
**** List of Media Hardware Devices ****
device 0: [MediaTV Pro Digital Home (EU)]  DVB-C, DVB-T, DVB-T2, REMOTE-CONTROL
  [INFO]:
     STATUS: STANDBY
  [BUS]:
     ID: 2-1
  [SERIAL]:
     ID: U140117024729
  [DVB-C,DVB-T,DVB-T2]:
     FRONTEND: /dev/dvb/adapter0/frontend0
     DVR: /dev/dvb/adapter0/dvr0
     DMX: /dev/dvb/adapter0/demux0
  [REMOTECONTROL]:
     INPUT0: /dev/mediainput0

# /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

# ll -h /dev/dvb/adapter0
drwxrwxrwx    2 root     root         100 Jan 31 20:46 ./
drwxrwxrwx    3 root     root          60 Jan 31 20:46 ../
crwxrwxrwx    1 root     root      212,   3 Jan 31 20:46 demux0
crwxrwxrwx    1 root     root      212,   5 Jan 31 20:46 dvr0
crwxrwxrwx    1 root     root      212,   1 Jan 31 20:46 frontend0
« Letzte Änderung: Februar 01, 2022, 12:13:55 Vormittag von David »

David

  • Newbie
  • *
  • Beiträge: 12
    • Profil anzeigen
Re: Probleme mit OpenWRT & MediaTV Digital Home III
« Antwort #1 am: Februar 01, 2022, 12:32:09 Vormittag »
Ah, mit LD_PRELOAD=/opt/lib/libmediaclient.so funktioniert alles :)

Sundtek

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 8604
    • Profil anzeigen
Re: Probleme mit OpenWRT & MediaTV Digital Home III
« Antwort #2 am: Februar 01, 2022, 02:37:26 Nachmittag »
Super, Problem selber gelöst.

Ja das mit dem Preload wird benötigt um Unabhängig vom Kernel zu bleiben, somit muss man sich nicht mit der Kompilierung auf dem System rumplagen.
Failure is a good thing! I'll fix it