# Put in the appropriate USE vars for Thinkpad T30
nano -w /etc/make.conf
=c=
INPUT_DEVICES=”keyboard mouse synaptics”
VIDEO_CARDS=”radeon”
USE=”bitmap-fonts truetype-fonts type1-fonts”
=c=
echo ‘>=x11-base/x11-drm-20050502 ~x86’ >> /etc/portage/package.keywords
echo ‘media-libs/freetype -bindist’ >> /etc/portage/package.use
emerge -avDt x11-drm xorg-x11 xf86-video-ati
cat /etc/X11/xorg.conf
=c=
# ———– [ ServerLayout section ] —————- #
Section “ServerLayout”
Identifier “Default”
Screen “LCD”
InputDevice “Keyboard0” “CoreKeyboard”
InputDevice “Mouse0” “CorePointer”
InputDevice “Touchpad” “SendCoreEvents”
EndSection
# ———– [ Files ] ——————————- #
Section “Files”
RgbPath “/usr/share/X11/rgb”
ModulePath “/usr/lib/xorg/modules”
FontPath “/usr/share/fonts/misc:unscaled”
FontPath “/usr/share/fonts/corefonts”
FontPath “/usr/share/fonts/freefonts”
FontPath “/usr/share/fonts/sharefonts”
FontPath “/usr/share/fonts/TTF”
FontPath “/usr/share/fonts/Type1”
FontPath “/usr/share/fonts/artwiz-aleczapka-en:unscaled”
FontPath “/usr/share/fonts/terminus”
FontPath “/usr/share/fonts/ttf-bitstream-vera”
FontPath “/usr/share/fonts/unifont”
FontPath “/usr/share/fonts/local”
FontPath “/usr/share/fonts/cyrillic”
FontPath “/usr/share/fonts/100dpi:unscaled”
FontPath “/usr/share/fonts/75dpi:unscaled”
EndSection
# ———– [ Server flags ] ———————— #
Section “ServerFlags”
Option “DefaultServerLayout” “Default”
Option “allowmouseopenfail”
EndSection
# ———– [ Modules ] —————————– #
Section “Module”
Load “dbe”
Load “dri”
Load “extmod”
Load “freetype”
Load “type1”
Load “glx”
Load “record”
Load “synaptics”
Load “xtrap”
EndSection
# ———– [ Input devices ] ———————– #
Section “InputDevice”
Identifier “Keyboard0”
Driver “kbd”
Option “CoreKeyboard”
Option “XkbModel” “pc105”
Option “XkbLayout” “us”
Option “AutoRepeat” “250 30”
EndSection
Section “InputDevice”
Identifier “Mouse0”
Driver “mouse”
Option “CorePointer”
Option “Device” “/dev/input/mice”
Option “Protocol” “ExplorerPS/2”
Option “ZAxisMapping” “4 5”
Option “Emulate3Buttons” “true”
EndSection
Section “InputDevice”
Identifier “Touchpad”
Driver “synaptics”
Option “SendCoreEvents” “true”
Option “Device” “/dev/psaux”
Option “Protocol” “auto-dev”
Option “SHMConfig” “on”
Option “LeftEdge” “1500”
Option “RightEdge” “5500”
Option “TopEdge” “1400”
Option “BottomEdge” “4500”
Option “FingerLow” “20”
Option “FingerHigh” “40”
Option “MaxTapTime” “180”
Option “MaxTapMove” “220”
Option “MaxDoubleTapTime” “220”
Option “VertScrollDelta” “100”
Option “HorizScrollDelta” “100”
Option “EdgeMotionSpeed” “40”
Option “MinSpeed” “0.12”
Option “MaxSpeed” “0.12”
Option “AccelFactor” “0.0010”
Option “UpDownScrolling” “1”
Option “RTCornerButton” “0”
Option “RBCornerButton” “0”
Option “LTCornerButton” “0”
Option “LBCornerButton” “0”
Option “TapButton1” “0”
Option “TapButton2” “2”
Option “TapButton3” “0”
Option “EmulateMidButtonTime” “75”
Option “PalmDetect” “1”
EndSection
# ———– [ Graphics device ] ——————— #
Section “Device”
Identifier “Radeon 7500M”
VendorName “ATI Technologies Inc”
BoardName “Radeon Mobility M7 LW”
Driver “ati”
Option “SWcursor” “off”
Option “NoAccel” “off”
Option “Dac6Bit” “off”
Option “UseFBDev” “off”
Option “AGPMode” “4”
Option “AGPFastWrite” “off”
Option “BusType” “AGP”
Option “DDCMode” “on”
Option “DisplayPriority” “BIOS”
Option “MonitorLayout” “LVDS”
Option “EnablePageFlip” “on”
Option “RenderAccel” “on”
#Option “backingstore” “true”
Option “SubPixelOrder” “RGB”
BusID “PCI:1:0:0”
Screen 0
EndSection
# ———– [ Monitor section ] ——————— #
Section “Monitor”
Identifier “T30LCD”
DisplaySize 370.4 277.8 # Real size. Will give 125 dpi
Option “dpms”
EndSection
# ———– [ Screen section ] ———————- #
Section “Screen”
Identifier “LCD”
Device “Radeon 7500M”
Monitor “T30LCD”
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 16
EndSubSection
SubSection “Display”
Viewport 0 0
Depth 24
EndSubSection
EndSection
# ———– [ xorg-x11-6.8+] ———————— #
Section “Extensions”
Option “Composite” “Enable”
EndSection
# ———– [ Misc ] ——————————– #
Section “DRI”
# Group 0
Mode 0666
EndSection
# end of XF86Config
=c=
Reference:
http://forums.gentoo.org/viewtopic-p-2137276.html#2137276
http://forums.gentoo.org/viewtopic-t-244949-postdays-0-postorder-asc-start-25.html
http://gentoo-wiki.com/HOWTO_TV-Out#ATI-opensource-driver