Mailinglist Archive: opensuse (2112 mails)

< Previous Next >
Re: [opensuse] s2ram -f works -- but only for root -- why?
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Tue, 12 Aug 2008 23:39:32 -0500
  • Message-id: <48A26584.5040802@xxxxxxxxxxxxxxxxxx>
Manne Merak wrote:
David C. Rankin wrote:
After the s2ram from the menu, the wifi0 is absent and unable to be restored with rcnetwork stop/start or restarting knetwork manager. This makes little sense in light of the same command being executed each time. In light of your message, I created:

18:32 alchemy~> sudo cat /etc/pm/config.d/s2ram
S2RAM_OPTS="-f"


Any ideas of other tweaks that would help?

Well, running suspend from the menu is bit different from running s2ram. s2ram will just force the PC/laptop into suspend, from the menu pm-utils are used, so other scripts are also executed (to restore video on some machines, or recover the network, etc). In your case the hardware seems not to care to be forced into suspend.
That said, check your </etc/pm/> dir and report back if there are any other scripts and check what they do.
Also, check/post your </var/log/pm-suspend.log> and some detail of your wireless hardware.

Manne


/etc/pm/{sleep,config,power} are all empty except for the s2ram script I created. I did create the /sleep/66dummy script:

#!/bin/bash
case $1 in
hibernate)
echo "Hey guy, we are going to suspend to disk!"
;;
suspend)
echo "Oh, this time we're doing a suspend to RAM. Cool!"
;;
thaw)
echo "oh, suspend to disk is over, we are resuming..."
;;
resume)
echo "hey, the suspend to RAM seems to be over..."
;;
*) echo "somebody is calling me totally wrong."
;;
esac

Just for log testing purposes. I'll check the logs and report back.

--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >