Sundtek Support Forum

Deutsch => Sundtek MediaTV Pro => Treiber => Thema gestartet von: Bruder HiB am Mai 31, 2014, 12:49:59 Vormittag

Titel: TVHeadend will nicht mehr nach Standby
Beitrag von: Bruder HiB am Mai 31, 2014, 12:49:59 Vormittag
Moin,

hab heute meinen Digital Home 3 bekommen und bin super zu Frieden. Läuft echt super und alles auf anhieb. Besonders mit dem Packetmanger geht das super einfach auch für nicht Linux Leute. Hab jetzt allerdings doch noch ein Problem entdeckt. Ich habe einen Synology DS112 und benutze TVHeadend. Wenn die NAS im Standby war und wieder anläuft, dann funktioniert das Streamen nicht mehr. TVHeadend scheint den Stick noch zu erkennen, aber wenn ich mit XBMC einen Sender schauen will, dann geht das nicht mehr. XBMC gibt dann die Fehlermeldung "no Input detected". Nach einem Neustart der NAS geht auch wieder alles. Wenn ich den Stick raus ziehe und wieder reinstecke, geht er auch wieder. Der Stick scheint also irgendwie hängen zu bleiben...

Schöne Gruße
Jan
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am Mai 31, 2014, 02:07:24 Nachmittag
Wir werden uns das ansehen. Falls möglich kontaktiere uns via Skype (Sundtek) damit wir direkten Kontakt haben sobald wir das bearbeiten.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Bruder HiB am Mai 31, 2014, 11:19:41 Nachmittag
Vielen Dank. Wobei ich die Vermutung habe, dass dies gar nicht am Standby Modus liegt, sondern dass der Stick einfach irgendwann hängen bleibt. Ich werde das mal weiter beobachten. Ist leider etwas schwierig heraus zu finden, weil man die NAS ja nicht einfach in den Standby Modus versetzen kann. Und ich hab den Stick ja auch erst ja zwei Tagen.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am Mai 31, 2014, 11:21:25 Nachmittag
Oh, das sind USB 3.0 Ports? Hat das NAS noch USB 2.0 Ports übrig?

