TryRegisterWithBluez() 193 | Not registering with BlueZ because the adapter is not powered on yet

Hi there ,

I am trying test Bluetooth in mangoH yellow and came across this error . Did anyone else face this ? Please let me know the possible solution to overcome this error

root@swi-mdm9x28-wp:~# logread | grep Blue
Jan 6 07:25:39 swi-mdm9x28-wp user.info Legato: INFO | supervisor[2375]/supervisor T=main | app.c CreateFileLink() 2154 | Created file link ‘/legato/systems/current/apps/bluetoothServices/read-only/lib/libBluezDBus.so’ to '/legato/systems/current/appsWriteable/bluetoothServ
Jan 6 07:25:39 swi-mdm9x28-wp user.info Legato: INFO | supervisor[2375]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link ‘/legato/systems/current/apps/bluetoothServices/read-only/lib/libBluezDBus.so’ to '/legato/systems/current/appsWriteable/bluetoothSer
Jan 6 07:25:45 swi-mdm9x28-wp user.info Legato: INFO | bluetoothServices[2537]/bluetoothServicesComponent T=main | primary.c TryRegisterWithBluez() 193 | Not registering with BlueZ because the adapter is not powered on yet
Jan 6 07:25:53 swi-mdm9x28-wp user.info kernel: [ 199.510306] Bluetooth: ca033de8
Jan 6 07:25:53 swi-mdm9x28-wp user.info kernel: [ 199.510545] Bluetooth: ca033de8
Jan 6 07:25:53 swi-mdm9x28-wp user.info kernel: [ 199.510587] Bluetooth: ca033de0Bluetooth: ca033dd0
Jan 6 07:28:17 swi-mdm9x28-wp user.info kernel: [ 199.510655] Bluetooth: ca033dd8<7>[ 343.221282] gpio_map_name_to_num: find GPIO 78
Jan 6 07:35:29 swi-mdm9x28-wp user.info Legato: INFO | supervisor[2375]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link ‘/legato/systems/current/apps/bluetoothServices/read-only/lib/libBluezDBus.so’ to '/legato/systems/current/appsWriteable/bluetoothSer
Jan 6 07:35:29 swi-mdm9x28-wp user.info Legato: INFO | supervisor[2375]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link ‘/legato/systems/current/apps/bluetoothServices/read-only/lib/libBluezDBus.so’ to '/legato/systems/current/appsWriteable/bluetoothSer
Jan 6 07:35:29 swi-mdm9x28-wp user.info Legato: INFO | bluetoothServices[3779]/bluetoothServicesComponent T=main | primary.c TryRegisterWithBluez() 193 | Not registering with BlueZ because the adapter is not powered on yet
Jan 6 07:51:25 swi-mdm9x28-wp user.info Legato: INFO | supervisor[2375]/supervisor T=main | app.c CreateFileLink() 2154 | Created file link ‘/legato/systems/current/apps/bluetoothSensorTag/read-only/lib/libBluezDBus.so’ to '/legato/systems/current/appsWriteable/bluetoothSen
Jan 6 07:51:25 swi-mdm9x28-wp user.info Legato: INFO | supervisor[2375]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link ‘/legato/systems/current/apps/bluetoothSensorTag/read-only/lib/libBluezDBus.so’ to '/legato/systems/current/appsWriteable/bluetoothSe
Jan 6 07:53:05 swi-mdm9x28-wp user.info Legato: INFO | supervisor[2375]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link ‘/legato/systems/current/apps/bluetoothServices/read-only/lib/libBluezDBus.so’ to '/legato/systems/current/appsWriteable/bluetoothSer
Jan 6 07:53:05 swi-mdm9x28-wp user.info Legato: INFO | supervisor[2375]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link ‘/legato/systems/current/apps/bluetoothServices/read-only/lib/libBluezDBus.so’ to '/legato/systems/current/appsWriteable/bluetoothSer
Jan 6 07:53:05 swi-mdm9x28-wp user.info Legato: INFO | bluetoothServices[5649]/bluetoothServicesComponent T=main | primary.c TryRegisterWithBluez() 193 | Not registering with BlueZ because the adapter is not powered on yet
root@swi-mdm9x28-wp:~# hciconfig -a
root@swi-mdm9x28-wp:~# hciconfig hci0
Can’t get device info: No such device

Below are the details
root@swi-mdm9x28-wp:~# cat /etc/legato/version
Build created at 2021-01-23_01:18:05

Yocto build version: SWI9X06Y_02.36.07.00

Build host: jenkins
Versions:

  • firmware: SWI9X06Y_02.36.07.00
  • poky: yocto-2.5.3-35-gcbb677e
  • meta-openembedded: 8760fac
  • meta-swi: 57e4574
  • meta-swi-extras: (SWI9X06Y_02.36.06.00) c0aad6c
  • linux-quic-quic: 3.18.140
    root@swi-mdm9x28-wp:~# cm info
    Device: WP7702
    IMEI: 352653090204587
    IMEISV: 6
    FSN: 4L935170020310
    Firmware Version: SWI9X06Y_02.36.06.00 63d944 jenkins 2020/12/10 19:12:28
    Bootloader Version: SWI9X06Y_02.36.06.00 63d944 jenkins 2020/12/10 19:12:28
    MCU Version: 002.015
    PRI Part Number (PN): 9909138
    PRI Revision: 001.001
    Carrier PRI Name: GENERIC
    Carrier PRI Revision: 001.071_001
    SKU: 1104405
    Last Reset Cause: Reset, User Requested
    Resets Count: Expected: 158 Unexpected: 0
    root@swi-mdm9x28-wp:~# legato version
    19.11.5_c64ef35f39206fb49e2d2c5dfa91bdec
    root@swi-mdm9x28-wp:~#
    root@swi-mdm9x28-wp:~# app status
    [running] NtagDhubIf
    [running] atAirVantage
    [running] atQmiLinker
    [running] atService
    [running] audioService
    [running] avcService
    [running] battery
    [running] bluetoothSensorTag
    [running] bluetoothServices
    [running] button
    [running] buzzer
    [running] cellNetService
    [running] dataConnectionService
    [running] dataHub
    [running] environment
    [running] fwupdateService
    [running] gpioService
    [running] helloYellow
    [running] imu
    [running] leds
    [running] light
    [running] modemService
    [stopped] ntag
    [running] portService
    [running] positioningService
    [running] powerMgr
    [running] qmiAirVantage
    [running] secStore
    [stopped] smsInboxService
    [stopped] spiService
    [stopped] tools
    [running] vegasMode
    [stopped] voiceCallService
    root@swi-mdm9x28-wp:~#

@Akshaysk ,

Can you check power cycling the device

Hi @pankajsant1 ,
Even after multiple power cycles I have the same error .