sharp-drm-driver-radxa-zero/README.md

60 lines
1.3 KiB
Markdown
Raw Normal View History

2018-05-17 10:09:26 -04:00
# Sharp Memory LCD Kernel Driver
2018-05-17 12:45:14 -04:00
2023-06-09 17:40:55 -04:00
DRM kernel driver for 2.7" 400x240 Sharp memory LCD panel.
2018-05-17 13:05:21 -04:00
## 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`
2023-08-04 22:21:10 -04:00
## 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
2023-06-09 17:42:59 -04:00
## [Original fbdev module readme with pinouts and build instructions](https://github.com/w4ilun/Sharp-Memory-LCD-Kernel-Driver/blob/master/README.md)
2018-05-17 12:45:14 -04:00
2023-06-09 17:40:55 -04:00
## References
2018-05-17 12:45:14 -04:00
2023-06-09 17:40:55 -04:00
Original SPI and GPIO kernel driver at:
2018-05-17 13:05:21 -04:00
2023-06-09 17:40:55 -04:00
https://github.com/w4ilun/Sharp-Memory-LCD-Kernel-Driver
2018-05-17 12:45:14 -04:00
2023-06-09 17:40:55 -04:00
Sharp datasheet:
2018-05-17 12:45:14 -04:00
2023-06-09 17:40:55 -04:00
https://www.sharpsde.com/fileadmin/products/Displays/2016_SDE_App_Note_for_Memory_LCD_programming_V1.3.pdf