Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1664232rdb; Sun, 19 Nov 2023 05:41:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEqHwi2Bj/L9dRh6vnYWQ5cyVDIaLSpWigaNHnpuJvl9+KNomsgJSjY2eNonfoz1g7t2OFk X-Received: by 2002:a81:790a:0:b0:5ca:4b49:66d2 with SMTP id u10-20020a81790a000000b005ca4b4966d2mr441706ywc.17.1700401268091; Sun, 19 Nov 2023 05:41:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700401268; cv=none; d=google.com; s=arc-20160816; b=l+NQTrA5SsGBWeKMvgoPsPqet3UTY8SwjnMh6AkLz1CsqpGveO91H3yd/Bv1K/aHVF U+oUy92jPCFp2waQ9XiiNJHIK/AYcIHgcRFpQAb3eFactYhO+VWIGaUrcIrB3zbfjGSx W/8O2R9a+PWB7wq+sqR46DZ/Sj/+ulDFXhkl+9Eor/tQfzQGffAgjPf+xETaFS4J5XVA AZS7oQwGaz25GfEiDX2aDmjH9soj2y2RhRIFty5Cgw+PqCzuZhcz4ytd2Z8hBMuEH40S OIesKnfR9StVgJ0rdAuOVR6qlMbdwXYsfRB89WUyFwwt/qdo5cyiQq1w657aPTYBAOWJ b00w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:subject:from:cc:to:content-language :user-agent:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:date:message-id; bh=o4Z4Qo/8MpaaLuKV1o2zRJD279TZ660m21eFnPDCpVA=; fh=KFndo3mJ8+9N4j2OCpjrKmUTR2B8ijZcGFEuUetkfXs=; b=i1ESIs4I60xU8BYQgRKp9DksEBURo4DUUWkBikQfl4S0nwv2nzYJj8QaqAzx780pRf tlCYkYwybYij2OLjmtnhUUsMXT4qKL/ZnCyHBtVHTL3jah1eqp3A0lIf/axIrpI2VLYn pfJ9NjQnB25pzbW3IupT8ijm+BXrJfY50aSOBSRyhQ44T+gCC9x8Rkh00W+/ChHLMgmW kehafa4gMh8Bwim84xYoovnB2VF1xtURW5OH2ebLQI9nmaBlpf7Hkj4xXj9gfKrflMCh Xp9KVGCh57wkcwTnLj4wsm9NPbq5kjAiJ8+iTLFnRF7TeplR8dF/DdUi6O4yRWx52+3j lHzA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth+bounces-120-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-120-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id i2-20020a0cfd22000000b0065d009ecc5bsi5438671qvs.241.2023.11.19.05.41.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 05:41:08 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-120-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-bluetooth+bounces-120-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-120-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id D268A1C20432 for ; Sun, 19 Nov 2023 13:41:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0492711C8B; Sun, 19 Nov 2023 13:40:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=none X-Original-To: linux-bluetooth@vger.kernel.org Received: from mx3.molgen.mpg.de (mx3.molgen.mpg.de [141.14.17.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 108C1E6; Sun, 19 Nov 2023 05:40:49 -0800 (PST) Received: from [192.168.0.183] (ip5f5af668.dynamic.kabel-deutschland.de [95.90.246.104]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id D6F0561E5FE01; Sun, 19 Nov 2023 14:40:35 +0100 (CET) Message-ID: Date: Sun, 19 Nov 2023 14:40:35 +0100 Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz Cc: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-pm@vger.kernel.org, Hans de Goede From: Paul Menzel Subject: Qulcomm Atheros QCA61x4 keeps drawing 0.85 W despite Bluetooth being disable in GNOME Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Dear Linux folks, On the Dell XPS 13 9360 from 2016, BIOS 2.21.0 06/02/2022, with Debian sid/unstable and Debian’s Linux 6.5.10 kernel, I am trying to extend the run-time with battery, at under 50 % of it’s original capacity, and I am using PowerTOP 2.15. [ 0.000000] microcode: updated early: 0xf0 -> 0xf4, date = 2023-02-22 [ 0.000000] Linux version 6.5.0-4-amd64 (debian-kernel@lists.debian.org) (gcc-13 (Debian 13.2.0-6) 13.2.0, GNU ld (GNU Binutils for Debian) 2.41) #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) […] [ 0.000000] DMI: Dell Inc. XPS 13 9360/0596KF, BIOS 2.21.0 06/02/2022 […] [ 15.646414] usbcore: registered new interface driver btusb [ 15.648188] ath10k_pci 0000:3a:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0 [ 15.649555] bluetooth hci0: firmware: direct-loading firmware qca/rampatch_usb_00000302.bin [ 15.650018] Bluetooth: hci0: using rampatch file: qca/rampatch_usb_00000302.bin [ 15.650020] Bluetooth: hci0: QCA: patch rome 0x302 build 0x3e8, firmware rome 0x302 build 0x111 Although radio/wireless devices are turned off in GNOME, PowerTOP shows the Bluetooth device drawing 0.85 W of energy: 848 mW 100.0% Device USB device: usb-device-0cf3-e300 $ lsusb -d 0cf3:e300 Bus 001 Device 002: ID 0cf3:e300 Qualcomm Atheros Communications QCA61x4 Bluetooth 4.0 $ lspci -nn -s 3a:00.0 3a:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32) After unloading the module `btusb`, the entry disappears from the PowerTOP list after a while. usbcore: deregistering interface driver btusb Auto-suspend was enabled for the device. (Though it shouldn’t have mattered as it was disabled in GNOME?) Anyways, have you heard of such an issue? Can I provide more information, to get it to not use any energy while being disable in GNOME? Kind regards, Paul ``` $ lspci -nn 00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:5904] (rev 02) 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 02) 00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 02) 00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21) 00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21) 00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] (rev 21) 00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61] (rev 21) 00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21) 00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 [8086:9d10] (rev f1) 00:1c.4 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 [8086:9d14] (rev f1) 00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 [8086:9d15] (rev f1) 00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 [8086:9d18] (rev f1) 00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-LP LPC Controller [8086:9d58] (rev 21) 00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21) 00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21) 00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21) 01:00.0 PCI bridge [0604]: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] [8086:1576] 02:00.0 PCI bridge [0604]: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] [8086:1576] 02:01.0 PCI bridge [0604]: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] [8086:1576] 02:02.0 PCI bridge [0604]: Intel Corporation DSL6340 Thunderbolt 3 Bridge [Alpine Ridge 2C 2015] [8086:1576] 39:00.0 USB controller [0c03]: Intel Corporation DSL6340 USB 3.1 Controller [Alpine Ridge] [8086:15b5] 3a:00.0 Network controller [0280]: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32) 3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader [10ec:525a] (rev 01) 3c:00.0 Non-Volatile memory controller [0108]: SK hynix PC300 NVMe Solid State Drive 512GB [1c5c:1284] $ lspci -t -[0000:00]-+-00.0 +-02.0 +-04.0 +-14.0 +-14.2 +-15.0 +-15.1 +-16.0 +-1c.0-[01-39]----00.0-[02-39]--+-00.0-[03]-- | +-01.0-[04-38]-- | \-02.0-[39]----00.0 +-1c.4-[3a]----00.0 +-1c.5-[3b]----00.0 +-1d.0-[3c]----00.0 +-1f.0 +-1f.2 +-1f.3 \-1f.4 $ lsusb -t /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 10000M |__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M |__ Port 1: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/12p, 480M |__ Port 3: Dev 2, If 0, Class=Wireless, Driver=, 12M |__ Port 3: Dev 2, If 1, Class=Wireless, Driver=, 12M |__ Port 4: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M |__ Port 5: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M |__ Port 5: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M ```