From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S968317AbdADPLC (ORCPT ); Wed, 4 Jan 2017 10:11:02 -0500 Received: from mx1.molgen.mpg.de ([141.14.17.9]:35506 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968259AbdADPKy (ORCPT ); Wed, 4 Jan 2017 10:10:54 -0500 Subject: Re: Question regarding power button of Dell XPS13 To: Thorsten Leemhuis References: <85733318-50fd-80b7-af45-b4cc76e8a076@molgen.mpg.de> <84248048-bf13-af3a-a834-3b460dabdf0d@leemhuis.info> Cc: Linus Torvalds , Len Brown , Lv Zheng , linux-kernel@vger.kernel.org From: Paul Menzel Message-ID: <18d87cc6-5e21-f516-6166-8cec7a348067@molgen.mpg.de> Date: Wed, 4 Jan 2017 16:10:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <84248048-bf13-af3a-a834-3b460dabdf0d@leemhuis.info> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Thorsten, On 12/27/16 08:48, Thorsten Leemhuis wrote: > Lo! On 23.12.2016 13:36, Paul Menzel wrote: >> >> I heard that you both have a Dell XPS13. I got the “revision” 9360, and >> installed Debian Stretch/testing on it with Linux 4.8.15 and Linux 4.9-rc8. >> >> When pressing the power button the GNOME dialog, asking what to do >> (restart, power off, …) doesn’t appear. >> >> Neither `xev` nor `acpi_listen` show something, so I submitted ticket >> #190871 [1], and Lv already looked at it. >> >> Just to make sure, that it is really a Linux problem, does the power >> button work for you? > > TWIMC: A power button press works fine for me on Fedora 25 Workstation > Edition (running 4.9 currently, but I think it worked with the stock > Fedora kernel, too) on my 9360. From a quick look in the bug report you > mentioned it looks a bit like you might need to enable INTEL_VBTN in > your kernel config. From the Kconfig: > > This driver provides support for the Intel Virtual Button interface. > Some laptops require this driver for power button support. That was it. The power button now suspends the system although the GNOME dialog is not shown. With XFCE this dialog is shown, so I guess it’s a configuration thing. Thank you again. Ben also changed the Debian Linux kernel package to select that option now [1], so this should work with the next package release. Kind regards, Paul [1] https://anonscm.debian.org/cgit/kernel/linux.git/commit/?id=b825aa9