'Display Debian GUI on 2.8"LCD' does not work on M1, why?
Posted: Mon Nov 21, 2016 8:44 am
Nanopi status LCD program works fine:
http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_2%278_SPI_Key_TFT#Compile_.26_Run_Test_Program
But 'Display Debian GUI on 2.8"LCD' does not work on my M1:
http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_2%278_SPI_Key_TFT#Display_Debian_GUI_on_2.8.22LCD
Likely because of the ioctl error logged, what does that mean, or how to prevent?
Hermann.
http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_2%278_SPI_Key_TFT#Compile_.26_Run_Test_Program
But 'Display Debian GUI on 2.8"LCD' does not work on my M1:
http://wiki.friendlyarm.com/wiki/index.php/Matrix_-_2%278_SPI_Key_TFT#Display_Debian_GUI_on_2.8.22LCD
Likely because of the ioctl error logged, what does that mean, or how to prevent?
Code: Select all
...
Last login: Sat Nov 19 04:58:09 2016 from oc7888421160.fritz.box
root@NanoPi-M1:~# cd matrix/demo/nanopi-status/
root@NanoPi-M1:~/matrix/demo/nanopi-status# ./display-debian.sh /dev/fb-st7789s
-bash: ./display-debian.sh: Permission denied
root@NanoPi-M1:~/matrix/demo/nanopi-status# chmod 755 display-debian.sh
root@NanoPi-M1:~/matrix/demo/nanopi-status# ./display-debian.sh /dev/fb-st7789s
Hardware:sun8i
Revision:0000
root@NanoPi-M1:~/matrix/demo/nanopi-status# dmesg | tail -14
[ 323.054008] EXT4-fs (mmcblk0p2): last error at 1479486542: ext4_remount:4398: inode 744
[ 338.033580] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.
[ 338.045341] fbtft_device: SPI devices registered:
[ 338.050705] fbtft_device: spidev spi0.0 33000kHz 8 bits mode=0x00
[ 338.057947] fbtft_device: 'fb' Platform devices registered:
[ 338.477419] graphics fb8: fb_st7789s frame buffer, 240x320, 150 KiB video memory, 16 KiB DMA buffer memory, fps=30, spi0.2 at 25 MHz
[ 338.490717] fbtft_device: GPIOS used by 'matrix-st7789s':
[ 338.496804] fbtft_device: 'dc' = GPIO1
[ 338.501285] fbtft_device: 'reset' = GPIO203
[ 338.506211] fbtft_device: 'cs' = GPIO67
[ 338.510766] fbtft_device: SPI devices registered:
[ 338.516081] fbtft_device: spidev spi0.0 33000kHz 8 bits mode=0x00
[ 338.523338] fbtft_device: fb_st7789s spi0.2 25000kHz 8 bits mode=0x00
[ 339.109446] [DISP] disp_ioctl,line:1584:para err in disp_ioctl, cmd = 0x0,screen id = 65536
root@NanoPi-M1:~/matrix/demo/nanopi-status#
Hermann.