perexg / satip-axe

A custom firmware with minisatip for Inverto IDL-400s/Grundig GSS.BOX/Telestar Digibit R1
131 stars 42 forks source link

Build 15 #94

Closed estimadarocha closed 6 years ago

estimadarocha commented 6 years ago

Any plans for Build 15 with updated minisatip?

indeed the 14 its working fine.

Thanks

ecdlguy commented 6 years ago

Yeah this would be cool since it would stop the vdr satip-plugin from spamming my logfiles with entries like user.err vdr: [1220] curl_easy_perform() [rtsp.c,314] failed: RTSP CSeq mismatch or invalid CSeq (85) user.err vdr: [1220] SATIP-ERROR: Detected invalid status code 0: rtsp://192.168.2.30/ [device 0]

cheers, Thorsten

perexg commented 6 years ago

http://s000.tinyupload.com/?file_id=08555642022216225295 , there is minisatip8 binary (with modified 0.7.15), note that some options were removed (-M) or changed (-d to -D,-9 to -S) or added (-2). Follow /etc/config.default MINISATIP8 lines.

https://github.com/perexg/satip-axe/blob/master/dist/README https://github.com/perexg/satip-axe/blob/master/dist/minisatip.md

estimadarocha commented 6 years ago

what's that -2 for? can't find it anywhere!

thanks for the great job

perexg commented 6 years ago

minisatip8 -h

perexg commented 6 years ago

http://s000.tinyupload.com/?file_id=53142668595401844117 , fixes -2 , added SYSLOGD_OPTS to pass extra options to syslogd from config (issue #88), modified net.ipv4.tcp_wmem (issue #102).

ecdlguy commented 6 years ago

Hi perexg,

thanks for build 15! Unfortunately, the new ministatip8 is not playing well together with the VDR satip-plugin. After switching channels a few times, the sound and/or video does not start when switching to a new channel. The log of VDR satip-plugin doesn't show anything concerning this issue.

I don't know if it is related, here's what dmesg on the digibit r1 shows:

@@@@@@@@@@@@ fe_open 0
@@@@@@@@@@@@ fe_open 1
@@@@@@@@@@@@ fe_open 2
@@@@@@@@@@@@ fe_open 3
[dms-ts] stream stop ok
Unaligned userspace access in "minisatip8" pid=823 pc=0x00420748 ins=0x2212
[dms-ts] stream stop ok
Unaligned userspace access in "minisatip8" pid=823 pc=0x00420748 ins=0x2212
[dms-ts] stream stop ok
[dms-ts] stream stop ok
[dms-ts] stream stop ok
Unaligned userspace access in "minisatip8" pid=823 pc=0x00420748 ins=0x2212
[dms-ts] stream stop ok
[pll_wait_for_lock] pll locking timeout
Unaligned userspace access in "minisatip8" pid=823 pc=0x00420748 ins=0x2212
[dms-ts] stream stop ok
Unaligned userspace access in "minisatip8" pid=823 pc=0x00420748 ins=0x2212
[dms-ts] stream stop ok
Unaligned userspace access in "minisatip8" pid=823 pc=0x00420748 ins=0x2212

Using minisatip7 I don't have the issues with lack of sound and/or video and dmesg is quiet.

cheers, Thorsten

perexg commented 6 years ago

http://s000.tinyupload.com/?file_id=66895215405789335534 - fix for the unaligned access .

ecdlguy commented 6 years ago

Hi perexg,

thanks. I've tested the new version, dmesg is quiet now.

However, it's still close to impossible to use minisatip8 with the VDR satip-plugin. After 5-10 minutes of channel switching, the video looks like slow motion and there's no audio. A few channel switches later there's no video on any channel. Even stopping vdr and give the receiver some time to power down the frontends does not help.

How can I help debugging?

cheers, Thorsten

ghost commented 6 years ago

Hello, I tested the 20180125 ... This runs flawlessly. Then I tested the 20180130 .... Picture freezes temporarily. That's why I have the 20180125 .. played back.

By the way, thank you for this project.

greeting Google translator.

perexg commented 6 years ago

@ecdlguy : If you see VDR issues, does the http streaming work ok? @lonerika : There are no other changes in 20180130 than fix for the signal routines. The behaviour should be identical.

I'm running minisatip8 here for 8 days and I've not noticed any issues (tvheadend backend).

ecdlguy commented 6 years ago

@perexg Ok I'll try. However, with minisatip7 the problems described above aren't there, so something must have changed. Is there a way to debug what's going on using logfiles? How can I enable them on satip-axe? Maybe there's something in the logs that helps.

Edit: New issue created: #108

perexg commented 6 years ago

@ecdlguy : Create a new issue for this. The logs can be gathered by creating /tmp/nosatip file (touch), kill the minisatip8 and run minisatip8 remotely from your ssh machine with '-lll', like:

