catalinii / minisatip

minisatip is an SATIP server for linux using local DVB-S2, DVB-C, DVB-T or ATSC cards
https://minisatip.org
327 stars 81 forks source link

No connection on EyeTV on Mac OS X #220

Closed REELcoder closed 8 years ago

REELcoder commented 8 years ago

EyeTV does not find minisatip. I see the SSDPs and then the GET desc.xml but the application keeps mentioning "No Network / IPTV SAT>IP Server devices connected"

I hope it is not due to netceiver stuff..

[03/01 23:19:51.000 main]: minisatip version 0.5.10, compiled with s2api version: 050A
[03/01 23:19:51.002 main]: New UDP socket 3 bound to 0.0.0.0:1900
[03/01 23:19:51.002 main]: setting multicast for 239.255.255.250
[03/01 23:19:51.002 main]: New UDP socket 4 bound to 239.255.255.250:1900
[03/01 23:19:51.003 main]: Mutex init 0x10047e9c
[03/01 23:19:51.003 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101cf450
[03/01 23:19:51.003 main]: Mutex init 0x101cf454
[03/01 23:19:51.003 main]: sockets_add: handle 3 (type 0) returning socket index 0 [0.0.0.0:0] read: 0x10005f84
[03/01 23:19:51.004 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101cf4e8
[03/01 23:19:51.004 main]: Mutex init 0x101cf4ec
[03/01 23:19:51.004 main]: sockets_add: handle 4 (type 0) returning socket index 1 [0.0.0.0:0] read: 0x10005f84
[03/01 23:19:51.004 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101cf840
[03/01 23:19:51.004 main]: Mutex init 0x101cf844
[03/01 23:19:51.004 main]: sockets_add: handle 5 (type 2) returning socket index 2 [0.0.0.0:0] read: 0x10005dc0
[03/01 23:19:51.004 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101cf8d8
[03/01 23:19:51.004 main]: Mutex init 0x101cf8dc
[03/01 23:19:51.004 main]: sockets_add: handle 6 (type 2) returning socket index 3 [0.0.0.0:0] read: 0x10005dc0
[03/01 23:19:51.005 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101cf970
[03/01 23:19:51.005 main]: Mutex init 0x101cf974
[03/01 23:19:51.005 main]: sockets_add: handle -2 (type 0) returning socket index 4 [0.0.0.0:0] read: 0x10005f84
[03/01 23:19:51.005 main]: Mutex init 0x1004a354
[03/01 23:19:51.005 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101cfa08
[03/01 23:19:51.005 main]: Mutex init 0x101cfa0c
[03/01 23:19:51.005 main]: sockets_add: handle -2 (type 0) returning socket index 5 [0.0.0.0:0] read: 0x10005f84
[03/01 23:19:51.006 main]: Mutex init 0x10049c98
[03/01 23:19:51.006 main]: starting init_all_hw 0
[03/01 23:19:51.006 main]: Mutex init 0x10048738
REEL: Search for 2 Netceivers... ############
Found NetCeiver: fe80::208:54ff:fe54:70ae 
[03/01 23:19:53.1511 main]: netceiver.c:327 allocation_wrapper malloc allocated 3052 bytes at 0x101d01c8
  Tuner: Philips TDA10023 DVB-C, Type 1
[03/01 23:19:53.1511 main]: netceiver.c:327 allocation_wrapper malloc allocated 3052 bytes at 0x101d0db8
  Tuner: Philips TDA10023 DVB-C, Type 1
[03/01 23:19:53.1511 main]: netceiver.c:327 allocation_wrapper malloc allocated 3052 bytes at 0x101d19a8
  Tuner: Philips TDA10023 DVB-C, Type 1
Found NetCeiver: fe80::208:54ff:fe57:9e15 
[03/01 23:19:53.1511 main]: netceiver.c:327 allocation_wrapper malloc allocated 3052 bytes at 0x101d2598
  Tuner: Philips TDA10046H DVB-T, Type 2
  Tuner: Conexant CX24116 DVB-S2, Type 4
[03/01 23:19:53.1512 main]: netceiver.c:327 allocation_wrapper malloc allocated 3052 bytes at 0x101d3188
  Tuner: Conexant CX24116 DVB-S2, Type 4
[03/01 23:19:53.1512 main]: Mutex init 0x101d01cc
[03/01 23:19:53.1512 main]: adapter.c:159 allocation_wrapper malloc allocated 25014 bytes at 0x101d3d78
[03/01 23:19:53.1512 main]: deleting pids on adapter 0, sid -1, pids=NULL
[03/01 23:19:53.1512 main]: netceiver: add a new receiver instance for adapter 0
[03/01 23:19:53.1512 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101db000
[03/01 23:19:53.1512 main]: Mutex init 0x101db004
[03/01 23:19:53.1512 main]: sockets_add: handle 9 (type 5) returning socket index 6 [0.0.0.0:0] read: 0x10005ef0
[03/01 23:19:53.1512 main]: set_socket_thread: thread b62ff390 for sockets 6
[03/01 23:19:53.1512 main]: done opening adapter 0 fe_sys 1 0 0 0
[03/01 23:19:53.1512 main]: Mutex init 0x101d0dbc
[03/01 23:19:53.1512 main]: adapter.c:159 allocation_wrapper malloc allocated 25014 bytes at 0x101db130
[03/01 23:19:53.1512 main]: deleting pids on adapter 1, sid -1, pids=NULL
[03/01 23:19:53.1512 main]: netceiver: add a new receiver instance for adapter 1
[03/01 23:19:53.1512 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101e23b8
[03/01 23:19:53.1512 main]: Mutex init 0x101e23bc
[03/01 23:19:53.1512 main]: sockets_add: handle 11 (type 5) returning socket index 7 [0.0.0.0:0] read: 0x10005ef0
[03/01 23:19:53.1512 main]: set_socket_thread: thread b5aff390 for sockets 7
[03/01 23:19:53.1512 main]: done opening adapter 1 fe_sys 1 0 0 0
[03/01 23:19:53.1512 main]: Mutex init 0x101d19ac
[03/01 23:19:53.1513 main]: adapter.c:159 allocation_wrapper malloc allocated 25014 bytes at 0x101e24e8
[03/01 23:19:53.1514 main]: deleting pids on adapter 2, sid -1, pids=NULL
[03/01 23:19:53.1514 main]: netceiver: add a new receiver instance for adapter 2
[03/01 23:19:53.1514 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101e9770
[03/01 23:19:53.1514 main]: Mutex init 0x101e9774
[03/01 23:19:53.1514 main]: sockets_add: handle 13 (type 5) returning socket index 8 [0.0.0.0:0] read: 0x10005ef0
[03/01 23:19:53.1515 main]: set_socket_thread: thread b52ff390 for sockets 8
[03/01 23:19:53.1515 main]: done opening adapter 2 fe_sys 1 0 0 0
[03/01 23:19:53.1515 main]: Mutex init 0x101d259c
[03/01 23:19:53.1515 main]: adapter.c:159 allocation_wrapper malloc allocated 25014 bytes at 0x101e98a0
[03/01 23:19:53.1515 main]: deleting pids on adapter 3, sid -1, pids=NULL
[03/01 23:19:53.1515 main]: netceiver: add a new receiver instance for adapter 3
[03/01 23:19:53.1516 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101f0b28
[03/01 23:19:53.1516 main]: Mutex init 0x101f0b2c
[03/01 23:19:53.1516 main]: sockets_add: handle 15 (type 5) returning socket index 9 [0.0.0.0:0] read: 0x10005ef0
[03/01 23:19:53.1516 main]: set_socket_thread: thread b4aff390 for sockets 9
[03/01 23:19:53.1516 main]: done opening adapter 3 fe_sys 6 5 0 0
[03/01 23:19:53.1516 main]: Mutex init 0x101d318c
[03/01 23:19:53.1516 main]: adapter.c:159 allocation_wrapper malloc allocated 25014 bytes at 0x101f0c58
[03/01 23:19:53.1516 main]: deleting pids on adapter 4, sid -1, pids=NULL
[03/01 23:19:53.1517 main]: netceiver: add a new receiver instance for adapter 4
[03/01 23:19:53.1517 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101f7ee0
[03/01 23:19:53.1517 main]: Mutex init 0x101f7ee4
[03/01 23:19:53.1517 main]: sockets_add: handle 17 (type 5) returning socket index 10 [0.0.0.0:0] read: 0x10005ef0
[03/01 23:19:53.1517 main]: set_socket_thread: thread b42ff390 for sockets 10
[03/01 23:19:53.1517 main]: done opening adapter 4 fe_sys 6 5 0 0
[03/01 23:19:53.1517 main]: done init_hw 1
[03/01 23:19:53.1518 main]: Initializing with 5 devices
[03/01 23:19:53.1518 main]: Starting select_and_execute on thread ID b7ed9000, thread_name main
[03/01 23:19:53.1518 AD4]: Starting select_and_execute on thread ID b42ff390, thread_name AD4
[03/01 23:19:53.1518 AD3]: Starting select_and_execute on thread ID b4aff390, thread_name AD3
[03/01 23:19:53.1519 AD1]: Starting select_and_execute on thread ID b5aff390, thread_name AD1
[03/01 23:19:53.1519 AD2]: Starting select_and_execute on thread ID b52ff390, thread_name AD2
[03/01 23:19:53.1519 AD0]: Starting select_and_execute on thread ID b62ff390, thread_name AD0
[03/01 23:19:53.1618 main]: ssdp_discovery: bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:19:53.1619 main]: New TCP socket 20 connected to 127.0.0.1:9001
[03/01 23:19:53.1619 main]: utils.c:1148 allocation_wrapper malloc allocated 144 bytes at 0x101f8010
[03/01 23:19:53.1619 main]: Mutex init 0x101f8014
[03/01 23:19:53.1619 main]: sockets_add: handle 20 (type 1) returning socket index 11 [0.0.0.0:0] read: 0x10005ef0
[03/01 23:19:53.1621 main]: select_and_execute[11]: Connected on socket 20 (sid:-1) from 0.0.0.0:0 - type tcp errno 11
[03/01 23:19:53.1621 main]: dvbapi: server version 2 found, name = OSCam v1.20-unstable_svn, build r11205 (powerpc-linux-gnu)
[03/01 23:20:14.23091 main]: Received SSDP packet from 10.76.1.137:51807 -> handle 3
[03/01 23:20:14.23091 main]: ssdp_reply fd: 3 -> 10.76.1.137:51807, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:20:14.23091 main]: Received SSDP packet from 10.76.1.137:51807 -> handle 4
[03/01 23:20:14.23091 main]: ssdp_reply fd: 3 -> 10.76.1.137:51807, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:20:14.23103 main]: Received SSDP packet from 10.76.1.137:51807 -> handle 3
[03/01 23:20:14.23103 main]: ssdp_reply fd: 3 -> 10.76.1.137:51807, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:20:14.23103 main]: Received SSDP packet from 10.76.1.137:51807 -> handle 4
[03/01 23:20:14.23103 main]: ssdp_reply fd: 3 -> 10.76.1.137:51807, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:20:14.23189 main]: Received SSDP packet from 10.76.1.137:51807 -> handle 3
[03/01 23:20:14.23189 main]: ssdp_reply fd: 3 -> 10.76.1.137:51807, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:20:14.23189 main]: Received SSDP packet from 10.76.1.137:51807 -> handle 4
[03/01 23:20:14.23189 main]: ssdp_reply fd: 3 -> 10.76.1.137:51807, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:20:53.61609 AD3]: Requested adapter 3 close due to timeout, result 1 max_rtime 1517
[03/01 23:20:53.61609 AD3]: sockets_del: 9 -> handle 15, sid 3
[03/01 23:20:53.61609 AD3]: closing DVR socket -1 pos 9 aid 3
[03/01 23:20:53.61609 AD3]: closing adapter 3  -> fe:0 dvr:15
[03/01 23:20:53.61609 AD3]: netceiver: delete receiver instance for adapter 3
[03/01 23:20:53.61609 AD3]: adapter.c:645: get_adapter returns NULL for adapter_id 3
[03/01 23:20:53.61609 AD3]: adapter.c:464: get_adapter returns NULL for adapter_id 3
[03/01 23:20:53.61609 AD3]: done closing adapter 3
[03/01 23:20:53.61609 AD3]: sockets_del: 9 Last open socket is at index 11 current_handle 15
[03/01 23:20:53.61609 AD2]: Requested adapter 2 close due to timeout, result 1 max_rtime 1517
[03/01 23:20:53.61609 AD2]: sockets_del: 8 -> handle 13, sid 2
[03/01 23:20:53.61609 AD2]: closing DVR socket -1 pos 8 aid 2
[03/01 23:20:53.61609 AD2]: closing adapter 2  -> fe:0 dvr:13
[03/01 23:20:53.61609 AD2]: netceiver: delete receiver instance for adapter 2
[03/01 23:20:53.61609 AD2]: adapter.c:645: get_adapter returns NULL for adapter_id 2
[03/01 23:20:53.61609 AD2]: adapter.c:464: get_adapter returns NULL for adapter_id 2
[03/01 23:20:53.61609 AD2]: done closing adapter 2
[03/01 23:20:53.61609 AD2]: sockets_del: 8 Last open socket is at index 11 current_handle 13
[03/01 23:20:53.61609 AD1]: Requested adapter 1 close due to timeout, result 1 max_rtime 1517
[03/01 23:20:53.61609 AD1]: sockets_del: 7 -> handle 11, sid 1
[03/01 23:20:53.61609 AD1]: closing DVR socket -1 pos 7 aid 1
[03/01 23:20:53.61609 AD1]: closing adapter 1  -> fe:0 dvr:11
[03/01 23:20:53.61609 AD1]: netceiver: delete receiver instance for adapter 1
[03/01 23:20:53.61609 AD1]: adapter.c:645: get_adapter returns NULL for adapter_id 1
[03/01 23:20:53.61609 AD1]: adapter.c:464: get_adapter returns NULL for adapter_id 1
[03/01 23:20:53.61609 AD1]: done closing adapter 1
[03/01 23:20:53.61609 AD1]: sockets_del: 7 Last open socket is at index 11 current_handle 11
[03/01 23:20:53.61609 AD0]: Requested adapter 0 close due to timeout, result 1 max_rtime 1517
[03/01 23:20:53.61609 AD0]: sockets_del: 6 -> handle 9, sid 0
[03/01 23:20:53.61609 AD0]: closing DVR socket -1 pos 6 aid 0
[03/01 23:20:53.61609 AD0]: closing adapter 0  -> fe:0 dvr:9
[03/01 23:20:53.61609 AD0]: netceiver: delete receiver instance for adapter 0
[03/01 23:20:53.61609 AD0]: adapter.c:645: get_adapter returns NULL for adapter_id 0
[03/01 23:20:53.61609 AD0]: adapter.c:464: get_adapter returns NULL for adapter_id 0
[03/01 23:20:53.61609 AD0]: done closing adapter 0
[03/01 23:20:53.61609 AD0]: sockets_del: 6 Last open socket is at index 11 current_handle 9
[03/01 23:20:53.61609 AD4]: Requested adapter 4 close due to timeout, result 1 max_rtime 1517
[03/01 23:20:53.61610 AD4]: sockets_del: 10 -> handle 17, sid 4
[03/01 23:20:53.61610 AD4]: closing DVR socket -1 pos 10 aid 4
[03/01 23:20:53.61610 AD4]: closing adapter 4  -> fe:0 dvr:17
[03/01 23:20:53.61610 AD4]: netceiver: delete receiver instance for adapter 4
[03/01 23:20:53.61610 AD4]: adapter.c:645: get_adapter returns NULL for adapter_id 4
[03/01 23:20:53.61610 AD4]: adapter.c:464: get_adapter returns NULL for adapter_id 4
[03/01 23:20:53.61610 AD4]: done closing adapter 4
[03/01 23:20:53.61610 AD4]: sockets_del: 10 Last open socket is at index 11 current_handle 17
[03/01 23:20:53.61648 main]: ssdp_discovery: bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:20:53.61690 main]: Mutex init 0x101db004
[03/01 23:20:53.61690 main]: sockets_add: handle 9 (type 1) returning socket index 6 [10.76.1.137:51978] read: 0x10005ef0
[03/01 23:20:53.61690 main]: read HTTP from 9 sid: -1: GET /desc.xml HTTP/1.1
Host: 10.76.1.3:8080
User-Agent: Mac OS X, UPnP/1.0, Elgato EyeConnect/2.0

[03/01 23:20:53.61690 main]: reply -> 9 (10.76.1.137:51978) CL:1209 [sock_id 6]:
HTTP/1.0 200 OK
Date: Sun, Jan 3 22:20:53 2016 GMT
CACHE-CONTROL: no-cache
Content-type: text/xml
X-SATIP-RTSP-Port: 554
Server: minisatip/0.5.10
Content-Length: 1209

<?xml version="1.0"?><root xmlns="urn:schemas-upnp-org:device-1-0" configId="0"><specVersion><major>1</major><minor>1</minor></specVersion><device><deviceType>urn:ses-com:device:SatIPServer:1</deviceType><friendlyName>minisatip</friendlyName><manufacturer>cata</manufacturer><manufacturerURL>http://github.com/catalinii/minisatip</manufacturerURL><modelDescription>minisatip for Linux</modelDescription><modelName>minisatip</modelName><modelNumber>1.1</modelNumber><modelURL></modelURL><serialNumber>1</serialNumber><UDN>uuid:11223344-9999-0000-b7ae-000a95dbd30a</UDN><iconList><icon><mimetype>image/png</mimetype><width>48</width><height>48</height><depth>24</depth><url>/sm.png</url></icon><icon><mimetype>image/png</mimetype><width>120</width><height>120</height><depth>24</depth><url>/lr.png</url></icon><icon><mimetype>image/jpeg</mimetype><width>48</width><height>48</height><depth>24</depth><url>/sm.jpg</url></icon><icon><mimetype>image/jpeg</mimetype><width>120</width><height>120</height><depth>24</depth><url>/lr.jpg</url></icon></iconList><presentationURL>http://10.76.1.3:8080/</presentationURL>
<satip:X_SATIPCAP xmlns:satip="urn:ses-com:satip">DVBS2-2,DVBC-3</satip:X_SATIPCAP></device></root>
[03/01 23:20:53.61709 AD3]: No enabled sockets for Thread ID b4aff390 name AD3 ... exiting 
[03/01 23:20:53.61709 AD2]: No enabled sockets for Thread ID b52ff390 name AD2 ... exiting 
[03/01 23:20:53.61709 AD1]: No enabled sockets for Thread ID b5aff390 name AD1 ... exiting 
[03/01 23:20:53.61710 AD0]: No enabled sockets for Thread ID b62ff390 name AD0 ... exiting 
[03/01 23:20:53.61710 AD4]: No enabled sockets for Thread ID b42ff390 name AD4 ... exiting 
[03/01 23:20:53.61791 main]: sockets_del: 6 -> handle 9, sid -1
[03/01 23:20:53.61791 main]: minisatip.c:871 get_sid returns NULL for s_id = -1
[03/01 23:20:53.61791 main]: Requested stream close -1 timeout -1 type -1
[03/01 23:20:53.61791 main]: closing stream -1
[03/01 23:20:53.61791 main]: sockets_del: 6 Last open socket is at index 11 current_handle 9
...
[03/01 23:21:44.112627 main]: Received SSDP packet from 10.76.1.137:51322 -> handle 3
[03/01 23:21:44.112627 main]: ssdp_reply fd: 3 -> 10.76.1.137:51322, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:21:44.112627 main]: Received SSDP packet from 10.76.1.137:51322 -> handle 3
[03/01 23:21:44.112628 main]: ssdp_reply fd: 3 -> 10.76.1.137:51322, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:21:44.112628 main]: Received SSDP packet from 10.76.1.137:51322 -> handle 4
[03/01 23:21:44.112628 main]: ssdp_reply fd: 3 -> 10.76.1.137:51322, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:21:44.112628 main]: Received SSDP packet from 10.76.1.137:51322 -> handle 3
[03/01 23:21:44.112628 main]: ssdp_reply fd: 3 -> 10.76.1.137:51322, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:21:44.112628 main]: Received SSDP packet from 10.76.1.137:51322 -> handle 3
[03/01 23:21:44.112628 main]: ssdp_reply fd: 3 -> 10.76.1.137:51322, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:21:44.112628 main]: Received SSDP packet from 10.76.1.137:51322 -> handle 4
[03/01 23:21:44.112628 main]: ssdp_reply fd: 3 -> 10.76.1.137:51322, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:21:44.112986 main]: Received SSDP packet from 10.76.1.137:51322 -> handle 3
[03/01 23:21:44.112986 main]: ssdp_reply fd: 3 -> 10.76.1.137:51322, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:21:44.112986 main]: Received SSDP packet from 10.76.1.137:51322 -> handle 3
[03/01 23:21:44.112986 main]: ssdp_reply fd: 3 -> 10.76.1.137:51322, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:21:44.112987 main]: Received SSDP packet from 10.76.1.137:51322 -> handle 4
[03/01 23:21:44.112987 main]: ssdp_reply fd: 3 -> 10.76.1.137:51322, bootid: 350 deviceid: 6 http: 10.76.1.3:8080
[03/01 23:21:53.121700 main]: ssdp_discovery: bootid: 350 deviceid: 6 http: 10.76.1.3:8080
catalinii commented 8 years ago

Hi,

I am not sure but eyetv might expect just dvb-s2 tuners and no dvb-c ones. Try to disable dvb-c tuners...

REELcoder commented 8 years ago

I tried with advertising only the 2 DVBS2 tuners. But with the same result.

Can other information in the XML description or the HTTP header be critical. On their website they say that only certified servers are supported. Do you have a description from a genuine device?

REELcoder commented 8 years ago

Another server product from Elgato seems to be able to distinguish between certified clients and ones with certification pending: https://help.elgato.com/customer/en/portal/articles/1388390-can-i-use-eyetv-netstream-4sat-with-my-normal-tv-via-sat%3Eip-

Maybe they do something similar in in the client software. How can they distinguish? In the Sat>IP spec a Universal Product Code is mentioned. Maybe this has to be set to a god value...

REELcoder commented 8 years ago

OK strange. After running the setup assistant again it detected minisatip...