User avatar
saper_2
Posts: 220
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Thu Jun 02, 2016 5:37 pm

Gold samurai
In those two post are mentioned scripts to switch over hdmi/lcd. I don't know how "Exactly" those scripts are named, I think they should be in LCD_show dir or something alike...
viewtopic.php?p=862842#p862842
viewtopic.php?p=925744#p925744

Pilsener - work, what, where, with what? sorry I'm lost at your Q...

DenisPac - install & run config on not-patched kernel, then switch to patched kernel....


-end of batch answer- :D

Gold samurai
Posts: 11
Joined: Mon May 30, 2016 4:40 pm

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Fri Jun 03, 2016 6:18 pm

If someone could post a video showing how to make this work step by step that would be great

Also I don't like to use the image provided with the TFT because I'm not sure what it has. It could be malware or spyware for all I know

I have boot berry with the latest Raspian and Retropie installed on an SD card

I'd like to switch over to the TFT LCD now. Right now I'm using the HDMI monitor.

How do I switch over to the LCD. The LCD is showing a white screen


I got fed up and decided to purchase an adafruit 2.8 inch display

User avatar
saper_2
Posts: 220
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Sat Jun 04, 2016 12:46 pm

Gold samurai wrote:Also I don't like to use the image provided with the TFT because I'm not sure what it has. It could be malware or spyware for all I know
Some one mentioned that had some strange connections to CN servers....
Gold samurai wrote:I have boot berry with the latest Raspian and Retropie installed on an SD card
I'd like to switch over to the TFT LCD now. Right now I'm using the HDMI monitor.
Well, the "driver" is a compiled kernel so basically you might still have spyware anyway...
Gold samurai wrote: How do I switch over to the LCD. The LCD is showing a white screen
I might write something today....
Gold samurai wrote:I got fed up and decided to purchase an adafruit 2.8 inch display
The best thing that you did :D - kedei is good "demo" that this is possible but only decent results (and using "stock" drivers) you'll get with display supported by fbtft.

Gold samurai
Posts: 11
Joined: Mon May 30, 2016 4:40 pm

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Sat Jun 04, 2016 4:48 pm

saper_2 wrote: Well, the "driver" is a compiled kernel so basically you might still have spyware anyway
I should be more precise.

I have completely ditched the installed image that came with my kedei 3.5

I deleted the image with the drivers on it.


THEN

I also deleted an image I saved myself with the original drivers on it. This is a 2.0 version that I deleted a few programs to make space on the OS. I named this driver.img

So i'm back to square one


I installed bootberry on my formatted SD card. I downloaded the latest Raspian and retropie

Works great on HDMI monitor

Now I just need to get the TFT working.

Image

User avatar
saper_2
Posts: 220
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Mon Jun 06, 2016 6:50 pm

Gold Samurai - grab a kernel for your version and unpack it e.g.:

Code: Select all

tar zxf LCD_show_XXX.tar.gz
Then go to LCD_show_vXXX dir and set scripts flag "executable":

Code: Select all

chmod +x LCD_restore LCD_backup LCD35_v
Next backup current kernel, run:

Code: Select all

sudo ./LCD_backup
To switch to LCD 3,5" run:

Code: Select all

sudo ./LCD35_v


To switch to HDMI run:

Code: Select all

sudo ./LCD_restore
That's all.

Ahh, I almost forgot, don't update kernel (mark kernel package to being hold):

Code: Select all

sudo apt-mark hold raspberrypi-bootloader
@from https://github.com/notro/fbtft/issues/10 :)

I've written this by looking at kernel for v6 lcd.

First post updated.
I've updated first post, added links for "backup" repository for raspbian images & kernels for kedei LCDs for versions that I have (v.1. sysimage missing for now , I need to find it - I should have it in one of few hdds... ;) ). I've added md5 sums, I don't know if those are ok, but I tested each archive so they should be fine, if file is bad (and so checksum) please PM me info, I will take down file, redownload it, check again and re-up if I made a mistake.

Also, I have made a prototype fbtft spi adater and soldered it to my v1.1 lcd :D so I think I'm going to test today :)
Last edited by saper_2 on Tue Jun 07, 2016 4:05 pm, edited 1 time in total.

Gold samurai
Posts: 11
Joined: Mon May 30, 2016 4:40 pm

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Tue Jun 07, 2016 3:52 pm