ssh -t root@${HOST} minisatip8 -f -lll $ARGS | tee out.txt

The logs will be printed to terminal and saved to out.txt .

ghost commented 6 years ago

Hello perexg,

True, the mistake was mine. -Sorry - Have the USB flash drive with the 20180125 .... the config set up. On the stick with the 20180130 ... just not. Since minisat7 ran with wrong settings. - shame - The new version was so stable in the last 5 days that I flashed it.

Excuse me again and good work - thank you -

Google translator

meijkl commented 6 years ago

Hi perexg, up to now I can only confirm what Ionerika wrote - 20180130 is stable and works well with the VDR satip plugin (version 224 and 230) and better on my Grundig GSS 400 than the May-2017 version (there I had freezes after 1-2 days which required a reboot). Thanks Klaus

P.S.: By the way - I tried to compile satip-axe myself but failed when trying on my Ubuntu Xenial 64bit installation. Do have a recommendation which environment I should use? Many thanks!

hanzoh commented 6 years ago

Hi perexg, 20180130 is working fine for 2 weeks now. Would it be possible to include this patch? https://github.com/catalinii/minisatip/pull/408 This enables direct access to minisatip from Plex DVR.

perexg commented 6 years ago

satip-axe-201802211836-15

http://s000.tinyupload.com/index.php?file_id=01165966614935664637

meijkl commented 6 years ago

Great! After using it for about 10min I can already say that it makes a great difference!

It already worked well before but now all CC errors are at zero after 10min. They never were before!

screenshot_satip_axe_v20180221

Thanks a lot! Klaus

Trujulu commented 6 years ago

I think port 1 (0) is little bug when using following config:

MINISATIP8_OPTS="-7 0:1,0:2,0:3 -L 0:9750-10600-11850,1:9750-10600-11850,2:9750-10600-11850,3:9750-10600-11850"

(First I suscribe to a channel, after unsuscribing: wait 1 minute. Then, following happens on my device, cant open adapter 0 again, always 0 bitrate and no pids)

b906d53630469953761f7682850933ca

e7127b7925a92364efee2f82ed76123d

Trujulu commented 6 years ago

Minisatip7 works good. Not version 8...

ghost commented 6 years ago

Will there be new build only via TinyUpload? Since I use normal upgrade-fw? What accesses github. greeting

perexg commented 6 years ago

I need to check the linked input feature before I'll create the final 15 build. You can copy .fw file from the tinyupload tarball to /root directory in the satip box (scp) and run 'upgrade-fw satip-axe-201802211836-15.fw' for example.

ghost commented 6 years ago

Thank you, with the v20180221 I have no more problems since I added the parameter -O. In the TVHeadend 4.3.xxx also converted to TCP.

Greetings and thanks for the FW

8carlos88 commented 6 years ago

hi perexg

buy digibit r1 and update satip-axe-201802211836-15.fw in usb and I did not scan for the first time, I read several post where this failure occurred, it happens to me: https://github.com/perexg/satip-axe/issues/79 I also read this and all those related to lnb unicable does not work and some more ... https://github.com/perexg/satip-axe/issues/95

say that the digibit r1 and with the firm of factory goes very well ....

could help me and sorry for my english i am spanish .... tell you that I am very new.

use MINISATIP7 / 8_OPTS = "- u 0: 0-1210,0: 1-1420,0: 2-1680,0: 3-2040" and MINISATIP7 / 8_OPTS = "- j 0: 0-1210,0: 1-1420,0: 2-1680,0: 3-2040"

greetings, thanks

Solved for me, correct line is: MINISATIP8_OPTS="-S 1 -j 0:0-1210,1:1-1420,2:2-1680,3:3-2040"

buckyball commented 6 years ago

Seems like the tinyupload links are expired, is there any chance to get the last v15 release (satip-axe-201802211836-15.fw?)

ghost commented 6 years ago

have upload for you here https://github.com/lonerika/please-delete. I hope can help you. Account accidentally originated. Don't know how to delete it. Your firmware I last line.

Delete this repo in 2 days (17.09.2018)

buckyball commented 6 years ago

@lonerika thank you!

ghost commented 6 years ago

Again and again gladly. Some things I archive like tvheadend, coreelec as well as satip-axe greeting

So I deleted the repo

perexg commented 6 years ago

I will release 15 probably in this week when I will debug the linked tuners problem.

perexg commented 6 years ago

http://s000.tinyupload.com/?file_id=89599119253627720729 : Updated to latest minisatip (minisatip8), tested quickly the linked inputs (no issues found or I don't understand @Trujulu problems - report this in a new issue). The DNS problem for ntpd when dhcp is used for the address configuration should be resolved, too.

okurz commented 6 years ago

