Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

pimoroni/rp_usbdisplay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RoboPeak/DFRobot 2.8" USB TFT Driver

This is an unmodified compiled, packaged, easy-to-install distribution of the official RoboPeak Mini Display Display driver. It's intended to run on Raspbian Jessie or Wheezy on the Raspberry Pi, and has been compiled for various different kernel versions.

You can find the original source code, and raise issues at https://github.com/robopeak/rpusbdisp

Before installing, make sure you're up to date:

sudo apt-get update
sudo apt-get upgrade
sudo reboot

Installing

git clone http://github.com/pimoroni/rp_usbdisplay
cd rp_usbdisplay
./install.sh

Unless you're okay with starting it up manually ( sudo modprobe rp_usbdisplay ) You'll also have to make sure that rp_usbdisplay starts automatically by editing /etc/modules and adding the line:

rp_usbdisplay

Manually

Clone this repo.

Where <kernel_version> is the version of your kernel returned by uname -a

Copy drivers/<kernel_version>/rp_usbdisplay.ko to /lib/modules/<kernel_version>/kernel/drivers/video/ Copy drivers/<kernel_version>-v7+/rp_usbdisplay.ko to /lib/modules/<kernel_version>-v7+/kernel/drivers/video/

Run sudo depmod

Then modprobe rp_usbdisplay

Your USB display is now installed and should appear as /dev/fb1

The display should go black. Test with: cat /dev/urandom > /dev/fb1

Boot X Desktop On USB Display

Although you'll get little use out of your desktop on the USB display, we've included the configuration file which will get it running. See /extra for more information.