Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4043647pxb; Mon, 21 Feb 2022 10:47:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJwtTdr3Lg7Sq1td9iNOJkgBb0dmn2Mze1ilsy5O83ydFVTudSoLJneZskhPlv4IQ8S5dG+z X-Received: by 2002:a17:902:db0f:b0:14d:d55b:672b with SMTP id m15-20020a170902db0f00b0014dd55b672bmr19740756plx.133.1645469249779; Mon, 21 Feb 2022 10:47:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645469249; cv=none; d=google.com; s=arc-20160816; b=QoqopeSXoIAy023LSMuihwuNQJnDrqc49kLd+YRCxMhIbyx9q83L1xk+t7jO8Dopm7 J3yQLmxOmhMDEEaann0oheFOzFrOZmsRmb5xrEZgrJlAiZhceX9vp06OvF7u9U/gQB84 KteqxmK0ATzfqOhx6ZLh02pGqxy8Jj+GsesRw+TnsQkV9AUp6ptWv5diddvuOpfu6/fI nhJibg+wq7ouxCGorffEL4LAClEvywdeBJqoG4yk5o1ho8TIzTD4z4u5uukiM+9Sgkye aTK7fL8xevP7cniiNojiah9c5bZXP2PX7S3i/QZKmxos2054h8hm0Z+gdhXNFkw0rL1J LGFg== 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 :content-language:references:cc:to:subject:from:user-agent :mime-version:date:message-id:dkim-signature; bh=KlPTgSK6szS9lcxY/xVKhSDXprVxiwHj841AYvFn2CQ=; b=snc7vllBE04moqaonGz6mrGKZbNfoG0DGVlOP0f2oqsVDiNLoncPfJghq4rR06gyeZ eI88rhqJwxNYXf27u39vZnOJBgD4ZZvzXSNJVy4T4UU5Erg5TWzKzD+70/CO0azA1t3Q UlrLBYK5HR5Yxw/1ak39XjFtwFkyQyhu7A2Zyn5K/WCb1pjzC2yIgtY4BEO3PDqN7NzD 9cCHMSlQl4d6dvg4EVV8BdQpag7eDEfz40rnYefjSdYzlloVr9r2g8pbT/mBk8ZBvLgF 76tNzs0dXLcFHhZX4WPzQ1HFCosx1gTIA/4HuALhKZtEHfYloycyfAEWdBZoHh2W217F 1Eqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=nrqN0IBb; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4si7136053plg.226.2022.02.21.10.46.59; Mon, 21 Feb 2022 10:47:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=nrqN0IBb; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1358978AbiBUNWc (ORCPT + 99 others); Mon, 21 Feb 2022 08:22:32 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:57554 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358973AbiBUNWb (ORCPT ); Mon, 21 Feb 2022 08:22:31 -0500 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5453620F7D for ; Mon, 21 Feb 2022 05:22:07 -0800 (PST) Received: by mail-wr1-x42a.google.com with SMTP id j22so980902wrb.13 for ; Mon, 21 Feb 2022 05:22:07 -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:from:subject:to:cc :references:content-language:in-reply-to:content-transfer-encoding; bh=KlPTgSK6szS9lcxY/xVKhSDXprVxiwHj841AYvFn2CQ=; b=nrqN0IBbS4RLc+xPqRNjGqPJF87i0sAQ3kPBo/0ifOVJkp+2DCVUyst7LWCIzH7dl+ m96X7vVVQJ8ck4EFaCXyZeBJiQUtjgPOqHJLHXVvOcOV6NTLVc8tA22qotEtbDZ/77vG XuW7WZmvBgVHRY9DIDTtdQOqGiYh7vV5OsPNpXXomsuR3b6yGkSLl53piuX7EVEtrLtL c7e6Ot6MtCdKBj26gqvnyOi3RK3Ge4RViZ5A277D/Agj2KN/gDBsjuxdq9WVBQlkqoa3 ZMW2gGbp5XynVagNz97OGJEEqxtmNygTwPeT5gCnnrgJAXZE1qh93KNSmSCgILI/Cdsb nG1Q== 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:from :subject:to:cc:references:content-language:in-reply-to :content-transfer-encoding; bh=KlPTgSK6szS9lcxY/xVKhSDXprVxiwHj841AYvFn2CQ=; b=kdMWLNOztoXIARlYEDthO3iOW9+JwwIk5b/Z6EeJby2AB5R1MwzvfoeubN/xW1jv7B BOFVlxE3EMm3knyUMXd2Fs9wibXAClt5gsmyaWYS3Ue6IlEc9tzU73AJSNh/Iog/SNwk sWs7Pa1F78bzxsJfnJNwlQCjPQJp0CIg34dKWXMfjXR3ut+pmbgA5IZi6BL4llPYi4dO RCHPaIy6CP2jvgbnJ8xMIf/JCoBhcsmGKRAQPdMk2HoSYJI5ELuWqkacMSjnbbdPJv3f 1n8plKwA7IzSe98GN4+E/wL7icYdDbcdiZ0rXwV32m/Bzwdr6ljAQhmTcMb+6iYdZKFQ ih/g== X-Gm-Message-State: AOAM532+6bkeHHC2XXWL20vZmkfEZDV4st5nLiLWIaZULDnoAIp6r8NR vzeSowrSmAjo9GfpGygpGe8= X-Received: by 2002:adf:ec07:0:b0:1e3:1ef2:5ff6 with SMTP id x7-20020adfec07000000b001e31ef25ff6mr15764502wrn.255.1645449725717; Mon, 21 Feb 2022 05:22:05 -0800 (PST) Received: from [192.168.1.10] (4e691f2a.skybroadband.com. [78.105.31.42]) by smtp.googlemail.com with ESMTPSA id b10sm57076719wrd.8.2022.02.21.05.22.04 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Feb 2022 05:22:05 -0800 (PST) Message-ID: <9ad505e1-7b59-7ebf-378b-23a6c0e25802@googlemail.com> Date: Mon, 21 Feb 2022 13:22:01 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 From: Chris Clayton Subject: Re: bug kernel 5.17, qualcom and intel adapters, unable to reliably connect to bluetooth devices To: Chris Murphy , Luiz Augusto von Dentz Cc: Bluetooth References: Content-Language: en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 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. Chris > > -- > Chris Murphy >