Linux DRM Driver for 2.7" Sharp Memory LCD
Go to file
Andrew D'Angelo d1c30a9be5 Bump version for vcom fix 2023-09-18 17:16:10 -05:00
src Bump version for vcom fix 2023-09-18 17:16:10 -05:00
.gitattributes Initial commit 2018-05-17 10:09:26 -04:00
.gitignore Split out DRM and ioctl 2023-06-29 10:14:22 -05:00
LICENSE Initial commit 2018-05-17 10:09:26 -04:00
Makefile Change refresh to 400MHz 2023-08-19 16:56:49 -05:00
README.md Update readme with removal instructions 2023-08-19 12:19:01 -05:00
README.orig.md New README 2023-06-09 16:40:55 -05:00
sharp-drm.dts Change refresh to 400MHz 2023-08-19 16:56:49 -05:00

README.md

Sharp Memory LCD Kernel Driver

DRM kernel driver for 2.7" 400x240 Sharp memory LCD panel.

Cleaning old drivers

The bbqX0kbd driver has been renamed to beepy-kbd, and sharp to sharp-drm.

Driver packages will detect if one of these old modules is installed and cancel installation of the package.

Remove the following files:

  • /lib/modules/<uname>/extra/bbqX0kbd.ko*
  • /lib/modules/<uname>/extra/sharp.ko*
  • /boot/overlays/i2c-bbqX0kbd.dtbo
  • /boot/overlays/sharp.dtbo

Rebuild the module list:

  • depmod -a

Remove the following lines from /boot/config.txt:

  • dtoverlay=bbqX0kbd,irq_pin=4
  • dtoverlay=sharp

Remove the following lines from /etc/modules:

  • bbqX0kbd
  • sharp

Installation

Install the Linux kernel headers

sudo apt-get install raspberrypi-kernel-headers

To build, install, and enable the kernel module:

make
sudo make install

To remove:

sudo make uninstall

Original fbdev module readme with pinouts and build instructions

References

Original SPI and GPIO kernel driver at:

https://github.com/w4ilun/Sharp-Memory-LCD-Kernel-Driver

Sharp datasheet:

https://www.sharpsde.com/fileadmin/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf