Re: A question about acpi suspend.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Aaron Konstam wrote:
> I asked this question at the end of another long message where it
> probably was not seen. So I am trying again.
> 
> This is no doubt a stupid question but I have to ask. Why can't we
> implement the suspend event by the lines:
> event=button/sleep
> action=/usr/bin/acpitools -s
> 
> This causes the suspension when you hit the suspend button but when you
> resume by pushing the power button the running of the machine quickly
> locks up. What is the reason?
I am not an expert on this, but from what I understand, there is
some housekeeping that needs to be done before suspending the
machine, and some preparations that need to be done so that hardware
that doesn't suspend properly gets re-initialized when you come out
of suspend. For example, on my laptop, the video has to be change
from X to a VT before suspending, and changed back when coming out
of suspend. For some people, the sound drivers have to be removed
before going into suspend, and restored afterwards. Network
connections almost always need to be restarted as well. The way I
understand it, running "/usr/bin/acpitools -s" only handles putting
the processor(s) in suspend mode, and does not take care of the
housekeeping. It is intended for use inside a suspend script.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux