
Section 1, Install DRM Driver
Pre-requirements
- A BeadaPanel Media Display
- A Desktop PC(with Ubuntu 24.04 LTS)
- Connect Micro-USB cable with Desktop PC and BeadaPanel
- Login to Ubuntu main monitor
- Open a term window
- Compile the driver
Code: Select all
git clone -b kub-6.8.0 https://github.com/JT365/beada # download code cd beada/src make -C /usr/src/linux-headers-`uname -r`/ M=`pwd` modules # compile
- Install the driver
Code: Select all
sudo cp beadaDRM.ko /lib/modules/`uname -r`/kernel/drivers/gpu/drm/tiny/ # install module sudo depmod -a # load at bootup
Section 2, Screen Configuration on GNOME Desktop
Wayland will not automatically discover an USB screen as soon as BeadaPanel plugin. Reboot your PC with BeadaPanel connected is required. When Ubuntu boots up, you will find it joins up your main monitor and BeadaPanel with GNOME desktop.
- Fine tune in Display Configuration
Click to Settings|Displays
Section 3, Set BeadaPanel as Primary Monitor in Wayland Environment
Proceduces
- Go to Settings|Displays
- Select BeadaPanel as Primary display
- Click 'Apply' and then choose 'Keep changes' to current display setting
- BeadaPanel becomes primary monitor immediately
Section 4, Adjust backlight of BeadaPanel
Proceduces
- Open a term window
- Find current BeadaPanel DRM device
Code: Select all
esky-sh@NX-W-12:~$ ls /sys/class/drm/ card0 card0-USB-1 card1 card1-VGA-1 renderD128 version
- Check current BeadaPanel backlight level
Code: Select all
esky-sh@NX-W-12:~$ cat /sys/class/drm/card0-USB-1/backlight/brightness 90
- Modify backlight:
Code: Select all
esky-sh@NX-W-12:~$ echo 30 > /sys/class/drm/card0-USB-1/backlight/brightness esky-sh@NX-W-12:~$ cat /sys/class/drm/card0-USB-1/backlight/brightness 30