Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:spi_lcdshiled [2016/06/20 17:57] john1117 [Touch Calibration] |
en:spi_lcdshiled [2016/12/21 17:02] 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** | ||
Line 151: | Line 168: | ||
**5. 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]] |