minisatip5: update to 0.5.50, added dmxts stop call, fixed SNR

This commit is contained in:
Jaroslav Kysela 2016-05-31 15:43:36 +02:00
parent 16a56faa18
commit 5c3bb4ee6f
3 changed files with 112 additions and 962 deletions

View File

@ -31,7 +31,7 @@ KMODULES = drivers/usb/serial/cp210x.ko \
drivers/usb/serial/oti6858.ko drivers/usb/serial/oti6858.ko
MINISATIP_COMMIT=54df9348e7bd7e6075f54f1b93ec4ad36429abe0 MINISATIP_COMMIT=54df9348e7bd7e6075f54f1b93ec4ad36429abe0
MINISATIP5_COMMIT=92bf0d8ec06192d2beded67cdfed5aef537b8d19 MINISATIP5_COMMIT=087be7788e9bd04e23564a87a99e71fc69cc8e8d
BUSYBOX=busybox-1.24.1 BUSYBOX=busybox-1.24.1

View File

@ -669,7 +669,7 @@ index 0000000..cfc1927
diff --git a/dvb.c b/dvb.c diff --git a/dvb.c b/dvb.c
old mode 100755 old mode 100755
new mode 100644 new mode 100644
index 5701bd2..58d8f1a index 5701bd2..bf5c7f2
--- a/dvb.c --- a/dvb.c
+++ b/dvb.c +++ b/dvb.c
@@ -41,6 +41,10 @@ @@ -41,6 +41,10 @@
@ -771,15 +771,18 @@ index 5701bd2..58d8f1a
LOG("send_unicable: FE_SET_VOLTAGE failed for fd %d: %s", fd, strerror(errno)); LOG("send_unicable: FE_SET_VOLTAGE failed for fd %d: %s", fd, strerror(errno));
msleep(15); msleep(15);
if (ioctl(fd, FE_DISEQC_SEND_MASTER_CMD, &cmd) == -1) if (ioctl(fd, FE_DISEQC_SEND_MASTER_CMD, &cmd) == -1)
@@ -286,6 +340,7 @@ int send_jess(int fd, int freq, int pos, int pol, int hiband, int slot, int ufre @@ -286,21 +340,25 @@ int send_jess(int fd, int freq, int pos, int pol, int hiband, int slot, int ufre
}; };
// int t = (freq / 1000) - 100; // int t = (freq / 1000) - 100;
int t = freq - 100; int t = freq - 100;
+ int o13v = ufreq < 0; + int o13v = ufreq < 0;
cmd.msg[1] = slot << 3; cmd.msg[1] = slot << 3;
cmd.msg[1] |= ((t << 8) & 0x07); - cmd.msg[1] |= ((t << 8) & 0x07);
@@ -295,12 +350,15 @@ int send_jess(int fd, int freq, int pos, int pol, int hiband, int slot, int ufre + cmd.msg[1] |= ((t >> 8) & 0x07);
cmd.msg[2] = (t & 0xff);
cmd.msg[3] = ((pos & 0x3f) << 2) | (pol ? 2 : 0) | (hiband ? 1 : 0);
LOGL(3, "send_jess fd %d, freq %d, ufreq %d, pos = %d, pol = %d, hiband = %d, slot %d, diseqc => %02x %02x %02x %02x %02x", LOGL(3, "send_jess fd %d, freq %d, ufreq %d, pos = %d, pol = %d, hiband = %d, slot %d, diseqc => %02x %02x %02x %02x %02x",
fd, freq, ufreq, pos, pol, hiband, slot, cmd.msg[0], cmd.msg[1], cmd.msg[2], cmd.msg[3], cmd.msg[4]); fd, freq, ufreq, pos, pol, hiband, slot, cmd.msg[0], cmd.msg[1], cmd.msg[2], cmd.msg[3], cmd.msg[4]);

File diff suppressed because it is too large Load Diff