[oe-commits] org.oe.dev xserver-kdrive-common: add support for the Motorola Ezx Platform

mickeyl commit openembedded-commits at lists.openembedded.org
Sun Sep 2 21:31:39 UTC 2007


xserver-kdrive-common: add support for the Motorola Ezx Platform
also repair formatting (please use spaces only)

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 3fc5a8a6eb6ff274e372c1a3ef0c2d5cd966ac6a
ViewMTN: http://monotone.openembedded.org/revision.psp?id=3fc5a8a6eb6ff274e372c1a3ef0c2d5cd966ac6a
Files:
1
packages/xserver-kdrive-common/xserver-kdrive-common/Xserver
packages/xserver-kdrive-common/xserver-kdrive-common/openmoko/Xserver
Diffs:

#
# mt diff -r6e64a28e835c5c146a75f977dd3dca19cd043778 -r3fc5a8a6eb6ff274e372c1a3ef0c2d5cd966ac6a
#
# 
# 
# patch "packages/xserver-kdrive-common/xserver-kdrive-common/Xserver"
#  from [eeb36e59b49d025119f1c675d7a876dc144a9de3]
#    to [86b0b241fd7f1d69eb6b419725d06c0b83c622bc]
# 
# patch "packages/xserver-kdrive-common/xserver-kdrive-common/openmoko/Xserver"
#  from [f577f4abd5a0266a816f433ba1f52d27966848b8]
#    to [23aa4a6fe757122a344302dbed566ea29a6b4f5e]
# 
============================================================
--- packages/xserver-kdrive-common/xserver-kdrive-common/Xserver	eeb36e59b49d025119f1c675d7a876dc144a9de3
+++ packages/xserver-kdrive-common/xserver-kdrive-common/Xserver	86b0b241fd7f1d69eb6b419725d06c0b83c622bc
@@ -74,8 +74,7 @@ case `module_id` in
         *Poodle)
                 ARGS="$ARGS -dpi 100 -rgba vrgb -screen 320x240 at 270" ;;
         *Collie)
-                ARGS="$ARGS -dpi 100 -rgba vrgb -screen 320x240 at 270"
-                ;;
+                ARGS="$ARGS -dpi 100 -rgba vrgb -screen 320x240 at 270" ;;
         "SHARP Shepherd" | "SHARP Husky" | "SHARP Corgi")
                 ARGS="$ARGS -dpi 200 -rgba rgb" ;;
         "SHARP Spitz" | "SHARP Akita" | "SHARP Borzoi")
@@ -90,23 +89,23 @@ case `module_id` in
                 ARGS="$ARGS -dpi 142" ;;
         "HTC Universal")
                 ARGS="$ARGS -dpi 225 -screen 480x640 at 270" ;;
-	"ARM-IntegratorCP" | "ARM-Versatile PB")
-		ARGS="$ARGS -rgba vrgb" ;;
-	"Compulab CM-x270")
+        "ARM-IntegratorCP" | "ARM-Versatile PB")
+                ARGS="$ARGS -rgba vrgb" ;;
+        "Compulab CM-x270")
                 modprobe mbxfb
-	        ARGS="$ARGS -fb /dev/fb1"
-                ;;
-        "GTA01")
+	            ARGS="$ARGS -fb /dev/fb1" ;;
+        "GTA01" | "GTA02")
                 ARGS="$ARGS -dpi 285 -screen 480x640" ;;
         "Nokia N800")
-		ARGS="$ARGS -dpi 225 -screen 800x480x16 -mouse tslib" ;;
+                ARGS="$ARGS -dpi 225 -screen 800x480x16 -mouse tslib" ;;
+        "Motorola Ezx Platform")
+                ARGS="$ARGS -dpi 170 -screen 240x320" ;;
 	*)
-		# Its a device we dont know about - in which case force
-                # kdrive to use the current framebuffer geometry otherwise
-		# it will defualt to trying to achieve 1024x768
+		# It is a device we do not know about, in which case we force
+        # kdrive to use the current framebuffer geometry -- otherwise
+		# it will default to trying to achieve 1024x768
 		S=`fallback_screen_arg`
-		ARGS="$ARGS -screen $S"
-		;;
+		ARGS="$ARGS -screen $S" ;;
 esac
 
 DISPLAY=':0'
============================================================
--- packages/xserver-kdrive-common/xserver-kdrive-common/openmoko/Xserver	f577f4abd5a0266a816f433ba1f52d27966848b8
+++ packages/xserver-kdrive-common/xserver-kdrive-common/openmoko/Xserver	23aa4a6fe757122a344302dbed566ea29a6b4f5e
@@ -24,8 +24,6 @@ fi
 
 . /etc/profile
 
-
-
 fallback_screen_arg() {
     geom=`fbset | grep geometry`
     w=`echo $geom | awk '{ print $2 }'`
@@ -90,23 +88,23 @@ case `module_id` in
                 ARGS="$ARGS -br -dpi 142" ;;
         "HTC Universal")
                 ARGS="$ARGS -br -dpi 225 -screen 480x640 at 270" ;;
-	"ARM-IntegratorCP" | "ARM-Versatile PB")
-		ARGS="$ARGS -br -rgba vrgb" ;;
-	"Compulab CM-x270")
+        "ARM-IntegratorCP" | "ARM-Versatile PB")
+		        ARGS="$ARGS -br -rgba vrgb" ;;
+        "Compulab CM-x270")
                 modprobe mbxfb
-	        ARGS="$ARGS -br -fb /dev/fb1"
-                ;;
+                ARGS="$ARGS -br -fb /dev/fb1" ;;
         "GTA01" | "GTA02")
                 ARGS="$ARGS -dpi 285 -screen 480x640 -hide-cursor -root-ppm /usr/share/pixmaps/xsplash.ppm" ;;
+        "Motorola Ezx Platform")
+                ARGS="$ARGS -dpi 170 -screen 240x320 -hide-cursor -root-ppm /usr/share/pixmaps/xsplash.ppm" ;;
         "Nokia N800")
-		ARGS="$ARGS -br -dpi 225 -screen 800x480x16 -mouse tslib" ;;
-	*)
-		# Its a device we dont know about - in which case force
-                # kdrive to use the current framebuffer geometry otherwise
-		# it will defualt to trying to achieve 1024x768
-		S=`fallback_screen_arg`
-		ARGS="$ARGS -screen $S"
-		;;
+                ARGS="$ARGS -br -dpi 225 -screen 800x480x16 -mouse tslib" ;;
+        *)
+		        # It is a device we do not know about, in which case we force
+                # kdrive to use the current framebuffer geometry -- otherwise
+		        # it will default to trying to achieve 1024x768
+		        S=`fallback_screen_arg`
+		        ARGS="$ARGS -screen $S" ;;
 esac
 
 DISPLAY=':0'






More information about the Openembedded-commits mailing list