Just my luck, my 64 gb SD card got corrupted. So I couldn't try last night

The back up image I had was 15 gbs because it had raspbian +retro pie

I had to use an 8gb card to install raspbian

I'll give it a try tonight

harbaum
Posts: 7
Joined: Mon Jun 04, 2012 10:33 am

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Tue Jun 07, 2016 3:55 pm

I recently bought a Waveshare 3.5 inch. The latest drivers are just a set of config files which can be installed over the latest raspbian jessie incl. the stock kernel. I must admit that I am very pleased with that setup and you can get these nearly as cheap as the KeDei. Imho even the adafruit comes with a modified kernel and won't run with the stock raspbian kernel.

User avatar
saper_2
Posts: 220
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Tue Jun 07, 2016 8:53 pm

Gold Samurai - this sucks :) I know. I hope only filesystem gone bad, not the card. 64gb is not cheap.... I had a one card fail on me (write-read limit reached of sectors) and card was only for throwing away (it was 32gb). Since then I usually buy 16gb cards (I use sandisk cards, they are pretty good - relatively fast & their endurance is good too).

harbaum - The best choice :D , I'm not recommending to anyone KeDei's displays...

Test results
Check the first post, I've added a update.

Image

harbaum
Posts: 7
Joined: Mon Jun 04, 2012 10:33 am

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Tue Jun 07, 2016 9:25 pm

I wonder if your really have to replace all three shift registers. You imho should be able to keep the two used for the data lines and just rewire the control lines in a way that they match with e.g. the waveshare setup.

User avatar
saper_2
Posts: 220
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Tue Jun 07, 2016 9:59 pm

harbaum wrote:I wonder if your really have to replace all three shift registers. You imho should be able to keep the two used for the data lines and just rewire the control lines in a way that they match with e.g. the waveshare setup.
Problem is on data lines (one is very likely broken), control lines are fine, otherwise lcd would not init at all, I just don't want to waste more time to this lcd. It was interesting messing with this display but it was just for my own satisfaction :). Anyway, I used brand new parts for adapter so parts are fine.

Gold samurai
Posts: 11
Joined: Mon May 30, 2016 4:40 pm

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Tue Jun 07, 2016 10:53 pm

saper_2 wrote:Gold Samurai - grab a kernel for your version and unpack it e.g.:

Code: Select all

tar zxf LCD_show_XXX.tar.gz
Then go to LCD_show_vXXX dir and set scripts flag "executable":

Code: Select all

chmod +x LCD_restore LCD_backup LCD35_v
Next backup current kernel, run:

Code: Select all

sudo ./LCD_backup
To switch to LCD 3,5" run:

Code: Select all

[b]sudo ./LCD35_v[/b]


To switch to HDMI run:

Code: Select all

sudo ./LCD_restore
That's all.

Ahh, I almost forgot, don't update kernel (mark kernel package to being hold):

Code: Select all

sudo apt-mark hold raspberrypi-bootloader
@from https://github.com/notro/fbtft/issues/10 :)
I downloaded LCD_show_v6_1.tar

I got as far as

Code: Select all

sudo ./LCD35_v
Then raspbian rebooted. The screen froze here

Image


I guess I have to start over.

If you have time please make a youtube video. Maybe I'm missing something

You appear to be a non English user

Gold samurai
Posts: 11
Joined: Mon May 30, 2016 4:40 pm

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Fri Jun 10, 2016 4:11 am

I got my adafruit 2.8 TFT capacitive

I followed the instructions here

https://learn.adafruit.com/running-open ... itft-setup

I followed the instructions to the "T"

I rebooted after I was done. My TFT stayed white and the HDMI is not outputted anymore

User avatar
saper_2
Posts: 220
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Fri Jun 10, 2016 8:09 pm

