perexg / satip-axe

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

minisatip won't start - AXE - cannot open /dev/axe/frontend-0 ; TS continuity errors #2

Closed mrarel closed 9 years ago

mrarel commented 9 years ago

hi perexg, great job this first approach to enhance the firmware by minisatip ... it is not working so far with vdr plugin-satip or tvh, but i'm convinced there is not a lot whats missing... Current problem: A) after booting the gss.box with usb stick minisatip does not provide a desc.xml url to e.g. tvheadend or other server/client software. In tvh or vdr there are no tuners available...from minisatip. B) login by telnet/ssh is working fine, but the enviroment for the shell e.g. for the /sbin path is not set. In /sbin there are several tools like minisatip etc.

by the way ... a nfs server and usb kernel driver would help too :-) e.g. for mounting additional space on usb port 2 or to setup shares....maybe a rootfilesystem on usb could be an option too ?

Sorry...maybe to many wishes at once ;-) if you need further support for testing, just drop a message....

Regards mrarel

perexg commented 9 years ago

It seems that the tuners are not initialized properly. You should turn off the box and wait about 5-30 minutes and retry. I don't know why, but sometimes the fast on/off sequence causes these errors. You may use 'dmesg' to check for these errors - they're described in README or you may also use 'logread' - minisatip will also print tuner initialiazation errors.

perexg commented 9 years ago

Release second build.. It contains mainly minisatip fixes, but I changed the inverto DVB-S2 tuner driver load order which may help.

EDIT: I released also third build. I hope that the main issues with the input selection are fixed now.

perexg commented 9 years ago

I believe that this issue is mostly eliminated now.

mrarel commented 9 years ago

Yes i have tested your v7 firmware. There are only problems concerning continuity errors when i stress all 4 tuners e.g. by tvh and 4 vlc clients. never the less great work.

perexg commented 9 years ago

@mrarel : Do you have this problem also with the original firmware ? I am experiencing this issue with it, too, so it really seems like an error in the driver (I hope that it's not a problem with the hardware design). The problem is also that this issue rises under different conditions. Anyway, I'll track it in issue #6 .

mrarel commented 9 years ago

I will test with the same environment, which means i will stress 4 tuners under 1.16 gssbox firmware. I realy never tested this under original fw , so i ll be back with results. And yes, i hope it will not be a hardware dedign issue .... regards mrarel

mrarel commented 9 years ago

back again and tested....the original fw ! there are also "continuity errors" when you stress the 4 tuners of an gss.box with tvh (vlc as a frontend showing 4 different channels on different transponders ) :-(. so i fear that you are right concerning the possibility that there is a "general" (maybe HW ?) issue with theses boxes/tuners... all 4 tuners starts streaming WITHOUT continuity errors after a one ore more minutes at least one or two tuners are running into continuity errors... that´s bad. I hope inverto will give you a feedback which could solve further problems...or at least the bring up an other fw with "corrections"... regards mrarel

dreamcat4 commented 9 years ago

@mrarel Hello! :)

Please can you test with 3 tuners instead? It would be nice to know at least when 3 tuners there are no continuity errors.

Also:

I am an IDL-400S owner. It would be nice to know these things. Kind Regards.

perexg commented 9 years ago

Unfortunately, inverto does not respond. I use e-mails info@inverto.tv and stb.support@inverto.tv . Perhaps, if more people will bomb their support, they'll do something. I sent another e-mail there.

Actually, I'm learning more about the used chips - tuner STV6120 and demodulator STV0900. I have a partial datasheet for STV6120 - I can reduce the input gain (on amplifier) in STV6120 - the range is from 0dB to 16dB (inverto sets the 16dB of course). It seems that it helps a little but not much. The errors are before the STi7108 chip, so the minisatip or any other software in the user space cannot do much to improve the situation. For STV0900 - there is a Linux driver in the standard kernel, but appearently, this hardware uses the demodulator in a little different modes. And the full datasheet is available under NDA only. I'm trying to do some dumps of the status registers and compare them when it's working correctly and when not using a lot guessing. But it's a bit difficult without the full datasheet.

perexg commented 9 years ago

Also another note: The another "weird" issue is that the fullmux tuning/subscription fails in some situations on different tuners (a stream which provides only few kb/s is grabbed using the STi7108). I will also try to track it, perhaps, these two things are related.

EDIT: Because the discussion is related, I reopened it..

CvH commented 9 years ago

I belive @jollyjinx had contact with inverto back in the days to get the kernel sources, maybe he had a different contact

timehlers commented 9 years ago

Otherwise tell us, what we should write (roughly). And we will SPAM them. :)

pbriesch commented 9 years ago

I'live about 45 km away from Inverto.

