Not able to switch ON the Bluetooth after restarting Raspberry pi4 in the AGL-demo image

Fixed

Description

When the agl-demo image is run on raspberry pi4 for the first time, Bluetooth is working properly but when the raspberry pi4 is restarted or powered OFF then after powering it ON, We are not able to switch ON the Bluetooth from the settings window in AGL home screen.

The error log while switching ON bluetooth is below:

qml: Bluetooth set to true

failed bt verb: "adapter_state"

 qml: Bluetooth set to false

Reply Failed received for verb: "adapter_state"

failed bt verb: "adapter_state"

Reply Failed received for verb: "adapter_state"

 

Note: I have already included pi-bluetooth in the Raspberry pi 4 image to enable bluetooth.

Environment

lamprey - 12.0.0 source meta-agl/scripts/aglsetup.sh -m raspberrypi4 agl-demo agl-devel agl-appfw-smack agl-demo-platform

Attachments

2

Activity

Show:

Walt Miner 
December 8, 2021 at 3:06 PM

Close for LL 12.1.0

Priyank Shrivastava 
September 17, 2021 at 5:36 AM

Thank you for your support. I will check at my end.

Scott Murray 
September 7, 2021 at 3:22 PM

I'm seeing what I believe is the same issue with the Bluetooth on the AGL reference hardware WLAN card, I suspect the last go around of changes to agl-service-bluetooth to try to handle new HCI devices appearing after BlueZ has started are not working in some fashion.  I will see if I can figure out what's going on.

Priyank Shrivastava 
August 31, 2021 at 3:11 PM

Details

Assignee

Reporter

Labels

Contract ID

Hardware Platform(s) Affected

Raspberry Pi 4

Priority

Created August 30, 2021 at 8:58 AM
Updated December 8, 2021 at 3:06 PM
Resolved September 15, 2021 at 6:47 PM