Andrew D'Angelo
2e0bde76a4
Merge pull request #5 from imnotjames/patch-1
fix: actually set vcom gpio value
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
Description
Languages
C
94%
Makefile
6%