Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp27650ybk; Tue, 12 May 2020 14:20:26 -0700 (PDT) X-Google-Smtp-Source: APiQypISBTjtDIPXBUNzdteV9isHjzTGodtZB+rlYVU9zK4cQ6r9BhQ618y7oxHFArioWC/aVV4t X-Received: by 2002:a05:6402:14c8:: with SMTP id f8mr19345852edx.272.1589318426697; Tue, 12 May 2020 14:20:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589318426; cv=none; d=google.com; s=arc-20160816; b=KEcQkdvEvmfcUFS73TqTlov4lMXCwx/yLYYZ7hZvW6y7rKek9wb68x4xWx/drvSwdv CAZ8poANtjtHwMHXGxEKdrTzonnZirTQjCAg23cTTm3iVIfjcucKE9bDIjX3M4sVFWks MrvpkRLZXwQ9fGc9jFBv1i+eTiSGFYhcBR2wx4Iqmtz0ZKnBk1qAg7u6avVYQ5q+W7/U TZmKMZ01DLRD2RrsO2zqJK0ScSIiEdMrutNRvP6H1JMIYbU1UI20YXpjkNED/7sUk7V0 YLya/+7t8AuiEOPH9Hl5+7LN1/wecJBQ3f5CT16hnYjPWopdvOO6bnn2cS+zbq8HFuhI B1bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=uQM7OuZc3/XM3criQX7kxoOVIn4TSkp5YzxO9h9Oi5M=; b=vEP/EO7oeo3mBUp3C1Aw6HUmYOFxJ41FgDaBpYDF75GGsGMgxdXD1k7z3/TXl6sQvx efS6+IuR6GUdomH7ZEkDimmobkgYQ2g56bFOBlZjfR1HrO3/nGp+xVxi/4V9BDzHqZie ByaIqc+UvmQ+dNeNWsmTvqaQBZEHT9K3uDZtyDLRdhQ6suV29J8mvBfVycUZVj6y4qBG EmtaH4UoB/Ms3vKSR3unaZ0Do7u3PYnq7pNXwABph1q+BtPYA8nboSaOfSDZkt4nxHxe zeAII+i05dKFThWW8lYvSQ6UTHiMCfN/1kDcHXLizqLmpXNUJHq0GlFhP6VofTxHjATh C+6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GxrDSsQz; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w8si3489191edv.530.2020.05.12.14.20.00; Tue, 12 May 2020 14:20:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=GxrDSsQz; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728220AbgELVTy (ORCPT + 99 others); Tue, 12 May 2020 17:19:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725938AbgELVTy (ORCPT ); Tue, 12 May 2020 17:19:54 -0400 Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com [IPv6:2607:f8b0:4864:20::243]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0D5DC061A0C for ; Tue, 12 May 2020 14:19:52 -0700 (PDT) Received: by mail-oi1-x243.google.com with SMTP id v128so2737099oia.7 for ; Tue, 12 May 2020 14:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=uQM7OuZc3/XM3criQX7kxoOVIn4TSkp5YzxO9h9Oi5M=; b=GxrDSsQzSJ8V+6/4B4gS3WnKa0M9/Wj6ZqIyTXD7uPbcvbk7C8i9JCWIAWFbMY9nRh PTv73Fu/mOIQx1W4IaBlct8dYaXR7E+djrDjVuh85MZKNIBEU7ihgEr4stwT9GydgybG 7gMhWz/ZtwnEmW85ddFNs9cphHTNHgmDfBzxE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=uQM7OuZc3/XM3criQX7kxoOVIn4TSkp5YzxO9h9Oi5M=; b=G8TRnE2MZfq/5O/+znBOwqk/gF6v0wOrof1E9ScT1CW+VHr3jn646Bf26Q3Hc8TVrJ aoiJeSFQB57j5v+rMZL6ZRlEkR/gDq5Gfu9tLdIbOisgA5LaB8t1qlGxq++6+PkqqgWG E/1eVcKuLW3imrfCB+ttLSQiIV1qrHTx/kQHy4c88eAZkEIqSeQFejbDYthKSPz0C3Pe 5eC+9ROQk8KcBZ+w76CURor3unN4I69fUIURzKpxCPUhPqtulKsDm2xpceWCLY3TM6Q1 Duoheyg8RmqchpzWF3kqD4tfzepYuZqQDYtfdcdsQ0ZE0NpDp3Y3ujLSI9Zulndzg3Yi GVmA== X-Gm-Message-State: AGi0PuaXbsuvdD4g2Xs3ApflVZzTq1Hp0wJcNFUFEA046b527JhlfnAm PlbIoyFmt0HD8nDbBTZjf2XmixQhG2m6uWmjREfwNjvq X-Received: by 2002:aca:c68b:: with SMTP id w133mr22740291oif.27.1589318392333; Tue, 12 May 2020 14:19:52 -0700 (PDT) MIME-Version: 1.0 References: <20200506005528.2897-1-sonnysasaka@chromium.org> <56F32068-E8EC-45DD-B233-DBDAFBFA0187@holtmann.org> In-Reply-To: From: Sonny Sasaka Date: Tue, 12 May 2020 14:19:40 -0700 Message-ID: Subject: Re: [PATCH] build: Add an option to explicitly disable installing hid2hci To: Marcel Holtmann Cc: BlueZ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Marcel, Could you please take another look at this patch? Thanks! On Wed, May 6, 2020 at 10:05 AM Sonny Sasaka wro= te: > > Hi Marcel, > > Chrome OS doesn't support HID-HCI switchable controllers so we would > like to remove this from being installed to reduce maintenance burden. > Disabling udev unfortunately also uninstalls sixaxis plugin, which we > still need. Do you have a suggestion how we can achieve this? > > On Wed, May 6, 2020 at 4:06 AM Marcel Holtmann wrot= e: > > > > Hi Sonny, > > > > > --- > > > configure.ac | 5 ++++- > > > 1 file changed, 4 insertions(+), 1 deletion(-) > > > > > > diff --git a/configure.ac b/configure.ac > > > index 1433ace4a..ba9937a16 100644 > > > --- a/configure.ac > > > +++ b/configure.ac > > > @@ -218,8 +218,11 @@ if (test "${enable_udev}" !=3D "no" && test -z "= ${path_udevdir}"); then > > > fi > > > AC_SUBST(UDEV_DIR, [${path_udevdir}]) > > > > > > +AC_ARG_ENABLE(hid2hci, AC_HELP_STRING([--disable-hid2hci], > > > + [disable hid2hci tool]), [enable_hid2hci=3D${enableval}= ]) > > > AM_CONDITIONAL(HID2HCI, test "${enable_tools}" !=3D "no" && > > > - test "${enable_udev}" != =3D "no") > > > + test "${enable_udev}" !=3D "no"= && > > > + test "${enable_hid2hci}" !=3D "= no") > > > > can you give me a bit of background why you need that. We did have that= and I removed it in favor of putting everything behind udev. Mainly since = we really don=E2=80=99t need most of these things anymore. Can=E2=80=99t yo= u just disable udev support and get the same result? > > > > Regards > > > > Marcel > >