Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2012-08-01 23:38:51 (GMT)
committer Daniel Drake <dsd@laptop.org>2012-08-08 02:47:43 (GMT)
commit83775d9c67ebda4f633637783f95374e818346b3 (patch)
tree27cca663453a963c21ff979045b1737673466b93
parentc047c95f420ea2be777868c0f5f20cc3809d3ffb (diff)
xo1_5: temporarily hack openchrome into place
chrome driver needs some work for F18
-rw-r--r--modules/xo1_5/kspkglist.50.xo1_5.inc3
-rw-r--r--modules/xo1_5/kspost.50.xo15-tweaks.inc134
2 files changed, 136 insertions, 1 deletions
diff --git a/modules/xo1_5/kspkglist.50.xo1_5.inc b/modules/xo1_5/kspkglist.50.xo1_5.inc
index 705a4da..a83ced8 100644
--- a/modules/xo1_5/kspkglist.50.xo1_5.inc
+++ b/modules/xo1_5/kspkglist.50.xo1_5.inc
@@ -1,4 +1,5 @@
-xorg-x11-drv-chrome
+#xorg-x11-drv-chrome FIXME doesnt work on f18
+xorg-x11-drv-openchrome
# currently XO-1.5 / XO-1.75 only
olpc-runin-tests
diff --git a/modules/xo1_5/kspost.50.xo15-tweaks.inc b/modules/xo1_5/kspost.50.xo15-tweaks.inc
index b83d40e..e07a12b 100644
--- a/modules/xo1_5/kspost.50.xo15-tweaks.inc
+++ b/modules/xo1_5/kspost.50.xo15-tweaks.inc
@@ -6,3 +6,137 @@ ln -sf /lib/systemd/system/serial-getty@.service \
mkdir -p /etc/systemd/system/runin.target.wants
ln -sf /lib/systemd/system/serial-getty@.service \
/etc/systemd/system/runin.target.wants/serial-getty@ttyS0.service
+
+# FIXME temporarily hacking in openchrome config since chrome driver
+# needs work for F18
+cat >>/usr/share/olpc-utils/xorg.conf.d/xo1.5.conf <<EOF
+Section "Monitor"
+ Identifier "Monitor0"
+ VendorName "Monitor Vendor"
+ ModelName "Monitor Model"
+
+ # FIXME: http://dev.laptop.org/ticket/9331
+ DisplaySize 152 114
+
+ HorizSync 20-90
+ VertRefresh 49-51
+ Option "DPMS" "off"
+EndSection
+
+Section "Device"
+ ### Available Driver options are:-
+ ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
+ ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
+ ### [arg]: arg optional
+ Option "ForceLCD" "yes" # [<bool>]
+ Option "ForcePanel" "yes" # [<bool>]
+ #Option "NoAccel" # [<bool>]
+ #Option "AccelMethod" # <str>
+ #Option "ExaNoComposite" # [<bool>]
+ #Option "ExaScratchSize" # <i>
+ Option "SWCursor" "yes"
+ #Option "ShadowFB" # [<bool>]
+ #Option "Rotate" # [<str>]
+ #Option "RotateType" # [<str>]
+ #Option "Inverse" # [<bool>]
+ #Option "VideoRAM" # <i>
+ #Option "VideoRAM1" # <i>
+ #Option "TwoLCD" # [<bool>]
+ #Option "CRTPort" # [<str>]
+ Option "ActiveDevice" "LCD" # [<str>]
+ #Option "DVIPort" # [<str>]
+ #Option "DVIDualEdge" # [<str>]
+ #Option "DVIBusWidth" # [<str>]
+ #Option "Simultaneous" # [<bool>]
+ #Option "LCDPort" # [<str>]
+ #Option "LCDBusWidth" # [<str>]
+ #Option "Center" # [<bool>]
+ #Option "PanelID" # <i>
+ Option "PanelSize" "1200x900"
+ #Option "TVPort" # [<str>]
+ #Option "TVDotCrawl" # [<bool>]
+ #Option "TV2DotCrawl" # [<bool>]
+ #Option "TVProgressive" # [<bool>]
+ #Option "TV2Progressive" # [<bool>]
+ #Option "TVType" # [<str>]
+ #Option "TV2Type" # [<str>]
+ #Option "TVOutput" # [<str>]
+ #Option "TV2Output" # [<str>]
+ #Option "TVVScan" # [<str>]
+ #Option "TVHScale" # <i>
+ #Option "TVVScale" # <i>
+ #Option "TV2HScale" # <i>
+ #Option "TV2VScale" # <i>
+ #Option "TVEncoder" # [<str>]
+ #Option "TVFlickerFilter" # <i>
+ #Option "TV2FlickerFilter" # <i>
+ #Option "Refresh" # <i>
+ #Option "DisableVQ" # [<bool>]
+ #Option "NoDDCValue" # [<bool>]
+ #Option "DRIXINERAMA" # [<bool>]
+ #Option "DeBlockingEnable" # [<bool>]
+ #Option "Use2DBitBltSignature" # [<bool>]
+ #Option "MergedFB" # [<bool>]
+ #Option "NoVIAXinerama" # [<bool>]
+ #Option "Scrn2Pos" # [<str>]
+ #Option "EPIA_DVI" # [<bool>]
+ #Option "VideoOnDevice" # [<str>]
+ #Option "CCIR601" # [<bool>]
+ #Option "Scrn2Pos" # [<str>]
+ #Option "DPASetting_DVP0" # [<str>]
+ #Option "DPASetting_DVP1" # [<str>]
+ #Option "DPASetting_DFPHIGH" # [<str>]
+ #Option "DPASetting_DFPLOW" # [<str>]
+ #Option "DPASetting_VT1636" # [<str>]
+ #Option "DPASetting_VT1625" # [<str>]
+ #Option "DPASetting_VT1623" # [<str>]
+ #Option "DISPLAY_3DScaling" # [<bool>]
+ #Option "DISPLAY_3DScaling_HDMI" # [<bool>]
+ #Option "DISPLAY_3DScaling_LCD" # [<bool>]
+ #Option "VideoColorKey" # <i>
+ #Option "GoodPerformance" # [<bool>]
+ #Option "LCD_MSB_ENABLE" # [<bool>]
+ #Option "NoDithering" # [<bool>]
+ #Option "DualChannel" # [<bool>]
+ #Option "Interlace" # [<bool>]
+ #Option "FnHotkey" # [<str>]
+ #Option "TextureVideoSupport" # [<bool>]
+
+ # dev.laptop.org #9798 Don't probe I2C busses where the camera is connected
+ Option "I2CDevices" "Bus1"
+
+ Identifier "Card0"
+ Driver "openchrome"
+ VendorName "VIA Technologies, Inc."
+ BoardName "Unknown Board"
+ BusID "PCI:0:1:0"
+EndSection
+
+Section "Screen"
+ Identifier "Screen0"
+ Device "Card0"
+ Monitor "Monitor0"
+ DefaultDepth 24
+ SubSection "Display"
+ Viewport 0 0
+ Depth 1
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 4
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 8
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 15
+ EndSubSection
+ SubSection "Display"
+ Viewport 0 0
+ Depth 24
+ Modes "1200x900"
+ EndSubSection
+EndSection
+EOF