Received: by 2002:a05:7412:3290:b0:fa:6e18:a558 with SMTP id ev16csp149878rdb; Thu, 25 Jan 2024 10:46:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLoFhSTCxBhaYWkdZeKIocMdu4JfyVbE3qcwdYlyPrYg1daJBi9EOobxY/jgj01metw953 X-Received: by 2002:a17:902:d2c6:b0:1d4:67f1:5daf with SMTP id n6-20020a170902d2c600b001d467f15dafmr130079plc.132.1706208389572; Thu, 25 Jan 2024 10:46:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706208389; cv=pass; d=google.com; s=arc-20160816; b=HECtxSSwTfpf4wrqjqlaMybHKCrprY2jb8R1scFPoMQVCntEztC/iWVdUGhnHqDOM/ NaaXJoIsfsI2ryXrG/AzCg/7QE6m+7yUb4qHGtDa0J3RsBOWW0J2zD3Lf7sCFkMnCFvN V9F8nOYOrgukQyoG/SR0vwFfs3fggl6lYbeYEIgnJUw+CCnSPt6MPtq5h9CETBCPaFzE ggRCUnJqLBgpTypIpP01990YkUzYL3XE+NQtLZfldc2f7kmBY8CHIBBC4ISnr/0YkbKs TlhRfUWfsorlSWyhOK9rXIj8+uQsQZO0jDhtGbbFsnNlRhJ2cxl91XHL7bzC0flDQGol ijxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=HygBRgcljnBp1xavNXcVTWq6p0jnpSYwW3u1lVmovv8=; fh=HCLU6vUoiSOTKd+Ua0RoRbrToc1UnKJZfMszpHeVz1Q=; b=riA+X108wci9hkXUS5qiXjMc9XCNA9oyiKcNY8PWoBeJH5DsvFrGCkS4mgE+lo3Lpy OLtG4/wX/S0Ge0KkO2mDZQ9fuz77VYALyYeoUgqK6HJieX6XdtlFn2J7WvXN0QfU5/9a iQHZRzIx31lrCQWvJNTGSj1gHae78aa+SRpavkGedurqyL45Ed9mNz37ct2gu5RjbIFf 0ZMw7UoEo5hOqJpx/z0+ckGlTib1c6vQlGCKk76KLvcroIFwlqxAqBp+/JOMIJ2Bzt4D 12LeUMl8to72Sggvb7Dl/QqMBXYUuLQQFVVe1tvqXBN4mGE3tlEB8B4P9IwOFwl7G7Dg Wdjg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=azwmJx16; 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-1375-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1375-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c20-20020a170902849400b001d7204a84e7si11288539plo.5.2024.01.25.10.46.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jan 2024 10:46:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-1375-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=azwmJx16; 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-1375-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-1375-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 374B9B26086 for ; Thu, 25 Jan 2024 18:33:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 521D01339B2; Thu, 25 Jan 2024 18:30:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="azwmJx16" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 240C2132C19 for ; Thu, 25 Jan 2024 18:30:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706207451; cv=none; b=Mk0Rfvy/HyoibLj8cpUGlbZovbAKfyBBvgz0gBw/D21aGEAn85ySoATqW53ai2vo3zkyHs+9Ghza417G86oZwBt7idfy3fgHMmr6iam2S2H7ScYkjOl0FtrgkYHaOkbGa8vj/Qvf1snSiOcZz7GBzVCiOnjnsCxslIVivj475vs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706207451; c=relaxed/simple; bh=HygBRgcljnBp1xavNXcVTWq6p0jnpSYwW3u1lVmovv8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=mupqZea8fzSYY1+WyBfxum30Jr11RXGbY81tAX3D4vk++5NXtPSTwJG7dmI95B9MMk3+U0DtVdpTZ8JgLUNszuVuG+vhsann7stR//Sg0eDsXJIeAoT8ChgKV/vHEPwfnV7ZiUheFRgeBU7HhGli0wbUXZdunR1ind6PmGe7FqA= 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=azwmJx16; arc=none smtp.client-ip=209.85.208.177 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-lj1-f177.google.com with SMTP id 38308e7fff4ca-2ccec119587so90566451fa.0 for ; Thu, 25 Jan 2024 10:30:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706207448; x=1706812248; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=HygBRgcljnBp1xavNXcVTWq6p0jnpSYwW3u1lVmovv8=; b=azwmJx16XZpjCbLGU8Evqz9JatcNV3udP5k1HtHTeVeMT2q3rn3UiQmlJ5VjmAgLlc moZxXG6De45NeRwgkes+E9Nq+ktvmzUjeWzTK5UPrkkr7ZGnj6skPHb2KSczDcDqjNUM XM24FgMCqF/elnzkfYPgDL6BfNDhwu7AVv9+K/2/opYZ8Yz0BeG6oQRSZ5s5yEwsq4WB VQg4WtK7pyWm3wEttQjIguRZ/JpW99e4GNhH6otxSFOqRLBlnmBPa6SNiq17Gph0HKDl 6fESl9d+TOb27K47/NeABelRuKWBP9fCxan9Mn7POy4GDLvLkIJ+dgOd5Axzbf8ZTehs baVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706207448; x=1706812248; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HygBRgcljnBp1xavNXcVTWq6p0jnpSYwW3u1lVmovv8=; b=W4Iyhyvdc8zAnKsrouCXiQENSLsiLCNTCsApCy5j3iAsiVNyRg2PyhYaGO7SLKTCT9 Nx/J7oNPE5gK2Aph+cj2dsvEifJf5rRRTAdJ83LQ28u35twchrmMWsWZ34hj4S/KmAA5 XGuWFWf/cGjIoMrBfJaH878RN7nIzOT4Q7GmJugRemLeVQAR2rI17IB2KEQ4TQIr4Lkv EMYzsKWZ+pbIiHGL7+IY9gvjjw9xuOspBQ9XzBVuz9qZ16G0T09SUCQkPx5qysByELPN 9RJOd4iVE0/R6wA34BqT0YlSUO+LK81NILCEOMJGuFs0FPfGcbN0evEKMYwBhog4TPs1 7uEg== X-Gm-Message-State: AOJu0Yzi3fLywIb8zJw+78Pj+6nf1EbmkTnrmk3JFPEjypMBmkvEtGH4 onhXl+Xc1NzPS//kwsD/SreZda7jINqEHk/K26wAcnN6gh0xltEOX1ILBgZgozuCkr5UFcbPMIH 1C6J58VbwFXagOtHUFNE/geKcVvg= X-Received: by 2002:a2e:9688:0:b0:2cf:1a11:ea87 with SMTP id q8-20020a2e9688000000b002cf1a11ea87mr16920lji.39.1706207447879; Thu, 25 Jan 2024 10:30:47 -0800 (PST) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240125-rm-ext-plugins-v3-0-d141f7870bb6@gmail.com> In-Reply-To: From: Luiz Augusto von Dentz Date: Thu, 25 Jan 2024 13:30:35 -0500 Message-ID: Subject: Re: [PATCH BlueZ v3 0/8] Remove support for external plugins To: Emil Velikov Cc: Szymon Janc , linux-bluetooth@vger.kernel.org, Emil Velikov Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Emil, On Thu, Jan 25, 2024 at 8:51=E2=80=AFAM Emil Velikov wrote: > > On Thu, 25 Jan 2024 at 13:02, Szymon Janc wrote= : > > > > Hi, > > > > On Thu, 25 Jan 2024 at 01:07, Emil Velikov via B4 Relay > > wrote: > > > > > > Hello everyone, > > > > > > Here's v3 fixing a small bug with the previous patches, which was > > > tripping the CI. > > > > > > Link to the previous revision can be found below. > > > > Just a comment that external plugins support was added to avoid udev > > dependency (from sixaxis) in bluetoothd. > > (not that I have strong opinion on this, just a note, I don't remember > > exactly why it was done, maybe Marcel recalls?) > > > > Thanks, I may have some ideas why. > > About 10 years ago (or so) some distributions were shipping > libudev.so.0 while others libudev.so.1. The ABI break was minimal, > although it was a thing. > I remember us doing all sorts of hacks in Mesa trying to pick the > correct one, esp when your system can have .1 while the game (or its > chroot-like environment) has .0 and vice-versa. > > I would imagine a similar issue was observed in bluez - but I can only > speculate. > > Over the last 5+ years, literally all supported distributions have > moved for libudev.so.1 and the Steam games (and runtime) has both with > some compat quirks to avoid explosions. I was considering applying this week but if you want to respin this set to sort out the dependency Im fine with, but I don't think it would hurt to have a libudev dependency provide we have some means to disable it in case the system don't intend to support sixaxis plugin. --=20 Luiz Augusto von Dentz