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_autox [2016/09/21 19:38] john1117 |
en:c1_tft_autox [2016/11/17 09:56] (current) odroid [Auto login [16.04]] |
||
---|---|---|---|
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=flexpfb rotate=270 | + | === Add following lines in "/etc/modules" file. === |
- | options flexfb chip=ili9488 | + | spicc |
- | + | ||
- | Add following lines in "/etc/modules" file. | + | |
- | aml_i2c | + | |
- | pwm-meson | + | |
- | pwm-ctrl | + | |
fbtft_device | fbtft_device | ||
- | flexfb | ||
- | sx865x | ||
- | 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 25: | Line 19: | ||
</code> | </code> | ||
- | Reboot | + | === Reboot === |
sudo reboot | sudo reboot | ||
+ | |||
+ | |||
+ | ===== Auto login [16.04] ===== | ||
+ | If you want auto login.\\ | ||
+ | Edit /etc/lightdm/lightdm.conf file to enable auto-login: (password: odroid) | ||
+ | |||
+ | <code> | ||
+ | odroid@odroid:~$ sudo vi /etc/lightdm/lightdm.conf | ||
+ | [sudo] password for odroid: | ||
+ | odroid@odroid:~$ cat /etc/lightdm/lightdm.conf | ||
+ | [SeatDefaults] | ||
+ | autologin-user=odroid | ||
+ | autologin-user-timeout=0 | ||
+ | odroid@odroid:~$ | ||
+ | </code> | ||
+ | |||
+ | |||
+ | If it doesn't work, edit /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf file to add below three lines. | ||
+ | <code> | ||
+ | [SeatDefaults] | ||
+ | greeter-session=lightdm-gtk-greeter | ||
+ | autologin-user=odroid | ||
+ | </code> |