Anyone has any clue?

-------- Forwarded Message --------
From: Bernie Innocenti <[email protected]>
To: Michael Stone <[email protected]>, Daniel Drake
<[email protected]>, Raul Gutierrez Segales <[email protected]>
Subject: xorg.conf for the XO-1
Date: Tue, 19 Jan 2010 11:38:25 -0300

I remember getting rid of all the manual input device
configuration on the transition to Xorg 1.5.

Does anyone remember why these sections were resurrected later on?

Ideally, things should work without any xorg.conf at all.
Any manual tweak we need to do is really a workaround for
an autodetection bug hiding somewhere else.

commit c00708b527bea3889bc7d16baee811ecfcfdcf72
Author:     Michael Stone <[email protected]>
AuthorDate: Wed Jun 25 03:16:51 2008 -0400
Commit:     Michael Stone <[email protected]>
CommitDate: Wed Jun 25 03:30:57 2008 -0400

    Merge Fedora's divergence.

diff --git a/etc/X11/xorg-dcon.conf b/etc/X11/xorg-dcon.conf
index 074a300..9d3e999 100644
--- a/etc/X11/xorg-dcon.conf
+++ b/etc/X11/xorg-dcon.conf
@@ -5,9 +5,9 @@ Section "ServerLayout"
        Screen      0  "Screen0" 0 0
 EndSection
 
-Section "ServerFlags"
-       Option "AllowEmptyInput" "yes"
-EndSection
+#Section "ServerFlags"
+       #Option "AllowEmptyInput" "yes"
+#EndSection
 
 Section "Module"
        SubSection "extmod"
@@ -63,3 +63,45 @@ Section "Screen"
                Modes   "1200x900"
        EndSubSection
 EndSection
+Section "InputDevice"
+        Identifier "fake"
+
+Section "InputDevice"
+        Identifier "ATKbd"
+        Driver     "evdev"
+
+        Option  "Name"  "AT Translated Set 2 keyboard"
+        Option  "evBits"    "+1"
+        Option  "keyBits"   "~1-255 ~352-511"
+        Option  "Pass"      "2"
+EndSection
+Section "InputDevice"
+        Identifier "Keyboard"
+        Driver     "evdev"
+
+        Option  "evBits"    "+1"
+        Option  "keyBits"   "~1-115 ~117-255"
+        Option  "Pass"      "3"
+EndSection
+
+Section "InputDevice"
+        Identifier "Mouse"
+        Driver     "evdev"
+
+        Option  "evBits"    "+1-2"
+        Option  "keyBits"   "~272-287"
+        Option  "Pass"      "3"
+EndSection
+Section "InputDevice"
+        Identifier "GS"
+        Driver     "evdev"
+
+        Option  "Name" "OLPC ALPS GlideSensor"
+        Option  "evBits"    "+1 +3"
+        Option  "keyBits"   "~272-287"
+        Option  "absBits"   "~0-2 ~24"
+        Option  "Pass"      "2"
+        Option  "Mode"      "Relative"
+EndSection



-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs       - http://sugarlabs.org/

_______________________________________________
Devel mailing list
[email protected]
http://lists.laptop.org/listinfo/devel

Reply via email to