Bug 212450

Summary: Suspend with Fn+F4 broken after revision 283678
Product: Base System Reporter: Joseph Mingrone <jrm>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: mmokhi, rpaulo, swills
Priority: --- Keywords: regression
Version: 11.0-RC1   
Hardware: amd64   
OS: Any   

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_ibm_sysctl_set(sc, ACPI_IBM_METHOD_EVENTS, 1);

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.