Posts: 11
hw3patch
Joined: 31 Dec 2013
#16
Laptop Model: Gateway Solo 2550
Graphics Card: Silicon Motion SM710 LynxEM
The Problem: When loading the GUI from the live CD, or when loading the GUI from the HD, it never loads, but the screen stays black.

Two things must be done to fix this. The first is to create /etc/X11/xorg.conf if it doesn't exist, and make it look like the following:

Code: Select all

Section"ServerLayout"
    Identifier    "X.org Configured"
    Screen      0 "Screen0" 0 0
#    Screen      1 "Screen1" RightOf"Screen0"
    InputDevice   "Mouse0""CorePointer"
    InputDevice   "Keyboard0""CoreKeyboard"
EndSection

Section"ServerFlags"
    Option"AutoAddDevices""False"
    Option"AllowEmptyInput""False"
EndSection

Section"Files"
    ModulePath  "/usr/lib/xorg/modules"
    FontPath    "/usr/share/fonts/X11/misc"
    FontPath    "/usr/share/fonts/X11/cyrillic"
    FontPath    "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath    "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath    "/usr/share/fonts/X11/Type1"
    FontPath    "/usr/share/fonts/X11/100dpi"
    FontPath    "/usr/share/fonts/X11/75dpi"
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath    "built-ins"
EndSection

Section"Module"
    Load "extmod"
    Load "dri2"
    Load "dbe"
    Load "record"
    Load "glx"
    Load "dri"
EndSection

Section"InputDevice"
    Identifier "Keyboard0"
    Driver     "kbd"
EndSection

Section"InputDevice"
    Identifier "Mouse0"
    Driver     "mouse"
    Option       "Protocol""auto"
    Option       "Device""/dev/input/mice"
    Option       "ZAxisMapping""4 5 6 7"
EndSection

Section"Monitor"
    Identifier  "Monitor0"
    VendorName  "Monitor Vendor"
    ModelName   "Monitor Model"
EndSection

Section"Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>:"True"/"False",
        ### <string>:"String", <freq>:"<f> Hz/kHz/MHz",
        ### <percent>:"<f>%"
        ### [arg]: arg optional
        #Option    "ShadowFB"               # [<bool>]
        #Option    "Rotate"                 # <str>
        #Option    "fbdev"                  # <str>
        #Option    "debug"                  # [<bool>]
    Identifier "Card0"
    Driver     "siliconmotion"
    BusID      "PCI:1:0:0"
EndSection

Section"Screen"
    Identifier"Screen0"
    Device    "Card0"
    Monitor   "Monitor0"
    DefaultDepth 16
    SubSection"Display"
        Viewport   0 0
        Depth     16
        Modes"1024x768"
    EndSubSection
EndSection
This will get the GUI working, but the keyboard will not work.

To get the keyboard to work, the package xserver-xorg-input-kbd must be downgraded to a version that uses the kbd_drv.so file. After installing that package, kbd_drv.so will be placed into /usr/lib/xorg/modules/input. The package can be found by searching the package name at packages.debian.org. Select the wheezy (stable) one. The architecture will be i386 for most people. To install the package, use the command dpkg -i [package file name].