As we have nice and long acpi discussion here may be same of the experts would care to try to help me out .... I'm not using acpi as it just didn't work even my IBM T30 works with acpi just fine on win2k so I'm using apm. Does it work? Honestly i don't know as first I didn't have apmd running and any time I suspend the laptop it worked. The only issues I had with that is 1.) screen didn't get locked 2.) eth0 got the same IP as before, which is annoying as I suspend it mostly when I need to go to another place and get there a new IP via dhcp. I realized that apmd should be running so using YaST I put it to init level 2,3,5, modified /etc/sysconfig/powermanagement to bring eth0 down/up upon suspend/resume thinking this is my solution. Well, it just DOESNT work. I even try to remove the module, again modifying powermanagement file but still nothing. My workaround is to run a script which does ifdown eth0, ifdown eth1, ifup eth0 ifup eth1. The has to be a bit of a delay between bringing up eth0 & eth1 as otherwise default gateway won't get installed properly. I don't have any workaround as of yet to lock the screen after suspend. I believe this all should be done by apmd but obviously it's just doesnt work as intended. Anybody has any idea what's wrong??? Hope, this is NOT hw ... Any idea would be appreciated. Martin __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
The 03.05.02 at 12:31, Martin wrote:
apm. Does it work? Honestly i don't know as first I didn't have apmd running and any time I suspend the laptop it worked. The only issues I had with that is 1.) screen didn't get locked 2.) eth0 got the same IP as before, which is annoying as I suspend it mostly when I need to go to another place and get there a new IP via dhcp.
That's how it should be: suspending should not alter your configuration, such as IP. Try "rcnetwork restart". Also, if apmd is running (use insserv or Yast to enable), it will call "/etc/apmd/apmd_proxy", and there I think you could adjust for changes you need done when suspending/restoring. And, according to "/etc/sysconfig/powermanagement" you can force your card to be downloaded (APMD_INTERFACES_TO_UNLOAD), which should also force a network restart. -- Cheers, Carlos Robinson
participants (2)
-
Carlos E. R.
-
Martin