[APKG HD_Engine] F.A.Q. Know Bug and workaround

Moderator: Lillian.W@AST

Post Reply
User avatar
father.mande
Posts: 1817
youtube meble na wymiar Warszawa
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

[APKG HD_Engine] F.A.Q. Know Bug and workaround

Post by father.mande »

Hi,

I will start a F.A.Q. for HD_Engine ...
it's very short for now ... BUT please wait ... I will be in travel next week (10 days from 22 February 2016)

Q.
After a TV passing in sleep mode or after disconnecting HDMI (even in front of Asportal) ... sometimes when you start P.H.T.
you have a BLACK screen with only the mouse ...
R.
It's seems to be a problem from Xorg or aswm/asptask (the asportal windows manager (aswm from evilwm) and desktop manager (astask)
... you can see that in this case (BUT not only with HD_Engine the delay to go up again is VERY long (like when asportal is stopped and restarted) between 15 to 20 sec. on my 5002T
... .. I can't solve this point (no access to any information on Asustor Xorg, aswm, astak implementation ...
WORKAROUND :
1) "soft" open a console (ssh or telnet)
try :
hd_manage list_running ... (in response plexhometheater must be visible)
hd_manage kill_all ... this kill ALL process started by astuser the HD_Engine suer ... so kill plexhometheater
go back to asportal screen and click again on P.H.T. icons
2) "hard" BUT without consoke go to app-central and
... stop hd-engiine
... restart hd-engine
go back to asportal screen and click again on P.H.T. icons
If is not enough (normaly based on my limited tests it's) add before restarting hd-engine
... stop then restart asportal
... retstart hd-engine
go back to asportal screen and click again on P.H.T. icons
OR
3) less "hard" open a ssh or telnet console
enter in the chroot :
hd_manage enter
then do ...
xdotool getactivewindow ... (this get the id of the window in front of the screen
xdotool getwindowname ID ... (return by getactivewindow ... if P.H.T. it's "XBMC Media Center"
xdotool windowclose ID (close gracefully the window)
exit
BUT you must verify that plexhometheater is killed (see the point 1)
go back to asportal screen and click again on P.H.T. icons

Q.
How I can update or install other program
R.
open a console, enter in chroot
hd_manage enter
... to update packages
apt-get update
apt-get upgrade

... to install new package
after apt-get update and upgrade
apt-get install "package_name"
SURVEY if a GREEN message (starting a service is added) ...
if not ... nothing to do
if yes ... link the init script (/etc/init.d) to /etc/ASUSTOR/rcS.d/ and rcK.d ... to add the start of this service to HD_Engine
if it's a restart ... nothing to do (generally x11-common or dbus)
Now you can test the new program (if it's need a GUI)
Asportal is Enbale and NOT run application
do :
su - astuser (to change to user mode)
then run your application to tes it before integration
integration in Asportal is a next message ...


Philippe.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “HD_Engine”