Skip to content

Opensource linux kernel driver for PUD(Pico USB Display)

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE.jpegenc
Notifications You must be signed in to change notification settings

embeddedboys/PUD-kernel-drivers

Repository files navigation

System Info

Distro Kernel version Machine
Debian GNU/Linux 13 (trixie) 6.12.47+rpt-rpi-2712 Raspberry Pi 5 Model B

install tools

sudo apt install git make gcc vim -y

clone and build

git clone https://github.com/embeddedboys/PUD-kernel-drivers.git
cd PUD-kernel-drivers
git checkout kernel-6.12
make
sudo insmod pud.ko

The default display backend is DRM.

Setup and Test Desktop

Install Desktop

sudo apt --no-install-recommends install xorg xfce4 lightdm -y
sudo apt install dbus-x11 -y
sudo apt install lightdm-gtk-greeter -y

start xfce4 with root user:

sudo startxfce4

start xfce4 via lightdm

sudo lightdm -d

More

Useful commands during development

disable and enable cursor blink

sudo sh -c "echo 0 > /sys/class/graphics/fbcon/cursor_blink"
sudo sh -c "echo 1 > /sys/class/graphics/fbcon/cursor_blink"

vtconsole ubind and bind (This is useful when you removing activing fb driver)

sudo sh -c "echo 0 > /sys/class/vtconsole/vtcon1/bind"
sudo sh -c "echo 1 > /sys/class/vtconsole/vtcon1/bind"

mplayer output to fbdev

mplayer -vo fbdev2 -vf scale=480:320 xxx.mp4

About

Opensource linux kernel driver for PUD(Pico USB Display)

Resources

License

MIT, Apache-2.0 licenses found

Licenses found

MIT
LICENSE
Apache-2.0
LICENSE.jpegenc

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages