Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1044980ybj; Thu, 7 May 2020 13:30:40 -0700 (PDT) X-Google-Smtp-Source: APiQypLwRC0VuY+2AmDTAa1A8kfV0dpYcb8E7rqjohUei32wegCzJGj8KQVJKb2yrwNCCgNZe6OZ X-Received: by 2002:aa7:cfc3:: with SMTP id r3mr14256259edy.342.1588883440283; Thu, 07 May 2020 13:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588883440; cv=none; d=google.com; s=arc-20160816; b=Q2HR5N33hqDFotw4sQaxNDy/NfxbSyvwM91fH60vsKN4UgMXWPDBDyT5YwulFg00ng YPENwr5AaqNY+XMiztc490vea9mWhDj6OzfRVBLQDQdF4t/YQKutUtdH7GTXn7beeN9u w4Agke4hSCEFdJlrFFTkscEXzVfdJq3ZG63wPpFsclyONpAfB3DVVylO+mPvOPzrAKid BXIAznR076J+xjTaJeXZQO2mspJ7bTJj5L+lGfNe0g7ZTh78OP03RAL7f0T5OwIkLRJ5 8VvXQ2cteZCVmKFAM0n3aDXlAWbc1MiMZyq11yjseyduxwCfBkN7tjbcj2FDtZRr8GDW q29A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=kM0ddBaHNuFIW5z7xPpkMgsIUt5fVKtR5hyQ0tZZReU=; b=0hVPDnM6YD5vTE8DZ/nHdTIFLg691ibbAZXQbCChxnv9gdI8Ao4D+v0MfasVeFjTP2 R6X6bMnNEV3M7lkw7U519+2AsEu5D846ip3aTG8cHJ1j7mi+s3WjwN7LODkkd0U2Xe7V QuthOVVVQ23+TJI81mZtQLqd7CFYfx5o46bIkWDCHvotzCs/ekG3oN3+AnLlD1MlJxMY faFk5WpAO0uRSGTgncbPuR0sMiZx9KCJhHmOANUH0L9MHrTp304c3sqKzhGMuH1fwwat 3G8iXEis98sbKLYIF/CpYMe21r5jW4tr+QxKFoMLPZTr/nkJbNEZsKSi26GTAaxi2jpZ 5Jcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mJNsPU1k; 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 c23si3846809edy.407.2020.05.07.13.30.15; Thu, 07 May 2020 13:30:40 -0700 (PDT) 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=mJNsPU1k; 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 S1726320AbgEGUaN (ORCPT + 99 others); Thu, 7 May 2020 16:30:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726514AbgEGUaM (ORCPT ); Thu, 7 May 2020 16:30:12 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94F83C05BD43 for ; Thu, 7 May 2020 13:30:12 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id z25so5573321otq.13 for ; Thu, 07 May 2020 13:30:12 -0700 (PDT) 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; bh=kM0ddBaHNuFIW5z7xPpkMgsIUt5fVKtR5hyQ0tZZReU=; b=mJNsPU1kIIQ/A5qkU6SmNNCMj1/Ne26qHsLkMlG63nJR/lXTElLhgISVEibMXKpg1a 222v/gq/t9LArZJVFsEKw47X3WTuW8vv2ngPte742QkxyiLVTznZioqaN6SWXZfQJJYx 2GJPRUnU9d0uzkj6TyBhhmcbpxqJhAvvuIsuEQ0vn/2qbiE1+3gW1WvWU6wDm3eQJGr4 ZFnbad8Sd+/ulEbjentmQ/t0fAa6njOr1Gb0ZWA2NCpwnzTvju/X6LRx75D6hb3ILVVy /LaVGjmyWKGQpN8SobjZk5kC8PjproKrWIO6wbaic5gaNHREzzBKJ64IcGuJ7e7RavAl jwZQ== 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; bh=kM0ddBaHNuFIW5z7xPpkMgsIUt5fVKtR5hyQ0tZZReU=; b=QsSuxbK07JuyFgAZXwofFg45ENCBI2BUsbntINrvpDTEZivAcI22ECxA0KUOjqrh0b m0TFl+3iPLi12TRKEQCV4NAX28LetCSFVls3/lX+T2owyxjvouTw9jjBrWsq4Xps5cBY IRYI8b/Xp/xptIQ+0TnbNogvyPQFDvRcFOPD/tiJw918Pz2g6jT+N3QqrywXX0ZgPTDp iS0bVF3PnLpy2OKwfVv6ehROYFit1eNq03kun8TcW+me+61Dfu1oU36mrVMUWEuTD1OA p3sPOONA/LhJp4+G5rW5I+ldaipAKvRCKWGkWWzUmH56fblK9yF31pOGz3BnIWTIavqU kKnA== X-Gm-Message-State: AGi0PuaCIJaEuj8IZXTs99dQ0NAMv1T+MCul8Zsy4MdvU6uLEX6ivfKb 7O3unuy/ND5gMf48yjccxIEHZwBhYm/etKFsFpI= X-Received: by 2002:a9d:3637:: with SMTP id w52mr10616514otb.177.1588883411799; Thu, 07 May 2020 13:30:11 -0700 (PDT) MIME-Version: 1.0 References: <7c4e6f59-d2ef-36c0-46df-0195fad40e7e@gmail.com> <76911d0f-dd24-5536-586a-a8e9bc7ad786@gmail.com> In-Reply-To: <76911d0f-dd24-5536-586a-a8e9bc7ad786@gmail.com> From: Luiz Augusto von Dentz Date: Thu, 7 May 2020 13:29:59 -0700 Message-ID: Subject: Re: avrcp: Cannot connect Sennheiser Momentum True Wireless 2 To: Andrey Semashev Cc: "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 Hi Andrey, On Wed, May 6, 2020 at 10:32 AM Andrey Semashev wrote: > > On 2020-05-06 19:56, Andrey Semashev wrote: > > Hello! > > > > I have a problem connecting Sennheiser Momentum True Wireless 2 > > headphones over Bluetooth. The headphones say "Connected" and then > > reboot immediately after. After reboot the headphones say "Power on" and > > try connecting again, and fail the same way, and so on. > > > > From the Bluetooth packet dump it looks like the problem happens after > > bluetoothd sends AVRCP ListPlayerApplicationSettingAttributes message to > > the headphones. The headphones send Not Implemented response and then > > reboot. Both in the request and the response Wireshark shows warnings > > about encoding issues. > > > > I'm attaching a packet dump captured from one of the connection > > attempts. The ListPlayerApplicationSettingAttributes message is in > > packet 262 and the response is in packet 264. > > > > This is on Kubuntu 20.04. I tried bluez 5.53 from Kubuntu and revision > > 3146b7a0785758be2d4e894d44e99d29c0db983e from git master - the behavior > > is the same. > > > > I've also verified that the headphones do work on Windows 10. On that > > system, ListPlayerApplicationSettingAttributes is not present in the > > packet exchange. I can provide the packet dump from Windows, if needed. > > > > I hope this is the right place to report problems like this one. If not > > - sorry, and please point me to the right place. > > > > Thank you. > > I'll add that I can connect the headphones if I disable AVRCP by adding > --noplugin=avrcp to bluetoothd command line. Weird the ListPlayerApplicationSettingAttributes should only really be used when the remote device claims to be have target role but I doubt the headsets would be implementing that so perhaps we are not detecting this properly, do you have the HCI traces in btsnoop format? You can collect that with use of btmon. -- Luiz Augusto von Dentz