Gentoo Linux - Toshiba Satellite X200/X205 (part 4)

Time for an update on my progress of installing Gentoo Linux on my Toshiba X200-20S. I have been managing to get audio playing out of the integrated speakers, so I assumed it was all working and setup correctly, wrong. When I tried to plug in my headphones the audio continues to be played out of the speakers. The problem appears to be an unsupported codec chip (ALC286). Now the good news is that support for this chip has been integrated into the 2.6.23 series of kernels. The downside is that they have not yet been marked for testing as gentoo-sources. I could try a vanilla kernel but I’d rather have the gentoo tweaks. Once it’s available for testing I shall give it a shot and see if it solves my problems.

Knowing the chip isn’t correctly supported could also explain an issue I was having enabling sounds in Gnome and it locking up. This is another thing to test with the new kernel.

I have also been putting some work into the Xorg.conf. Furthur refinements are needed but this version (see below) supports the touchpad a little better, using it as the core pointer, and allows the use of an external USB mouse.

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "TouchPad" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "SendCoreEvents"
EndSection

#Section "ServerLayout"
    # Option "AllowMouseOpenFail" "true"
#EndSection

Section "Files"
    RgbPath "/usr/share/X11/rgb"
    ModulePath "/usr/lib64/xorg/modules"
    FontPath "/usr/share/fonts/misc/"
    FontPath "/usr/share/fonts/TTF/"
    FontPath "/usr/share/fonts/OTF/"
    FontPath "/usr/share/fonts/Type1/"
    FontPath "/usr/share/fonts/100dpi/"
    FontPath "/usr/share/fonts/75dpi/"
    FontPath "/usr/share/fonts/corefonts/"
    FontPath "/usr/share/fonts/freefonts/"
    FontPath "/usr/share/fonts/sharefonts/"
    FontPath "/usr/share/fonts/terminus/"
    FontPath "/usr/share/fonts/ttf-bitstream-vera/"
    FontPath "/usr/share/fonts/unifont/"
    FontPath "/usr/share/fonts/artwiz/"
    FontPath "/usr/share/fonts/local/"
    FontPath "/usr/share/fonts/cyrillic/"
EndSection

Section "Module"
    # Load "fbdevhw" ## Investigate this module
    Load "xtrap"
    # old bitmap font support (no longer needed as of xorg7.x)
    Load "bitmap"
    # a collection of X protocol extensions that you want but shouldn't even be loadable
    Load "extmod"
    # to load freetype fonts and type 1 fonts
    Load "freetype"
    Load "type1"
    # layer below vbe that emus x86 real mode so you can call into vbios
    # vesa bios interface for card setup stuff
    Load "int10"
    Load "vbe"
    # serial bus over which you speak the ddc protocol to get info from the monitor
    Load "i2c"
    Load "ddc"
    # direct rendering infrastructure which makes opengl go fast
    # Load "dri"# Nvidia Advise Removal
    # glx and glcore implement opengl
    Load "glx"
    # Load "GLcore"# Nvidia Advise Removal
    # double buffering extension (no apps use?)
    # Load "dbe"
    # 1 of 3 extensions for application automation (unneeded -- most things use xtest from extmod)
    # Load "record"
EndSection

Section "InputDevice"
    Identifier "Keyboard0"
    Driver "kbd"
    Option "Corekeyboard"
    Option "XkbRules" "xorg"
    Option "Xkbmodel" "pc105"
    Option "XkbLayout" "gb"
    Option "XkbOptions" "grp:toggle,grp_led:scroll"
    Option "XkbVariant" ",winkeys"
EndSection

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

Section "InputDevice"
    Identifier "TouchPad"
    Driver "synaptics"
    Option "Protocol" "event"
    Option "Device" "/dev/input/event4"
    Option "LeftEdge" "1900"
    Option "RightEdge" "5400"
    Option "TopEdge" "1900"
    Option "BottomEdge" "4000"
    Option "FingerLow" "25"
    Option "FingerHigh" "30"
    Option "MaxTapTime" "180"
    Option "MaxTapMove" "220"
    Option "UpDownScrolling" "1"
    Option "VertScrollDelta" "100"
    Option "MinSpeed" "0.02"
    Option "MaxSpeed" "0.10"
    Option "AccelFactor" "0.0010"
    Option "SHMConfig" "on"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    VendorName "Monitor Vendor"
    ModelName "Monitor Model"
    HorizSync 28.0 - 96.0
    VertRefresh 50.0 - 75.0
    DisplaySize 370 230
EndSection

Section "Device"
    Identifier "Card0"
    Driver "nvidia"
    VendorName "nVidia Corporation"
    BoardName "Unknown Board"
    BusID "PCI:1:0:0"
    Option "RenderAccel" "on"
    Option "sw_cursor"
    Option "AddARGBGLXVisuals" "True"
    VideoRam 524288
    #To work with compiz, you must enable the AddARGBGLXVisuals option
    #If you are having resolution problems, try disabling DynamicTwinView
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Card0"
    Monitor "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Viewport 0 0
        Depth 1
        Modes "1680x1050"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth 4
        Modes "1680x1050"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth 8
        Modes "1680x1050"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth 15
        Modes "1680x1050"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth 16
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth 24
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport 0 0
        Depth 32
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

#Section "DRI"
# Mode 0666
#EndSection

Section "Extensions"
    Option "Composite" "Enable"
EndSection

Part 1 Part 2 Part 3 Part 4 Part 5 Part 6