Inverto Digital Labs
18, Duchscherstrooss
Wecker, L-6868
Luxembourg
Tel. +352 264 367 1
Fax. +352 264 313 68
info@inverto.tv

If somebody prepares for me a list with the issues that need to be discussed, I could try to get Inverto's attention.

pbriesch commented 9 years ago

A little bit off topic: There is now a DVB-C box from Inverto available: http://www.inverto.tv/products/product.php?section=2&id=265

CvH commented 9 years ago

As I called GSS they said something that the driver devs are at poland.

_ul. Poznanska 62/98 60-853 Poznan Poland Tel. +352 264 367 64 Fax. +352 264 313 68_

pbriesch commented 9 years ago

+352 is the country code of Luxembourg. So all calls and faxes to Poland actually will end up in Luxembourg.

pbriesch commented 9 years ago

By the way: Inverto's Headquater is about 6 km away from SES Astra's headquarter in Luxembourg.

perexg commented 9 years ago

The STV6120 amplifier settings can be modified in build 8 which I released right now. The "chip" default value is 6dB.

perexg commented 9 years ago

Good news: I have a little Inverto feedback - they asked for more details. Let see...

mrarel commented 9 years ago

@dreamcat4 I could test the scenario you´ve mentioned...e.g. with V8 of perexg firmware, where 6db is the "standard" and no longer 16db.

But I fear it does not "only" have something in common with the amount of tuners which are in use (also not related "firmware version"...stock FW or not..) In the meantime I fear that it has more relation to "power" related issues and influence to the behavior of the tuners depending on how much "power" is needed e.g. to "switch" the LNB frequency /position, or something like that. Which leads to the problem that it could be something more "HW" related :-(. My guess is, because we have to wait a long time, before we can switch back from "off" to "on"....if you would not wait at least 2 min. (in my case) there are problems with the initializing the tuners in general. => same SW, but relation to "HW/power" switching...

I ´ll try to reproduce the "continuity" errors by testing : a) using all tuners on different transponders = Streaming at least 4 different channels to a client (vlc) b) compare it to "streaming" ONLY 1 CHANNEL, but to 4 clients (= 4 "subscriptions" to only one tuner)

I think that there wont be "continuity" errors at scenario b ! this at least would proof that "tvheadend" is not the reason for it, but the amaount of tuners "in use" is for sure a problem....

I´ll give feedback as soon as I´ve tested both...

perexg commented 9 years ago

@mrarel : v8 firmware can change the gain, but by default it is kept to 16dB like the original firmware. You need to edit /etc/sysconfig/config to change the appropriate variable.

Also, I changed the tuner initialization sequence in v8 again + I2C bus speed - so far, I've not seen any I2C init error with it using fast physical on/off and soft reboots with v8. So I think that I may hit the problem.

dreamcat4 commented 9 years ago

@perexg Great.

I have finally installed it today. After finding an old 256MB sd card (+ $1 usb micro SD card reader). Thank you for this.

Quick question:

It says in the dist/README that you must remove the USB stick after flashing to prevent it re-flashing the internal every subsequent boot. However, can I not just delete or rename the file idl4k.scr and continue to leave the USB stick plugged in? It is not easy to get to the device, where we have put it near to the dish.

perexg commented 9 years ago

@dreamcat4 : Yes, the renaming of idl4k.scr is sufficient. The USB stick should be mounted already in /media tree in the satip-axe firmware.

dreamcat4 commented 9 years ago

@perexg Thanks!

x23piracy commented 9 years ago

any news to the problem? have you received more feedback from inverto?

Regards X23

perexg commented 9 years ago

No, Inverto is silent. I sent a new query today.

x23piracy commented 9 years ago

@perexg could you give me details what you wrote them? I may can also write but i do it with my company email address, it's a big known company.

Maybe that speed up things.

Regards X23

perexg commented 9 years ago

e-mail: stb.support@inverto.tv

I sent information about CC errors seen in the PTI when all 4 tuners are used - but it may occur randomly - I use 3 standard service subscription and one fullmux subscription (4 different muxes) to reproduce the CC errors in few minutes:

# /sbin/axe-debug pti vdev 0
# /sbin/axe-debug pti vdev 1
# /sbin/axe-debug pti vdev 2
# /sbin/axe-debug pti vdev 3

And also that fullmux subscriptions (pids=all) do not work for all tuners. From my experience, usually only two tuners work, others receive only few TS packets per second.

Helron commented 9 years ago

I had and still have similar problems with my inverto IDL 400 box. This is what I received from their support when I sent the following email a couple of months ago:

---> inverto: I bought an IDL 400s some weeks ago. I am sorry to say, but it has some problems. After a lot of testing and analyzis, I have concluded that tuner 3 and 4 does not handle HD channels.

