[ltp] Suspend to RAM w/ OpenSuse 10.2 and T60

Sean Kelley linux-thinkpad@linux-thinkpad.org
Sat, 24 Feb 2007 20:51:44 -0600


On 2/24/07, Richard Neill <rn214@hermes.cam.ac.uk> wrote:
>
>
> James Caldow wrote:
> > On Saturday 24 February 2007 22:47, Sean Kelley wrote:
> >> I have found a problem with a base install of 10.2 on my T60 that the
> >> resume from suspend 2 RAM breaks by networking.  I end up needing to
> >> reboot to be able to use Wifi again. Has anyone else experienced this
> >> problem?
> >>
> >> Sean
> >
> > Yes, this happens to me too. It doesn't happen every time, but certainly more
> > often than not. I'm using a Thinkpad R32 with Kubuntu 6.10 Edgy.
> >
> > It's become something I just live with, but if there's a solution or even a
> > workaround for this I'd be interested to hear it.
>
> Does rmmod + modprobe the driver  help?  Can you just restart the
> network service (/etc/init.d/network restart)?  Does ifconfig -a still
> list your wifi interface? Can you obtain an IP address for it?
>
> Those strike me as the most likely possibilities. HTH.
>
> Richard
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>

It looks like I can recover if as root I do a:

dhclient eth0

where eth0 is my wireless interface


I took a look at this opensuse website:

http://en.opensuse.org/Pm-utils

I did try out this s2ram command:

s2ram -f -a 1

(force suspend to ram with acpi_sleep=s3_bios)

Wifi did recover.

It is also possible to set this option in /etc/pm/config:

S2RAM_OPTS="-f -a 1"

I will need to test more.


Sean