Giter VIP home page Giter VIP logo

sharp-drm-driver's Introduction

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

sharp-drm-driver's People

Contributors

ardangelo avatar imnotjames avatar kylehawes avatar w4ilun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sharp-drm-driver's Issues

Not building on current Raspberry Pi OS version (10-10-23)

Neither the sharp-drm driver nor its companion keyboard driver build on the Raspberry Pi OS Lite 32-bit image from the Raspberry Pi Imager, dated October 10th 2023 (https://downloads.raspberrypi.com/raspios_lite_armhf/images/raspios_lite_armhf-2023-10-10/2023-10-10-raspios-bookworm-armhf-lite.img.xz).

bash-log.txt
sharp-drm-make.log

I've also detailed the issue in an issue raised on the documentation at
sqfmi/beepy-docs#21

And added keyboard driver make logs this issue at
ardangelo/beepberry-keyboard-driver#4

The driver does not compile on systems with kernel version 6.x

I am trying to set up my beepy with Arch Linux ARM, using the files from https://github.com/DelusionalLogic/beepy-packages
The PKGBUILD file pulls in the git repository, so I am using the current source.

When the system tries build the module, I get two compile time errors (see attached make.log)

The first points to a function which was available with kernel 5.x, but seems to be removed with later versions.
I found this as a indication: https://www.spinics.net/lists/dri-devel/msg374191.html
Arch Linux ARM for Raspberry Pi comes out of the box with kernel 6.6.14

The second just needs another include file (drm/drm_fbdev_generic.h).

I know that Arch Linux is probably out of scope here, but sooner or later Raspbian will get newer kernels, so this is more or less future proofing ;)

sharp-drm-make.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.