Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp234481lqo; Wed, 15 May 2024 12:43:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVcnewemzDtjOBxfCuzIRu+IGkx1ZaK59ZL6t8lTPQ/pu+3TpO4KwiV92nColoVWmRYdwFdRnbHeo7hgQ2w0Icjux2ZRdRdFWTwBA775w== X-Google-Smtp-Source: AGHT+IFmmPmCx7AN06w8U2P1epK57nYKfvc3fLwmi1QIvvvPSWe9Tbu+t3Hab2vl01h89pQAnrXU X-Received: by 2002:a50:8757:0:b0:572:47be:831d with SMTP id 4fb4d7f45d1cf-5734d5ce595mr15243224a12.20.1715802218309; Wed, 15 May 2024 12:43:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715802218; cv=pass; d=google.com; s=arc-20160816; b=NYnz8sDsYtSOkTsOS12+QfIUINCjbD5/fYZ0t3Z2vSq7VsGTgbLLObwJjw0fNM9RMP +BB4lZAXqXD3xJjNZ2bwMRP5uHfQb7gFUaTYZPvZLhbXLfAK130fIitNns5OQd2rVjIU ufNNDeB8hD1XDhRb0tOe7nBt1jjwYzKE31w1MFEpWiLLLz+BCX+lSZXa2wT9CohZsBAB ektDMaJH7htQufCAvF0Y5VHG8pE5rjJ0ZjHACeKOZ5LL++jeMAou5MWrkzuAy46Q9Ui4 3S60ZDS+9a80fFFXfauhNZ/WrN/JeUh8z8I6H7Ioa0NawCBGftNITEe0duui4Mq6xS3h frVQ== 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=dtDjUzK5fncxIE31/MG5fH/L8guHHjN1Oj09RQ1JU84=; fh=ffOLoZG9QzrZRqLsevIZH6HKdNy/P5e+yo/fLGdnXIs=; b=kn9SAGKUvvv1bMU0OPPsHipBPCfBI+uafTjw308Uo5SLwwmLDrQ0HfrOU/CRGG4ASQ BMG2PvV2/rCO5tKbAB7lMjwIWSKWbRgmcj7/Ubsac6yIrknW93HikXMIHj/m9BR4pfId lkeV2vvHU/WXgR9Vh6Bj9qTz5BMrCJ9Ok3pVfwdGYtl4BZUiVtO+iiS4dqUXB3f6mqja dNcWeCQpjHooe26hMPVOqZRPxY9R9FkCj3sojQQgxf2kqtdLwOpXcDSYd3xX2wnf0eM5 RAyozimR1/oiMJM8zEsGibTpu149EPiltZRT0Jhd40ucZBGzVNvrnMtkgRQo3SO+dfr9 AljA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EvL8+9On; 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-4659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4659-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c327473si7922271a12.374.2024.05.15.12.43.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 12:43:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-4659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=EvL8+9On; 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-4659-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-4659-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9C75D1F22CCC for ; Wed, 15 May 2024 19:43:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D74915AD95; Wed, 15 May 2024 19:43:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="EvL8+9On" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 348153BBEA for ; Wed, 15 May 2024 19:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715802214; cv=none; b=hnvbeEOBmjY1P2HJNrWYptm73im7tOF3Y8CBY7hb4dJkBKhCvZUST4CT1C1UzAzg2eiTMJvf5Bka7hJa/3p8U7HTmN6BQxWwqJDid9NGqJmEArgJgl3b0DB3nUCMfbqgqZlOf3qn4ACB1Webiwv+GxPxjB7/wjFYfj8D5NP8v6M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715802214; c=relaxed/simple; bh=b1pw7JooSBq1I22NDbKu3kX6Se6D/2SgMCGOZx4mb0k=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=dLkKtl7AI1jLh7gtEEsSCmBvhOp3QRvDvODRs79k3xnsNQCNG0bpJ58d1KcGigdBok+zZ6lJV2UHFqhXPQpK4HidBzp3nPQ+Th8ls8COkRThF2o0RRCD8q3AmFphbWXLX3iy0mHvJjSYy8hBjDKuaHjuaf/jPw70TzVFf0bFTcI= 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=EvL8+9On; arc=none smtp.client-ip=209.85.208.175 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-f175.google.com with SMTP id 38308e7fff4ca-2e6f51f9de4so21003611fa.3 for ; Wed, 15 May 2024 12:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715802210; x=1716407010; 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=dtDjUzK5fncxIE31/MG5fH/L8guHHjN1Oj09RQ1JU84=; b=EvL8+9Onl24CK8DDNu48iUo0UmDgYNVh6KSaLikPmo0wV7UQKV9+4e7riE+T8NmSLB BAi9I5vfgsXVE8zTPmRk3C1Wwpp1EEw7VGNHus1rvplD3RS0yJEf2L3c1k4kYi7H02t6 TaUrFl66fBenZx1lS69gPwKqfwkIX7BFcZwM3CRo46f63vxbET8zOovOxH3hpRIoWaCu 6SlvHPU+HKUE9ZonpON0WOlduf/HA8gDqCaM6pxzZ9F7N58NCBPqT7CqRns6rGMMSbHN 1GpP14qTOz6ZdKAb1OGJP0DOcAp2HmFYLJl64OiQw/XmCUsOUL7yxvWRthIWtiDDmqhU nb6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715802210; x=1716407010; 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=dtDjUzK5fncxIE31/MG5fH/L8guHHjN1Oj09RQ1JU84=; b=M7cpvLYjEMI60Jw3Cd3NT2qcLYFuoJD4PVSnkWR/6qWA9Rq+I/OFQ60C2cZh2VaYJl /sS2gzDBxdLgnzYKxCERVtNBMmwBfoiwWNniNza8PlObMJwr0RuzgRK9Ph+yAHGOybJ9 /lDF6YYXSNOkhtwAE7Cmyi1+UbbH9hxKQ0yeZ7LaEr+XbRo7tjweCvZQbwNJw5S8JnEd AFT2HCW25ev/mk8v9+V+hrjarAymk8bG9rg1VYpybpzDG0l6nw8EIex/oZLkBuVsAjhS xIwdY0YfquBdzuV1o3tWlL6SlOYBcPS7enhbU85TYX1yHXF2+VROdhIurn0uEZhtUJbC bWcw== X-Gm-Message-State: AOJu0YweGDX7gI+df3xrHekV5LwDflXp6RQYNpBiGrz5vhFSmhNfKUPI Uc/3cYJ3m9JbNrmMc1MmpqHoKG+kbSNqf5elIjsAZF8oMyAemzFncmSPai/psyBTJ7FiZG19TML KIsdT6MTvdd73kgYmK45XZ9zTAgKB4w== X-Received: by 2002:a2e:8847:0:b0:2dd:2bd8:a4c1 with SMTP id 38308e7fff4ca-2e51fc3406cmr149531731fa.10.1715802209975; Wed, 15 May 2024 12:43:29 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <2e9efc65-d408-48db-bf7c-1c186bd73446@gmail.com> In-Reply-To: <2e9efc65-d408-48db-bf7c-1c186bd73446@gmail.com> From: Luiz Augusto von Dentz Date: Wed, 15 May 2024 15:43:17 -0400 Message-ID: Subject: Re: abandoned patches for ATS2851 To: =?UTF-8?B?0JTQsNC90LjQuw==?= Cc: linux-bluetooth@vger.kernel.org, johan.hedberg@gmail.com, marcel@holtmann.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Wed, May 15, 2024 at 2:54=E2=80=AFPM =D0=94=D0=B0=D0=BD=D0=B8=D0=BB wrote: > > Hello! > Sorry, this is my first time interacting with a kernel mailing list, and > I think I should have specified more recipients. > Now I'm trying again. > > 14.05.2024 0:14, =D0=94=D0=B0=D0=BD=D0=B8=D0=BB =D0=BF=D0=B8=D1=88=D0=B5= =D1=82: > > Hello! > > I encountered a problem with a USB bluetooth adapter which probably > > uses an ATS2851. > > I'm not 100% sure about this, but the symptoms match the problem > > described in the patch. > > > > Here are the patches I found. > > 1. It seems to have been applied. > > https://lore.kernel.org/linux-bluetooth/168150781825.20001.497313946854= 0739153.git-patchwork-notify@kernel.org/T/#t > > > > > > 2. It seems it was not applied. > > https://lore.kernel.org/linux-bluetooth/20230323135804.3962783-1-raul.c= heleguini@gmail.com/T/#t > > > > > > 3. It seems it was not applied. > > https://patchwork.kernel.org/project/bluetooth/patch/20230426184017.205= 1211-1-raul.cheleguini@gmail.com/#25314789 > > > > > > Patches 2 and 3 were not applied, as I understand, due to some minor > > problems with code formatting, is it possible to complete the process > > of applying them? These probably need to be resend to get the CI to test them. > > > > Here is some information about the device: > > > > dmesg > > [ 0.000000] Linux version 6.6.13+bpo-rt-amd64 > > (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, > > GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_RT Debian > > 6.6.13-1~bpo12+1 (2024-02-15) > > [ 0.000000] Command line: > > BOOT_IMAGE=3D/boot/vmlinuz-6.6.13+bpo-rt-amd64 > > root=3DUUID=3Db9338182-ab4b-48cb-b492-60e7ed340018 ro > > systemd.unified_cgroup_hierarchy=3Dfalse quiet reboot=3Dpci > > ... > > [ 110.420763] usb 1-2: new full-speed USB device number 2 using uhci_h= cd > > [ 110.609798] usb 1-2: New USB device found, idVendor=3D10d7, > > idProduct=3Db012, bcdDevice=3D88.91 > > [ 110.609814] usb 1-2: New USB device strings: Mfr=3D1, Product=3D2, > > SerialNumber=3D3 > > [ 110.609820] usb 1-2: Product: general adapter > > [ 110.609824] usb 1-2: Manufacturer: Actions > > [ 110.609829] usb 1-2: SerialNumber: ACTIONS1234 > > [ 110.614223] Bluetooth: hci1: HCI Read Default Erroneous Data > > Reporting command is advertised, but not supported. > > [ 110.614245] Bluetooth: hci1: HCI Read Transmit Power Level command > > is advertised, but not supported. > > [ 110.614252] Bluetooth: hci1: HCI LE Set Random Private Address > > Timeout command is advertised, but not supported. > > [ 110.666673] Bluetooth: MGMT ver 1.22 > > > > lsusb -v > > ... > > Bus 001 Device 002: ID 10d7:b012 Actions general adapter > > Device Descriptor: > > bLength 18 > > bDescriptorType 1 > > bcdUSB 2.00 > > bDeviceClass 224 Wireless > > bDeviceSubClass 1 Radio Frequency > > bDeviceProtocol 1 Bluetooth > > bMaxPacketSize0 64 > > idVendor 0x10d7 > > idProduct 0xb012 > > bcdDevice 88.91 > > iManufacturer 1 Actions > > iProduct 2 general adapter > > iSerial 3 ACTIONS1234 > > bNumConfigurations 1 > > ... > > > > btmon > > ... > > < HCI Command: LE Extended Create Connection (0x08|0x0043) plen 58 #48 > > [hci0] 2.000505 > > Filter policy: Accept list is not used (0x00) > > Own address type: Public (0x00) > > Peer address type: Random (0x01) > > Peer address: E8:42:26:5C:0F:07 (Static) > > Initiating PHYs: 0x07 > > Entry 0: LE 1M > > Scan interval: 60.000 msec (0x0060) > > Scan window: 60.000 msec (0x0060) > > Min connection interval: 30.00 msec (0x0018) > > Max connection interval: 50.00 msec (0x0028) > > Connection latency: 0 (0x0000) > > Supervision timeout: 420 msec (0x002a) > > Min connection length: 0.000 msec (0x0000) > > Max connection length: 0.000 msec (0x0000) > > Entry 1: LE 2M > > Scan interval: 60.000 msec (0x0060) > > Scan window: 60.000 msec (0x0060) > > Min connection interval: 30.00 msec (0x0018) > > Max connection interval: 50.00 msec (0x0028) > > Connection latency: 0 (0x0000) > > Supervision timeout: 420 msec (0x002a) > > Min connection length: 0.000 msec (0x0000) > > Max connection length: 0.000 msec (0x0000) > > Entry 2: LE Coded > > Scan interval: 60.000 msec (0x0060) > > Scan window: 60.000 msec (0x0060) > > Min connection interval: 30.00 msec (0x0018) > > Max connection interval: 50.00 msec (0x0028) > > Connection latency: 0 (0x0000) > > Supervision timeout: 420 msec (0x002a) > > Min connection length: 0.000 msec (0x0000) > > Max connection length: 0.000 msec (0x0000) > > > HCI Event: Command Status (0x0f) plen 4 #49 [hci0] 2.001242 > > LE Extended Create Connection (0x08|0x0043) ncmd 1 > > Status: Unknown HCI Command (0x01) > > ... > > The adapter supports le, I was able to connect to a le device from > > windows 11. > > --=20 Luiz Augusto von Dentz