1.1.1.1 faster DNS Server

heise 2.4.2018

Datenschutz zuerst: Garantiert.

for my whole Intranet: change DNS server on Router to 1.1.1.1 & 1.0.0.1 (IPv4)
everything else: Multi System Install Instructions

####### Contra ########

#CRIMEFLARE on twitter

crimeflare.us !offline!

Advertisements

MacOS Spotify/Youtube Airplay

Workaround for stopping Audio Playback on MacOS 10.12.6, Firefox 59.0.2 (64-Bit) and Shairport Server on Libreelec 8.2.4 (Generic.x86_64).

keep Preference Pane/ Systemeinstellungen open

….it doesn’t matter, if u’re on audiosettings (“alt+Mute” or “alt+Vol+” or “alt+Vol-“); it looks as if keeping the Pane open forces MacOS to stay on Airplay and not to switch back to integrated speekers

Hyperion->Arduino Nano->TM1829

dmesg reveals

xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part of current TD ep_index 3 comp_code 1

xhci_hcd 0000:00:14.0: Looking for event-dma 00000000773fe670 trb-start 00000000773fe680 trb-end 00000000773fe680 seg-start 00000000773fe000 seg-end 00000000773feff0

so it’s still working and i think, the Message is more or less old and happened since on Openelec/Libreelec

Intel N3540 Hickup

force Performance Govenor Speed Settings by adding following line to your autostart.sh to fix system freeze. to force turbo

echo performance | tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor

CPU0: Intel(R) Pentium(R) CPU N3540 @ 2.16GHz (family: 0x6, model: 0x37, stepping: 0x8)

Bug 109051 – intel_idle.max_cstate=1 required to prevent crashes – Baytrail

didn’t work for me, so i disabled the intel_idle kernel extension via intel_idle.max_cstate=0

IBM Bug Description

dmesg |grep -i intel_idle

[ 0.000000] Command line: BOOT_IMAGE=/KERNEL boot=LABEL=System disk=LABEL=Storage quiet intel_idle.max_cstate=0
[ 0.000000] Kernel command line: root=/dev/ram0 rdinit=/init usbcore.autosuspend=-1 BOOT_IMAGE=/KERNEL boot=LABEL=System disk=LABEL=Storage quiet intel_idle.max_cstate=0
[ 0.918731] intel_idle: disabled

 

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

KODI Debug Script

Simple script to toggle debug mode in KODI and tail the logfile. Exit via Interrupt (ctrl+c/^+c) executes the DebugToggle() action in KODI to terminates Debugmode.
#!/bin/bash
clean() {
kodi-send --host=localhost --port=9777 --action="ToggleDebug()"
exit 1
}
trap 'clean' INT
kodi-send --host=localhost --port=9777 --action="ToggleDebug()"
tail -f /storage/.kodi/temp/kodi.log

Kodi Auto Fullscreen

Add to

.kodi/addons/skin.titan/1080i/Custom_FullscreenMusic.xml

this line:

<visible>Player.HasAudio + Skin.HasSetting(FullscreenMusic) + IsEmpty(Window(10025).Property(PlayingBackgroundMedia)) + System.IdleTime(5) + Player.Playing</visible>

original:

<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1118">
  <allowoverlay>no</allowoverlay>
  <onload condition="!Window.IsActive(visualisation)">FullScreen</onload>
  <visible>Player.HasAudio + Skin.HasSetting(FullscreenMusic) + String.IsEmpty(Window(10025).Property(PlayingBackgroundMedia))</visible>
  <controls></controls>
</window>

this should work on every skin in KODI, you prob have to customize the settings “Skin.HasSetting” and the window ids.

OSX & Samba… hate-it! but…

there’s a little workaround…

The Situation: all my music is stored on a Openelec Mediasystem and when i want to edit the ID3Tag or copy to my Phone, i always have to use the samba share on OE… it always would take “hours” to navigate through directory, ’cause every folder takes like 5mins to load, except now, you rather expect what is inside.

i started organizing my music though iTunes, meaning ./Artist/Album/[Number] [NAME].mp3

so, i press “apple+shift+g” to navigate to a folder and when inside the musicfolder, enter the artistname, and then the folder appears; the best, it’s case insensitive…. following inside the artistfolder “apple+shift+g” to navigate to the album, or the “Unknown Album” folder and so on. it forces finder to reload the content, meaning looking for a file is possible too; just “go-to folder” “01” and finder will be forced to load the contend.

LibreELEC, OpenELEC experience

After nearly a year after moving from OE to LE, i moved back. I Don’t really know, if there’s a real difference, except LE still uses lirc or if it’s just a newly built system.

i’m using

  • OE8.0.3(official)
  • Titan Beta Skin
  • 3X0DU5 😉
  • 3 Instances of Hyperion ESP01w/ws2812b and Arduinow/TM1829 and SPIw/ws2812b plus forwarder