This shows you the differences between two versions of the page.
faq [2015/02/20 19:24] iridium [Enable serial console] |
faq [2016/09/10 14:51] (current) golden-guy Add section on changing default governor |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | This is the Users Wiki FAQ Page. It is intended for users to add their own FAQ to assist other users. | ||
+ | If a user generated FAQ is of sufficient interest to other users it may be moved to the global FAQ at http://www.xbian.org/faq/, | ||
+ | If this happens and you need to update or report an issue, please post you comments along with the corresponding entry to http://forum.xbian.org/thread-2768.html | ||
- | ==== Enable serial console ==== | + | ===== FAQ ===== |
- | To enable the serial console, add ''console=ttymxc0,115200'' to the command line, after ''setenv baseconfig''. The third line in /boot/boot.src.txt should look something like this: | + | ==== Change CPU governor policy ==== |
- | <code> | + | Per default, //performance// governor is active when Kodi is in use (i.e. no screensaver is active). When Kodi is running idle (with screensaver on), xbian switches to //conservative// governor. To change the governor for active use to //ondemand//, append this line to **/etc/default/xbian-module-init-tools**: |
- | setenv baseconfig console=ttymxc0,115200 coherent_pool=1M rw ahci_imx.hotplug=1 raid=noautodetect telnet root=/dev/mmcblk0p2 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 rootwait consoleblank=0 selinux=0 nohdparm splash dmfc=3 | + | |
- | </code> | + | |
- | Run /boot/mks to activate the change. | + | |
- | To enable a terminal on the serial console, copy the file ''/etc/init/tty1.conf'' to ''/etc/init/tty3.conf''. Edit the last line in the new file, replace tty1 with ttymxc0, and 38400 with 115200. It should look like this: | + | //CPUFREQ_GOVERNOR="ondemand"// |
- | <code> | + | |
- | exec /sbin/getty -8 115200 ttymxc0 | + | Note that if you do not set a screensaver, the governor will not fall back to //conservative//, but will instead stick to //performance// or //demand//, depending on your setup. |
- | </code> | + |