New System: Asus Aspire V11 N3530

Scraped a Netbook with a broken Touchscreen, so i took of the Screen, relocated the Webcam and WLAN Antennas, plugged in HDMI, made a Libreelec USB Stick and installed LibreELEC (official): 8.2.3 (Generic.x86_64) which worked right out of the box but i had some troubles installing hyperion, precisely starting hyperion. so here’s my autostart.sh:

set DISPLAY=0.0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/storage/hyperion/bin
export PATH=$PATH:/storage/hyperion/bin
hyperiond /storage/.config/hyperion.config.json >/storage/logfiles/hyperion.z0mb1.log 2>&1 &
hyperiond /storage/.config/hyperion.espLight54.config.json > /storage/logfiles/hyperion.espLight54.log 2>&1 &
hyperion-x11 /storage/logfiles/hyperion-x11.log 2>&1 &

The sequence of hyperiond -> hyperion-x11 is relevant, else the x11 grabber wont connect to hyperiond via proto as in:

hyperion-x11:
version : V1.03.3 (brindosch-2fbbcff/2f01dfa-1495880388
build time: Jun 3 2017 02:06:03
PROTOCONNECTION INFO: Connecting to Hyperion: 127.0.0.1:19445
X11GRABBER INFO: Update of screen resolution: [0x0] => [1920×1200]
X11GRABBER INFO: Using XRender for grabbing
PROTOCONNECTION INFO: No connection to Hyperion: 127.0.0.1:19445

start hyperiond and the x11 grabber connects:

PROTOCONNECTION INFO: Connected to Hyperion: 127.0.0.1:19445

//i’m not sure about the set Display part, but it works in my case.

While moving, i realized, there’s no vcgencmd anymore, so my screensaver doesn’t work anymore. After 2 Days of researching i found the ToggleDPMS() builtin function.

change line 35 & 43 of the default.py

35:os.system('vcgencmd display_power 0')
43:os.system('vcgencmd display_power 1')

to

xbmc.executebuiltin('ToggleDPMS()')

doesnt work, line 43 won’t be executed, so no DPMS restore happens and i have to send a ToggleDPMS() manually…. Shell: kodi-send –action=”ToggleDPMS()” manually….

——————–XX WORk XX —————

… suspend:
grep . /sys/bus/usb/devices/*/power/wakeup

/sys/bus/usb/devices/1-2.1/power/wakeup:enabled
/sys/bus/usb/devices/1-2.2.1/power/wakeup:enabled
/sys/bus/usb/devices/1-2.2.2.4.3/power/wakeup:enabled
/sys/bus/usb/devices/1-2.2.2.4/power/wakeup:enabled
/sys/bus/usb/devices/1-2.2.2/power/wakeup:enabled
/sys/bus/usb/devices/1-2.2/power/wakeup:disabled
/sys/bus/usb/devices/1-2/power/wakeup:enabled
/sys/bus/usb/devices/usb1/power/wakeup:enabled
/sys/bus/usb/devices/usb2/power/wakeup:enabled

echo disabled |tee /sys/bus/usb/devices/*/power/wakeup
disables all wakeup caps from USB
echo enabled > /sys/bus/usb/devices/1-2.2.2.4.3/power/wakeup
enables just MY wireless Keyboard, to wakeup my System
add autostart.sh part and use suspend… but filesharing is offline too….

echo disabled |tee /sys/bus/usb/devices/*/power/wakeup 2>&1
echo enabled > /sys/bus/usb/devices/1-2.2.2.4.3/power/wakeup

Advertisements