Tuner:Channel 1: HD CHANNEL OK 2: HD CHANNEL OK 3: HD CHANNEL NOK (artifacts) 4: FREE

1: HD CHANNEL OK 2: HD CHANNEL OK 3: SD CHANNEL OK 4: FREE

1: HD CHANNEL OK 2: HD CHANNEL OK 3: SD CHANNEL OK 4: HD CHANNEL NOK (artifacts)

1: HD CHANNEL OK 2: HD CHANNEL OK 3: SD CHANNEL OK 4: SD CHANNEL OK

It seems that tuner 3 and 4 does not handle HD CHANNELS. Is this a known issue? I see a lot of other people having trouble with this device and similar devices (GSS.BOX).

<--- inverto: We tested this scenario in our lab and were not able to reproduce such a problem. Even 4 HD channels in parallel are running smooth.

Are you sure that the connection to your router is a 1 Gbit/s connection, if it’s only 100Mbit/s it might not be sufficient to stream 4 HD channels.

If you disable tuner 1 & 2 are you able to stream HD channel from tuner 3 & 4?

Best Regards/Mit freundlichen Grüßen,

Inverto Support,

Tel: +352 264367 0 www.inverto.tv

---> inverto: My network is 1Gbit/s.

The channels are all encrypted, and I am using dvbviewers recording service to stream the channels. If I disable 1 and 2, dvbviewer is not working. Only disable from the tail is working, not from the front. SAT>IP protocol problem between dvbviewer and IDL400s?

Is the fact that the channels are encrypted (decrypted using a softcam in dvbviewer) putting more load on the tuners/cpu of the IDL400s?

Are the tuners 4 separate tuners, or are they 2 dual tuners? Is 1 and 3 the same dual tuner, and 2 and 4 the other dual tuner? Then my observation makes sense.

<--- inverto: we use 4 individual tuners, they are all separated. Only tuner 1&2 and 3&4 share the same demodulator. My mistake about deactivating the tuners, the streams are looped internally and if you deactivate tuner 1 the loop will fail.

If the channels are encrypted or not does not make any difference for the streaming.

Can you please check this: 1: SD CHANNEL ??? 2: SD CHANNEL ??? 3: HD CHANNEL ??? 4: FREE

Best Regards/Mit freundlichen Grüßen,

Inverto Support,

Tel: +352 264367 0 www.inverto.to

---> inverto: I have done the checks you requested:

1: SD CHANNEL OK 2: SD CHANNEL OK 3: HD CHANNEL NOK 4: FREE

Then I stop channel 1 and 2, and it is still failing:

1: FREE 2: FREE 3: HD CHANNEL NOK 4: FREE

So, something is wrong with tuner 3 and 4, regarding HD. SD is ok. Then I suspect a broken demodulator.

Unfortunately I have voided my guarantee when trying to solve the problem. I read about a possible heat problem on the net, opened the case and kept it running with a cooling fan, while testing. Obviously it did not solve the problem. Anyway, the guarantee sticker is now broken.

<--- inverto: In this case I also suspect a problem on the hardware side. If you did not touch the hardware, your dealer should take this unit back under warranty. But finally it’s up to the dealer if he accepted this unit for return.

Best Regards/Mit freundlichen Grüßen,

Inverto Support,

Tel: +352 264367 0 www.inverto.tv


The dialog ended here, as I didn't bother trying to return the device. I am using the device with tuner 3&4 disabled, now using tvheadend as server. With only 2 tuners running I still see continuity counter errors on tvheadend, but not as frequent as before. A restart of the box will not solve the problem. If I turn it off and leave it off for a few minutes, it solves the problem. It is not a heat problem....

CvH commented 9 years ago

@Helron did you buy the box near after release ? If got very similar symptoms, maybe they fu up the whole hardware and fixed it with a new internal rev.

perexg commented 9 years ago

Inverto does not reply as usual, so if you like - write an e-mail to stb.support@inverto.tv that you have continuity issues (distorted audio/video) with their V1.16.0.120 firmware under load (simultaneous streaming from all four tuners) and/or after some time of the box usage.

perexg commented 9 years ago

OK, perhaps, another way to push Inverto more. Open letter - for the SAT>IP committee: https://etherpad.mozilla.org/3TmDljNc19

Also, if you like to extend / correct (grammar) the document, I'll appreciate it. Your signs are welcome, too.

CvH commented 9 years ago

sorry no discuss area at etherpad

1 "We (several geeks ..."

2 the problem description is too tech specific

3 "Signed by:" maybe more detail, see 1. (for ex) Jaroslav Kysela, Czech Republic, responsible for Tvh Sat>IP implementation Paul Briesch, Germany, consumer ...

pbriesch commented 9 years ago

Hi guys,

what do we expect form this letter in which we want to have the idl4k hardware removed from the list of certified SAT>IP products? a) Inverto fixing the problem b) Inverto being more talkative to us c) helping to become SAT>IP a success story

and here comes in something that could happen as well

d) pissing off Inverto e) give some ammunition to some manager to eventually fire the engineer f) blaming the lab that certifies the products not having done a good job

It is really important to know who is getting the letter in his hands because it could be misunderstood. Furthermore, I have no clue how the other hardware on the market compares to Inverto's design.

pbriesch commented 9 years ago

Since it helps turning off the box for 5 to 10 minutes I assume a thermal problem. I didn't personally notice yet TS packet loss, however, from time to time I had to power cycle the box to make it work again. After turning on the box it happened several times that Ethernet did not work.

x23piracy commented 9 years ago

Hi, i like to see a,b and c happen, nobody wants d but if that happens it's their own fault because the error is proofen afaik ;) e we cannot save the world! f why not if they doing it wrong?

Regards X23

pbriesch commented 9 years ago

OK, but then we should not only say, if at all, take the idl4k hardware from the list. We should say directly what we want: a), b), c).

e) lets save the poor engineer who worked his butt off to make it work but was not given the time and tools by the management to do it right and is now not allowed to talk to us.

x23piracy commented 9 years ago

I agree with making it clear that we don't want a war but a solution ;) e what is your suggestion to save him?

pbriesch commented 9 years ago

I believe the engineer(s) did talk already to us a little bit.

"We would like the management to realize the importance of fixing this issue to allow the smooth introduction and further growth of SAT>IP technology into the consumer market. As a knowledgeable and highly motivated group of software developers and promoters of SAT>IP we are willing to help Inverto to further improve the user experience of its products and therefore would like to continue the fruitful initial discussions with Inverto's engineering team which has unfortunately stopped suddenly." .

Something like this maybe.

x23piracy commented 9 years ago

That sounds great, why don't you add this to the letter? :)

pbriesch commented 9 years ago

OK, I can put this in the letter. Furthermore, I rather like to not talk about removing the hardware from the list. But I leave this call to perexg because he started this initiative.

dreamcat4 commented 9 years ago

Since it helps turning off the box for 5 to 10 minutes I assume a thermal problem.

If the manufacturer can come out with some kind of non-liability-addmitance statement which permits me to add my own heatsink solution without voiding the 2-year warranty. Then that would be helpful for me as I have some spare heatsinks lying around and enough motivation to do that. Else if they bring out Rev B. hardware within < 2 years. Then if it turns out to be such a problem, can exchange whilst under the regular warranty. Those are the only practical solutions I know of.

pbriesch commented 9 years ago

Maybe you can try to put a fan close to the box and see if there is a difference. Forced convection transfers heat much better than natural convection. Some airflow will go thru the slots of the housing for sure.

x23piracy commented 9 years ago

btw. since i disabled one of the 4 tuners i never had to restart the box in the last two weeks (fw 8) i am using it with tvheadend. I don't believe in a thermal problem with the hw, for me it's probably more a software bug...hopefully :)

pbriesch commented 9 years ago

On ebay.de you can find some "refurbished" boxes. No idea what exactly has been refurbished.

x23piracy commented 9 years ago

links?

pbriesch commented 9 years ago

Well, it says B-Ware:

http://www.ebay.de/itm/TELESTAR-DIGIBIT-R1-B-Ware-SAT-IP-Transmitter-SD-HD-LAN-WLAN-5310440BW-/321735794054?pt=LH_DefaultDomain_77&hash=item4ae8f29d86

http://www.ebay.de/itm/Telestar-Digibit-R1-B1-Set-Bundle-SAT-to-IP-Router-Client-Receiver-HDTV-DVB-S-/121659460492?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2047675.l2557&nma=true&si=Us5JZubsOO7tqEX3veyQYtRNqwk%253D&orig_cvip=true&rt=nc

perexg commented 9 years ago

OK, next round, Removed the paragraph about the certification as suggested. Added few more notes to description, presented myself as tvheadend coder. My idea is to send this e-mail to inverto support (all known e-mails) to the SAT>IP contact e-mail and perhaps to Grundig / Telestar e-mail contacts.

pbriesch commented 9 years ago

It would be good to address our letter to real persons. Otherwise the email will just be deleted by a intern or secretary. Please check this out: https://www.linkedin.com/vsearch/p?f_CC=133063&trk=rr_connectedness

perexg commented 9 years ago

@pbriesch : could you list the real persons in the pad ? I'm not in linkedin so I don't see the page.