Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752912AbbGSBIo (ORCPT ); Sat, 18 Jul 2015 21:08:44 -0400 Received: from slow1-d.mail.gandi.net ([217.70.178.86]:40118 "EHLO slow1-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752319AbbGSBIn (ORCPT ); Sat, 18 Jul 2015 21:08:43 -0400 X-Greylist: delayed 1340 seconds by postgrey-1.27 at vger.kernel.org; Sat, 18 Jul 2015 21:08:42 EDT X-Originating-IP: 83.155.44.161 Message-ID: <1437266568.3512.10.camel@hadess.net> Subject: Ghost Lid switch on Baytrail tablet From: Bastien Nocera To: "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: "dev@mgautier.fr" Date: Sun, 19 Jul 2015 02:42:48 +0200 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.3 (3.16.3-2.fc22) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 792 Lines: 23 Hey, This tablet: http://www.amazon.com/WinBook-10-1-Inch-Windows-full-size-Display/dp/B00N9ZG5U2/ doesn't have a physical lid switch unless you plug the keyboard accessory to it. But it thinks that there is a lid, and that it's closed, making logind suspend the machine after about 30 seconds. I'm currently testing this on a 4.0 kernel, as there have been regressions on Baytrail with 4.1 and 4.2rcs. The DSDT for that tablet: https://people.gnome.org/~hadess/Winbook%20TW100%20DSDT.dsl Any ideas how to handle this sort of device? Cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/