Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:c1_tft_autox [2016/11/14 10:40] john1117 |
en:c1_tft_autox [2016/11/14 11:05] john1117 [Auto login] |
||
---|---|---|---|
Line 1: | Line 1: | ||
===== Auto startx ===== | ===== Auto startx ===== | ||
- | === Add following lines in "/etc/modprobe.d/lcd35.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 | ||
Line 9: | Line 9: | ||
=== Create a new config file === | === Create a new config file === | ||
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old | sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.old | ||
- | + | sudo vi /etc/X11/xorg.conf | |
- | === Add following lines in "/etc/X11/xorg.conf" file. === | + | === And then, add following lines in "/etc/X11/xorg.conf" file. === |
<code> | <code> | ||
Section "Device" | Section "Device" | ||
Line 23: | Line 23: | ||
- | ===== Auto login ===== | + | ===== Auto login [16.04] ===== |
If you want auto login.\\ | If you want auto login.\\ | ||
Edit /etc/lightdm/lightdm.conf file to enable auto-login: (password: odroid) | Edit /etc/lightdm/lightdm.conf file to enable auto-login: (password: odroid) |