You are not logged in.
Hi!
Today i noticed this strange thing: i'm using xfce4.10 and pm-utils to suspend.
This morning i noticed that running a "pm-suspend" from my terminal, won't switch off my wireless card, while suspending with xfce buttons or closing the lid, would do it.
Why? What is the difference between these two actions (running pm-suspend and closing the lid)? As far as i know, the only difference is that there is no call to upower running pm-suspend from terminal.
ps: sorry for the subject, that is not describing the question the best!
Last edited by nierro (2012-06-17 11:03:55)
Offline
Shouldn't this be in the "Laptop Issues" section?
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
@nierro, please read the Forum Etiquette on how to post and choose clear, informative subjects for your threads.
Shouldn't this be in the "Laptop Issues" section?
If you think that it should be, report the thread instead of adding a comment.
Last edited by litemotiv (2012-06-17 10:51:28)
ᶘ ᵒᴥᵒᶅ
Offline
Sorry, i'll change the subject.
By the way, it is not a laptop issue i think. I only need an explanation.
Offline
Closing the lid is normally handled by acpid.
edit: You can probably find out how acpid handles it by looking to the files in /etc/acpi.
Last edited by Terminator (2012-06-17 19:58:24)
Offline
No, i do not use acpid to handle closing the lid. I use xfce4-power-manager.
And my question was not only about closing the lid, but pressing the "suspend" button in the xfce-panel too...
Offline
obviously there's a difference in how xfce4-powermanager handles suspend in comparison to pm-suspend. you might get pm-suspend to disable your wireless eventually (https://wiki.archlinux.org/index.php/Pm-utils) but since power manager works, why not just use the panel buttons to suspend, or set it to suspend on lid close or when you press the sleep or power button ?
"A computer lets you make more mistakes faster than any invention in human history - with the possible exceptions of handguns and tequila."
(Mitch Ratcliffe)
Offline
Uhm yes, i know SUSPEND_MODULES array can do it.
What i was wondering is: xfce4-power-manager uses pm-suspend to suspend. So why does it something pm-suspend alone doesn't? As i said, the only difference for me, is that that button relies upon upower too. So i suspect it is upower that switch off my wireless card, isn't it?
My question is not how can i reach the same behaviour with pm-suspend alone, but what does that button in the xfce4-panel.
I'm only curious! ![]()
Offline