Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp349031lqd; Wed, 24 Apr 2024 04:31:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVcUEXHk0BqOtyBr4YCHCGo+9sAIbdhOySC/1osSpvkT+BJnsXYDu39au9AQkTHshFJ7M4asQXgfkRFXuZMpFji9F/0YLf7DUjUooEruw== X-Google-Smtp-Source: AGHT+IG9KwpXNuAdnwNIGTPGxwFvM2rxPlJ8aqpE5NsaOGtNqBxPx1MK7pBQVPt1H/T6l4OyLbJg X-Received: by 2002:a05:6a00:3a21:b0:6ed:caf6:6e4b with SMTP id fj33-20020a056a003a2100b006edcaf66e4bmr2803409pfb.18.1713958292218; Wed, 24 Apr 2024 04:31:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713958292; cv=pass; d=google.com; s=arc-20160816; b=o31Ir9V67s239bI3KLblmEf/+ZdIrBIu3iV0k1KCKKM+V1U/LPkaJ0i+ulpb2c1Ytv jb+uy/VH9Pd5r+BHhJNa8nXIzydaUTirxrCQbOMO+0C9fLbR7xZHjDfnzVhDNdceTj65 opI1VgzGI5sJ6fuJBB3pN/ZazR9A3tbrzcdlM68mWG5zfft5vkvOdJnkmH90B6t8sQ83 CWKSNuuglIu+tTl24dWBW43bQTBCr7PqqNyQmSzPjcn5KsmR2zyWTtjWpJL2AzBhRDbZ bpcLf+/zPubG35TtYirFzyDdETz7A3cJNRVNFTPVY8pms4hiYGfBX0EB0ZUruHo+EwiO xuLw== 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:cc:to:from:dkim-signature:dkim-signature; bh=DgHUUp6tFzs7q+y8o0cewN7ouY8O3uwxHNhxLT5MdMM=; fh=p28aJIdZY7W+7eOSOVHVhANGPs6PdgPuAIsSmPBmy/0=; b=zfme0etRZvGaTYy2AFtBVsmvZPGsHs+zdy2w8JbNzr5A8F7JvqNSRH7XDhSzeR1Bxf tk/X8hccROwYKxRndrR2IsBto8ZGnkwbr6lze/GLRIsOLnBS4C7I+7cMOe2Uqk+elUt2 +08MmFaxD5+pONHrJy/PBN0zV9aTIPoWfwrA7SODux4BrRdHxwqIcM+QpvF7FERECIHH yhSRW/uISfGle9z+rrCZONPBQmNyAktG1Qbrc662gfN5gPiDCHWX1zy5lXLH/edrCA5O z5+dyDhYHdbKURh+WrDcM23OgDK5optGbDwbZGMXg5+oHUx8vDrZAer/KazI99Dr9Cbz +kyA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@carewolf.com header.s=rsa2 header.b=Ql7E73PQ; dkim=neutral (no key) header.i=@carewolf.com header.b=emaho29s; arc=pass (i=1 dkim=pass dkdomain=carewolf.com); spf=pass (google.com: domain of linux-kernel+bounces-156801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156801-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q15-20020a056a00084f00b006ed41e29c19si11557252pfk.55.2024.04.24.04.31.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 04:31:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-156801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@carewolf.com header.s=rsa2 header.b=Ql7E73PQ; dkim=neutral (no key) header.i=@carewolf.com header.b=emaho29s; arc=pass (i=1 dkim=pass dkdomain=carewolf.com); spf=pass (google.com: domain of linux-kernel+bounces-156801-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-156801-linux.lists.archive=gmail.com@vger.kernel.org" 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 D6733287DED for ; Wed, 24 Apr 2024 11:31:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5B1C15A4A6; Wed, 24 Apr 2024 11:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=carewolf.com header.i=@carewolf.com header.b="Ql7E73PQ"; dkim=permerror (0-bit key) header.d=carewolf.com header.i=@carewolf.com header.b="emaho29s" Received: from mailrelay3-3.pub.mailoutpod3-cph3.one.com (mailrelay3-3.pub.mailoutpod3-cph3.one.com [46.30.212.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A9DAD142E62 for ; Wed, 24 Apr 2024 11:31:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.30.212.2 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713958284; cv=none; b=FGzBlqVZ1RNN0EKeli8xc0RROagNjkXUxaMzaLe44tyeFYZRI4nb7RrVNAU2MPet98dxMehZ370lXv+vQLBtT8X4EG4EUEBzbi0/+pXiPydQ010EYygAJOj8m9F0N3Prq8BXijtNQ4f0OyN3/10CGxv0wGYYaqPosFoOI7ui7p4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713958284; c=relaxed/simple; bh=WocI+kydEoNLGIxyswwT0BVFsa3elCOtzeRHRUN1NhU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=RwsquhEzGPRMBoAZVpm97USiDW9NTMG4OFeiXR4c3BaEEtVxwZ3+4GcG/6Z134gVdhGzlZskop8jBUQPvg7eTgP77lmfH/lUT+ieP35/jg3a3M/rqT3lMJceWq/3jUS4hzN3VXL+lRRvMaoQOyBvjqlb1xLtnDw6PSt/z4fHYtA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=carewolf.com; spf=none smtp.mailfrom=carewolf.com; dkim=pass (2048-bit key) header.d=carewolf.com header.i=@carewolf.com header.b=Ql7E73PQ; dkim=permerror (0-bit key) header.d=carewolf.com header.i=@carewolf.com header.b=emaho29s; arc=none smtp.client-ip=46.30.212.2 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=carewolf.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=carewolf.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=carewolf.com; s=rsa2; h=content-type:content-transfer-encoding:mime-version:references:in-reply-to: message-id:date:subject:cc:to:from:from; bh=DgHUUp6tFzs7q+y8o0cewN7ouY8O3uwxHNhxLT5MdMM=; b=Ql7E73PQaaBBz23wRVVjcFHxCVr3A30rOUfJr5j0RhyDsRuRgxuL+2+qDNZwk8lC4rqkCZtwtiOjT AG5SFXGrZHpQXf1cmSu6uZGUNKkoBL77RP3Rv/TEEEqz7SjrER/Aa+XZgwAecyDkR4PC6T3X6Ig3q4 dfC+Q4h1KTgyWMS6TQNzzwldhvrOOsfykkWbEmPx+2DMgNrE0/M+wDGJHRKec1qRqWYCyElUOEXErz Hn1l+pDyd1zH1jTjsdY/XChCZjRYp9V9wrvB75uDt3S1xZUO8Jq3BhOPigbIrpAcyQ1UF/NpX21zWv OBFxiT0YtjDw2Rcm8ehqyKRRsH/UZFA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=carewolf.com; s=ed2; h=content-type:content-transfer-encoding:mime-version:references:in-reply-to: message-id:date:subject:cc:to:from:from; bh=DgHUUp6tFzs7q+y8o0cewN7ouY8O3uwxHNhxLT5MdMM=; b=emaho29soRfaI+vnYU/WNGFUp+Nv0XqGhdUj7wtaz6Kub+TnHLyRdFflcOVM+7qdUK7VisaziOvrm wnosuEsDA== X-HalOne-ID: 02c7ceba-022e-11ef-9981-5166eb5bc2d3 Received: from twilight.localnet (dynamic-2a02-3103-004c-5300-7231-17da-dcd1-9a4a.310.pool.telefonica.de [2a02:3103:4c:5300:7231:17da:dcd1:9a4a]) by mailrelay3.pub.mailoutpod3-cph3.one.com (Halon) with ESMTPSA id 02c7ceba-022e-11ef-9981-5166eb5bc2d3; Wed, 24 Apr 2024 11:30:12 +0000 (UTC) From: Allan Sandfeld Jensen To: Benjamin Tissoires , Hans de Goede , linux-kernel@vger.kernel.org Cc: benjamin.tissoires@redhat.com, linux-input@vger.kernel.org Subject: Re: [PATCH] Logitech Anywhere 3SB support Date: Wed, 24 Apr 2024 13:30:11 +0200 Message-ID: <6092750.lOV4Wx5bFT@twilight> In-Reply-To: References: <20240413095453.14816-1-kde@carewolf.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" On Monday 15 April 2024 20:31:14 CEST Hans de Goede wrote: > Hi, > > On 4/15/24 5:54 PM, Benjamin Tissoires wrote: > > [Ccing Hans as well for input] > > > > On Apr 13 2024, kde@carewolf.com wrote: > >> From: Allan Sandfeld Jensen > > > > FWIW, this patch neesd a commit description and signed-offs > > Will add. > > FWIW I'm also not in favor of stretching drivers/hid/hid-logitech-dj.c > even further to also support the new bolt stuff. > > AFAIK the new bolt stuff is significantly different. > > Allan, I see in your other reply that you are mainly after > highres scrolling and since the bolt receiver does not do > per paired device addressing I wonder if you cannot just > get that by treating the bolt receiver as a wired HIDPP > device and just directly listing it as such in > hid-logitech-hidpp.c ? > > The whole purpose of hid-logitech-dj.c is to create 1 virtual > hidpp devices per paired device and with bolt that is not > possible, so I think that we should circumvent hid-logitech-dj.c > for bolt and if we want to use any hidpp features do so > by directly listing the receivers in hid-logitech-hidpp.c . > I think the bolt receiver is able to separate devices, but yes, it appears the way it transmits device IDs and pairs has changed (some new registers it looks like). I am removing this part of the patch. I am not adding the Bolt receiver to hid-logitech-hidpp.c either though, because it doesnt work for me, and I havent invested time yet to figure out what would be needed to get it to work. I will transmit a patch with just the new bluetooth ID, and add a few more I managed to find to fill out hid-logitech-hidpp.c Best regards Allan Sandfeld Jensen