gillou666
Posts: 9
Joined: Tue Oct 01, 2013 12:58 am

LCD ITDB02-2.8 not work

Tue Feb 25, 2014 10:04 pm

Hello,

I have tried to install a TFT screen to my raspberry but without success :

- i have used this driver : https://github.com/notro/fbtft
- downloaded the prebuilded image : 2013-12-20-wheezy-raspbian-2014-01-03-fbtft.zip
- send the command sudo modprobe fbtft_device name=itdb28

in dmesg i see this :

[ 83.339318] fbtft_device: SPI devices registered:
[ 83.339368] fbtft_device: spidev spi0.0 500kHz 8 bits mode=0x00
[ 83.339384] fbtft_device: spidev spi0.1 500kHz 8 bits mode=0x00
[ 83.339397] fbtft_device: 'fb' Platform devices registered:
[ 83.339419] fbtft_device: bcm2708_fb id=-1 pdata? no
[ 83.339683] fbtft_device: GPIOS used by 'itdb28':
[ 83.339702] fbtft_device: (none)
[ 83.339711] fbtft_device: 'fb' Platform devices registered:
[ 83.339729] fbtft_device: bcm2708_fb id=-1 pdata? no
[ 83.339761] fbtft_device: fb_ili9325 id=0 pdata? yes
[ 83.374527] fb_ili9325 fb_ili9325.0: Missing info about 'dc' gpio. Aborting.
[ 83.374629] fb_ili9325: probe of fb_ili9325.0 failed with error -22

I have the exact same peripherical like this guy (TFT screen + cable) :
http://www.youtube.com/watch?v=Wx6f6fPKQeU

how i can test what is the "error -22" ?
thx for your help

zoelqivlie
Posts: 14
Joined: Wed Dec 19, 2012 12:53 pm

Re: LCD ITDB02-2.8 not work

Wed Mar 26, 2014 7:28 am

change fbtft_device name=itdb28fb to fbtft_device name=itdb28
or you can check the name of device in fbtft with command
"sudo modprobe fbtft_device name=list; dmesg | tail -30"
for
2013-05-25-wheezy-raspbian-2013-07-07-fbtft.zip => itdb28fb
2013-12-20-wheezy-raspbian-2014-01-03-fbtft.zip => itdb28

my compelate command :
"fbtft_device name=itdb28 rotate=3 gpios=db0:17,db1:18,db2:27,db3:22,db4:23,db5:24,db6:25,db7:4,cs:8,dc:2,wr:3,reset:7 verbose=0 itdb28 dbug=3"
tkraspilabs Indonesia | Pi 512M Rev 2 | Pi B+ | Pi 2 B | Pi Zero | Pi 3B

zoelqivlie
Posts: 14
Joined: Wed Dec 19, 2012 12:53 pm

Re: LCD ITDB02-2.8 not work

Thu Apr 03, 2014 9:54 pm

>>>> [ 83.374527] fb_ili9325 fb_ili9325.0: Missing info about 'dc' gpio. Aborting.
because we not definition gpio for 'dc' for solving this problem please try this command
"sudo modprobe fbtft_device name=itdb28fb gpios=db0:17,db1:18,db2:27,db3:22,db4:23,db5:24,db6:25,db7:4,cs:8,dc:2,wr:3,reset:7" (without "" )
and call again dmesg ;-)
tkraspilabs Indonesia | Pi 512M Rev 2 | Pi B+ | Pi 2 B | Pi Zero | Pi 3B

Return to “HATs and other add-ons”