View Single Post
Old 05-02-2018, 02:33 PM   #3
nohandlebars
Member
nohandlebars can read faster than his screen refreshesnohandlebars can read faster than his screen refreshesnohandlebars can read faster than his screen refreshesnohandlebars can read faster than his screen refreshesnohandlebars can read faster than his screen refreshesnohandlebars can read faster than his screen refreshesnohandlebars can read faster than his screen refreshesnohandlebars can read faster than his screen refreshesnohandlebars can read faster than his screen refreshesnohandlebars can read faster than his screen refreshesnohandlebars can read faster than his screen refreshes
 
Posts: 16
Karma: 14242
Join Date: Jan 2018
Device: None
Quote:
Originally Posted by Elaxon View Post
Is this permanent or can I decide to revert to KSM whenever?

Does not seem to be working for me H20 Aura

mkdir: can't create directory '/mnt/kobo': File exists
mounting /mnt/onboard/kobo/kobo.ext3 to /mnt/kobo
mounting auxilliaries
bind mounting /dev
bind mounting /dev/pts
bind mounting /proc
bind mounting /sys
copying /etc/ files
killing ksmhome.sh
starting framebuffer update script
starting chroot as elaxon
sudo: unable to resolve host (none)
elaxon@(none):/$ starting xwindow server
hostname: Name or service not known
xauth: (stdin):1: bad display name "(none):1" in "add" command

libudev: udev_has_devtmpfs: name_to_handle_at on /dev: Function not implemented

X.Org X Server 1.16.4
Release Date: 2014-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.0-4-armmp-lpae armv7l Debian
Current Operating System: Linux (none) 2.6.35.3-850-gbc67621+ #3032 PREEMPT Mon Jan 9 13:37:40 CST 2017 armv7l
Kernel command line: console=ttymxc0,115200 rootwait rw quiet lpj=4997120 root=/dev/mmcblk0p1 rootfstype=ext4 hwcfg_p=0x8ffffe00 hwcfg_sz=110 waveform_p=0x8f98b800 waveform_sz=6768096 mem=505M boot_port=2 mx50_1GHz
Build Date: 16 October 2017 09:26:27AM
xorg-server 2:1.16.4-1+deb8u2 (http://www.debian.org/support)
Current version of pixman: 0.32.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Tue May 1 03:00:08 2018
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
exporting environment variables
fixing coordinate tranformation matrix
Unable to connect to X server
This is no way permanent, you can simply delete the files whenever you want. You do have to restart your device to get back into KSM though, see number 3 in the Goals section. Are you using an H2O Aura first gen or the 2017 model? There is nothing in your output that suggests it is not working, all those errors are quite normal except the last one but that wouldn't affect the actual xserver from loading, it just means the transformation matrix can't be updated. If you want to fix that error message you can uncomment the following lines in the startx.sh script in the home directory of the chroot.
Code:
#printf "checking which display x is running on\n"
#CURDIS=$(ps -u $(id -u) -o pid= | \
#    while read pid; do
#        cat /proc/$pid/environ 2>/dev/null | tr '\0' '\n' | grep '^DISPLAY=:'
#    done | grep -o ':[0-9]*' | sort -u)
#printf "$CURDIS \n"
printf "exporting environment variables\n"
#export DISPLAY=$CURDIS
And comment the following line
Code:
export DISPLAY=:0
I was using this to get the correct value for the DISPLAY environment variable but it doesn't always work for some reason, the error you are seeing is because I am telling it explicitly that it should be 0 which it usually is but it is not always the case. I will find an elegant solution to this in the future.

I have uploaded a video and linked to it in the first post to see how to get the framebuffer script working from KSM, it is a bit fiddly but basically as long as you press "Return" right after the framebuffer update script starts it should always work.
nohandlebars is offline   Reply With Quote