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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
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

Leave a Reply