2024-03-15 19:40:11

by Chris Laplante

[permalink] [raw]
Subject: Bluetoothctl Fail when typing power on

In BlueZ 5.65 I am able to attach. When I go into bluetoothctl I can see 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 there doesn't seem to be any common denominator.

I have tried rfkill list and nothing is blocked. Regardless I still type 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 suggestions?

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


2024-03-15 19:49:19

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: Bluetoothctl Fail when typing power on

Hi Chris,

On Fri, Mar 15, 2024 at 3:40 PM Chris Laplante
<[email protected]> wrote:
>
> In BlueZ 5.65 I am able to attach. When I go into bluetoothctl I can see 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 there doesn't seem to be any common denominator.
>
> I have tried rfkill list and nothing is blocked. Regardless I still type 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 suggestions?

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

2024-03-15 20:07:41

by Chris Laplante

[permalink] [raw]
Subject: RE: Bluetoothctl Fail when typing power on

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 wise appears ok.

Chris

-----Original Message-----
From: Luiz Augusto von Dentz <[email protected]>
Sent: Friday, March 15, 2024 3:48 PM
To: Chris Laplante <[email protected]>
Cc: [email protected]
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 PM Chris Laplante <[email protected]> wrote:
>
> In BlueZ 5.65 I am able to attach. When I go into bluetoothctl I can see 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 there doesn't seem to be any common denominator.
>
> I have tried rfkill list and nothing is blocked. Regardless I still type 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 suggestions?

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 RECIPIENT. IT MAY NOT BE REPRODUCED OR USED WITHOUT EXPRESS WRITTEN PERMISSION OF EZURIO


Attachments:
Power On Failure btmon.txt (50.03 kB)
Power On Failure btmon.txt

2024-03-15 21:11:19

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: Bluetoothctl Fail when typing power on

Hi Chris,

On Fri, Mar 15, 2024 at 4:07 PM Chris Laplante
<[email protected]> 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 wise appears ok.

Just scroll down to the end:

< HCI Command: Reset (0x03|0x0003) plen 0 #83 [hci0] 37.505694
> HCI Event: Hardware Error (0x10) plen 1 #84 [hci0] 37.507119
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 <[email protected]>
> Sent: Friday, March 15, 2024 3:48 PM
> To: Chris Laplante <[email protected]>
> Cc: [email protected]
> 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 PM Chris Laplante <[email protected]> wrote:
> >
> > In BlueZ 5.65 I am able to attach. When I go into bluetoothctl I can see 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 there doesn't seem to be any common denominator.
> >
> > I have tried rfkill list and nothing is blocked. Regardless I still type 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 suggestions?
>
> 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 RECIPIENT. IT MAY NOT BE REPRODUCED OR USED WITHOUT EXPRESS WRITTEN PERMISSION OF EZURIO



--
Luiz Augusto von Dentz