LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 12-13-2008, 04:42 AM   #1
niidea
LQ Newbie
 
Registered: Jun 2003
Location: France
Distribution: Slackware 12.1
Posts: 26

Rep: Reputation: 15
System hangs after suspend-to-ram resume when using radeon module


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?
 
Old 12-13-2008, 06:52 AM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,289

Rep: Reputation: 52
get an NVidia card... oops! you can't! it's a laptop....

I have had nothing but trouble with ATI hardware
Have you tried ATI's official drivers?

Last edited by Tuttle; 12-13-2008 at 06:58 AM.
 
  


Reply

Tags
fglrx, radeon, suspendtoram


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
System hangs when resuming from Suspend. theboomboomcars Linux - Laptop and Netbook 4 08-15-2008 08:14 AM
Plz explain Suspend to Disk and Suspend to Ram pkhera_2001 Linux - Newbie 2 02-18-2008 07:23 AM
suspend power option hangs up my system Carunkumar Fedora 10 02-20-2007 11:48 AM
Suspend Fails to Resume dengel Linux - Laptop and Netbook 0 11-27-2005 08:58 AM
No resume from suspend mehlkelm Debian 3 11-22-2005 10:48 AM


All times are GMT -5. The time now is 07:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration