RE: How can a userspace program tell if the system supports the ACPI S4 state (Suspend-to-Disk)?

2021-02-09 Thread Dexuan Cui
linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; > >> linux-hyp...@vger.kernel.org; Michael Kelley > >> Subject: Re: How can a userspace program tell if the system supports the > ACPI > >> S4 state (Suspend-to-Disk)? > >> > >> On Sat, Dec 12, 2020 at 2:22 A

Re: How can a userspace program tell if the system supports the ACPI S4 state (Suspend-to-Disk)?

2021-02-09 Thread James Morse
ect: Re: How can a userspace program tell if the system supports the ACPI >> S4 state (Suspend-to-Disk)? >> >> On Sat, Dec 12, 2020 at 2:22 AM Dexuan Cui wrote: >>> >>> Hi all, >>> It looks like Linux can hibernate even if the system does not support th

Re: How can a userspace program tell if the system supports the ACPI S4 state (Suspend-to-Disk)?

2021-02-05 Thread Rafael J. Wysocki
On Sat, Dec 12, 2020 at 2:22 AM Dexuan Cui wrote: > > Hi all, > It looks like Linux can hibernate even if the system does not support the ACPI > S4 state, as long as the system can shut down, so "cat /sys/power/state" > always contains "disk", unless we specify the kernel parameter "nohibernate" >

RE: How can a userspace program tell if the system supports the ACPI S4 state (Suspend-to-Disk)?

2021-02-05 Thread Dexuan Cui
> From: Rafael J. Wysocki > Sent: Friday, February 5, 2021 5:06 AM > To: Dexuan Cui > Cc: linux-a...@vger.kernel.org; linux-kernel@vger.kernel.org; > linux-hyp...@vger.kernel.org; Michael Kelley > Subject: Re: How can a userspace program tell if the system supports the ACPI &

RE: How can a userspace program tell if the system supports the ACPI S4 state (Suspend-to-Disk)?

2020-12-23 Thread Dexuan Cui
> From: Pavel Machek > Sent: Monday, December 21, 2020 11:08 AM > > On Sat 2020-12-12 01:20:30, Dexuan Cui wrote: > > Hi all, > > It looks like Linux can hibernate even if the system does not support the > > ACPI > > S4 state, as long as the system can shut down, so "cat /sys/power/state" > > al

Re: How can a userspace program tell if the system supports the ACPI S4 state (Suspend-to-Disk)?

2020-12-21 Thread Pavel Machek
On Sat 2020-12-12 01:20:30, Dexuan Cui wrote: > Hi all, > It looks like Linux can hibernate even if the system does not support the ACPI > S4 state, as long as the system can shut down, so "cat /sys/power/state" > always contains "disk", unless we specify the kernel parameter "nohibernate" > or we