This enables udev and userspace to react to those events without having to explicitly poll()/select() on the device. Signed-off-by: Carlos Garnacho <carlosg@xxxxxxxxx> --- drivers/platform/x86/thinkpad_acpi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 58b0274..5003611 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -2251,6 +2251,8 @@ static void tpacpi_input_send_tabletsw(void) input_sync(tpacpi_inputdev); mutex_unlock(&tpacpi_inputdev_send_mutex); + + kobject_uevent(&tpacpi_inputdev->dev.kobj, KOBJ_CHANGE); } } -- 1.8.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html