Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp8495rdb; Wed, 14 Feb 2024 11:00:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWv9xOQ9sF/M8iIf9m94f2G44Qcc52Ac1yMFlQXjhIjxvEGjuyj+ujT6BakF+wRvgyefvjthtIYfPjXKTGaTng8TM0+20x8sGGNUY2xhQ== X-Google-Smtp-Source: AGHT+IEcewdifcfSSqc/+c2Te5NuWsO7NiZZc0WUXMidTZ2HQSPrLb9HC+zOqyw+AiB0R+MKoPtg X-Received: by 2002:a17:902:ba82:b0:1d8:ae30:eddd with SMTP id k2-20020a170902ba8200b001d8ae30edddmr3655567pls.23.1707937241665; Wed, 14 Feb 2024 11:00:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707937241; cv=pass; d=google.com; s=arc-20160816; b=pix3nL4g3M5EFCFiBq/Dqd2yXNq/gmi85eCToo4h4X/XvBVztJgutS5E3SwXdjxz/U AKdf3T9gvXfzQWrR1GVOC9AaXzRd/B9DPr9cvoMuFr9DlPKTwALVvBkQSNmqgb72AmnE HUZIFLyfZt9cAv+0Tq7qhOZwkMxThP7xVfgtqWPyYS4W1hi1XRH313OLftK9LFvY8/GH m4+l9uvUCm1vWb82m4Erc+U5vgpdl2km3TmhAsgwAgKxsakrLHpo/QmiYBFjqSzHZ6+z 2IIhU0otP2RRrdMT7GLp6dOIB4W1aQAbf0zwzDC1pR5d7IqWUTTiRuwVMYsyge+1qu9W Trbw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:to:from:dkim-signature; bh=4kAGhHA/F4F4m8PaN/GFfvTrWCN3YPm3thn164WVswE=; fh=CTr1jLwYA/RNaK5DwAUXz3Sa3Y2+K8zENSvKh3DjEhs=; b=qeWbFhq6JBjgbmDrOwRiBteKuN8o/vCIudUV0b/WN0z9m0rUthZ8nviy4kTz98GpRZ 4K4ajRVFjKCDIf8wTffGe3DZ9NF9Ty8zO+ARHZgvKOpUq82bK7vHEm/o3WTi8HDiiLTK ot9HsWKgh8VQQuqLKUPafs0opVO8XvAUn6WYr6W40hYJaiNQEefJR5u4bfK9c8T8zEYq shH7IMEJs6H2Yhop1BkYzzNvEqLtD5POz3QZbYg29AKsxbfZZpn5TJuYJog2/U9x7Qm7 yS8XeycpKmsr4+QKG+n3xEN0z5CiUTy6/YcGXL2SWeg3D6IuijM1T6nNyPixpn9lCBuV J3BQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fIK33Txn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-1871-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1871-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com X-Forwarded-Encrypted: i=2; AJvYcCUrxizTVeVHZCge2rwIux8LOc1tmh2QMwQRG0CbHT5gVM7pofWpwbdL9TrZQThwObhnnds3B9wjjAtFZsQHXLYZtdPQsAPx77hVle2zxw== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id y3-20020a17090322c300b001d76a322667si4412730plg.72.2024.02.14.11.00.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 11:00:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1871-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fIK33Txn; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-1871-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1871-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id BCD1B290842 for ; Wed, 14 Feb 2024 18:57:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 79C0F13A27C; Wed, 14 Feb 2024 18:57:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="fIK33Txn" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-vk1-f174.google.com (mail-vk1-f174.google.com [209.85.221.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7739113B7B2 for ; Wed, 14 Feb 2024 18:57:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707937045; cv=none; b=TSMYFDuDnVydlwCmCAvJyw0MBGB59/TMmWi8XLgoh1l76lKoXd2UumZwy5uNeqAsdvn4PY3gq+jmQRNXW6AHXl+H4DHgb+n1bdm72F/yTNbIIgc3Txsz33Nky2VUVp/hOrhItT65EIuKVxPjR6K6ZTTXLUtml6jlIsKo1elfGms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707937045; c=relaxed/simple; bh=j13zusx1iNy1VSpCf0/7Uh5Vuxv9p4qo5PlC9S9RetM=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LrS+QgN9dAmgAHJRw+4RqMUB1l2rkQLr9Xd1SPI7WVidWY9j0xIwccRvM5aY3FvCEqracovFnbtB7h34WDSuTRC7uS84jPYpdNQqt4nC5lAWy29IW4REaPNHu16Gh5jUMwUgSerTk7oiHwqVraWyA+rIYK/WdQHfvD6ytnkqiQA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=fIK33Txn; arc=none smtp.client-ip=209.85.221.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vk1-f174.google.com with SMTP id 71dfb90a1353d-4c015883a13so24337e0c.1 for ; Wed, 14 Feb 2024 10:57:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707937041; x=1708541841; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=4kAGhHA/F4F4m8PaN/GFfvTrWCN3YPm3thn164WVswE=; b=fIK33TxnO2PjuwGdyecEUzqPv8VGzlCd7xgy2WUX+djNuvJJ9a76qLiqU54zA20kkC Laxq/Bsc6fIvyVjfpX/ZsIbC3bA2YR08tBhsXYn4fxG8fLQC1LMz0vXDSykdti/ZpWGj MzU6qC16PBNdbaC3j4zJFpTOQlKd0i82GKymbM88e7b5TZZgiruh8QMAvlWT0UewRjA8 9BgTqwUVK55h0VR5JV4D3FU+EvwtebqBnDQBvzT3RIgh1e/mqiDzn0/g6pmZbBJgPHlO zj6tNnKrIoZP31bYjVf6Olvp1C7vSNMXnqrlmjbF7hPw+pNlhtcX6yJ56wDrTd/A3qQ+ aeHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707937041; x=1708541841; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4kAGhHA/F4F4m8PaN/GFfvTrWCN3YPm3thn164WVswE=; b=UkHf9zHmx4Ue7Zy8h5L1mBzLHrfd713HRNxDsQONPqLoo1gsUVSp+IP7kkTBjaTybw OKAdFEUl7U/IqqBeCSYGw8FNo6Qfwmzl2QUcyAkb1/xTGfWIbLPBakQZ9jahQN4SXuWc Z7vpK/Xc2k2Lhid74oQqDcQvKYDA5mVuz/BLhmWfyqCs174R66gMCLu0e767kxrimOqm z5XkfFTY+UaXif/j0ehfOtftuWgPfsCrtXpMq8GDdUdTKxxg+/oQMkxVR15J8jY7bIW6 t6pSFVrB9kfaHbxF8CaEGqQ6stPfBYshRgtDyOmLiSOfzaBEFrgXp8cp0Xm5us+tPFKT 9yGw== X-Gm-Message-State: AOJu0Yyj8MESGji1OXy7bJXdLu6Kxw6/Ts8VtJqnEd2Q1R2RVlrXhda4 JjPMjPtpnncwb5nAgqRVtdkkaqAKj9bvZwS3+sWJ+3ZKla8a8bpuoO1TQVm/ X-Received: by 2002:a1f:dac1:0:b0:4c0:1ab8:ac8 with SMTP id r184-20020a1fdac1000000b004c01ab80ac8mr3485478vkg.3.1707937041390; Wed, 14 Feb 2024 10:57:21 -0800 (PST) Received: from lvondent-mobl4.. (071-047-239-151.res.spectrum.com. [71.47.239.151]) by smtp.gmail.com with ESMTPSA id l5-20020ac5cda5000000b004b72c016c0bsm1309545vka.5.2024.02.14.10.57.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 10:57:20 -0800 (PST) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ v5 2/3] input.conf: Make UserspaceHID defaults to true Date: Wed, 14 Feb 2024 13:57:17 -0500 Message-ID: <20240214185718.536748-2-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240214185718.536748-1-luiz.dentz@gmail.com> References: <20240214185718.536748-1-luiz.dentz@gmail.com> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Luiz Augusto von Dentz This makes UserspaceHID defaults to true so the plugin has more control over the input device lifetime. --- profiles/input/device.c | 2 +- profiles/input/input.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/input/device.c b/profiles/input/device.c index 6c64ff1c1c52..ff7e3482d0eb 100644 --- a/profiles/input/device.c +++ b/profiles/input/device.c @@ -81,7 +81,7 @@ struct input_device { }; static int idle_timeout = 0; -static bool uhid_enabled = false; +static bool uhid_enabled = true; static bool classic_bonded_only = true; void input_set_idle_timeout(int timeout) diff --git a/profiles/input/input.conf b/profiles/input/input.conf index d8645f3dd664..00a34eb63de1 100644 --- a/profiles/input/input.conf +++ b/profiles/input/input.conf @@ -9,7 +9,7 @@ #IdleTimeout=30 # Enable HID protocol handling in userspace input profile -# Defaults to false (HIDP handled in HIDP kernel module) +# Defaults to true (Use UHID instead of kernel HIDP) #UserspaceHID=true # Limit HID connections to bonded devices -- 2.43.0