linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question regarding power button of Dell XPS13
@ 2016-12-23 12:36 Paul Menzel
  2016-12-25 22:26 ` Linus Torvalds
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Paul Menzel @ 2016-12-23 12:36 UTC (permalink / raw)
  To: Linus Torvalds, Len Brown; +Cc: Lv Zheng, linux-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question regarding power button of Dell XPS13
  2016-12-23 12:36 Question regarding power button of Dell XPS13 Paul Menzel
@ 2016-12-25 22:26 ` Linus Torvalds
  2016-12-26 15:10   ` Ozgur Karatas
  2016-12-27  7:48 ` Thorsten Leemhuis
  2016-12-28  7:07 ` Zheng, Lv
  2 siblings, 1 reply; 7+ messages in thread
From: Linus Torvalds @ 2016-12-25 22:26 UTC (permalink / raw)
  To: Paul Menzel; +Cc: Len Brown, Lv Zheng, Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question regarding power button of Dell XPS13
  2016-12-25 22:26 ` Linus Torvalds
@ 2016-12-26 15:10   ` Ozgur Karatas
  0 siblings, 0 replies; 7+ messages in thread
From: Ozgur Karatas @ 2016-12-26 15:10 UTC (permalink / raw)
  To: Linus Torvalds, Paul Menzel
  Cc: Len Brown, Lv Zheng, Linux Kernel Mailing List

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question regarding power button of Dell XPS13
  2016-12-23 12:36 Question regarding power button of Dell XPS13 Paul Menzel
  2016-12-25 22:26 ` Linus Torvalds
@ 2016-12-27  7:48 ` Thorsten Leemhuis
  2017-01-04 15:10   ` Paul Menzel
  2016-12-28  7:07 ` Zheng, Lv
  2 siblings, 1 reply; 7+ messages in thread
From: Thorsten Leemhuis @ 2016-12-27  7:48 UTC (permalink / raw)
  To: Paul Menzel, Linus Torvalds, Len Brown; +Cc: Lv Zheng, linux-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: Question regarding power button of Dell XPS13
  2016-12-23 12:36 Question regarding power button of Dell XPS13 Paul Menzel
  2016-12-25 22:26 ` Linus Torvalds
  2016-12-27  7:48 ` Thorsten Leemhuis
@ 2016-12-28  7:07 ` Zheng, Lv
  2 siblings, 0 replies; 7+ messages in thread
From: Zheng, Lv @ 2016-12-28  7:07 UTC (permalink / raw)
  To: Paul Menzel, Linus Torvalds, Brown, Len; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question regarding power button of Dell XPS13
  2016-12-27  7:48 ` Thorsten Leemhuis
@ 2017-01-04 15:10   ` Paul Menzel
  0 siblings, 0 replies; 7+ messages in thread
From: Paul Menzel @ 2017-01-04 15:10 UTC (permalink / raw)
  To: Thorsten Leemhuis; +Cc: Linus Torvalds, Len Brown, Lv Zheng, linux-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Question regarding power button of Dell XPS13
@ 2017-01-05  5:19 Daniel J Blueman
  0 siblings, 0 replies; 7+ messages in thread
From: Daniel J Blueman @ 2017-01-05  5:19 UTC (permalink / raw)
  To: Linus Torvalds, len.brown, pmenzel; +Cc: lv.zheng, Linux Kernel

On Monday, December 26, 2016 at 6:30:05 AM UTC+8, Linus Torvalds wrote:
> 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.

I find the 9360 to be a solid laptop (my XPS 15 9550 would fail to
resume from suspend 15% of the time), but did any of you guys run into
bit-depth colour issues [1] on the Skylake/9350 with USB-C to HDMI
adapters?

Dan

[1] https://bugs.freedesktop.org/show_bug.cgi?id=99137
-- 
Daniel J Blueman

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-01-05  5:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-23 12:36 Question regarding power button of Dell XPS13 Paul Menzel
2016-12-25 22:26 ` Linus Torvalds
2016-12-26 15:10   ` Ozgur Karatas
2016-12-27  7:48 ` Thorsten Leemhuis
2017-01-04 15:10   ` Paul Menzel
2016-12-28  7:07 ` Zheng, Lv
2017-01-05  5:19 Daniel J Blueman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).