Requirements for Plasma Mobile at CyanogenModBase and Neon for other devices
Gerold Jens Wucherpfennig
gjwucherpfennig at gmx.net
Mon May 9 15:22:53 UTC 2016
Am 09.05.2016 um 15:44 schrieb Bhushan Shah:
...
>
> You need to enable the VT console in the kernel config,
>
> CONFIG_VT_CONSOLE=y
> CONFIG_VT_CONSOLE_SLEEP=y
>
> In specific, for hammerhead config,
>
> % grep "CONSOLE" cyanogenmod_hammerhead_defconfig | grep '^CONFIG.*'
> CONFIG_CONSOLE_TRANSLATIONS=y
> CONFIG_VT_CONSOLE=y
> CONFIG_VT_CONSOLE_SLEEP=y
> CONFIG_HW_CONSOLE=y
> CONFIG_SERIAL_CORE_CONSOLE=y
> CONFIG_SERIAL_MSM_HSL_CONSOLE=y
> CONFIG_DUMMY_CONSOLE=y
> CONFIG_ANDROID_RAM_CONSOLE=y
>
>>
>> Here is /proc/cmdline:
>>
>> console=ttySAC2,115200 consoleblank=0 androidboot.selinux=permissive
>> loglevel=4 console=ram androidboot.serialno=000934b07d3f2f
>> sec_debug.enable=0 sec_debug.enable_user=0 c1_watchdog.sec_pet=5
>> sec_log=0x100000 at 0x4d900000 s3cfb.bootloaderfb=0x5ec00000
>> ld9040.get_lcdtype=0x0 consoleblank=0 lpj=3981312 vmalloc=144m
>>
>
> You will also need to change the BoardConfig.mk for your device to have,
>
> console=tty0 instead of console=ttySAC2,115200 in the device tree, see
> patch to hammerhead device tree.
>
It still does not work. kernel_config2.gz ist attached to this email.
/proc/cmdline is:
console=tty0 consoleblank=0 androidboot.selinux=permissive loglevel=4
console=ram androidboot.serialno=000934b07d3f2f sec_debug.enable=0
sec_debug.enable_user=0 c1_watchdog.sec_pet=5
sec_log=0x100000 at 0x4d900000 s3cfb.bootloaderfb=0x5ec00000
ld9040.get_lcdtype=0x0 consoleblank=0 lpj=3981312 vmalloc=144m
And /var/log/upstart/lightdm.log is:
Failed to open VT master: No such file or directory
Jumping to VT -1
Failed to open /dev/tty-1: No such file or directory
Using /dev/tty0 instead of /dev/tty-1!
Failed to manage VT manually: Bad file descriptor
Couldn't initiate jump to VT -1: Bad file descriptor
[PAM] Starting...
[PAM] Authenticating...
[PAM] returning.
startng process
starting "/usr/bin/kwinwrapper"
"cat: "
"/sys/devices/virtual/dmi/id/board_name"
": No such file or directory"
"\n"
"No backend specified through command line argument, trying auto resolution"
"\n"
"QSocketNotifier: Invalid socket 15 and type 'Read', disabling...\n"
"KCrash: crashing... crashRecursionCounter = 2\n"
"KCrash: Application Name = kwin_wayland path = /usr/bin pid = 1869\n"
"KCrash: Arguments: "
"/usr/bin/kwin_wayland "
"--xwayland "
"--libinput "
"--lockscreen "
"--inputmethod "
"maliit-server "
"plasma-phone "
"\n"
"KCrash: Attempting to start
/usr/lib/arm-linux-gnueabihf/libexec/drkonqi from kdeinit\n"
"Warning: connect() failed: : No such file or directory\n"
"KCrash: Attempting to start
/usr/lib/arm-linux-gnueabihf/libexec/drkonqi directly\n"
"This application failed to start because it could not find or load the
Qt platform plugin \"wayland-org.kde.kwin.qpa\"\nin \"\".\n\nAvailable
platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal,
minimalegl, offscreen, wayland-egl, wayland, xcb.\n\nReinstalling the
application may fix this problem.\n"
In /dev there is only "tty" and not "tty0"
I hope you can help me in this regard ...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel_config2.gz
Type: application/gzip
Size: 21845 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160509/7327b23e/attachment-0001.bin>
More information about the Plasma-devel
mailing list