Just a little hint: You can also use the "github releases" to publish binary files on your project

perexg commented 6 years ago

Good idea, I didn't know that I can attach binaries to the release. Done: https://github.com/perexg/satip-axe/releases/tag/build15-rc1 .

perexg commented 6 years ago

rc2: https://github.com/perexg/satip-axe/releases/tag/build15-rc2

perexg commented 6 years ago

rc3: https://github.com/perexg/satip-axe/releases/tag/build15-rc3

By the way, this is my complex minisatip8 config shared with one enigma2 box and tvheadend:

minisatip8 -f -g -T -D 38 -W 0 -q *:5-15-5-5-5-0 -d 0:1-0,1:1-0,2:0-1,3:0-1 \
-A 0:0:0,0:1:0,1:0:1,1:1:1,\
2:2:0,3:2:1,4:2:2,5:2:3,6:2:4,7:2:5,8:2:6,9:2:7,10:2:8,11:2:9,\
2:3:0,3:3:1,4:3:2,5:3:3,6:3:4,7:3:5,8:3:6,9:3:7,10:3:8,11:3:9 \
-b 4042752 -B 10000 -2 348
estimadarocha commented 6 years ago

wtf?

perexg commented 6 years ago
estimadarocha commented 6 years ago

thanks for clarify....

shoudn't coax2 - like coax2 be coax2 - like coax1?

perexg commented 6 years ago

yes, fixed

perexg commented 6 years ago

rc4: https://github.com/perexg/satip-axe/releases/tag/build15-rc4 (a quick fix for the polarization issue)

estimadarocha commented 6 years ago

need some small clarifying...

i am running my Digibit's all with unicable lnb's from inverto:

in tech specs i have:

(SCR0 (1 Channel IF Output MHz 1210) (SCR1 (2 Channel IF Output MHz 1420) (SCR2 (3 Channel IF Output MHz 1680) (SCR3 (4 Channel IF Output MHz 2040)

so i use this on my config:

MINISATIP8_OPTS="-u 0:0-1210,1:1-1420,2:2-1680,3:3-2040 -b 4042752 -B 10000"

is this correct?

because i saw this:

minisatip7,8 minisatip5/minisatip description
-7 -L tuner linking
-9 -X unicable input (-S for minisatip8)
-W -P AXE power
-8 -Z quattro hiband mode

should i be using -9 or -S and not -u?

perexg commented 6 years ago

The '-S' comment was wrong. I removed it. I fixed '-9' in rc4. The '-9' allows to select another coax input to create unicable groups (for example, you have four SCR LNBs and two of them are on one coax cable and two other on another coax cable, so you connect two coax cables to the box and specify which tuner is assigned to a coax - see the decription bellow in minisatip.md).

estimadarocha commented 6 years ago

so since i am just using one cable from one SCR LNB i must stick with -u, correct?

other thing that i always don't understand is this:

example 2: unicable: MINISATIP8_OPTS="-u 0:1-1420,1:0-1210,2:2-1680,3:3-2040"

compared with mine,

-u 0:0-1210,1:1-1420,2:2-1680,3:3-2040

does this mean anything... should i really follow the example?

perexg commented 6 years ago

The '-u' is a different option - it defines unicable frequencies and slots on the coax cable (those things are defined by the unicable equipment LNB or switch - hardcoded or pre-programmable). The '-u' option does not define which physical input (the F-connector in the bottom of the box) should be used. By default, it's the first connector labelel LNB1 or so. But the '-9' option can override this default physical input per adapter (tuner), so you may use multiple coax cables with multiple unicable equipment.

perexg commented 6 years ago

DVB-S2 multistream: https://github.com/perexg/satip-axe/releases/tag/build15-rc5 , issue #126 .

perexg commented 6 years ago

PLS ROOT scrambling scheme is supported, too: https://github.com/perexg/satip-axe/releases/tag/build15-rc6 , issue #126

perexg commented 6 years ago

Build 15 is finally out https://github.com/perexg/satip-axe/releases/tag/build15 with the next VDR fix. I am really happy about all the small changes and updated minisatip(8) which seems very stable in my complex environment. Enjoy. The build 16 can be discussed in issue #127 , but so far, I have no fixed plans for next months (until I or someone else find a bug).

estimadarocha commented 6 years ago

does the "upgrade-fw list" function directly executed on satipaxe will list the github releases?

or we still need to upload and run manually?

guess not

upgrade-fw list Downloading list: Connecting to github.com (192.30.253.113:443) wget: server returned error: HTTP/1.1 404 Not Found Unable to fetch firmware file https://github.com/perexg/satip-axe/blob/master/dist/list?raw=true

perexg commented 6 years ago

Good point. It should be fixed now. Run this command without arguments to list packages.

estimadarocha commented 6 years ago

thanks!