summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/x11-common
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2012-01-06 00:42:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-06 12:11:35 +0000
commit72fc52b61d5fe0128cb86d16bbc5e44ce266846e (patch)
treeadd4a409c9a057c02ba31184d85044ee3cb94d29 /meta/recipes-graphics/x11-common
parentdfa70347ce3416f2517bfe74eaaa3f824d13f373 (diff)
downloadpoky-72fc52b61d5fe0128cb86d16bbc5e44ce266846e.tar.gz
x11-common: remove extraneous BSP customizations
(From OE-Core rev: caf0bdaa8f137ac7a775aff3d41ec1bfb2907afa) Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/x11-common')
-rw-r--r--meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver
index 57923e6b95..cea733e9fb 100644
--- a/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver
+++ b/meta/recipes-graphics/x11-common/x11-common/etc/X11/Xserver
@@ -18,14 +18,6 @@ fi
18 18
19. /etc/profile 19. /etc/profile
20 20
21module_id() {
22 ## used to read from assets, but sometimes assets is corrupted
23 # grep "Module ID" /proc/hal/assets | sed "s/.*://"
24 ## used to read from /proc/hal/model, but that is removed in 2.6
25 # echo ' iPAQ' `cat /proc/hal/model`
26 awk 'BEGIN { FS=": " } /Hardware/ { print $2 } ' </proc/cpuinfo
27}
28
29ARGS=" -br -pn" 21ARGS=" -br -pn"
30 22
31if [ "$XSERVER" != "/usr/bin/Xorg" ]; then 23if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
@@ -44,22 +36,6 @@ if [ "$XSERVER" != "/usr/bin/Xorg" ]; then
44 ARGS="$ARGS -mouse tslib" 36 ARGS="$ARGS -mouse tslib"
45 fi 37 fi
46 38
47 # start off server in conventional location.
48 case `module_id` in
49 "Generic OMAP1510/1610/1710")
50 ARGS="$ARGS -mouse /dev/input/event0" ;;
51 "Compulab CM-x270")
52 #modprobe mbxfb
53 #ARGS="$ARGS -fb /dev/fb1"
54 ;;
55 "Nokia N800")
56 ARGS="$ARGS -mouse tslib" ;;
57 "Nokia 770")
58 ARGS="$ARGS -mouse tslib" ;;
59 *)
60 ;;
61 esac
62
63 ARGS="$ARGS -screen ${DISPLAY_WIDTH_PIXELS}x${DISPLAY_HEIGHT_PIXELS}@${DISPLAY_ORIENTATION}x${DISPLAY_BPP}" 39 ARGS="$ARGS -screen ${DISPLAY_WIDTH_PIXELS}x${DISPLAY_HEIGHT_PIXELS}@${DISPLAY_ORIENTATION}x${DISPLAY_BPP}"
64 40
65 if [ ! -z "$DISPLAY_DPI" ]; then 41 if [ ! -z "$DISPLAY_DPI" ]; then