aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0009-xserver-common-add-support-for-n900-alias-nokia_rx-5.patch
blob: 1a0bde894cdfadcba8283dde2610c341e6acbc07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 6d6caecb7172b9b33e7364564b0e6eabf67b6e8b Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Wed, 11 Apr 2012 14:40:14 +0200
Subject: [PATCH 09/12] xserver-common: add support for n900 alias
 nokia_rx-51_board

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 X11/xserver-common |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/X11/xserver-common b/X11/xserver-common
index f76fa5f..86ed17f 100644
--- a/X11/xserver-common
+++ b/X11/xserver-common
@@ -132,6 +132,13 @@ else
         "nokia_n800" | "nokia_rx-44" | "nokia_n770")
             ARGS="$ARGS -screen ${SCREEN_SIZE}"
             DPI="225" ;;
+        "nokia_rx-51_board" )                                     
+            DPI="267"                                    
+            if [ "$XSERVER" != "Xorg" ] ; then                    
+                ARGS="$ARGS -screen ${SCREEN_SIZE}"               
+            else                                                  
+                ARGS="$ARGS -dpi ${DPI} -nocursor"       
+            fi ;;                                                    
         "gta01" )
             DPI="280"
             if [ "$XSERVER" != "Xorg" ] ; then
-- 
1.7.8.5