Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2893633ybi; Sun, 28 Jul 2019 20:24:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxZ623vbWsEKF9SFP55jvsevntRNN6WJvqiuJZToPcWeywR5cTI7zf0nuRY2NKO5w5mi65a X-Received: by 2002:a63:7887:: with SMTP id t129mr16998075pgc.309.1564370684360; Sun, 28 Jul 2019 20:24:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564370684; cv=none; d=google.com; s=arc-20160816; b=uKvYIa5lw5AeaOp0h5fiJy6yJGqgzgPJU7CC2b/NUadQeIc+TNqOgo39Txf1mkhkJA LP2mGU7UKfRDR+lt3LW8wuJ+i0fBrGrn8Aoq/+ove6rtjci1aRC2ZriiBNCm7f6CsU4u SSHdlZpKWNW535Ud3PS1tkqfVlStVSIF+i4v4AilgaV0mC2v1oP1stjNfnh1w5Z2LUS4 4rGjUho3zwvSKY3f798o1iGS/1V+BCwtpXZypY5Jlh6MQuXBtNLH1+KX0BUTnAY6thom HQxkLGunZjrLOJMli+HR6TzUFCFkCUoDr7/K8MI0Pt861PhHqLTe8rOr6qZuUqB8Qtgc qUfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:subject:message-id:date:from :mime-version:dkim-signature; bh=Qtlvn5JE6Kj1KVZQxpnADX5oZGSAvHEeulkTS7wVoFE=; b=g7ttIIfoNvKlY5hJCVxB7Oy8zyvXFmX+HTZVfXI1eYj6P9mVN1Sz+S0ZpEt2IAFjfI SM/1cwD2kdpIenrzJYu86bMWB2CLEffsTpDpKo2GbvUWDeltJFkQs/KgSBJIVk5Hd5Uo 3Cnvg4O9z7SAyl+BxWLlAFqQDH6t8uOrZ54j6bYWD70Icfsn7wZfLQdzhbPx3a3XJjme gdSEWvtFLYsi0wwW2sogwBzBiBuwKoKlimzD57prqWel5GDhPtuSoy3KOeqxfuKTEjGr F2H+Rpu0LXKGBBlsN696YH4onS6o6K7i5IWdAOidgYHXmDM5Fwc4xKUYWOcf5+xBFgUU J/NA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E7iy0Kcn; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id q15si24514136pgt.150.2019.07.28.20.24.12; Sun, 28 Jul 2019 20:24:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=E7iy0Kcn; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 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 S1726270AbfG2DUb (ORCPT + 99 others); Sun, 28 Jul 2019 23:20:31 -0400 Received: from mail-pg1-f169.google.com ([209.85.215.169]:43156 "EHLO mail-pg1-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725681AbfG2DUa (ORCPT ); Sun, 28 Jul 2019 23:20:30 -0400 Received: by mail-pg1-f169.google.com with SMTP id f25so27457315pgv.10 for ; Sun, 28 Jul 2019 20:20:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Qtlvn5JE6Kj1KVZQxpnADX5oZGSAvHEeulkTS7wVoFE=; b=E7iy0KcnurL4LIOiw3ynujNnR4aqUe6oO4GlIjdDZtiKy58K6Q2/kfNbeYL6c1xrfe 9Uuu6aSrzPiT/IIOjSIfsPitK+vypZTOCyVTJkwJP2yKp3UGurO+19yIlnoK0ktF3SGc G0IhOHLOjI+15SRKmlR6OH0nezrpbV+pX6UVdMeFh3qY7oZX5XX/2OihfuZGf0aDhJoN HuBeS0mioUP1+p0FRUfJvSXnI9LrULqPUZUwQg9VjsNc+LdzkzvFhcEuH7ztsPIFoKa2 lub3ZM5VMsbASQJqTtcD7BkrBjq3W/cp2x6mtLNXAygJhcqqVN+LpxKIs5+/4gGppiNN XU9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Qtlvn5JE6Kj1KVZQxpnADX5oZGSAvHEeulkTS7wVoFE=; b=TuWcccWOfbRAY+ng65hkT5d68OgHrH2kQcbZ/L3i4phP2wddjD9YheSjBfJZQTR49U zCss8yfqY12D7vyfdixw/gfOsP3wcUEDWvDexrTDg2OCbVsWg70EConqhi+qczzGudM0 Qplmy3c+4q/R0vVNY6qC1C7fZDInZ8D7KgicQJ1iZu3AYI6ztMJFMQatN6o1fZj1M1i1 CKsQweb0yser+LrzjkcK5AZ2g7SyfovSRHXSrEBRdrJEdx54NpD+1Ky2qeSGYo/xJlKI w2CZ7jaK23iaYUOh0IL4w8piKkmMIWUV+EkW87xt9qDg9fjECZPXFTt85j51unMdJP+F 8N0w== X-Gm-Message-State: APjAAAVr9HTrDTvqLjZZZUUOpH557W35tyUxAjZEMiYMQ8PZii8yDjLa +QxKWd7/qjOiy/yZE61qhuGG3yXVXIUmn31CxhecJ3nj X-Received: by 2002:a62:cdc3:: with SMTP id o186mr34649147pfg.168.1564370429696; Sun, 28 Jul 2019 20:20:29 -0700 (PDT) MIME-Version: 1.0 From: Andrey Batyiev Date: Mon, 29 Jul 2019 06:20:18 +0300 Message-ID: Subject: Yet another counterfeit CSR device? To: linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hello everyone, I have nontdescript usb bluetooth dongle with "V5.0" marking on it. It claims to be CSR (0a12:0001) bluetooth dongle, but it has nonfunctional "delete stored link key" command, so I think it is counterfeit. Futhermore, Linux kernel doesn't detect it as counterfeit (in`btusb_setup_csr`), because the dongle reports following: - From USB enumeration: bcdDevice = 0x8891 - From Read Local Version HCI command: Manufacturer = 0x000a (CSR) HCI ver. = 4.0 HCI rev. = 2064 LMP ver. = 4.0 LMP subver. = 4114 So, Linux kernel fails to power up this dongle. Ok, so I've hacked `btusb_setup_csr` routine to include this device too (it powers up now), however GATT communication doesn't work (btmon should nothing = no ATT exchanges except MTU setup). Any ideas on what should I check to make this device work? Thanks, Andrey