Gold samurai wrote:I got my adafruit 2.8 TFT capacitive
...
My TFT stayed white and the HDMI is not outputted anymore
If you followed guide then you changed hdmi output mode in config that's why you don't have anything on it (I don't know hdmi monitor that supports 320x240px resolution...)
You've using wrong overlay or fbtft driver got not loaded, or is loaded but with wrong init sequence. try ssh'ing to Pi, should work, check dmesg what could be wrong... And create new topic for your new display or better, ask on adafruit forum for help.

Gold samurai
Posts: 11
Joined: Mon May 30, 2016 4:40 pm

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Sun Jun 12, 2016 5:47 am

Here's what I got when I ran dmesg

Image

zarnikov
Posts: 2
Joined: Sun Jun 12, 2016 8:31 am

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Sun Jun 12, 2016 8:39 am

I've recently go a Kedei display version 6.1 from AliExpress and there are 2 problems with it.

1) The prepared images only work with my Raspberry model B. I've tried on model B2 - it starts to boot, I can see messages in text mode but as soon as X starts the display goes white and then nothing happens. I've tried all three images from http://en.kedei.net/raspberry/raspberry.html - ubuntu, raspbian and kali. None work on B2 but it works just fine on the older B model.

2) Is there a way how to turn of the display (or at least the backlight) programatically? I've tried the LCDctrl command line tool
Interesting raw commands: (./LCDctrl - nn)
33: Display Inversion ON
32: Display Inversion OFF
41: Display ON
40: Display OFF
16: Sleep
17: Partial Sleep
19: ON
but all it does is just making the display all white. After that I have to reboot to get it working again.

User avatar
saper_2
Posts: 220
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Sun Jun 12, 2016 9:22 am

Hi,

This is begin of dmesg there is nothing useful...
You are more interrested what is at end... use tail, e.g.:

Code: Select all

dmesg | tail -80

This will print you last 80 lines from dmesg...

zarnikov - if you'd followed the topic then you would find out that the KeDei kernel hijack a HDMI and redirect it to the tft lcd.
There is no way to control backlight on module (unless you h@ck it and add some transistor to control BL from any free GPIO).
Anyway, to control display from built-in system commands will break driver (and need reboot). Well this is the charm of those s**** modules :) .

Gold samurai
Posts: 11
Joined: Mon May 30, 2016 4:40 pm

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Sun Jun 12, 2016 6:30 pm

Here's the last 80

