Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1441947pxb; Thu, 4 Mar 2021 11:20:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWKlD3Lcn+tdEEytGgU/imIIZNGoigKapEYK+onykzVn0opNIvPFZRZlLMibhCbTjhvh1z X-Received: by 2002:a50:9ecf:: with SMTP id a73mr5999453edf.181.1614885639300; Thu, 04 Mar 2021 11:20:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614885639; cv=none; d=google.com; s=arc-20160816; b=FOkkpCmdJAWrZ1Q/hitw+k3+AC/dZ+JpCjNgVjULWwC8M0/eL32tXWMQ4b4sFLt2ub +vS4RWuG3S529aTSzwXPMJ47qmVu0NGy7TH0hsLkKKeYtBHRC2bMde1jzwsid6Eq4emD jdwPmm+0qFXKkRHJ3Kml/8Fe5M34PE331U1jJvH/llw7bn/r0/qANVK39ZY1tl6Iy2Ru 31FynJRVuqXcq7bXfLoEcGAlHHrnEeQXgDxq9ra1mZH/ZqYRsQa8DuE7qenJ81ZEYu8n y9viqFLEfHHe47wZ7kpXnC/MXggeoaWAqDEHBu1wbPr05fl9vK045Hx9ewqFc/lgAcBs fNMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ROB+e94PZYF5HfrdwspdymB3hHAj58GLqoaaRUOBRO0=; b=no++xepNm9go4Ew759Ep3T98b3QraxOZSnMgDIww4B/LJYhyVcw/D+qhN9oeorbFaq o0RGe5kryl0gmMHIr3CWAcl19B51dIfnafdzUX9Dz43yA5ueRF0aDQoEGRQ/RC8HcKGV LkL+bm6UTG3nXCg8eAwF6ouw8ltQcSJMxwftzkuh8x4x7VNR5prkTNCloBfbrZhSrKpw gjxYcZgqnM5eruyT69oAOpsJ4HGTh2DMVSE5CKRnvM8M3gXRiQTlNLYaadZqUPRBaJyB 8L+KU7OSgXx2xEii1/V6CbLstklUkdsnMrtc9MHsI1IoMQ+ujAmyJ2E3Ba+TZOyEwsU9 VC6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DSA6MTtZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s20si217983edq.484.2021.03.04.11.20.15; Thu, 04 Mar 2021 11:20:39 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=DSA6MTtZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233664AbhCDTNX (ORCPT + 99 others); Thu, 4 Mar 2021 14:13:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230492AbhCDTNA (ORCPT ); Thu, 4 Mar 2021 14:13:00 -0500 Received: from mail-ot1-x333.google.com (mail-ot1-x333.google.com [IPv6:2607:f8b0:4864:20::333]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10220C061574 for ; Thu, 4 Mar 2021 11:12:20 -0800 (PST) Received: by mail-ot1-x333.google.com with SMTP id a17so3691872oto.5 for ; Thu, 04 Mar 2021 11:12:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ROB+e94PZYF5HfrdwspdymB3hHAj58GLqoaaRUOBRO0=; b=DSA6MTtZLeOaDoHESMipBaYBptys63afAd3BAP+bPTH5QQOKnxSdW+7Q9iYgR2eET2 H9qmw804MmRAc/FAkNctWCdC1hK8zRmjiekdgNyUgS0VXYi1USkOurJmlgD32jwTaLUH agHEwUKZiR7fvFN8uMDryFUkpBxzMnqC3Lz9u5xjPFtD9pPfRM16++pMUKq3WdWimb1D 3/3z+4TpI3XfqFdUUMRH+uHiSLblh1myRsOr2Rj0Pbr2skjJaEkV2i0Ogl8H0r0wnFNM cXGDtHGYgcLLdYM2oa0qhU7uEAXLFfg9jkjFKV0DykbiVOC3VVA/LgZ2l2Df9p7+wgGx lUbA== 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=ROB+e94PZYF5HfrdwspdymB3hHAj58GLqoaaRUOBRO0=; b=Ye/ePXXE0b4QGQ8EahKdyUYD9FEe+hsFc8/U7SPmaRfT5qArHPtytllGusxf4DtP+Z PusC+MHJC/sXmxl3MZ8FNvXbqLUGpmuxvEpiP/btwsJe1rZfa8YsyzCZTuTLnN1eUrmQ G67/+0o8986hkZnUBmHU2f9d+M6akY4MdQ4UJFituBOkoOtZELl9ra9agio4MtGu2pyf 4bCXJ3IXeBZADFhQhqz7n3qx/94Tk+SzXvF5SwDhYCIUPxwKyO+iSF8znPUAhy6Ie1XE cql1KdeMREJIlOVVf6CcSNIZIrq3N8UhZ0qWASMSR5q9/fbayZ05bEf+x52vNgGUIg4k ENgg== X-Gm-Message-State: AOAM531BtZ6fZWL26T+Ut0wsZaCDcG0WUQVI1ZxqNjvTsNtE8olJy74g WNMA3xs7uLXWe5UNTKAHvA1D2G2LbV8gue+REss= X-Received: by 2002:a9d:69c6:: with SMTP id v6mr4693620oto.371.1614885139474; Thu, 04 Mar 2021 11:12:19 -0800 (PST) MIME-Version: 1.0 References: <8ede2f3e7593cbbd78e5aa4d3b28257a75e17b63.camel@collabora.com> In-Reply-To: <8ede2f3e7593cbbd78e5aa4d3b28257a75e17b63.camel@collabora.com> From: Luiz Augusto von Dentz Date: Thu, 4 Mar 2021 11:12:08 -0800 Message-ID: Subject: Re: Bug caused by moving to BlueZ 5.56 (bytes stripped from HoG reports) To: =?UTF-8?Q?Ricardo_Ca=C3=B1uelo?= Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Ricardo, On Thu, Mar 4, 2021 at 10:57 AM Ricardo Ca=C3=B1uelo wrote: > > Hi Luiz > > On Thu, 2021-03-04 at 10:44 -0800, Luiz Augusto von Dentz wrote: > > Nope, you are the first one to report a problem with this change, so > > chances are that what Dean stated probably still holds since the vast > > majority of devices didn't care about the report ID. So I suppose the > > following code shall take care of it or does it not? > > > > > https://github.com/fwupd/fwupd/blob/master/plugins/pixart-rf/fu-pxi-devic= e.c#L170 > > > > Yes, that's how we're dealing with it for now. It's a quick fix, a more g= eneral > solution would be to detect the BlueZ version and parse the reports accor= dingly. > By the way, is there a way to query the version of the running daemon oth= er than > running it with '-v' and parsing the result? Not really, we could possibly add a version over D-Bus but that wouldn't help for 5.56 anyway. > I just wanted to let you know that this can actually happen so you're rea= dy for > it, as there might be more code like this in other projects, although I d= on't > know how frequent it is for a device to use vendor-specific report IDs. > > Cheers, > Ricardo > --=20 Luiz Augusto von Dentz