2018-01-30 19:06:21 +01:00
|
|
|
diff --git a/src/axe.c b/src/axe.c
|
2018-09-17 18:11:26 +02:00
|
|
|
index 52e8dad..1578a51 100644
|
2018-01-30 19:06:21 +01:00
|
|
|
--- a/src/axe.c
|
|
|
|
+++ b/src/axe.c
|
2018-03-05 21:37:06 +01:00
|
|
|
@@ -48,7 +48,7 @@
|
|
|
|
|
|
|
|
#ifndef DISABLE_LINUXDVB
|
2018-01-30 19:06:21 +01:00
|
|
|
|
2018-03-05 21:37:06 +01:00
|
|
|
-void get_signal(adapter *ad, uint32_t *status, uint32_t *ber, uint16_t *strength, uint16_t *snr);
|
|
|
|
+void get_signal(adapter *ad, int *status, int *ber, int *strength, int *snr);
|
|
|
|
int send_jess(adapter *ad, int fd, int freq, int pos, int pol, int hiband, diseqc *d);
|
|
|
|
int send_unicable(adapter *ad, int fd, int freq, int pos, int pol, int hiband, diseqc *d);
|
|
|
|
int send_diseqc(adapter *ad, int fd, int pos, int pos_change, int pol, int hiband, diseqc *d);
|
2018-09-17 18:11:26 +02:00
|
|
|
@@ -669,8 +669,8 @@ fe_delivery_system_t axe_delsys(int aid, int fd, fe_delivery_system_t *sys)
|
|
|
|
|
|
|
|
void axe_get_signal(adapter *ad)
|
|
|
|
{
|
|
|
|
- uint16_t strength = 0, snr = 0, tmp;
|
|
|
|
- uint32_t status = 0, ber = 0;
|
|
|
|
+ int strength = 0, snr = 0, tmp;
|
|
|
|
+ int status = 0, ber = 0;
|
|
|
|
get_signal(ad, &status, &ber, &strength, &snr);
|
|
|
|
|
|
|
|
strength = strength * 240 / 24000;
|
2018-03-05 21:37:06 +01:00
|
|
|
@@ -819,9 +819,11 @@ void free_axe_input(adapter *ad)
|
|
|
|
|
|
|
|
for (aid = 0; aid < 4; aid++)
|
|
|
|
{
|
|
|
|
- ad2 = get_adapter(aid);
|
|
|
|
- if (ad2)
|
|
|
|
+ ad2 = get_configured_adapter(aid);
|
|
|
|
+ if (ad2) {
|
|
|
|
ad2->axe_used &= ~(1 << ad->id);
|
|
|
|
+ LOGM("axe: free input %d : %04x", ad2->id, ad2->axe_used);
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
}
|
2018-01-30 19:06:21 +01:00
|
|
|
|
2018-01-24 15:55:45 +01:00
|
|
|
diff --git a/src/minisatip.c b/src/minisatip.c
|
2018-09-17 18:11:26 +02:00
|
|
|
index 0cd9b0b..c9be9c4 100644
|
2018-01-24 15:55:45 +01:00
|
|
|
--- a/src/minisatip.c
|
|
|
|
+++ b/src/minisatip.c
|
2018-09-17 18:11:26 +02:00
|
|
|
@@ -552,7 +552,7 @@ void set_options(int argc, char *argv[])
|
2018-01-24 15:55:45 +01:00
|
|
|
#endif
|
|
|
|
#ifdef AXE
|
|
|
|
opts.no_threads = 1;
|
|
|
|
- opts.document_root = "/usr/share/minisatip/html";
|
|
|
|
+ opts.document_root = "/usr/share/minisatip8/html";
|
|
|
|
#define AXE_OPTS "7:QW:8:A:"
|
|
|
|
#else
|
|
|
|
#define AXE_OPTS ""
|
|
|
|
diff --git a/src/minisatip.h b/src/minisatip.h
|
2018-09-17 18:11:26 +02:00
|
|
|
index 6512250..7d41be7 100644
|
2018-01-24 15:55:45 +01:00
|
|
|
--- a/src/minisatip.h
|
|
|
|
+++ b/src/minisatip.h
|
|
|
|
@@ -9,7 +9,7 @@
|
|
|
|
|
2018-09-17 18:11:26 +02:00
|
|
|
#define VERSION_BUILD "16"
|
2018-01-24 15:55:45 +01:00
|
|
|
#define CC(a, b, c) #a b #c
|
|
|
|
-#define VERSION CC(0.7., VERSION_BUILD, )
|
2018-09-17 18:11:26 +02:00
|
|
|
+#define VERSION CC(0.7., VERSION_BUILD, -axe208)
|
2018-01-24 15:55:45 +01:00
|
|
|
|
|
|
|
void set_options(int argc, char *argv[]);
|
|
|
|
|
|
|
|
diff --git a/src/stream.c b/src/stream.c
|
2018-09-17 18:11:26 +02:00
|
|
|
index bde2992..8443a4f 100644
|
2018-01-24 15:55:45 +01:00
|
|
|
--- a/src/stream.c
|
|
|
|
+++ b/src/stream.c
|
2018-09-17 18:11:26 +02:00
|
|
|
@@ -987,7 +987,7 @@ int process_dmx(sockets *s)
|
2018-01-24 15:55:45 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
rlen = ad->rlen;
|
|
|
|
- int packet_no_sid = check_cc(ad);
|
|
|
|
+ const int packet_no_sid = 0 /* check_cc(ad) */;
|
|
|
|
|
|
|
|
if (ad->sid_cnt == 1 && ad->master_sid >= 0 && !packet_no_sid) // we have just 1 stream, do not check the pids, send everything to the destination
|
|
|
|
{
|