Code: Select all

]0;pi@raspberrypi: ~[01;32mpi@raspberrypi[00m:[01;34m~ $[00m dmesg | tail -80pi@raspberrypi:~ $ [   16.134253] Bluetooth: BNEP socket layer
r initialized[A
]0;pi@raspberrypi: ~[01;32mpi@raspberrypi[00m:[01;34m~ $[00m [40P-bash: [: missing `]'

[K[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[Cpi@raspberrypi:~ $ [   16.134253] Bluetooth: BNEP socket layer
r initialized[A
]0;pi@raspberrypi: ~[01;32mpi@raspberrypi[00m:[01;34m~ $[00m dmesg | tail -80[K

[K[A[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C[C
[    4.123724] systemd[1]: Starting System Slice.
[    4.141753] systemd[1]: Created slice System Slice.
[    4.152748] systemd[1]: Starting File System Check on Root Device...
[    4.175970] systemd[1]: Starting system-systemd\x2dfsck.slice.
[    4.196717] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    4.209714] systemd[1]: Starting system-autologin.slice.
[    4.230008] systemd[1]: Created slice system-autologin.slice.
[    4.242181] systemd[1]: Starting system-serial\x2dgetty.slice.
[    4.262820] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    4.275721] systemd[1]: Starting Increase datagram queue length...
[    4.299621] systemd[1]: Starting Restore / save the current clock...
[    4.328756] systemd[1]: Mounted Huge Pages File System.
[    4.342514] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    4.405224] systemd[1]: Starting Load Kernel Modules...
[    4.435401] systemd[1]: Started Set Up Additional Binary Formats.
[    4.449138] systemd[1]: Mounting Debug File System...
[    4.473097] systemd[1]: Starting udev Coldplug all Devices...
[    4.495675] fuse init (API version 7.23)
[    4.499999] systemd[1]: Mounting POSIX Message Queue File System...
[    4.531909] systemd[1]: Starting Slices.
[    4.553193] systemd[1]: Reached target Slices.
[    4.565058] i2c /dev entries driver
[    4.587306] systemd[1]: Mounted POSIX Message Queue File System.
[    4.607414] systemd[1]: Mounted Debug File System.
[    4.627408] systemd[1]: Started File System Check on Root Device.
[    4.660390] systemd[1]: Started Increase datagram queue length.
[    4.681572] systemd[1]: Started Restore / save the current clock.
[    4.703124] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    4.727713] systemd[1]: Started Load Kernel Modules.
[    4.751785] systemd[1]: Time has been changed
[    4.821792] systemd[1]: Started udev Coldplug all Devices.
[    4.990329] systemd[1]: Mounting Configuration File System...
[    5.013352] systemd[1]: Starting Apply Kernel Variables...
[    5.037293] systemd[1]: Mounting FUSE Control File System...
[    5.061736] systemd[1]: Starting Create Static Device Nodes in /dev...
[    5.087171] systemd[1]: Starting Syslog Socket.
[    5.095368] systemd[1]: Listening on Syslog Socket.
[    5.095587] systemd[1]: Starting Journal Service...
[    5.116005] systemd[1]: Started Journal Service.
[    5.276321] systemd-udevd[109]: starting version 215
[    5.746140] spi spi0.0: setting up native-CS0 as GPIO 8
[    5.747015] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    5.759255] input: ft6x06_ts as /devices/virtual/input/input3
[    5.914434] bcm2708_i2c 3f804000.i2c: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000)
[    6.082743] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.271107] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
[    6.275872] fb_ili9340: module is from the staging directory, the quality is unknown, you have been warned.
[    6.277553] fbtft_of_value: buswidth = 8
[    6.277564] fbtft_of_value: debug = 0
[    6.277570] fbtft_of_value: rotate = 90
[    6.277577] fbtft_of_value: fps = 20
[    6.503692] graphics fb1: fb_ili9340 frame buffer, 320x240, 150 KiB video memory, 4 KiB DMA buffer memory, fps=20, spi0.0 at 32 MHz
[    6.684452] systemd-journald[107]: Received request to flush runtime journal from PID 1
[    8.232847] cfg80211: Calling CRDA to update world regulatory domain
[    8.423946] Adding 102396k swap on /var/swap.  Priority:-1 extents:1 across:102396k SSFS
[    8.443883] cfg80211: World regulatory domain updated:
[    8.443920] cfg80211:  DFS Master region: unset
[    8.443935] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    8.443955] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    8.443971] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[    8.443987] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[    8.444016] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    8.444037] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    8.444054] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[    8.444080] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[    8.444096] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[    8.698100] random: nonblocking pool is initialized
[    9.076260] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    9.076606] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.599380] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.605580] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[   16.084592] Bluetooth: Core ver 2.20
[   16.084794] NET: Registered protocol family 31
[   16.084813] Bluetooth: HCI device and connection manager initialized
[   16.084844] Bluetooth: HCI socket layer initialized
[   16.084863] Bluetooth: L2CAP socket layer initialized
[   16.084910] Bluetooth: SCO socket layer initialized
[   16.134171] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   16.134211] Bluetooth: BNEP filters: protocol multicast
[   16.134253] Bluetooth: BNEP socket layer initialized

zarnikov
Posts: 2
Joined: Sun Jun 12, 2016 8:31 am

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Mon Jun 13, 2016 8:18 am

1) The prepared images only work with my Raspberry model B. I've tried on model B2 - it starts to boot, I can see messages in text mode but as soon as X starts the display goes white and then nothing happens. I've tried all three images from http://en.kedei.net/raspberry/raspberry.html - ubuntu, raspbian and kali. None work on B2 but it works just fine on the older B model.
UPDATE: A new version was posted http://en.kedei.net/raspberry/raspberry.html
The new RPI with 4.4 kernel works on Pi B2, the images with 4.1 kernel don't. So that fixed my first problem.
There is no way to control backlight on module (unless you h@ck it and add some transistor to control BL from any free GPIO).
I was suspecting that this might be the case. I was just hoping that there was a simpler way how to do this without hardware hacking. :(

I'll have a look how difficult it is to add a hardware switch for the backlight and post an update.

Gold samurai
Posts: 11
Joined: Mon May 30, 2016 4:40 pm

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Thu Jun 16, 2016 4:48 am

Success!

The problem was I didn't solder the board properly. The image provided on adafruits website

March 2015 Jessie

Worked!

Image


Now I still have to figure out how to get retropie on it.


I also get this weird image

Image

Raingo
Posts: 3
Joined: Thu Jun 16, 2016 5:48 am

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Thu Jun 16, 2016 6:10 am

Now I'm focuse on Max2play.

I'm using this touch screen and load with Max2play Pi image. It is work only with HDMI.

Who can re-build the image with max2play which use this touch screen?

Thank you so much.

User avatar
saper_2
Posts: 220
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Fri Jun 17, 2016 5:27 pm

Hi,

Sorry for delay...
Gold Samurai - looks like should work fine... I'm not sure, but adafruit28 should be supported already by fbtft even...
I found a description for older kernel (which doesn't have yet fbtft) but this should give you some hints, hoe to run this adafruit 2.8 lcd on native fbtft:
http://www.acmesystems.it/arietta_adafruit_lcd28

Raingo
Posts: 3
Joined: Thu Jun 16, 2016 5:48 am

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Sat Jun 18, 2016 8:21 am

[quote="saper_2"]Hi, saper_2,

Could you help me how to config this touch with PiCoreplayer?

I can't to config the LCD driver on PiCoreplayer without HDMI screen.

thank you.

User avatar
saper_2
Posts: 220
Joined: Sun Aug 03, 2014 10:08 am
Location: PL

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Sat Jun 18, 2016 2:12 pm

Raingo wrote:Hi, saper_2,
Could you help me how to config this touch with PiCoreplayer?
I can't to config the LCD driver on PiCoreplayer without HDMI screen.
thank you.
No - I won't help, because I don't enev know what is this "PiCoreplayer" (I'm not interested in it either...) - but 55MiB... It does even have Xserver? (without Xserver touch won't work on kedei's displays) - nothing is impossible :) but my brain telling me not to waste it's thinking processes for kedei's screens ;) .

As for me, let me state this :) :
I'm ending my experiments with Kedei LCD's. Their are not worth my time ;, KeDei's LCD are:
  • Closed source - no way to build own kernel/driver (there are reports that Pi connect to CN servers),
  • No init sequence - this make impossible to control (drive) LCD from user-program (displays version 3.0 and newer),
  • SLOW - at best 2fps refresh rate,
  • not compatible with fbtft @notro (small display linux driver),



I have on todo list to hook up kedei lcd (the broken one I got - v2) to logic analyzer and see if I'll be able to read a init sequence for other versions too. KeDei don't change shift registers layout, but only "rewire" connections from shift registers to LCD FPC - I got this conclusion by looking at v1 & v2 init code. If someone is capable of reverse engineering connections between LCD FPC and shift registers and willing to do this, then please publish schematic (I'll add it to my repo too - ofc with credits :) )

I'm missing photos of v5 .. 6.0 .. 6.2 - If some one willing to snap good quality photo and upload to forum (or send me link) then I'll add it to my repo :) too.

Gold samurai
Posts: 11
Joined: Mon May 30, 2016 4:40 pm

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Sat Jun 18, 2016 5:44 pm

The problem with the screen is that it's not secure enough. The case falls over and the screen goes white.

I just reboot the raspberry pi and it's okay. I grew leaps and bounds with the adafruit 2.8 I got.

Didn't realize how helpful support would be. Kedei? You're basically on your own.


With my adafruit I just needed to download a Pigril 2 image and it worked immediately with the 2.8 TFT

https://learn.adafruit.com/pigrrl-2/software


Same goes for a raspbian OS. Just download their image and it works right away


I do wish I could use my own Raspbian image. Somehow it doesn't seem to work if you're not using their image.


I also was able to output back to HDMI

https://learn.adafruit.com/adafruit-pit ... rry-pi/faq

On Jessie Pi installs, run

Code: Select all

sudo nano /usr/share/X11/xorg.conf.d/99-fbdev.conf

Code: Select all

Section "Device"
  Identifier "display"
  Driver "fbdev"
  Option "fbdev" "/dev/fb0"
EndSection

change the Option

"fbdev" "/dev/fb0"

line to

Option "fbdev" "/dev/fb1"

if you want the xdisplay on the PiTFT

Raingo
Posts: 3
Joined: Thu Jun 16, 2016 5:48 am

Re: KeDei 3.5 inch 480x320 TFT lcd from ali

Sun Jun 19, 2016 7:24 am

You are right! Don't worth to develop with kedei lcd.

Return to “Interfacing (DSI, CSI, I2C, etc.)”

Who is online

Users browsing this forum: No registered users and 14 guests