Hi,
I would like replace the server software on my IP Antenna with minisatip (and oscam support). This would give me the benefit of using up to 8 satipclients of my choice in parallel without the need for client side decryption.
I already used the -s command to proxy my satip Antenna through minisatip but I would really like to run it on the Antenna directly. The Antenna runs Linux. I wonder if someone can provide a binary for below architecture. I would love to play around with it and post my results here. please let me know if additional information are required.
(Humax H40IP / Selfsat IP / Inverto iLNB all use below same hard-/software)
[AS-B3S100-Server]$ uname -a
Linux AS-B3S100-Server 3.10.56 #1 Wed Feb 25 18:30:08 CST 2015 arc GNU/Linux
[AS-B3S100-Server]$ cat /proc/cpuinfo
ARC IDENTITY : Family [0x34] Cpu-id [0x0] Chip-id [0x270f]
processor : ARC 700 R4.10
CPU speed : 500.00 Mhz
Timers : TIMER1 TIMER0
Vect Tbl Base : 0x80000000
UNCACHED Base : 0xc0000000
Bogo MIPS : 332.54
ARC700 MMU [v3] : 8k PAGE, J-TLB 512 (128x4), uDTLB 8, uITLB 4,
I-Cache : (32K) VIPT, 2way set-asc, 32b Line
D-Cache : (32K) VIPT, 4way set-asc, 32b Line
Extn [700-Base] : norm, barrel-shift, minmax, ext-arith
Extn [700-MPY] : 32x32 (ANY Result Reg) MAC MPY: Dual 16x16 and 32x16
Extn [700-4.10] : LLOCK/SCOND (in-use), SWAPE (in-use), RTSC (not used)
Extn [CCM] : N/A
Extn [FPU] : N/A
OS ABI [v3] : no-legacy-syscalls
Thx
minisatip on IP Antenna (Humax H40IP / Selfsat IP / Inverto iLNB / etc...)
minisatip on IP Antenna (Humax H40IP / Selfsat IP / Inverto iLNB / etc...)
Last edited by WillinuX on Wed Feb 22, 2017 9:43 pm, edited 1 time in total.
Re: minisatip on IP Antenna (Humax H40IP / Selfsat IP / etc...)
Hi,
if you have a cross compiler for arc you can try to compile minisatip.
As pre-requisite make sure that your device has /dev/dvb/adapter0/frontend0.
Thanks
if you have a cross compiler for arc you can try to compile minisatip.
As pre-requisite make sure that your device has /dev/dvb/adapter0/frontend0.
Thanks
Re: minisatip on IP Antenna (Humax H40IP / Selfsat IP / Inverto iLNB / etc...)
The adapters /dev/dvb/adapter0/frontend0 are available.
However I never compiled anything in the C-World, thats why I was asking if someone here is interested in doing that.
However I never compiled anything in the C-World, thats why I was asking if someone here is interested in doing that.
Re: minisatip on IP Antenna (Humax H40IP / Selfsat IP / Inverto iLNB / etc...)
I made a bit of progress myself...
This seemed to be working pretty good so far, but when I tried to run minisatip on the IP antenna it exists with below message
I believe it has something to do with the disabled modules. Can you give me a hint what needs to be done to enable these and/or get rid of the error message?
UPDATE 1:
It seems to have something to do with uclibc in busybox which is running on the ip antenna.
https://git.busybox.net/uClibc/tree/lds ... e&=switch Any Ideas?
UPDATE 2:
So its TLS as in Thread Local Storage As I said earlier I'm not a C-Programmer so I need some input from the experts. I guess Thread local data is just not supported by busybox, so I wonder if its possible to workaround this?
Code: Select all
./configure --host=intel --target=arc700 --enable-static CC=/minisatip/toolchain/arc_gnu_2016.09_prebuilt_uclibc_le_arc700_linux_install/bin/arc-linux-gcc
Linux DVB: enabled
Common Interface (needs DVBEN50221): disabled
OpenSSL (AES as part of DVBAPI): disabled
Embedded system: disabled
DVBCSA (needs libdvbcsa): disabled
Netceiver support: disabled
SatIP Client: enabled
Static: enabled
dvbapi: enabled
make EXTRA_CFLAGS="-mcpu=arc700"
Code: Select all
[AS-B3S100-Server]$ ./minisatip -f
Program uses unsupported TLS data!
UPDATE 1:
It seems to have something to do with uclibc in busybox which is running on the ip antenna.
https://git.busybox.net/uClibc/tree/lds ... e&=switch Any Ideas?
UPDATE 2:
So its TLS as in Thread Local Storage As I said earlier I'm not a C-Programmer so I need some input from the experts. I guess Thread local data is just not supported by busybox, so I wonder if its possible to workaround this?
Re: minisatip on IP Antenna (Humax H40IP / Selfsat IP / Inverto iLNB / etc...)
Delete __thread from the following places:
# grep __thread *c
ca.c:extern __thread char *thread_name;
socketworks.c:__thread pthread_t tid;
socketworks.c:__thread char *thread_name;
utils.c: static __thread STmpinfo *last;
utils.c:__thread SMutex *mutexes[50];
utils.c:__thread int imtx = 0;
then change
opts.no_threads = 0;
to
opts.no_threads = 1;
in main.c:451
Thanks
# grep __thread *c
ca.c:extern __thread char *thread_name;
socketworks.c:__thread pthread_t tid;
socketworks.c:__thread char *thread_name;
utils.c: static __thread STmpinfo *last;
utils.c:__thread SMutex *mutexes[50];
utils.c:__thread int imtx = 0;
then change
opts.no_threads = 0;
to
opts.no_threads = 1;
in main.c:451
Thanks
Re: minisatip on IP Antenna (Humax H40IP / Selfsat IP / Inverto iLNB / etc...)
After removing "__thread" from the .c and .h files and setting no_threads to 1, I also had to disable backtrace in order for minisatip to start. I was also able to cross compile libdvbcsa for dvbapi support. Now minisatip starts on the antenna but its giving me no picture on the client for unencrypted and encrypted channels. I generally shows up in the satip server list, but when tuning to a channel it doesn't show anything.
Please find attached the log
Please find attached the log
- Attachments
-
- minisatip_log.zip
- (3.21 KiB) Downloaded 407 times
Re: minisatip on IP Antenna (Humax H40IP / Selfsat IP / Inverto iLNB / etc...)
Hi,
Tuning fails for some reason. Try different dvb-s, dvb-s2 transponders.
If you can provide remote access and the cross compiler I can try to see what is not accepted.
Thanks
Tuning fails for some reason. Try different dvb-s, dvb-s2 transponders.
If you can provide remote access and the cross compiler I can try to see what is not accepted.
Thanks
Re: minisatip on IP Antenna (Humax H40IP / Selfsat IP / Inverto iLNB / etc...)
Remote Access is not possible, sorry.
It seems there is something wrong with the adapter_id -1 and get_adapter returning null.
As you can see Dumping adapters also returns nothing. Could this be related to the manual adjustments (removing __thread)?
It seems there is something wrong with the adapter_id -1 and get_adapter returning null.
As you can see Dumping adapters also returns nothing. Could this be related to the manual adjustments (removing __thread)?
Code: Select all
[10/03 19:13:26.617]: read RTSP (from handle 7 sock_id 7, len: 0, sid 0):
[10/03 19:13:26.617]: PLAY rtsp://192.168.178.30:554/stream=1 RTSP/1.0
CSeq: 1413
Session: 0846930886
[10/03 19:13:26.619]: Play for stream 0, type 2, rsock 8, adapter -1, sock_id 7, rsock_id 9, handle 7
[10/03 19:13:26.619]: stream.c:249: get_adapter returns NULL for adapter_id -1
[10/03 19:13:26.620]: get free adapter 0 - a[0] => e:0 m:-1 sid_cnt:0 f:0 pol=0 sys: dvbs undefined
[10/03 19:13:26.621]: delsys_match: adapter is NULL, delsys 6
Message repeated 23 times
[10/03 19:13:26.623]: no adapter found for f:10891200 pol:2 msys:6
[10/03 19:13:26.624]: Dumping adapters:
[10/03 19:13:26.624]: Dumping streams:
[10/03 19:13:26.624]: 0| a:-1 rsock:8 type:2 play:0 remote:192.168.178.75:45636
[10/03 19:13:26.624]: Got adapter -1 on socket 7
[10/03 19:13:26.624]: reply -> 7 (192.168.178.75:60031) CL:0 [sock_id 7]:
[10/03 19:13:26.626]: RTSP/1.0 404 Not Found
Date: Fri, Mar 10 19:13:26 2017 GMT
Session: 0846930886
Cseq: 1413
Public: OPTIONS, DESCRIBE, SETUP, PLAY, TEARDOWN
Server: minisatip/0.5.69
[10/03 19:13:26.627]: The main loop ended, run_loop = 0
[10/03 19:13:26.628]: add_join_thread: pthread 400
Re: minisatip on IP Antenna (Humax H40IP / Selfsat IP / Inverto iLNB / etc...)
Hi,
This error happen because you have an adapter but trying to tune on multiple transponders in the same time. In this log just an adapter is detected but in the previous log it's 8.
Do you have different devices?
The previour log shows:
[04/03 22:01:46.060]: tuning to 12188000(1588000) pol: h (2) sr:27500000 fec:34 delsys:dvbs mod:qpsk rolloff:0.35 pilot:off, ts clear=15271, ts pol=15271
[04/03 22:01:46.061]: dvb_tune: set property failed 22 Invalid argument
This error happen because you have an adapter but trying to tune on multiple transponders in the same time. In this log just an adapter is detected but in the previous log it's 8.
Do you have different devices?
The previour log shows:
[04/03 22:01:46.060]: tuning to 12188000(1588000) pol: h (2) sr:27500000 fec:34 delsys:dvbs mod:qpsk rolloff:0.35 pilot:off, ts clear=15271, ts pol=15271
[04/03 22:01:46.061]: dvb_tune: set property failed 22 Invalid argument
Re: minisatip on IP Antenna (Humax H40IP / Selfsat IP / Inverto iLNB / etc...)
Hi, the second one is only a snipped from the complete log. The antenna has 8 devices/tuners.