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


Groups > linux.kernel > #1626646

[PATCH v2 0/2] hp-wmi: Fix dock status and tablet mode reporting

From Carlo Caione <carlo@caione.org>
Newsgroups linux.kernel
Subject [PATCH v2 0/2] hp-wmi: Fix dock status and tablet mode reporting
Date 2017-04-19 19:50 +0200
Message-ID <ty1TP-6kT-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


From: Carlo Caione <carlo@endlessm.com>

Several HP laptops cannot be put to sleep using the LID since systemd complains
that the system is docked even though the laptop is not even dockable (see
[1]).

This is due to a bug in hp-wmi where the driver is failing to check for errors
before creating the input switches.

[1]: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1574120

changelog:

v2:
 * Changed PATCH 1/2 to not shadow negative errors if any

Carlo Caione (2):
  hp-wmi: Do not shadow error values
  hp-wmi: Fix detection for dock and tablet mode

 drivers/platform/x86/hp-wmi.c | 52 +++++++++++++++++++++++++++----------------
 1 file changed, 33 insertions(+), 19 deletions(-)

-- 
2.9.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/2] hp-wmi: Fix dock status and tablet mode reporting Carlo Caione <carlo@caione.org> - 2017-04-19 19:50 +0200
  [PATCH v2 1/2] hp-wmi: Do not shadow error values Carlo Caione <carlo@caione.org> - 2017-04-19 19:50 +0200
    Re: [PATCH v2 1/2] hp-wmi: Do not shadow error values Darren Hart <dvhart@infradead.org> - 2017-04-19 22:20 +0200
      Re: [PATCH v2 1/2] hp-wmi: Do not shadow error values Carlo Caione <carlo@endlessm.com> - 2017-04-19 22:30 +0200
  [PATCH v2 2/2] hp-wmi: Fix detection for dock and tablet mode Carlo Caione <carlo@caione.org> - 2017-04-19 19:50 +0200

csiph-web