Files
openwrt_yocto/meta-openembedded/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0008-xserver-common-add-dpi-and-nocursor-params-for-gta01.patch
T
francis.wang 4c86c082a2 Initial commit: OpenWrt-Yocto monorepo
Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and
meta-openwrt into a single repository.

Components:
- poky/             Yocto core framework (BitBake + OE-Core)
- meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking)
- meta-openwrt/     OpenWrt customization layer
- setup-env.sh      One-click build environment setup
- README.md         Project documentation
2026-07-11 13:28:01 +08:00

41 lines
1.2 KiB
Diff

From e2abbe110e71a7b4b56564e6b9d58ffa7f34a9e8 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Wed, 11 Apr 2012 14:37:29 +0200
Subject: [PATCH] xserver-common: add dpi and nocursor params for gta01 and
gta02
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
Upstream-Status: Pending
X11/xserver-common | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/X11/xserver-common b/X11/xserver-common
index d622f2a..a2c0591 100644
--- a/X11/xserver-common
+++ b/X11/xserver-common
@@ -133,15 +133,19 @@ else
ARGS="$ARGS -screen ${SCREEN_SIZE}"
DPI="225" ;;
"gta01" )
- DPI="285"
+ DPI="280"
if [ "$XSERVER" != "Xorg" ] ; then
ARGS="$ARGS -screen 480x640"
+ else
+ ARGS="$ARGS -dpi ${DPI} -nocursor"
fi
;;
"gta02")
- DPI="285"
+ DPI="280"
if [ "$XSERVER" != "Xorg" ] ; then
ARGS="$ARGS -screen ${SCREEN_SIZE}"
+ else
+ ARGS="$ARGS -dpi ${DPI} -nocursor"
fi
;;
"motorola_ezx_platform")