tag:blogger.com,1999:blog-8045943610241725588.post2067215466568507069..comments2022-03-02T11:18:50.976+00:00Comments on MGD Blog: Getting an ILI9341 SPI screen working on the RaspberryPIMarcos Davidhttp://www.blogger.com/profile/00050487653756352601noreply@blogger.comBlogger54125tag:blogger.com,1999:blog-8045943610241725588.post-27784844775221918302018-02-20T22:20:29.058+00:002018-02-20T22:20:29.058+00:00Hello, anyone tried to set this up with dual ili93...Hello, anyone tried to set this up with dual ili9341?<br />Any advice?Maxhttps://www.blogger.com/profile/08086552035729540737noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-34430353530186407202017-08-24T14:06:27.301+01:002017-08-24T14:06:27.301+01:00Good to hear!
BL stands for BackLight so LED will ...Good to hear!<br />BL stands for BackLight so LED will do the same :)Marcos Davidhttps://www.blogger.com/profile/00050487653756352601noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-31896177056063362582017-08-24T13:33:57.364+01:002017-08-24T13:33:57.364+01:00This worked great! Thanks
One thing to note, on ...This worked great! Thanks<br /><br />One thing to note, on a few of my displays the pin names were a little different: most notably "bl" was labeled "led"RayGeekNYChttps://www.blogger.com/profile/12917885821073267210noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-49204717904215700292017-01-03T14:26:35.274+00:002017-01-03T14:26:35.274+00:00Hi Gabriel,
It should work. You might need to adju...Hi Gabriel,<br />It should work. You might need to adjust the rotation if the screen isn't exactly the same. But as long as the chipset and resolution are the same, it should work.<br /><br />CheersMarcos Davidhttps://www.blogger.com/profile/00050487653756352601noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-3282885998300178762017-01-02T22:28:54.745+00:002017-01-02T22:28:54.745+00:00Does this work with the ILI9341 with a screen of ...Does this work with the ILI9341 with a screen of 2.8''?<br /><br />Thanks in advance.Gabrielhttps://www.blogger.com/profile/04710382360175202644noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-40644597176189208252016-08-02T08:42:39.253+01:002016-08-02T08:42:39.253+01:00Hi,
From the ouput of dmesg it seems that either ...Hi,<br /><br />From the ouput of dmesg it seems that either you didn't load the module or you're using the builtin version.<br /><br />The configuration depends on how you are setting this up. <br />If you're using the built in version you need to change the kernel command line. There is an example in the comments here.<br /><br />But if you still need help, I'm afraid I need more information on how you're setting this up.Marcos Davidhttps://www.blogger.com/profile/00050487653756352601noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-57750187240148014532016-08-01T18:20:47.297+01:002016-08-01T18:20:47.297+01:00I tried again.
dmesg
http://ideone.com/rt3EBN
It&#...I tried again.<br />dmesg<br />http://ideone.com/rt3EBN<br />It's possible that I made some mistakes in installation... Mikołajhttps://www.blogger.com/profile/02645600905633844006noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-78546337909111527442016-06-07T22:11:27.687+01:002016-06-07T22:11:27.687+01:00cat /dev/urandom > /dev/fb1
also don't work...cat /dev/urandom > /dev/fb1<br />also don't work. i have also changed the display.Anonymoushttps://www.blogger.com/profile/10085108413969508271noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-4553392344798167702016-06-04T22:53:02.452+01:002016-06-04T22:53:02.452+01:00Hello, i've done all your recomended steps
[ ...Hello, i've done all your recomended steps<br /><br />[ 46.950383] spidev spi0.0: Deleting spi0.0<br />[ 46.951728] fbtft_device: GPIOS used by 'fb_ili9341':<br />[ 46.951742] fbtft_device: 'reset' = GPIO23<br />[ 46.951751] fbtft_device: 'dc' = GPIO24<br />[ 46.951759] fbtft_device: 'led' = GPIO18<br />[ 46.951775] spidev spi0.1: spidev spi0.1 500kHz 8 bits mode=0x00<br />[ 46.951790] spi spi0.0: fb_ili9341 spi0.0 16000kHz 8 bits mode=0x00<br />[ 46.957365] fb_ili9341: module is from the staging directory, the quality is unknown, you have been warned.<br />[ 47.284612] graphics fb1: fb_ili9341 frame buffer, 320x240, 150 KiB video memory, 16 KiB DMA buffer memory, fps=20, spi0.0 at 16 MHz<br />i think the display should work, but i dosen't<br />when i type in con2fbmap 1 1 nothing happen, the screen is white.<br />when i type in sudo FRAMEBUFFER=/dev/fb1 startx the screen is for 1 second black then it change to white again.<br /><br />i would appreciate your help.<br /><br />Anonymoushttps://www.blogger.com/profile/10085108413969508271noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-4354216964222749592016-05-19T17:51:20.825+01:002016-05-19T17:51:20.825+01:00My TFT 2.2 ili9341 displays OK but how can I confi...My TFT 2.2 ili9341 displays OK but how can I configure/wire the TFT screen to use CE1 intead of the default CE0? In the suggestions above for "modprobe" no reference is made to a value for 'cs' so I guess that channel 0 is the default. Also placing cs:7 or cs:07 or cs:CE1, in the line fbtft_device custom name=fb_ili9341 gpios=reset:25,cs:7,dc:24,led:18 speed=16000000 rotate=90 bgr=1 does not change the settings show in dmesg | grep fbtft when the CS pin is connected to CE1 and displays a white screen.Anonymoushttps://www.blogger.com/profile/09371254199057747723noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-76643962415557751352016-02-24T10:34:32.787+00:002016-02-24T10:34:32.787+00:00Hi Ravi,
I'm not 100% sure on this but here a ...Hi Ravi,<br />I'm not 100% sure on this but here a my best guesses. <br /><br />16bit uses a 5 bit representation for Red and Blue and 6 bits for green (https://en.wikipedia.org/wiki/List_of_monochrome_and_RGB_palettes#16-bit_RGB)<br /><br />18bit uses 6 bits for Red, Green and Blue.<br />https://en.wikipedia.org/wiki/List_of_monochrome_and_RGB_palettes#18-bit_RGB<br /><br />It basically defines the amount of colours you can display. <br />16bit=65,536 colours<br />18bit=262,144 colours<br /><br />There are a few things to keep in mind:<br />1 - more colours = more memory - since you need an extra 2 bits per pixels will need a larger buffer to keep all the screen information. This is irrelevant with a RaspPI, since there is plenty of memory, but important in micro-controllers or embedded devices where memory is very constraint.<br />Remember you need 18bit for each pixel, so if you have a 320x240 resolution this means:<br />320*240*18~168kB VS 320*240*16~150kB, that 18KB difference might seem small but in micro-controller world it is actually huge :D<br /><br />2 - Also, the screen you are using needs to be able to represent all the colours in the format you're using. For instance, if you use a 18bit pallete but the screen is only able to display 65536 colours then there is no point in using the 18bit format.<br /><br />So, in summary, for the RaspPI it doesn't really make a difference.<br />If you were using an Arduino it's a different story.<br />However, since the datasheet needs to supply all the relevant information for all use cases, they list those options as well and the chip supports both formats.<br /><br />Hope this clears it up for you!<br /><br />Cheers,<br />MDMarcos Davidhttps://www.blogger.com/profile/00050487653756352601noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-40425864533906491052016-02-24T10:07:08.273+00:002016-02-24T10:07:08.273+00:00I saw in data sheet that dpi[2:0] is used to selec...I saw in data sheet that dpi[2:0] is used to select representation of the pixel by either 16-bit or 18-bit, here my doubt is why we need two types of representations and what is difference in 16-bit notation compared to 18-bit notation. what is the advantages compared one with other?Anonymoushttps://www.blogger.com/profile/16553735463071495711noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-25821738808059077432016-02-24T10:05:48.091+00:002016-02-24T10:05:48.091+00:00This comment has been removed by a blog administrator.Anonymoushttps://www.blogger.com/profile/16553735463071495711noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-20279722554245151612016-02-18T08:53:45.641+00:002016-02-18T08:53:45.641+00:00Thank you! Will try this afternoon when I get home...Thank you! Will try this afternoon when I get home.<br /><br />Grettings!Anonymoushttps://www.blogger.com/profile/17487406556266953663noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-3294393241908889542016-02-17T21:17:30.811+00:002016-02-17T21:17:30.811+00:00Glad to hear you got it working! :D
To get the sc...Glad to hear you got it working! :D<br /><br />To get the screen t the proper size, you can try adding.<br /><br />framebuffer_width=320<br />framebuffer_height=240<br /><br />to the cmdline.txt file on the SD card (switch the values for portrait mode).<br /><br />The resolution of the screen is very low so don't expect miracles, most Apps can't cope with low resolution and that's probably why you're having issues. <br /><br />You could also try starting X with a different DPI:<br /><br />FRAMEBUFFER=/dev/fb1 startx -- -dpi 30 &<br /><br />Have fun!Marcos Davidhttps://www.blogger.com/profile/00050487653756352601noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-20997630671510245482016-02-17T20:17:11.600+00:002016-02-17T20:17:11.600+00:00It wooorkeeeeeeeeeeeeeeeeed!!!!! Now the screen bo...It wooorkeeeeeeeeeeeeeeeeed!!!!! Now the screen boots into the terminal mode and can start the x server! Now, with this screen the windows seems to be a greater size of the screen. It's possible to make it fit the screen automatically?<br /><br /><br />I've changed fbcon=font:7x14 in cmdline.txt to make the cmd text fits in the screen as say in this video (https://www.youtube.com/watch?v=wxJpWRPKe-g). Do you think if it is possible to make the text look a little bigger?<br /><br />Thanks so much for all your help!Anonymoushttps://www.blogger.com/profile/17487406556266953663noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-29196482882942095262016-02-16T21:35:10.703+00:002016-02-16T21:35:10.703+00:00It is a bit weird. :)
I was looking in Notro'...It is a bit weird. :)<br /><br />I was looking in Notro's Wiki: https://github.com/notro/fbtft/wiki<br /><br />This caught my attention.<br />...<br />Note: You might need to move an xorg config out of the way if X doesn't start:<br /><br />sudo mv /usr/share/X11/xorg.conf.d/99-fbturbo.conf ~<br />...<br /><br />It also describes how to auto load the module:<br /><br />...<br />Add to file /etc/modules-load.d/fbtft.conf<br />spi-bcm2835<br />fbtft_device<br /><br /><br />Add to file /etc/modprobe.d/fbtft.conf<br /><br />options fbtft_device custom name=fb_ili9341 gpios=reset:25,dc:24,led:18 speed=16000000 rotate=90 bgr=1<br /><br /><br /><br />Hope it works now! :DMarcos Davidhttps://www.blogger.com/profile/00050487653756352601noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-24489980527698097912016-02-16T19:48:43.351+00:002016-02-16T19:48:43.351+00:00Hi!
I've been able to run it, but ... this is...Hi!<br /><br />I've been able to run it, but ... this is kind weird!! <br /><br />I've modified /etc/modules. This is the file:<br /><br /># /etc/modules: kernel modules to load at boot time.<br />#<br /># This file contains the names of kernel modules that should be loaded<br /># at boot time, one per line. Lines beginning with "#" are ignored.<br /><br />i2c-dev<br />fbtft_device custom name=fb_ili9341 gpios=reset:25,dc:24,led:18 speed=16000000 rotate=90 bgr=1<br /><br />but this happens:<br /><br />sudo con2fbmap 1 1<br />ioctl FBIOPUT_CON2FBMAP: Invalid argument<br /><br />when I write:<br /><br />sudo modprobe fbtft_device custom name=fb_ili9341 gpios=reset:25,dc:24,led:18 speed=16000000 rotate=90 bgr=1<br /><br />and then:<br /><br />sudo con2fbmap 1 1<br /><br />it runs!!!<br /><br />When I try to start x-server, it says:<br /><br />sudo FRAMEBUFFER=/dev/fb1 startx &<br />[1] 1134<br />pi@raspberrypi:~ $ <br /><br />X.Org X Server 1.17.2<br />Release Date: 2015-06-16<br />X Protocol Version 11, Revision 0<br />Build Operating System: Linux 3.8.11-2-ARCH armv7l Raspbian<br />Current Operating System: Linux raspberrypi 4.1.17-v7+ #840 SMP Sat Feb 13 15:19:36 GMT 2016 armv7l<br />Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2709.boardrev=0xa01041 bcm2709.serial=0x200e9a0c smsc95xx.macaddr=B8:27:EB:0E:9A:0C bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait fbcon=map:10 fbcon=rotate:4 fbcon=font:VGA8x8<br />Build Date: 11 January 2016 01:32:44PM<br />xorg-server 2:1.17.2-1+rpi1 (http://www.debian.org/support) <br />Current version of pixman: 0.33.3<br /> Before reporting problems, check http://wiki.x.org<br /> to make sure that you have the latest version.<br />Markers: (--) probed, (**) from config file, (==) default setting,<br /> (++) from command line, (!!) notice, (II) informational,<br /> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br />(==) Log file: "/var/log/Xorg.0.log", Time: Tue Feb 16 19:43:07 2016<br />(==) Using system config directory "/usr/share/X11/xorg.conf.d"<br />modprobe: FATAL: Module g2d_23 not found.<br /><br />and the terminal outputs stays there, but there is no x server on the screen :(<br /><br />the output of /var/log/Xorg.0.log is in here: https://gist.github.com/LuisDiazUgena/73f8398d67c7a7e8ef81<br />and the output from /var/log/Xorg.1.log is in here: https://gist.github.com/LuisDiazUgena/619b259c947919bf4ed6<br /><br />Thanks for your support :)Anonymoushttps://www.blogger.com/profile/17487406556266953663noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-61016778666787471482016-02-16T10:35:05.890+00:002016-02-16T10:35:05.890+00:00Hi,
It seems you already have an Xorg server runni...Hi,<br />It seems you already have an Xorg server running.<br />Could please try to configure the pi to boot in console mode:<br />sudo raspi-config<br /><br />Then Reboot.<br /><br />StartX with the following command:<br /><br />sudo FRAMEBUFFER=/dev/fb1 startx &<br /><br /><br />If that doesn't work can you send me the last 30 lines of /var/log/Xorg.0.log and /var/log/Xorg.1.log<br /><br />Thank you!<br /><br /><br />If it doesn't work, can you attach the last 30 lines of Marcos Davidhttps://www.blogger.com/profile/00050487653756352601noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-45229950166951063712016-02-15T22:08:50.981+00:002016-02-15T22:08:50.981+00:00Hi!
I've tried this but there is no output. I...Hi!<br /><br />I've tried this but there is no output. I'm using the pi2... I don't know if that changes something.<br /><br />Thanks<br /><br />pi@raspberrypi:~ $ sudo modprobe fbtft_device custom name=fb_ili9341 gpios=reset:25,dc:24,led:18 speed=16000000 rotate=90 bgr=1<br />pi@raspberrypi:~ $ con2fbmap 1 1<br />pi@raspberrypi:~ $ sudo FRAMEBUFFER=/dev/fb1 startx<br />xauth: file /root/.Xauthority does not exist<br /><br /><br />X.Org X Server 1.17.2<br />Release Date: 2015-06-16<br />X Protocol Version 11, Revision 0<br />Build Operating System: Linux 3.8.11-2-ARCH armv7l Raspbian<br />Current Operating System: Linux raspberrypi 4.1.17-v7+ #840 SMP Sat Feb 13 15:19:36 GMT 2016 armv7l<br />Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2709.boardrev=0xa01041 bcm2709.serial=0x200e9a0c smsc95xx.macaddr=B8:27:EB:0E:9A:0C bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait<br />Build Date: 11 January 2016 01:32:44PM<br />xorg-server 2:1.17.2-1+rpi1 (http://www.debian.org/support) <br />Current version of pixman: 0.33.3<br /> Before reporting problems, check http://wiki.x.org<br /> to make sure that you have the latest version.<br />Markers: (--) probed, (**) from config file, (==) default setting,<br /> (++) from command line, (!!) notice, (II) informational,<br /> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br />(==) Log file: "/var/log/Xorg.1.log", Time: Mon Feb 15 22:02:56 2016<br />(==) Using system config directory "/usr/share/X11/xorg.conf.d"<br />modprobe: FATAL: Module g2d_23 not found.<br />^Cxinit: connection to X server lost<br /><br />waiting for X server to shut down (II) Server terminated successfully (0). Closing log file.<br /><br />xinit: unexpected signal 2<br />pi@raspberrypi:~ $ sudo killall -9 Xorg<br />pi@raspberrypi:~ $ sudo FRAMEBUFFER=/dev/fb1 startx<br /><br /><br />X.Org X Server 1.17.2<br />Release Date: 2015-06-16<br />X Protocol Version 11, Revision 0<br />Build Operating System: Linux 3.8.11-2-ARCH armv7l Raspbian<br />Current Operating System: Linux raspberrypi 4.1.17-v7+ #840 SMP Sat Feb 13 15:19:36 GMT 2016 armv7l<br />Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 bcm2708_fb.fbheight=448 bcm2709.boardrev=0xa01041 bcm2709.serial=0x200e9a0c smsc95xx.macaddr=B8:27:EB:0E:9A:0C bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait<br />Build Date: 11 January 2016 01:32:44PM<br />xorg-server 2:1.17.2-1+rpi1 (http://www.debian.org/support) <br />Current version of pixman: 0.33.3<br /> Before reporting problems, check http://wiki.x.org<br /> to make sure that you have the latest version.<br />Markers: (--) probed, (**) from config file, (==) default setting,<br /> (++) from command line, (!!) notice, (II) informational,<br /> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br />(==) Log file: "/var/log/Xorg.1.log", Time: Mon Feb 15 22:04:11 2016<br />(==) Using system config directory "/usr/share/X11/xorg.conf.d"<br />modprobe: FATAL: Module g2d_23 not found.<br /><br />Anonymoushttps://www.blogger.com/profile/17487406556266953663noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-16519493222575435682016-02-15T11:42:49.652+00:002016-02-15T11:42:49.652+00:00Hi,
it seems you already have an X server running ...Hi,<br />it seems you already have an X server running on a different screen.<br /><br />Do you have an HDMI connection setup as well?<br /><br />If you are trying to setup a dual monitor setup, have a look at this thread:<br />https://www.raspberrypi.org/forums/viewtopic.php?f=44&t=91764<br /><br />If not, then try to stop the running Xorg server:<br /><br />sudo killall -9 Xorg<br /><br />sudo FRAMEBUFFER=/dev/fb1 startx<br /><br />Let me know if it works!Marcos Davidhttps://www.blogger.com/profile/00050487653756352601noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-42103078711827834832016-02-15T11:38:57.046+00:002016-02-15T11:38:57.046+00:00Hi,
It seems you are using the wrong module:
...fb...Hi,<br />It seems you are using the wrong module:<br />...fb_hx8340bn frame buffer,...<br /><br />Can you let me know how you are setting the screen up?<br /><br />Are you using the fbtft_device.name=fb_ili9341 parameter?Marcos Davidhttps://www.blogger.com/profile/00050487653756352601noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-83444650451252446712016-02-14T08:54:56.893+00:002016-02-14T08:54:56.893+00:00Hi! I'm trying to set this in the pi 2 running...Hi! I'm trying to set this in the pi 2 running raspbian. I'm doint this:<br /><br />pi@raspberrypi:~ $ sudo modprobe fbtft_device custom name=fb_ili9341 gpios=reset:25,dc:24,led:18 speed=16000000 rotate=90 bgr=1<br />pi@raspberrypi:~ $ FRAMEBUFFER=/dev/fb1<br />pi@raspberrypi:~ $ FRAMEBUFFER=/dev/fb1 startx<br /><br />X: user not authorized to run the X server, aborting.<br />^Cxinit: giving up<br />xinit: unable to connect to X server: Connection refused<br />xinit: unexpected signal 2<br />pi@raspberrypi:~ $ sudo FRAMEBUFFER=/dev/fb1 startx<br /><br /><br />X.Org X Server 1.17.2<br />Release Date: 2015-06-16<br />X Protocol Version 11, Revision 0<br />Build Operating System: Linux 3.8.11-2-ARCH armv7l Raspbian<br />Current Operating System: Linux raspberrypi 4.1.17-v7+ #840 SMP Sat Feb 13 15:19:36 GMT 2016 armv7l<br />Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=1776 bcm2708_fb.fbheight=952 bcm2709.boardrev=0xa01041 bcm2709.serial=0x200e9a0c smsc95xx.macaddr=B8:27:EB:0E:9A:0C bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p7 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait<br />Build Date: 11 January 2016 01:32:44PM<br />xorg-server 2:1.17.2-1+rpi1 (http://www.debian.org/support) <br />Current version of pixman: 0.33.3<br /> Before reporting problems, check http://wiki.x.org<br /> to make sure that you have the latest version.<br />Markers: (--) probed, (**) from config file, (==) default setting,<br /> (++) from command line, (!!) notice, (II) informational,<br /> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.<br />(==) Log file: "/var/log/Xorg.1.log", Time: Sun Feb 14 08:52:40 2016<br />(==) Using system config directory "/usr/share/X11/xorg.conf.d"<br />modprobe: FATAL: Module g2d_23 not found.<br />The XKEYBOARD keymap compiler (xkbcomp) reports:<br />> Warning: Type "ONE_LEVEL" has 1 levels, but has 2 symbols<br />> Ignoring extra symbols<br />Errors from xkbcomp are not fatal to the X server<br /><br /><br /><br /><br />What can I do?<br /><br />Thanks!Anonymoushttps://www.blogger.com/profile/17487406556266953663noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-41609147252298771882015-12-28T13:09:56.492+00:002015-12-28T13:09:56.492+00:00Hi!
Could You help me?
View in my is resized. I ...Hi!<br /><br />Could You help me?<br /><br />View in my is resized. I mean console doesn't take whole surface of screen. Furthermore view is flipped. All is reflected like in mirror.<br /><br />I use ILI9341 and RPi 2.<br /><br />dmesg:<br />[ 566.658693] fbtft: module is from the staging directory, the quality is unknown, you have been warned.<br />[ 566.663868] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.<br />[ 566.665117] fbtft_device: SPI devices registered:<br />[ 566.665144] fbtft_device: spidev spi0.0 500kHz 8 bits mode=0x00<br />[ 566.665160] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00<br />[ 566.665171] fbtft_device: 'fb' Platform devices registered:<br />[ 566.665201] fbtft_device: soc:fb id=-1 pdata? no<br />[ 566.665260] fbtft_device: Deleting spi0.0<br />[ 566.665712] spi spi0.0: setting up native-CS0 as GPIO 8<br />[ 566.665860] fbtft_device: GPIOS used by 'adafruit22':<br />[ 566.665874] fbtft_device: 'reset' = GPIO25<br />[ 566.665886] fbtft_device: 'dc' = GPIO24<br />[ 566.665897] fbtft_device: 'led' = GPIO18<br />[ 566.665906] fbtft_device: SPI devices registered:<br />[ 566.665921] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00<br />[ 566.665936] fbtft_device: fb_hx8340bn spi0.0 16000kHz 8 bits mode=0x00<br />[ 566.682589] fb_hx8340bn: module is from the staging directory, the quality is unknown, you have been warned.<br />[ 567.045765] graphics fb1: fb_hx8340bn frame buffer, 220x176, 75 KiB video memory, 16 KiB DMA buffer memory, fps=20, spi0.0 at 16 MHzMikołajhttps://www.blogger.com/profile/02645600905633844006noreply@blogger.comtag:blogger.com,1999:blog-8045943610241725588.post-32862374630155283072015-10-08T15:17:24.711+01:002015-10-08T15:17:24.711+01:00Hi Sunny,
that should be enough.
Do you mind try...Hi Sunny,<br /><br />that should be enough.<br /><br />Do you mind trying with the line in my post in /etc/modules:<br /><br />fbtft_device custom name=fb_ili9341 gpios=reset:25,dc:24,led:18 speed=16000000 rotate=90 bgr=1Marcos Davidhttps://www.blogger.com/profile/00050487653756352601noreply@blogger.com