SOLVED: Re: [ltp] standby R50e

Mcskasi Csaba linux-thinkpad@linux-thinkpad.org
Mon, 21 Nov 2005 18:04:15 +0100


I found the script:

#!/bin/bash

/bin/sync
/sbin/rmmod uhci-hcd
/sbin/rmmod ehci-hcd
/usr/bin/chvt 1
vbetool vbestate save > /var/cache/video.state
cat /proc/bus/pci/00/02.0 > /var/cache/video.config
echo -n mem > /sys/power/state
cat /var/cache/video.config > /proc/bus/pci/00/02.0
cat /var/cache/video.state | vbetool vbestate restore
vbetool post
rm -rf /var/cache/video.config
rm -rf /var/cache/video.state
/usr/bin/chvt 7
/sbin/modprobe uhci-hcd
/sbin/modprobe ehci-hcd
exit 0


Regards,
Csaba

On Mon, 21 Nov 2005 17:30:04 +0100, Mcskasi Csaba  
<bitumen@tuxworld.homelinux.org> wrote:

> Good evening!
>
> I managed to get suspend to ram working on my R50e, but unfortunately I  
> wracked my system (fsck on mounted root-fs. I know, pretty stupid). The  
> point is, that there was I standby-to-ram script for thinkpads with an  
> intel i810 graphic-card which I can not find any more.
> Does anyone use souch a script / can anyone give me a solution to get  
> susp to ram working again?
>
> Thanks a lot!
>
> Csaba
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/