Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
HOWTO: (UPDATED) soft-suspend2(s4) & s3 with ATI
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Apr 20, 2006 8:20 am    Post subject: Reply with quote

Glad to help you :D

I've taken a look into my system and haven't found any vbetool installed, I must have forgotten to install it, it works without any problems though ...

strange that it differs so much from laptop to laptop :?

if I execute
Code:
echo mem > /sys/power/state
it works pretty fine, too
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Apr 20, 2006 8:57 am    Post subject: Reply with quote

here are some more files, which might help to make hibernate work easily:

/etc/acpi/lidbtn.sh
Code:
#!/bin/sh

if [ -e /tmp/lidclose ]
then
        echo "[" `date` "] Wakeup from standby (lid opened)" >> /var/log/acpi_events
 
        rm /tmp/lidclose
else
        echo "[" `date` "] Go to standby (lid closed)" >> /var/log/acpi_events
 
       
        touch /tmp/lidclose

        # USB Module
        #rmmod uhci_hcd
        #rmmod ehci_hcd

        /sbin/hwclock --systohc
        echo mem > /sys/power/state
        /sbin/hwclock --hctosys

        #modprobe uhci_hcd
        #modprobe ehci_hcd
fi


/etc/acpi/

Code:
#!/bin/sh
# /etc/acpi/sleepbtn.sh
# Initiates a suspend to disk when the sleep button has been pressed.

/usr/sbin/hibernate
#/sbin/hwclock --hctosys
# eof
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Fri Apr 21, 2006 8:43 am    Post subject: Reply with quote

Added now two entries to the "Software Suspend v2" entry in the gentoo-wiki ! :D

can please everybody who has successfully tested this guide or others refer to them and / or only post their hardware specifications (graphics card) so I (if I've the time) can add the graphic cards on a list which work / don't work

thanks in advance

kernelOfTruth
Back to top
View user's profile Send private message
Moonstruxx
n00b
n00b


Joined: 02 Jun 2006
Posts: 14

PostPosted: Fri Jun 02, 2006 2:41 pm    Post subject: Reply with quote

Thanks for your help!

It worked for me with X11-6.8.2-r7 on a Thinkpad R52e and ati dirvers 8.23.7
My System:
ati X300
Centrino 2 GHz
...

greez Moonstruxx
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Jun 08, 2006 12:25 pm    Post subject: Reply with quote

great !, ok, I added your data to the gentoo-wiki howto :D

@beatryder:

could you please post some data concerning your graphics card, so that I can add it to the gentoo-wiki?

thanks in advance ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum