DFRobot 2.8 USB TFT Pi 2 Raspbian Setup Guide ( Advanced )

Don’t forget to install the kernel headers- I forget what the package name is! Ah - raspberrypi-kernel-headers

Already done, but tried again to check:

sudo apt install raspberrypi-kernel-headers
Reading package lists… Done
Building dependency tree
Reading state information… Done
raspberrypi-kernel-headers is already the newest version (1.20180924-1).
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.

Possibly a mismatch between raspberry-kernel-headers and the kernel itself. Have you used rpi-update* at any point? May also be worth doing an sudo apt get upate and sudo apt get upgrade.

* - note, if you haven’t used rpi-update. Don’t! It’s - despite the choice of name - not really an update utility.

Done all of the above. Maybe the rpi-update has caused the problem. Maybe I’ll try again with a fresh image.

If you’ve used rpi-update then, yes, it will cause the problem since it side-loads a kernel that apt knows nothing about, and for which a kernel header package wont yet be available. It’s possible to get on track with the current stable kernel without reflashing a whole image:

sudo apt-get update
sudo apt-get install --reinstall libraspberrypi0 libraspberrypi-{bin,dev,doc} raspberrypi-bootloader
sudo reboot

I think it’s possible to also sideload kernel headers using rpi-update but unless you really need some feature or bugfix available in a pre-release kernel you should just be using stable.

Hello everybody,

I’m fully newbie in the use of the Raspberry and codes to manage it but I know a little use by doing research on the internet. Google is my best friend ;) !

I don’t succeed in “kernel compiling” following the instruction of Dfrobot on their github page, so I prefer to follow your procedure to install the drivers of my 2.8" rpusbdisplay v2 on my Raspberry Pi B+.

But having repeated the procedure several times by re-installing from scratch my Raspian Wheezy, I manage to install the drivers according to your procedure but I can not load the module as you can see on my screenshots below.

Here is a screenshot of the result I get on my HDMI screen (with the 2.8 dfrobot connected).

BUG-DRIVER-MODULE

I specify that I would like to stay in console mode, not in GUI mode on my Rpusb 2.8 "screen.

I also have a lot exchange with the dfrobot support, and I got some valuable information from them, for example that it was possible to start in console mode on the 2.8 "screen by adding that:

First steps:

 sudo nano /boot/cmdline.txt

and add this :

fbcon=font:ProFont6x11 fbcon=map:1

Second steps:

sudo nano /etc/init.d/launch_desktop.sh

and comment this or add this:

# su -c startx pi &

But I’m stuck in the driver stage. So if a charitable soul could help me please.

Oh yes, for everyone this could be useful, I also got download links for pre-built disk images for 2.8" rpusbdisplay dfrobot.

Official DFRobot Disk IMG

oh, i forgot : this is my uname -a

Linux (none) 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux

no one to help me please!