We're no longer updating This wiki!!

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:spi_lcdshiled [2016/06/20 17:46]
john1117 [Touch Calibration]
en:spi_lcdshiled [2016/12/21 17:02] (current)
john1117 [Advanced Usages]
Line 40: Line 40:
  
 <WRAP center round important 100%> <WRAP center round important 100%>
-To use the SPI, you first need to update the kernel version to "​3.10.83"​ or higher.+To use the SPI, you first need to update the kernel version to "​3.10.83"​ or higher. ​
   sudo apt-get update && sudo apt-get dist-upgrade   sudo apt-get update && sudo apt-get dist-upgrade
 +"​ads7846"​ module driver must be in the output of "​lsmod"​ command.
 </​WRAP>​ </​WRAP>​
  
-===== Coinfiguring ​framebuffer =====+==== How to enable driver (Only Ubuntu 16.04 or higher is required) ​==== 
 +Edit /​etc/​modprobe.d/​blacklist-odroid.conf to comment out following three ines. 
 +<​code>​ 
 +blacklist spidev 
 +blacklist spi_s3c64xx 
 +blacklist ads7846 
 +</​code>​ 
 + 
 +Reboot. 
 +  reboot 
 +Check your SPI node. 
 +  ls /​dev/​spidev* 
 + 
 +===== Configuring ​framebuffer =====
 **0. Update your Kernel** **0. Update your Kernel**
 <​code>​ <​code>​
Line 81: Line 95:
 </​code>​ </​code>​
  
-**2. Reboot** +**2. Run**
-  reboot +
-**3. Run**+
   /​etc/​init.d/​lightdm start   /​etc/​init.d/​lightdm start
 ===== Run Console ===== ===== Run Console =====
Line 102: Line 114:
 ===== Touch Calibration ===== ===== Touch Calibration =====
 {{:​en:​32tft:​cal.png?​300|}} {{:​en:​32tft:​cal.png?​300|}}
 +
 +<WRAP center round important 100%>
 +To use the Touch Calibration,​ you first need to update the kernel version to "​3.10.96-86"​ or higher.
 +  sudo apt-get update && sudo apt-get dist-upgrade
 +</​WRAP>​
  
 **0. The xinput-calibrator pakage download** **0. The xinput-calibrator pakage download**
 +
   sudo apt-get install xinput-calibrator   sudo apt-get install xinput-calibrator
  
 **1. Remove old calibration data.** **1. Remove old calibration data.**
 +
   sudo rm /​etc/​X11/​xorg.conf.d/​99-calibration.conf   sudo rm /​etc/​X11/​xorg.conf.d/​99-calibration.conf
 +  ​
 +**2. Login**
 +
 +You need a login to get DISPLAY.\\
 +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>​
 +
 +**3. Check your DISPLAY**
  
-**2. Check your DISPLAY** 
   odroid@odroid:​~$ w                                                              ​   odroid@odroid:​~$ w                                                              ​
   09:13:31 up 35 min,  2 users, ​ load average: 0.09, 0.08, 0.12                  ​   09:13:31 up 35 min,  2 users, ​ load average: 0.09, 0.08, 0.12                  ​
Line 117: Line 153:
   odroid@odroid:​~$   odroid@odroid:​~$
  
-**3. Run calibrator**+**4. Run calibrator** 
   sudo DISPLAY=:0 xinput_calibrator   sudo DISPLAY=:0 xinput_calibrator
  
Line 129: Line 166:
   sudo vi /​etc/​X11/​xorg.conf.d/​99-calibration.conf   sudo vi /​etc/​X11/​xorg.conf.d/​99-calibration.conf
  
-**4. Reboot**+**5. Reboot**
   sudo reboot   sudo reboot
 +
 +====== Advanced Usages ======
 +  * [[en:​spi_lcdshiled:​autoconsole|Automatically start console mode]]
 +  * [[en:​spi_lcdshiled:​autox|Automatically start desktop GUI mode]]
en/spi_lcdshiled.1466414161.txt.gz · Last modified: 2016/06/20 17:46 by john1117
CC Attribution-Share Alike 3.0 Unported
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0