Skip to contentSkip to conversation

after resume usb mouse will allow input before unlocking screensaver

DISCUSSION Elliott Martin 3 participants 3 messages Jul 2, 2005 – Jul 5, 2005 1 message not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

When I restore my pc from suspend to disk and I'm using a USB mouse, I am able to type and interact with my programs before being prompted for a password. I normally have a root shell sitting open and I was able to run a couple of caommands before the screensaver popped up for a password asking me to unlock my KDE session. If I resume with just my laptops touchpad going I get asked for a password before I can doing anything else, so I think this might be a problem with acpi, but I'm using suse linux so it could be a problem with suseplugger.

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

A message that is not in the archive (sent off-list or not yet received): 200507020244.46843.johnelliottmartin-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw
Quoted 8 lines · Elliott Martin

When I restore my pc from suspend to disk and I'm using a USB mouse, I am able to type and interact with my programs before being prompted for a password. I normally have a root shell sitting open and I was able to run a couple of commands before the screensaver popped up for a password asking me to unlock my KDE session. If I resume with just my laptops touchpad going I get asked for a password before I can doing anything else, so I think this might be a problem with acpi, but I'm using suse linux so it could be a problem with suseplugger.

The problem is that suspend does not wait for the screensaver to be active, so there is a race condition between the screensaver and suspend. I have no idea how to fix it, but as a temporary workaround making this *less* likely change POWERSAVE_SCREENSAVER_SIMPLE in /etc/sysconfig/powersave/common to POWERSAVE_SCREENSAVER_SIMPLE="yes"

Regards,
Carl-Daniel

Signature · 8 lines
http://www.hailfinger.org/


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
#3 lore raw
In reply to a message not in the archive
Quoted 2 lines · Elliott Martin

When I restore my pc from suspend to disk and I'm using a USB mouse, I am able to type and interact with my programs before being prompted for a password.

...

There are efforts to encrypt the swap partion, but this is future.

Thomas

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click