xserver-kdrive-common/Xserver: fix EZX settings
authorAntonio Ospite <ospite@studenti.unina.it>
Tue, 13 Apr 2010 10:20:09 +0000 (12:20 +0200)
committerAntonio Ospite <ospite@studenti.unina.it>
Fri, 4 Jun 2010 13:56:05 +0000 (15:56 +0200)
Support all EZX machines, and set up the mouse as a tslib device.

Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Acked-by: Koen Kooi <koen@openembedded.org>
recipes/xserver-kdrive-common/xserver-kdrive-common/Xserver

index e2566bb..347b005 100644 (file)
@@ -144,11 +144,12 @@ case `module_id` in
                      PPM="-root-ppm /usr/share/pixmaps/xsplash-qvga-square.ppm"
                 fi
                 ARGS="$ARGS -dpi 181 -screen 320x320 -mouse tslib -hide-cursor ${PPM}" ;;
-        "Motorola Ezx Platform")
+        "Motorola Ezx Platform" | \
+        "Motorola EZX"*)
                 if [ -f "/usr/share/pixmaps/xsplash-qvga.ppm" ]; then
                      PPM="-root-ppm /usr/share/pixmaps/xsplash-qvga.ppm ${PPM}"
                 fi
-                ARGS="$ARGS -dpi 170 -screen ${SCREEN_SIZE}" ;;
+                ARGS="$ARGS -dpi 170 -mouse tslib -hide-cursor -screen ${SCREEN_SIZE} ${PPM}" ;;
        "Glofiish M800")
                 if [ -f "/usr/share/pixmaps/xsplash-vga.ppm" ]; then
                      PPM="-root-ppm /usr/share/pixmaps/xsplash-vga.ppm"