Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:c1_tft_autoconsole [2016/11/14 10:37] john1117 |
en:c1_tft_autoconsole [2016/11/14 11:10] (current) john1117 [Auto login] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Auto console ===== | ===== Auto console ===== | ||
- | ==== Add following lines in "/etc/modprobe.d/lcd32.conf" file. ==== | + | === Add following lines in "/etc/modprobe.d/lcd32.conf" file. === |
options fbtft_device name=odroidc_tft32 rotate=270 gpios=reset:116,dc:115 speed=32000000 cs=0 | options fbtft_device name=odroidc_tft32 rotate=270 gpios=reset:116,dc:115 speed=32000000 cs=0 | ||
- | ==== Add following lines in "/etc/modules" file. ==== | + | === Add following lines in "/etc/modules" file. === |
spicc | spicc | ||
fbtft_device | fbtft_device | ||
- | <WRAP hide> | ||
- | **Disable xorg on your ODROID-C1**\\ | ||
- | There is two ways to disable.\\ | ||
- | 1) Way to use the odroid-utility\\ | + | === Add kernel argument to file "/media/boot/boot.ini" === |
- | sudo odroid-utility | + | |
- | + | ||
- | Use up / down cursor keys to select the "Xorg On/Off" menu option and hit. And then, select "Disable Xorg". | + | |
- | + | ||
- | 2) Way to use native\\ | + | |
- | Write a word "manual" on /etc/init/lightdm.override | + | |
- | + | ||
- | sudo vi /etc/init/lightdm.override | + | |
- | + | ||
- | **Add kernel argument to file "/media/boot/boot.ini"** | + | |
- | fbcon=map:22 | + | |
- | **Reboot** | + | |
- | sudo reboot | + | |
- | </WRAP> | + | |
- | ==== Add kernel argument to file "/media/boot/boot.ini" ==== | + | |
Find bootargs line and append following line to the end of line. | Find bootargs line and append following line to the end of line. | ||
fbcon=map:22 | fbcon=map:22 | ||
ex) setenv bootargs "root=UUID... fbcon=map:22" | ex) setenv bootargs "root=UUID... fbcon=map:22" | ||
- | ==== Automatically enable ==== | + | === Automatically enable === |
Add following line in "/etc/rc.local" file. | Add following line in "/etc/rc.local" file. | ||
chvt 1 | chvt 1 | ||
- | ==== Reboot ==== | + | === Reboot === |
sudo reboot | sudo reboot | ||
- | ==== Auto login ==== | + | |
+ | ===== Auto login [16.04] ===== | ||
Edit tty1 service | Edit tty1 service | ||
sudo systemctl edit getty@tty1 | sudo systemctl edit getty@tty1 | ||
Line 48: | Line 31: | ||
Restart tty1 service | Restart tty1 service | ||
sudo systemctl restart getty@tty1 | sudo systemctl restart getty@tty1 | ||
- |