Received: by 2002:ab2:6486:0:b0:1ef:eae8:a797 with SMTP id de6csp34096lqb; Fri, 15 Mar 2024 14:11:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU78gZjbPNBvXXvyRQ8wuO0VG3D8C0VPP3JbSk/Hd/cxBamkanDkz4wHZnwCQ4vWiRlC/3cr8cFmVGDQmntvLsx8UMltGs5Z98RS/jawA== X-Google-Smtp-Source: AGHT+IF56iOtb+F3v/0yh0zVm29RWdX8PimVQHjJCpJ/LEbyitbE0vvVxIa0P29JOsSeNoq+pUKa X-Received: by 2002:a17:902:f545:b0:1dc:af70:9f71 with SMTP id h5-20020a170902f54500b001dcaf709f71mr15022943plf.20.1710537079662; Fri, 15 Mar 2024 14:11:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710537079; cv=pass; d=google.com; s=arc-20160816; b=NA2NerZ5R0zytyGVUYYpc8xEbbeXyme+oQqbAN9uw5u1bNDNOApP4y2NCBohGA7aQ2 1ONFgAiypBWPDZMg0XKsg7nfGbiPbq+w9KMPwyOiBFfchcDkij7G/TEcM0CmYAH94KjL momwAFQHYwU5kh9ZYmhSJu8L1XIOQM5LWyNp4HdteXJfleOh3z4RbppOYyT07N6FR9Aw YZVaRhj80O1gVIR4JHMm32gohWAV/Ch4qP50GwTYYb1L4WIPXi6gPs3yCv8xGME0tAak CODO+2XAbpYP3u3mmXDoAhmViQ0OczYExVqpz2TdHxr6Z2oV6/QGOizeiUVmSxKmqOf2 40bA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=VeHcUIY5/RBgR37oAK6rtiMgtON6wL4RtufL5DorhXY=; fh=75b7odwffST6jwzaeXjp9IVD6unkZxzUkYU3cWXxOWs=; b=XVon7QeyxwFZTEoyWeB70614rlnh9tvyHzhmcdkRI+xCVMELJglwXFOH12SHRV1RXO VoOOk94kYyOeHIPtryJUX23Q3dx39j0WhZnnMcx4iyJg0JiSRE44oNtnj6QT1FZG9TgL Wem6pxKZHcuAKFdfwIoUgny4KfC8upXbd+eKZeKCsIjptc6EbS7bOCDCPi+HcUSK02oQ eulyHOGbtg8KLSY1c4rmI8wiBeTxHfBnYif4bXn9tAlxcboUPR9d+cI3usljL9LPxClR CEVX96iTjOz/qG6wWIY+Kw3jLZ4gKt30WoTCOk0xbvzEOoLkAwryPb/48ZerNnxSsxU9 6Fzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BH+bVP6K; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-2560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id p8-20020a1709026b8800b001dd526ff7casi4113943plk.438.2024.03.15.14.11.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Mar 2024 14:11:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth+bounces-2560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BH+bVP6K; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-bluetooth+bounces-2560-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-bluetooth+bounces-2560-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id C6AF6B2188F for ; Fri, 15 Mar 2024 21:11:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 609704F8A1; Fri, 15 Mar 2024 21:11:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="BH+bVP6K" X-Original-To: linux-bluetooth@vger.kernel.org Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0AD917F5 for ; Fri, 15 Mar 2024 21:11:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710537069; cv=none; b=UxgHM7eI+kPwMUVH/MPyzeJos19y/OPOSc+qbiVcts4dF7H4s129biiRUdqFZ18v4wWfqC08utNYVK//VHqLBuyomf/EFcxxFMvBfto2UW+d1NT5arrGo99C0rwcMw2jIDdKDawrMjX30cmM4zJdZsf14L1/wDjlJgrAnQsWqC0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710537069; c=relaxed/simple; bh=vmVrJTM05U1UNR8w2msyFi3Sc8aecWnQlR0EDkMd/M0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=NwpawDXI6PxJ5VpzdgRXg78fltL3mkUb2jmSjEXg+m4OjsmF0LMO9qRNWpC4b+bifOdHE9wrje534+hbai2EXC/uPepH+KaE5dCJUf5hilQLtMuHjQltOsBlivsiZ1w1+QTkirb1l9oQq9rUmzmb3VYUvHNmqu2nSUeW9uLneVs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=BH+bVP6K; arc=none smtp.client-ip=209.85.208.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2d28387db09so35197511fa.0 for ; Fri, 15 Mar 2024 14:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710537065; x=1711141865; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=VeHcUIY5/RBgR37oAK6rtiMgtON6wL4RtufL5DorhXY=; b=BH+bVP6KB9JxCJOlYgZTZKDpHgwlK1hG9P+Ly0JtXNJaZtgujMyDnGov9WJPmuyn/R jcIngmjfUf4K3PFSfgGzLpHTIToW8rzUHSnboqh62q8eJB7f0bNbH1DIKtFxX2E4fV9U LtARHE5Q7qoNEvnXrWmiJhBUQsqyazHSo3riYRfE+LM3DTZsWAwJSoWO6gXWGB7fdKWy sQ7JPUu4ntFnQlC5BXkLCd+5odNhGwYW1v1dKBNZC/wn38F1+DCZ1oHnJjj+scDWKtkC MkTK3fwGLtSHDOgDlxmOcrtYsqRzUBBjSOP6BH+sauru4WDx4Kuf10kqdPx5FDCpUJN1 0JhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710537065; x=1711141865; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VeHcUIY5/RBgR37oAK6rtiMgtON6wL4RtufL5DorhXY=; b=Dk6Yc1lbIxeI7Gj/9JYGw9ac3y8QaZ7q2EJhwdF3XB5vRBcOMO+G6ZJxuw4nyQg3wH 70kybId+X9K9aW8TZzCEBBmOFcDq8p4DNFbGg+VeDfdI8MzRQUxJzid6WJQpkWyZ4U6w y4E8BmzXawWBXmGGj+69ZG4XGs6b3LoHXdHSmZ5QkiA8wK6C5ZPLcCmokIMMW/QKFDvq zcxwtANmtij5WeTBwb3UYaDN8xrQL6BCW+WK6CS6A8QDTKAfqUQwObRHBkqxyhBoS5s+ 2WcCjHJotupsQi+9jINC1ZQh/3q6n+gqhqf0HxG7Ux7ArFOmS1sacXO1PDE6DMV2j0hj sRnA== X-Gm-Message-State: AOJu0Yyw9A5cYKgS2xm8oRuYncZl5+4NdpelQLJC4FtpQuvPrNcKTvbx +SViajXNpw5ABYgPMuIc+VWhqz4TOSIIYPzJakJEE/Q63rZBOGR18CBrVwKbk3F3grKTTpDHpY2 ThzuheAwE9aNPKkgOyS7PtgrwrBtoVBHUydY= X-Received: by 2002:a2e:9581:0:b0:2d4:3dfc:af88 with SMTP id w1-20020a2e9581000000b002d43dfcaf88mr2613839ljh.7.1710537064290; Fri, 15 Mar 2024 14:11:04 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-bluetooth@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Luiz Augusto von Dentz Date: Fri, 15 Mar 2024 17:10:51 -0400 Message-ID: Subject: Re: Bluetoothctl Fail when typing power on To: Chris Laplante Cc: "linux-bluetooth@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Chris, On Fri, Mar 15, 2024 at 4:07=E2=80=AFPM Chris Laplante wrote: > > Hi Luiz, > > Thanks for the quick response. > > I am using btattach. > > Btmon shows Bluetooth failed to set mode: Failed > > It seems like there is a lot of messaging going on so communication HW wi= se appears ok. Just scroll down to the end: < HCI Command: Reset (0x03|0x0003) plen 0 #83 [hci0] 37.50= 5694 > HCI Event: Hardware Error (0x10) plen 1 #84 [hci0] 37.50= 7119 Code: 0x00 Btw, it might be a good idea to attempt with a newer kernel since 5.15 is not that new compared to BlueZ 5.65, so you may run into incompatibilities depending on what you want to do, and if you are looking into central+peripheral that landed after 5.15 was released. > Chris > > -----Original Message----- > From: Luiz Augusto von Dentz > Sent: Friday, March 15, 2024 3:48 PM > To: Chris Laplante > Cc: linux-bluetooth@vger.kernel.org > Subject: Re: Bluetoothctl Fail when typing power on > > EXTERNAL EMAIL: Be careful with attachments and links. > > Hi Chris, > > On Fri, Mar 15, 2024 at 3:40=E2=80=AFPM Chris Laplante wrote: > > > > In BlueZ 5.65 I am able to attach. When I go into bluetoothctl I can se= e my device address. When I type power on I see the following error: > > > > Failed to set power on: org.bluez.Error.Failed > > > > I have found a few threads online where people had the same issue but t= here doesn't seem to be any common denominator. > > > > I have tried rfkill list and nothing is blocked. Regardless I still typ= e rfkill unblock Bluetooth but I still get the error. > > > > I have tried to stop and start the Bluetooth service. > > > > systemctl stop bluetooth.service > > systemctl start bluetooth.service > > > > IS there something in the build environment that may be missing? Any su= ggestions? > > Well if it can't be powered then there is something wrong at kernel level= , does btmon show anything? Are you using btattach to set it up? > > > Thanks! > > Chris > > THE INFORMATION CONTAINED IN THIS DOCUMENT IS OF A PROPRIETARY NATURE > > AND IS INTENDED TO BE KEPT CONFIDENTIAL BETWEEN THE SENDER AND THE > > INTENDED RECIPIENT. IT MAY NOT BE REPRODUCED OR USED WITHOUT EXPRESS > > WRITTEN PERMISSION OF EZURIO > > > > > -- > Luiz Augusto von Dentz > THE INFORMATION CONTAINED IN THIS DOCUMENT IS OF A PROPRIETARY NATURE AND= IS INTENDED TO BE KEPT CONFIDENTIAL BETWEEN THE SENDER AND THE INTENDED RE= CIPIENT. IT MAY NOT BE REPRODUCED OR USED WITHOUT EXPRESS WRITTEN PERMISSIO= N OF EZURIO --=20 Luiz Augusto von Dentz