[Fwd: xorg.conf for the XO-1]

Bernie Innocenti bernie at codewiz.org
Thu Jan 21 13:06:14 EST 2010


Anyone has any clue?

-------- Forwarded Message --------
From: Bernie Innocenti <bernie at codewiz.org>
To: Michael Stone <michael.r.stone at gmail.com>, Daniel Drake
<dsd at laptop.org>, Raul Gutierrez Segales <rgs at rieder.net.py>
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 <michael at laptop.org>
AuthorDate: Wed Jun 25 03:16:51 2008 -0400
Commit:     Michael Stone <michael at laptop.org>
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/



More information about the Devel mailing list