Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp2072208ybj; Wed, 6 May 2020 10:06:04 -0700 (PDT) X-Google-Smtp-Source: APiQypJ83ePUq8cyRCguVIRlyky92hSyBR/fepB25crsH7uAgPD/GMB3p8C6y4FIUATdje5UKOic X-Received: by 2002:aa7:c499:: with SMTP id m25mr7665631edq.122.1588784764093; Wed, 06 May 2020 10:06:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588784764; cv=none; d=google.com; s=arc-20160816; b=xbcZ1LCR8yH0E4a0A+7IyylhVC+dYfRvxp2QjH4FW2nvOYT/meRrUmYgE3yq1RwFIx IKr7OxO4j2FPNxbJcaTfwCWCTi9LSo+Lo2LCzzPeCoQAlFUq8Gb2aHI7xOgvrsL0ocbq l+qfqYjM5Ctrc/oNY1B7kMn5gLTsMPBDWoNGs022ARW++3N/Nphp1r1o1FGzeYZRFnoS JHpy5tK7obngaTzrF/wJkbZhT2OYvbJT+3Uvr9uW6zr3mIr/Il3+VaMIUVwkr5iCNebj G4KkDs9hV+xZ0K1Hft5+aqTAARjXQkiHrleY60pY3C20+W7EaTHwgOM01CsUTRTs7kE2 VK1Q== 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=DLwyIPK6buxu5yaIFcTNmFbpLpYN/APPLRjWM2lxlVM=; b=VsR3WxwIA7zE/jTAbXluJ4QpManK7BR+7B3SuIN9vIxDtmj/cMj6ptB7xKC/aSiscf p/VTcuyhOAb4r3pdKclap6esvnvoS/yAu7tXzjLHUkXcKjq38n7CQ/qnhCStFZefl7Si mKMUmrEkFTvt2NrYtFLRASJnPf+3Vt42jeCXkUULxDN0iBRlH8dRdB9z770Cpa/b5BrV eLYP90VONW4foOYI5FfvjkDPiVgoPuL+UJIksQrZFaIbG7wbR3QBZHwK1q5RBo7atO+p 3+Mh9DOoMocadbe4SSZ9bSNvuGwQ0OqnBRYW3KpoJP9eRc8cbxgpRP6XLXABn8FA0kTQ 7ioA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=aZ9Jh1Rc; 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 k2si1588398ejz.509.2020.05.06.10.05.38; Wed, 06 May 2020 10:06:04 -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=aZ9Jh1Rc; 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 S1729907AbgEFRF3 (ORCPT + 99 others); Wed, 6 May 2020 13:05:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1729414AbgEFRF3 (ORCPT ); Wed, 6 May 2020 13:05:29 -0400 Received: from mail-ot1-x342.google.com (mail-ot1-x342.google.com [IPv6:2607:f8b0:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01445C061A0F for ; Wed, 6 May 2020 10:05:29 -0700 (PDT) Received: by mail-ot1-x342.google.com with SMTP id m13so1956913otf.6 for ; Wed, 06 May 2020 10:05:28 -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=DLwyIPK6buxu5yaIFcTNmFbpLpYN/APPLRjWM2lxlVM=; b=aZ9Jh1RctJxSGenTZRJj3dPc9leETx5BNc1JrqfuSq9KHUGLyNep9XoONLHyfTpMIU 43alsQH0SE9XiJwX28mte/IeW0WMpwAdaRjVoDonRPftkAwDw9T7yskuJhw3zEfNohZq fJBsNAGLHVHKEP7rT9WohCE1El73Wn13nAgBc= 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=DLwyIPK6buxu5yaIFcTNmFbpLpYN/APPLRjWM2lxlVM=; b=DmcEDaQhxDitZOjwadX0rcLY4tOgFxFHo1izeN7kH1G6skEzKVo4W8cs0JK92E4l+4 /0PhMFgJB/4FxpUxRlWB0IMHDjsNzEw5wp5od+EOrd4b936WFTeJ0JQJv9ZN1gBnBHEe x4XiQnE2GmoFh9nRs4uyk0azXSYvnTPk+FYQ//dvRliUvN+fDbYqkSBDfpzXaorrmIoN jPk+VzUOEjeaDdTQZuGybKnbn3O2FEfXIlJZgUK+zGyf1w38feX7et1fKvtXeaT2cmEn 0zRW/O3X24wp/gxyRc7n5MNUHRyRJGOnYVx+TbW5kz/BqUSjTuNo/Zz3+zlGvsP1Gytz 0ZZQ== X-Gm-Message-State: AGi0PuZuLNAsg3s8TVxAbXIt2yglEUTKOWS2629URdp4shH/931ktWfp kopHNxMnl4PxVnsT8MfxMFUp/4thyyVVCWN5ZRoiSTuh X-Received: by 2002:a05:6830:1d9c:: with SMTP id y28mr7849338oti.280.1588784728367; Wed, 06 May 2020 10:05:28 -0700 (PDT) MIME-Version: 1.0 References: <20200506005528.2897-1-sonnysasaka@chromium.org> <56F32068-E8EC-45DD-B233-DBDAFBFA0187@holtmann.org> In-Reply-To: <56F32068-E8EC-45DD-B233-DBDAFBFA0187@holtmann.org> From: Sonny Sasaka Date: Wed, 6 May 2020 10:05:16 -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, 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 wrote: > > 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 a= nd 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 you = just disable udev support and get the same result? > > Regards > > Marcel >