Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1721508rdb; Sun, 19 Nov 2023 07:43:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvMNbVcr3a866ajbbrmLSmhXDxja0cHBdwBYtpGsI9TdLF4YHHDTXo7gcCan8Jmbn//MhA X-Received: by 2002:a05:6214:27cf:b0:66f:b009:fc3b with SMTP id ge15-20020a05621427cf00b0066fb009fc3bmr6143838qvb.5.1700408627470; Sun, 19 Nov 2023 07:43:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700408627; cv=none; d=google.com; s=arc-20160816; b=rwnS1LAqBVYFX+vD+gKLjMf7Qy58G+dqQhaurT7ikwTG7hc/gzTNBqC2i6NZWCS5fX Gf2KRiomZSZA6uLOrhj0NaIJtrRPCOhMTyGzdDkyxHnWIRbaXQS6n6sjQFt+rSh2lr2i Fu5fMLuFVv1kmcTVQWTyoNa/3SUogjdG6YCAC9dA+UbIWk/fuGatQ/vVFHHeWzMa9Uy1 YpNW44qgvGqabKp8lYo0pTTN7Zf9KBy9p33FmOMHn1V6PdjADofRV4lgekXUxvHzqiA4 aZ6ZdNW6uJt+IjVfVcsLKDfyAQKqFeqZ96SDG/0yw5Koils9rZwM7sbryp+Sg+BbbBto 816g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date; bh=4y/Pzb4xvgnG6Ejn2zSczrhszmMyaKt+bDfU7KkrHxM=; fh=VgGqWvfxriRkmgmsqbPA1KSmczujLMPvLXAcevtgzp0=; b=KoLAtxBwiQ5yaN/x7OXA33Lm15oXKIh2pYTajygf3OIHhnjl/eLsWTnkMoiAei04kE rgb++QKHZ3WdnZokiQ4w2y4UAbWc36LRyDZqWXjLgDBs2TxS5v189LeKkmpuYi/mlHur +adadYx97wplouOBWuLSW5IbBQMRmh7acCntjlIWIjvXLFWV7XZlJLLiEcwDFnBmBdBO 9GMocHQu69L3P2mnR4Ro8m1gGnXTbrXbeY7Jw6+sKyjINEZJlUOfch8xtAIu31SCsZEU HW3CSO7llO7hiRpeRF0p3atCrTwMiYpN+bclC6uvgTOlYT9Hlz9vjofXtABEV8FzU2UU +/IQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-bluetooth+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id s8-20020a05620a0bc800b00775a534c005si6131471qki.129.2023.11.19.07.43.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 07:43:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-123-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-123-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-123-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=harvard.edu 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 D59921C20934 for ; Sun, 19 Nov 2023 15:43:46 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9C6413AC4; Sun, 19 Nov 2023 15:43:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=none X-Original-To: linux-bluetooth@vger.kernel.org Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by lindbergh.monkeyblade.net (Postfix) with SMTP id D5162126 for ; Sun, 19 Nov 2023 07:43:33 -0800 (PST) Received: (qmail 1418121 invoked by uid 1000); 19 Nov 2023 10:43:32 -0500 Date: Sun, 19 Nov 2023 10:43:32 -0500 From: Alan Stern To: Paul Menzel Cc: Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-pm@vger.kernel.org, Hans de Goede Subject: Re: Qualcomm Atheros QCA61x4 keeps drawing 0.85 W despite Bluetooth being disable in GNOME Message-ID: <1f3cb0cc-4bb0-471f-a785-a5d237cd46a3@rowland.harvard.edu> References: <22494842-a785-4151-915d-6f3a677d96cb@molgen.mpg.de> Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <22494842-a785-4151-915d-6f3a677d96cb@molgen.mpg.de> On Sun, Nov 19, 2023 at 02:42:58PM +0100, Paul Menzel wrote: > [Fix typo in subject line] > > 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. > 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 > 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?) Enabling autosuspend means that the device _may_ go into runtime suspend when it's not being used. Whether it _will_ do so depends on the driver (btusb in this case). > 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? What is the output from grep . /sys/bus/usb/devices/1-3/power/* both with and without the btusb module loaded? Alan Stern > $ 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 > ```