Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:xu4_cloudshell_lcd_config [2015/09/16 16:57] brian.kim |
en:xu4_cloudshell_lcd_config [2017/03/17 10:13] (current) brian.kim |
||
---|---|---|---|
Line 8: | Line 8: | ||
- | **Before attempting this guide, please make sure you are running the latest kernel. ** | + | ** Tested on Ubuntu 16.04 Minimal ** |
- | You can update your kernel using ODROID Utility. | ||
Line 18: | Line 17: | ||
echo "options fbtft_device name=hktft9340 busnum=1 rotate=270" > /etc/modprobe.d/odroid-cloudshell.conf | echo "options fbtft_device name=hktft9340 busnum=1 rotate=270" > /etc/modprobe.d/odroid-cloudshell.conf | ||
echo "spi_s3c64xx" >> /etc/modules | echo "spi_s3c64xx" >> /etc/modules | ||
+ | echo "spidev" >> /etc/modules | ||
echo "fbtft_device" >> /etc/modules | echo "fbtft_device" >> /etc/modules | ||
</code> | </code> | ||
+ | |||
+ | === Edit /etc/modprobe.d/blacklist-odroid.conf === | ||
+ | Remove the blacklist on spi. | ||
+ | |||
+ | <code> | ||
+ | # Comment the required lines | ||
+ | |||
+ | # IO Board | ||
+ | blacklist ioboard_bh1780 | ||
+ | blacklist ioboard_bmp180 | ||
+ | blacklist ioboard_keyled | ||
+ | |||
+ | # SPI | ||
+ | # blacklist spidev | ||
+ | # blacklist spi_s3c64xx | ||
+ | |||
+ | # 3.2" LCD Touchscreen driver | ||
+ | blacklist ads7846 | ||
+ | </code> | ||
+ | |||
+ | |||
The commands above will ensure that at every boot the LCD is configured. | The commands above will ensure that at every boot the LCD is configured. |