Bug 212450 - Suspend with Fn+F4 broken after revision 283678
Summary: Suspend with Fn+F4 broken after revision 283678
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.0-RC1
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2016-09-07 04:25 UTC by Joseph Mingrone
Modified: 2016-09-11 01:28 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Mingrone freebsd_committer 2016-09-07 04:25:36 UTC
After revision 283678, which changed sys/dev/acpi_support/acpi_ibm.c, suspending with Fn+F4 no longer works on a Lenovo X220.

If the snippet below is removed from acpi_ibm_attach(), suspend works again.

	/* Enable events by default. */
	ACPI_SERIAL_BEGIN(ibm);
	acpi_ibm_sysctl_set(sc, ACPI_IBM_METHOD_EVENTS, 1);
	ACPI_SERIAL_END(ibm);

Joseph
Comment 1 Joseph Mingrone freebsd_committer 2016-09-07 14:32:06 UTC
For anyone affected by this, sysctl dev.acpi_ibm.0.events=0 undoes those lines and gives the old behaviour.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2016-09-11 01:28:58 UTC
NB: 283678 was by rpaulo, but it was 15 months ago.