Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1546854 > unrolled thread

Question regarding power button of Dell XPS13

Started byPaul Menzel <pmenzel@molgen.mpg.de>
First post2016-12-23 13:40 +0100
Last post2016-12-28 08:10 +0100
Articles 5 — 5 participants

Back to article view | Back to linux.kernel


Contents

  Question regarding power button of Dell XPS13 Paul Menzel <pmenzel@molgen.mpg.de> - 2016-12-23 13:40 +0100
    Re: Question regarding power button of Dell XPS13 Linus Torvalds <torvalds@linux-foundation.org> - 2016-12-25 23:30 +0100
      Re: Question regarding power button of Dell XPS13 Ozgur Karatas <okaratas@member.fsf.org> - 2016-12-26 16:20 +0100
    Re: Question regarding power button of Dell XPS13 Thorsten Leemhuis <linux@leemhuis.info> - 2016-12-27 08:50 +0100
    RE: Question regarding power button of Dell XPS13 "Zheng, Lv" <lv.zheng@intel.com> - 2016-12-28 08:10 +0100

#1546854 — Question regarding power button of Dell XPS13

FromPaul Menzel <pmenzel@molgen.mpg.de>
Date2016-12-23 13:40 +0100
SubjectQuestion regarding power button of Dell XPS13
Message-ID<sRxiG-6Tv-17@gated-at.bofh.it>
Dear Linus, dear Len,


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?


Kind regards,

Paul


[1] https://bugzilla.kernel.org/show_bug.cgi?id=190871
[2] 
http://changelogs.ubuntu.com/changelogs/pool/main/l/linux/linux_4.4.0-57.78/changelog

[toc] | [next] | [standalone]


#1547222

FromLinus Torvalds <torvalds@linux-foundation.org>
Date2016-12-25 23:30 +0100
Message-ID<sSpsJ-3N2-21@gated-at.bofh.it>
In reply to#1546854
On Fri, Dec 23, 2016 at 4:36 AM, Paul Menzel <pmenzel@molgen.mpg.de> 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.

Hmm. I don't recall ever seeing such a dialog. But I don't run Debian.

For me it works like all power buttons on my laptops have worked
lately - it suspends the machine.

Of course, so does just closing the lid.

The only "bug" I've seen in this area is the design bug of the XPS13
where there is no visible indication of the suspend state (ie the
traditional slowly pulsing LED showing that it's all nice and
suspended). But that seems to be intentional, if stupid. I think it's
the only real beef I have with the XPS13.

               Linus

[toc] | [prev] | [next] | [standalone]


#1547331

FromOzgur Karatas <okaratas@member.fsf.org>
Date2016-12-26 16:20 +0100
Message-ID<sSFe9-6q1-3@gated-at.bofh.it>
In reply to#1547222
26.12.2016, 00:27, "Linus Torvalds" <torvalds@linux-foundation.org>:
> On Fri, Dec 23, 2016 at 4:36 AM, Paul Menzel <pmenzel@molgen.mpg.de> 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.

Hello,

I don't think it's problem about to kernel. The problem related to GNOME .
I used last time and I modified the file "gsd-media-keys-manager.c" file and added the following lines to logind.conf file:

HandlePowerKey=poweroff
PowerKeyIgnoreInhibited=yes

This is a out of topic and XPS13 is not good, You also don't use a desktop,
Suggest Openbox :)

> Hmm. I don't recall ever seeing such a dialog. But I don't run Debian.
>
> For me it works like all power buttons on my laptops have worked
> lately - it suspends the machine.
>
> Of course, so does just closing the lid.
>
> The only "bug" I've seen in this area is the design bug of the XPS13
> where there is no visible indication of the suspend state (ie the
> traditional slowly pulsing LED showing that it's all nice and
> suspended). But that seems to be intentional, if stupid. I think it's
> the only real beef I have with the XPS13.
>
>                Linus

Regards,

Ozgur

[toc] | [prev] | [next] | [standalone]


#1547514

FromThorsten Leemhuis <linux@leemhuis.info>
Date2016-12-27 08:50 +0100
Message-ID<sSUGd-7AR-5@gated-at.bofh.it>
In reply to#1546854
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.

HTH, Ciao, Thorsten

[toc] | [prev] | [next] | [standalone]


#1547842

From"Zheng, Lv" <lv.zheng@intel.com>
Date2016-12-28 08:10 +0100
Message-ID<sTgx3-4Uy-1@gated-at.bofh.it>
In reply to#1546854
Hi, Paul

> From: Paul Menzel [mailto:pmenzel@molgen.mpg.de]
> Subject: Question regarding power button of Dell XPS13
> 
> Dear Linus, dear Len,
> 
> 
> 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?

I'm not sure if there is no bug in drivers/acpi/button.c.
At least this driver never handles 0x02 sleep/power button notifications.
Just because there is no SCI routed to the drivers after a wakeup.

And we have quirks related to the freeze mode for 0x80 sleep/power button notifications.

I don't know if the above potential issues can cause real problems.

> 
> 
> Kind regards,
> 
> Paul
> 
> 
> [1] https://bugzilla.kernel.org/show_bug.cgi?id=190871

Yes.
We are debugging it there.

Thanks
Lv

> [2]
> http://changelogs.ubuntu.com/changelogs/pool/main/l/linux/linux_4.4.0-57.78/changelog

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web