Hi,
My laptop is an Asus F5 running Slackware 12.2 (kernel 2.6.27.7). The video card is:
01:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon X2300
Both fglrx and radeon module work fine except that suspend-to-ram works only with fglrx module: my laptop hangs on resume with the radeon module (I tried Crtl+Alt+F1 or Ctrl+Alt+Sup without any success).
My xorg.conf:
Code:
Section "ServerLayout"
Identifier "Simple Layout"
Screen 0 "screen" 0 0
InputDevice "keyboard" "CoreKeyboard"
InputDevice "touchpad"
InputDevice "usbmouse_5" "CorePointer"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/OTF/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/cyrillic/"
EndSection
Section "ServerFlags"
Option "OffTime" "2"
EndSection
Section "Module"
Load "GLcore"
Load "glx"
Load "dri"
Load "xtrap"
Load "record"
Load "dbe"
Load "extmod"
SubSection "extmod"
Option "omit xfree86-dga"
EndSubSection
Load "type1"
Load "freetype"
Load "synaptics" # module du touchpad
EndSection
Section "DRI"
Group "video"
Mode 0666
EndSection
Section "InputDevice"
Identifier "keyboard"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"
EndSection
Section "InputDevice"
Identifier "usbmouse_5"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/mouse"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "false"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
# Option "ButtonMapping" "1 2 3 6 7"
EndSection
Section "InputDevice"
Identifier "touchpad"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1300"
Option "RightEdge" "5950"
Option "TopEdge" "1300"
Option "BottomEdge" "4600"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
# Option "Repeater" "/dev/ps2mouse"
EndSection
Section "Monitor"
Identifier "monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "ati_radeon"
Driver "radeon"
# http://dri.freedesktop.org/wiki/ATIRadeon#head-a2d41d14a2c9b0da964aa1b7226ebab238532abe
Option "AccelMethod" "EXA"
# XAA/EXA
Option "AccelDFS" "1"
# 1/0 On for PCIE, off for AGP
# Manpage: Use or don't use accelerated EXA DownloadFromScreen hook
# when possible.
Option "AGPMode" "1"
# 1-8 Does not affect PCIE models.
Option "AGPFastWrite" "1"
# 1/0 Does not affect PCIE models. Not recommended.
Option "GARTSize" "64"
# 0-64 Megabytes of gart (system) memory used.
# Wrongly defaults to 8MB sometimes, see your logfile.
# Bigger seems better.
Option "EnablePageFlip" "1"
# 1/0 Increases 3D performance substantially
# seemingly in XAA mode only
Option "ColorTiling" "1"
# 1/0 Increases 3D performance substantially
# affected stability only positively on my system
EndSection
# http://wiki.x.org/wiki/ATIProprietaryDriver
Section "Device"
Identifier "ati_fglrx"
Driver "fglrx"
# http://www.gentoo.org/doc/en/power-management-guide.xml#doc_chap6
Option "DynamicClocks" "on"
EndSection
Section "Screen"
Identifier "screen"
#Device "ati_radeon"
Device "ati_fglrx"
Monitor "monitor"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
and my suspend-to-ram acpi script :
Code:
#!/bin/bash
S3_LOCK="/tmp/S3.lock"
S4_LOCK="/tmp/S4.lock"
if [ ! -e "$S3_LOCK" ] && [ ! -e "$S4_LOCK" ] ; then
sync
logger -t $0 "Entering Suspend-to-RAM mode"
lockfile "$S3_LOCK"
modprobe -r ath_pci
killall dhcpcd
echo -n mem > /sys/power/state
rm -f "$S3_LOCK"
modprobe ath_pci
/etc/rc.d/rc.bluetooth restart
fi
exit 0
How can I have suspend-to-ram to be working with radeon module? Any ideas?