[lkml]   [2017]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/2] hp-wmi: Fix dock status and tablet mode reporting
From: Carlo Caione <>

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

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


Carlo Caione (2):
hp-wmi: Fix error value for hp_wmi_tablet_state
hp-wmi: Fix detection for dock and tablet mode

drivers/platform/x86/hp-wmi.c | 42 ++++++++++++++++++++++++++++--------------
1 file changed, 28 insertions(+), 14 deletions(-)


 \ /
  Last update: 2017-04-09 15:57    [W:0.074 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site