Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4412068pxb; Mon, 21 Feb 2022 20:46:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwv1TVKU1fegEA0Ud18R/lIeTipAmFcoJLT7vE3HCB82UujUK9tnCsI8eWNxJ8awNa63S1Z X-Received: by 2002:a17:902:8498:b0:14d:cca6:741 with SMTP id c24-20020a170902849800b0014dcca60741mr21750439plo.16.1645505170785; Mon, 21 Feb 2022 20:46:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645505170; cv=none; d=google.com; s=arc-20160816; b=SFjog8nXmccvuG2FcxsEa5UMwvg6IEpXRNr+98OX9KwNPatMvfokUH528/qyMHyf/R KrjglVEKx5G5KaTcah0g0u5FQ6SE3hWUduN1/072g9blKAxqSe0arbA7Iq7sP87Jy/w/ PsK5S8b6C+sZGh0V7Lr7rjMJfLJNeRK6NKq9byg1BIliebmvE7RfgZyKm9t1bP+Kmx5L 7fI80HbZMwneaHLp+gku5kjo4YZiyd9VQzpoiDy32AYjXBlWRRoqbgrx6QB8cNrH+kkY uhnfmwAzERLSIsIvzcTLUtDxHdJv0cCWOaltvvgBLSOOMOcUhbow+jaG2luoVwzQu2cf exmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=IxlNmcbAUC6m9TJ1XJwD5PZVwX0Lks0zd46MpjbzfE0=; b=OVwY0AK2lwPiBTQHHNgRiea1TolqYylLSDGgEZrRtSu0N3DSq8tIgoz9H2rZ8mHalu pzSn6Fx0Pz3+OspPtzYpkrkYcuT2n6AypQ7LHLBLDpAqjppaXP/6qa3oIHeAwc5QkKN+ yZzXJTpWS3NsAnUnMXS38nPeub15andEHycdsz/bPv4CL6b+BWeU0G2NXeyYLWzaptXi fdYAFaGX+bifss1swvUhyKWQ925BHXi9X1q32VVADXp6xBLVqAebn/Cw9B+nKYDrWqSH IdN0YB+HFqNjMuQAihYhwiq8Wi0sE9HlSqvLo0ffoiqgi+yIHvhU9n+JAVXJEKTBdPS8 aTeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=pAfy841s; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id p21si23277714plr.574.2022.02.21.20.46.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Feb 2022 20:46:10 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=pAfy841s; spf=softfail (google.com: domain of transitioning linux-bluetooth-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D4A51F73; Mon, 21 Feb 2022 20:28:56 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230487AbiBUUYW (ORCPT + 99 others); Mon, 21 Feb 2022 15:24:22 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:38858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229635AbiBUUYW (ORCPT ); Mon, 21 Feb 2022 15:24:22 -0500 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA6BF21812 for ; Mon, 21 Feb 2022 12:23:57 -0800 (PST) Received: by mail-wr1-x433.google.com with SMTP id f17so4139375wrh.7 for ; Mon, 21 Feb 2022 12:23:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=IxlNmcbAUC6m9TJ1XJwD5PZVwX0Lks0zd46MpjbzfE0=; b=pAfy841srCCQ8pm+jebzegbEnrROFKGVe/4RYSO6sMmyrvZN/jnozp5AczdMnPpovc cSEvhxGXWJ+pFmo3amZsP3u7ynmzxuc4eQKeiH7dTNA6IVo7HyqPDF6uyN4f8ytFPLLV b5nfADKIG4m1oUnnTq5qUjR1cNFb3Qtyv6mLj8DlVpMZNvxJiFN7V0ElugaSxNT+y9e7 NWIRmhgnqhb1ND2csHUgNcFhppZ5XVS4L/7DTLAvnCUoyZE71fVY3cpju0wzIKqb0N5t uCSa1HblJXkUkMAB3VqW9KtRRJXY77IdP/GY0R7HXUNLclGFe0RtQYsTBInlgnF9qEiy weZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=IxlNmcbAUC6m9TJ1XJwD5PZVwX0Lks0zd46MpjbzfE0=; b=ay1R9uv9/PPTpdpIlgxGd6qU8wYA85l10HyhNhHsokXCrpDhvkSdSaNQQO4Jd5ySHA Bwojx8Zu3VIn3EUcDMOpQTSvpm8b4ZGUa+Roq0h0wVHVwXEUN9l4DXRrKYM/03aXRwc7 qQHGM3X7dxVYJbX+0bND+NfFTPPXzY1POhHXNEkm0rQMzjmDMDgBfRoSY49+25HUtFmK B1FhlMvgCfqfL7FHXQSp3R4RjvzQCSIrcKTb4CT6HAiJncifbwU1BXzD2TPC5QFhT982 IMd+xa1HCZ7cJu5AnU9uwIJLsSymY3v3cLh85HBpmlwkr2eM557qGY6IAubIwnExMFM5 ejQA== X-Gm-Message-State: AOAM533QqZjAHsdI1iTn1OpJQrwCcxPNqkvBTJVN03vSRUWmeetf/2bb GqlYIyJ7d6IdJoEfxF7sAvc= X-Received: by 2002:a05:6000:178f:b0:1e6:f1ca:3f96 with SMTP id e15-20020a056000178f00b001e6f1ca3f96mr17095355wrg.145.1645475036414; Mon, 21 Feb 2022 12:23:56 -0800 (PST) Received: from [192.168.1.10] (4e691f2a.skybroadband.com. [78.105.31.42]) by smtp.googlemail.com with ESMTPSA id 11-20020a05600c26cb00b0037ff53511f2sm317425wmv.31.2022.02.21.12.23.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Feb 2022 12:23:55 -0800 (PST) Message-ID: Date: Mon, 21 Feb 2022 20:23:51 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: bug kernel 5.17, qualcom and intel adapters, unable to reliably connect to bluetooth devices Content-Language: en-GB To: Luiz Augusto von Dentz Cc: Chris Murphy , Bluetooth References: <9ad505e1-7b59-7ebf-378b-23a6c0e25802@googlemail.com> From: Chris Clayton In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Luiz, On 21/02/2022 17:11, Luiz Augusto von Dentz wrote: > Hi Chris, > > On Mon, Feb 21, 2022 at 5:22 AM Chris Clayton wrote: >> >> Sorry folks, clicked Send instead of Save Draft in my earlier message. >> >> Anyway... >> >> On 18/02/2022 03:49, Chris Murphy wrote: >>> On Thu, Feb 17, 2022 at 5:15 PM Luiz Augusto von Dentz >>> wrote: >>>> >>>> Hi Chris, >>>> >>>> On Thu, Feb 17, 2022 at 3:36 PM Chris Murphy wrote: >>>>> >>>>> OK I started over, and for now keeping the reporting constrained to >>>>> the hardware I personally have on hand. >>>>> >>>>> Hardware: >>>>> Lenovo Thinkpad X1 Carbon Gen 7 >>>>> Bus 001 Device 004: ID 8087:0aaa Intel Corp. Bluetooth 9460/9560 >>>>> Jefferson Peak (JfP) >>>>> Sony 1000XM3 headset >>>>> bluez-5.63-3.fc36.x86_64 >>>>> >>>>> kernel 5.17.0-rc4 >>>>> * remove the paired headset with bluetoothctl >>>>> * reset the headset so it's not longer paired either >>>>> * put the headset in pairing mode >>>>> * GNOME Settings Bluetooth panel sees -> LE_WH-1000XM3, Not Setup >>>>> * click on Not Setup and nothing happens >>>> >>>> Well from the logs it doesn't seem the GNOME Setting is trying to do >>>> anything, have you tried bluetoothctl> connect
>>> >>> `bluetoothctl scan on` does see the device >>> $ bluetoothctl pair 38:18:4C:24:2D:1D >>> Device 38:18:4C:24:2D:1D not available >>> $ bluetoothctl connect 38:18:4C:24:2D:1D >>> Device 38:18:4C:24:2D:1D not available >>> >>> $ journalctl -b -o short-monotonic --no-hostname | grep -i blue >>> https://drive.google.com/file/d/1x9EDvDx6XUowyRy2056n6uW-4PLx5KRb/view?usp=sharing >>> >>> >> >> I too am experiencing the problem that already-paired devices fail to connect to my laptop when running a 5.17 kernel. >> >> Extract from dmesg shows: >> [ 3.825684] Bluetooth: hci0: Waiting for firmware download to complete >> [ 3.825910] Bluetooth: hci0: Firmware loaded in 1551910 usecs >> [ 3.825910] Bluetooth: hci0: unexpected event 0xff length: 5 > 0 >> [ 3.825936] Bluetooth: hci0: Waiting for device to boot >> [ 3.839948] Bluetooth: hci0: unexpected event 0xff length: 7 > 0 >> [ 3.839973] Bluetooth: hci0: Device booted in 13715 usecs >> [ 3.840205] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-19-0-4.ddc >> [ 3.843002] Bluetooth: hci0: Applying Intel DDC parameters completed >> [ 3.843926] Bluetooth: hci0: Firmware revision 0.4 build 125 week 46 2021 >> >> Extract from lshw shows: >> description: Bluetooth wireless interface >> product: AX201 Bluetooth >> vendor: Intel Corp. >> physical id: e >> bus info: usb@1:e >> version: 0.02 >> capabilities: bluetooth usb-2.01 >> configuration: driver=btusb maxpower=100mA speed=12Mbit/s >> >> I don't know whether this will help, but I've found that the problem only occurs when boot from cold (i.e power on the >> laptop. If I then do a warm reboot, my bluetooh devices connect successfully. The significant difference may be that on >> a cold start, the firmware needs to loaded whereas on a warm reboot I see: >> >> [ 2.000989] Bluetooth: hci0: Firmware already loaded >> >> Hope this helps. I am happy to test any fixes or provide additional diagnostics, but I'm not subscribed so please cc me. > > What exactly doesn't work? Can't you power up the controller, etc? I have two bluetooth audio devices. One is a set of headphones and the other is a speaker. Both are paired with my laptop and, normally, both automatically connect to the laptop when I power them on. I've had the speaker for three years or more is has worked fine with all kernels that I have used up to and including the latest stable series - 5.16.10. The headphones were acquired a year or so ago and to date have worked with all kernels I have had installed since then. Consequently, this problem is a 5,17 regression. After a cold (power-on) boot with a 5.17 kernel, they do no connect automatically when switched on. Furthermore, if I use the blueman application to attempt to connect, that attempt fails. The only way that I have found to connect successfully is to do a reboot, after which the devices can connect automatically when I switch them on. I'm sorry, I have no idea what you mean by "Can't you power up the controller, etc?" Chris