From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754099AbdEJQMy (ORCPT ); Wed, 10 May 2017 12:12:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52261 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752929AbdEJQMw (ORCPT ); Wed, 10 May 2017 12:12:52 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 509244ACAA Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx09.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=benjamin.tissoires@redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 509244ACAA From: Benjamin Tissoires To: "Rafael J . Wysocki" , Lv Zheng Cc: Jiri Eischmann , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] acpi/button: revert v4.10 behavior Date: Wed, 10 May 2017 18:12:38 +0200 Message-Id: <20170510161240.13229-1-benjamin.tissoires@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 10 May 2017 16:12:52 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The new default 'open' behavior for acpi_lid_initialize_state() is just wrong. It breaks professional laptops with a docking station [1]. Booting the laptop with the LID closed is something common and now there is no way of knowing the actual state of the LID switch at boot. Please use a user-space solution as described in 2/2 if you really don't want to add quirks in the kernel. Cheers, Benjamin [1] https://bugzilla.gnome.org/show_bug.cgi?id=782380 Benjamin Tissoires (2): Revert "ACPI / button: Remove lid_init_state=method mode" Revert "ACPI / button: Change default behavior to lid_init_state=open" Documentation/acpi/acpi-lid.txt | 16 ++++++++++++---- drivers/acpi/button.c | 11 ++++++++++- 2 files changed, 22 insertions(+), 5 deletions(-) -- 2.9.3