Skip to content

sgrankin/sharp-drm-driver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

About

Linux DRM Driver for 2.7" Sharp Memory LCD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 94.1%
  • Makefile 5.9%