Wir sind soweit in Kontakt mit Synology, Allgemeine USB 3.0 Probleme sind bei Synology derzeit bekannt und sie arbeiten dran.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Bruder HiB am Juni 03, 2014, 10:29:59 Nachmittag
Ja sieht so aus, als läge es am USB 3.0 und doch nicht am Standby. Leider hat meine NAS kein USB 2.0 :-(
Wisst ihr schon, wann Synology ein Update rausbringt, in dem der Fehler behoben wird?
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am Juni 03, 2014, 10:51:50 Nachmittag
Synology ist derzeit aktiv dran, wir haben denen letzte Woche Testgeräte zugesandt.

Heute kam soweit raus das die Tuner seit letzter Woche noch auf dem Postweg sind.... (da Synology nachgefragt hatte wo die Tuner nun abgeblieben sind)
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: fragfutter am Juni 23, 2014, 10:55:38 Vormittag
gleiches oder aehnliches problem tritt auch auf einem x86_64 mainboard. Nach einem cold-boot laeuft tvheadend. Nachdem der digital home 3 eine weile idle ist, kann tvheadend nicht mehr auf ihn zugreifen.

Archlinux, usb2 und usb3, Mediaclient version 140619.140638.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am Juni 23, 2014, 11:05:12 Vormittag
Schau dir die Logfiles an, oder kontaktiere uns ggf. via Skype (sundtek)

Es gibt aktuell keine Treiberprobleme mit TVHeadend, Probleme können maximal durch andere Probleme des Rechners resultieren.

Synology arbeitet am USB 3.0 Problem, sie haben uns auch ein USB 3.0 NAS zum Testen zugesandt (und wir ihnen Testgeräte)
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Bruder HiB am Juli 09, 2014, 10:23:14 Nachmittag
Also, ich habe das noch mal etwas beobachtet. Die NAS fährt auch während TVHeadend streamt in den Standby-Betrieb. Während des Standby-Betrieb der NAS läuft das Streamen normal weiter. Weckt man die NAS auf, dann geht der Stick nicht mehr und der Stream bricht ab. Nimmt man etwas auf, dann geht die NAS auch nicht in den Standby-Betrieb und das Streamen scheint stabil zu laufen. Da scheint es also doch einen Zusammenhang zum Standby-Betrieb zu geben. Schließt natürlich nicht aus, dass es nicht trotzdem am USB3 Stack liegt... Zur Zeit habe ich den Treiber vom 01.07 und die aktuelle DMS.

Achso ich fände es ganz schön, wenn man in der Synology App sehen könnte welche Version (Datum) man zur Zeit installiert hat und wenn mit jeder neuen Version auch die App neu wird, so dass sich der neue Treiber automatisch installiert und man ihn nicht immer löschen und neuinstallieren muss. Wäre aber nur fine Tuning und nicht so wichtig.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am Juli 10, 2014, 12:07:06 Vormittag
Das mit dem Wakeup der Festplatte ist in der Tat ein Problem da der Treiber zu dieser Zeit blockiert wird.

Die anderen Punkte werden auf jeden Fall noch etwas erweitert, wir müssen uns aber erst Gedanken machen wie das hier am Besten Sinn macht. Eventuell jeden Monat ein Update, das Treiberpaket unterstützt halt auch mehrere Geräte und es macht nicht immer für alle Geräte Sinn extra das neue Update zu installieren.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: hansputters am Juli 11, 2014, 01:16:04 Vormittag
Is it possible to prevend the hard disk from awaking out of hibernation?
I switched off all apps, deleted Windows file service and so on.
In other words: the NAS is only used for streaming Sundtek DVB-C sticks.
Nevertheless i noticed that the NAS wakes up until three times per 24 hrs. which causes inevitably hick ups during streaming.

Has it anything to do with unsufficient CPU power of the NAS in question?
Would one with double core CPU perform better in this respect?

Thank you
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am Juli 11, 2014, 03:03:22 Vormittag
our NAS did not wake up for days already and TV has been running all the time.

It's already enough to access the webfrontend of the NAS to enable the Harddisk again?

One workaround would be of course to keep the harddisks awake all the time but that is definitely not recommended.

iptraf would be an application for monitoring the network access to your NAS but I'm not sure if it's available on it.


Maybe once it happens check the logfiles and timestamps in /var/log?
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: hansputters am Juli 11, 2014, 11:40:49 Vormittag
Thnx for your feedback.
Yes, i am afraid any attempt to access the NAS causes wake up and moreover, as mentioned before, the system seems to initiate this itself up to three times a day.

In logfiles of the Synology such happened for instance at 00.02 hrs last night.
Unfortunately there was no entry which process caused that.

As to the workaround suggested by you: why is it not recommended by the way?
I could activate the hard disk only while watching tv actually ?!?
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: hansputters am Juli 11, 2014, 09:25:17 Nachmittag
Dear Sundtek-support team,

I would be highly intetested to know why continous usage of the hard disk in NAS systems is not first choice.
Are you afraid of too high temperatue maybe?
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am Juli 11, 2014, 10:41:24 Nachmittag
On the Synology NAS I have no doubt that it is no problem due good cooling.

I think you are right that while you watch TV it should be okay (we can try to add some option for this).

We also have another NAS from IOMEGA / Lenovo which killed several harddisks due insufficient cooling (only little cooling and extremely high temperature of the harddisks), that's just what comes into mind first when mentioning standby. However the particular NAS killed our harddisks even without the usage of TV devices on it the system was not maintained at all from Lenovo.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: hansputters am Juli 12, 2014, 12:42:50 Vormittag
Great, thank you!
I will pay attention to the temperature the next coming days and keep you posted.
Moreover i considerate purchasing a (small=240 Gb) SSD.
Such devices suppose to operate with very low temperature
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Bruder HiB am Juli 12, 2014, 11:19:18 Vormittag
Arbeitet ihr denn an dem Problem mit dem blockierten/abstürzenden Treiber beim wieder Anfahren der Festplatte? Ist halt nervig, wen man eine Aufnahme geplant hat, die NAS in den Standby Modus fährt und dann die Aufnahme nicht hinbekommt :-( Wäre echt cool, wenn ihr das hinbekommt
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Matze83 am Juli 23, 2014, 10:04:27 Nachmittag
Habt ihr irgendwelche News bzgl. Synology USB 3.0 USB Bug? Bei Synology gibt's keine News dazu.
Gruß Matze
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am Juli 23, 2014, 10:12:30 Nachmittag
Synology arbeitet daran, wir sind hin und wieder mit dem Entwickler in Kontakt.

Das Problem ist nur nicht so simpel für den Synology Entwickler.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Matze83 am September 10, 2014, 11:16:29 Nachmittag
Hallo,
könnt ihr mal wieder ein update bzgl Synology USB3.0 Problem geben? Mittlerweile sind ja weitere 2 Monate ins Land gegangen.
Vielen Dank
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am September 10, 2014, 11:48:43 Nachmittag
Also wir nehmen an das es ein allgemeines XHCI Problem gibt welches nicht nur Synology NAS Systeme betrifft.
Wir haben Intel jetzt soweit ein Sample zugeschickt, sobald das allgemeine XHCI Problem gelöst ist werden diese Änderungen mit Synology auf das Synology NAS übertragen.

Dem Synology Entwickler fehlt leider die Erfahrung, bei uns fehlt derzeit leider aufgrund anderer Arbeiten an unseren Produkten (unter anderem dem DVB-S/S2 Produktstart) die Zeit uns das etwas genauer anzusehen. Die vorigen Versuche von Intel es zu reparieren sind fehlgeschlagen daher wird dort nun direkt mit unserem Gerät gearbeitet.

https://bugzilla.kernel.org/show_bug.cgi?id=75521
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Bruder HiB am September 21, 2014, 01:07:48 Nachmittag
Das mit dem Wakeup der Festplatte ist in der Tat ein Problem da der Treiber zu dieser Zeit blockiert wird.

Moin,

habt ihr bezüglich dieses Problems noch mal geguckt? Bei mir scheint es wirklich nur daran zu liegen, dass der Treiber abstürzt, wenn die Festplatte aufgeweckt wird. Dann muss ich den Stick entfernen und wieder einsetzen. Läuft der Treiber und die Festplatte, habe ich keine Problem feststellen können.

Schöne Grüße
Jan
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am September 21, 2014, 03:07:31 Nachmittag
Also abstürzen tut normalerweise nichts, der Treiber läuft ja auch schon ein gutes halbes Jahr auf unserem NAS.

Du kannst aber das Logging einschalten.

Erstelle eine Logfile mit folgendem Eintrag:
/etc/sundtek.conf
loglevel=min

Danach wird eine Logfile /var/log/mediasrv.log erstellt
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: hansputters am September 21, 2014, 04:35:34 Nachmittag
As reported before, i "suffer" from the same symptom, described by Bruder.
Only difference: the driver does not crash but only freezers are seen during hibernation process.
Sometimes hick ups do not disappear and a channel switch is needed.

That's why i activate hard drive during watching tv.
I wonder how awaking from Hibernation in Synology NAS can be elaminated.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Bruder HiB am September 22, 2014, 10:43:08 Nachmittag
Hab das Logen jetzt mal aktiviert. Der schreibt auch viele lustige Sachen. Worauf soll ich denn achten?

Wie macht sich denn der USB3 Fehler bei anderen bemerkbar?
Also bei mir bleibt unter XBMC das Bild hängen. Wechsel ich den Sender kommt irgendwann die Nachricht: No Input found
Dann muss ich den Stick raus und wieder rein machen und es geht wieder alles. Selbst ein Neustart bringt da nichts...

Gruß
Jan
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am September 22, 2014, 11:03:43 Nachmittag
Viel wird in der Logfile nicht drinnen stehen bezüglich dem Absturz aber zumindestens etwas.

"dmesg" könnte mehr anzeigen sobald es nicht mehr funktioniert, da der Fehler ja im USB Controller Treiber liegt und nicht in unserem, unserer bekommt da nur die Auswirkungen zu spüren.

Alternativ kann ich auch sagen ein Raspberry PI via Netzwerk funktioniert ganz gut, der lässt sich auch am NAS anbinden und funktioniert zumindestens bis das USB 3.o Controller Treiber Problem bei Synology gelöst ist recht problemlos.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Matze83 am Januar 27, 2015, 07:04:39 Nachmittag
Hallo,
lt. Matthias Nyman soll das xhci Problem mit Kernel 3.19 rc5 behoben sein (zumindest soll euer Stick funktionieren). Könnt ihr das bestätigen? Falls ja, könntet ihr eure Kontakte zu Synology nutzen, damit die das asap in ein DSM Update integrieren?
Gruß Mathhias
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am Januar 27, 2015, 11:23:58 Nachmittag
Laut Synology haben sie das Problem bereits im Griff somit wohl nur eine Frage der Zeit bis es überall live ist.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: hansputters am Februar 17, 2015, 03:41:11 Nachmittag
Is there still any chance of the implematation (Synology NAS running when advice is active) of the promised feature?
Please advise, otherwise i have to buy SSD's. Unfortunately too many recordings were lost due to hard disk issue.
Thanx
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am Februar 17, 2015, 03:42:47 Nachmittag
Hi,

I think around at the end of this week we can do this, unfortunately we had too many things to do recently and couldn't do this early.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: hansputters am Februar 17, 2015, 03:51:24 Nachmittag
Thank you for feedback.
For your information: please read device in stead of advice in my former post.
Sorry!
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: hansputters am Februar 21, 2015, 09:29:56 Nachmittag
Are you sure as to your earlier statement?
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am März 09, 2015, 04:00:03 Nachmittag
The next driver version will include following options:

wakeup_hook
and sleep_hook

this can be put into /etc/sundtek.conf

For the Synology NAS wakeup_hook could be hdparm -S 0 /dev/sda1

/etc/sundtek.conf
wakeup_hook=hdparm -S 0 /dev/sda1
sleep_hook=hdparm -S 10 /dev/sda1

The driver will run the wakeup_hook as soon as the device leaves the standby mode
sleep_hook will be executed once the device enters standby

USE UPPERCASE -S!!! LOWERCASE -s IS A DIFFERENT COMMAND AND DANGEROUS

Please note this is just an example, we will not include a default configuration in our installer (at least not at the moment).
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: hansputters am März 17, 2015, 11:06:49 Nachmittag
Sundtek support took over control through teamviewer and modified my Synology-system accordingly.
Really a top service but unfortunately the result was far from being satisfactory.
No problem since i was aware that the service added was experimental for the time being.

For some reason my several requests for additional support (howto in order to remove this service from my system)stayed unreplied.

Why, i ask myself.......
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am März 19, 2015, 10:43:06 Nachmittag
Your topic requires R&D it's not like someone can do this immediately on your target system.

Synology NAS Systems are not regular Linux Systems, the customization you request requires some deeper knowledge about the Synology Disk Hibernation system (which we do not have at the moment).

This topic is on our list, unfortunately our R&D staff is also busy with many other things at the moment so we can only queue up such items and work on it one after each other.
Titel: Re:TVHeadend will nicht mehr nach Standby
Beitrag von: Sundtek am März 20, 2015, 03:48:50 Nachmittag
The next driver will support global_wakeup_hook and global_standby_hook giving the possibility to run an application if one tuner wakes up and running another application when all tuners are in standby.

Now for Synology we just need to know which command is able to change the hibernation settings of  Synology NAS systems and put that command behind global_wakeup/sleep_hook into the configuration file.