Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3681

qca 6174 for imx8

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Koi 11.0.0
    • None
    • None

      Hi ,

      qca6173 Bluetooth and wifi support could be added to imx8. Wifi is ok, for bluetooth.

      When edited /etc/systemd/system/bluetooth.target.wants/bluetooth.service

      to add

      ExecStartPre=-/usr/bin/hciattach /dev/ttymxc2 qualcomm

       

      Bluetooth on status bar is up, could slide the bluetooth enable button in settings. Could sync the contacts, send/receive  messages,  play media files from mobile paired,

      I could call phone  numbers from UI but no bluetooth audio is coming on the audio jack output during the call.

      There is some issue with audio, as it breaks frequently when played on BT media player.

      Also sometimes the responses from AGL UI is slow. Seems a performance issue, some kind of error logs are coming on journalctl -f. Not sure if its issue with BT drivers modules loaded or the another issue with AGL. Seeing error related memory buffers, please provide some pointers. 

      Attached the debug log file.. 

      Nov 09 15:40:27 imx8mqevk afbd-launcher[685]: app_id: mediaplayer
      Nov 09 15:40:28 imx8mqevk afbd-agl-service-bluetooth[452]: ERROR: [API Bluetooth-Manager] NULL mediaplayer_path [/usr/src/debug/agl-service-bluetooth/1.0+gitAUTOINC+633a991607-r0/git/binding/bluetooth-api.c:791,mediaplayer1_send_event]
      Nov 09 15:40:45 imx8mqevk ofonod[346]: Service level connection established
      Nov 09 15:40:45 imx8mqevk bluealsa-gst-helper[678]: [W][000000096.299875][remote-node.c:618 client_node_port_use_buffers()] Failed to mlock memory 0xffff88471000 32816: Cannot allocate memory
      Nov 09 15:40:45 imx8mqevk pipewire[765]: [W][000000096.301361][alsa-pcm.c:469 spa_alsa_set_format()] alsa-pcm hardware does double buffering, changing period_size to 512
      Nov 09 15:40:45 imx8mqevk bluealsa-gst-helper[678]: [W][000000096.423891][remote-node.c:618 client_node_port_use_buffers()] Failed to mlock memory 0xffff8839d000 32816: Cannot allocate memory
      Nov 09 15:40:45 imx8mqevk pipewire[765]: [W][000000096.439097][alsa-pcm.c:469 spa_alsa_set_format()] alsa-pcm hardware does double buffering, changing period_size to 512
      Nov 09 15:40:46 imx8mqevk bluetoothd[412]: Endpoint registered: sender=:1.11 path=/org/bluez/hci0/A2DP/SBC/Sink/3
      Nov 09 15:40:46 imx8mqevk bluealsa-gst-helper[678]: [W][000000097.598417][remote-node.c:618 client_node_port_use_buffers()] Failed to mlock memory 0xffff88306000 32816: Cannot allocate memory
      Nov 09 15:40:46 imx8mqevk bluealsa-gst-helper[678]: [W][000000097.598511][remote-node.c:618 client_node_port_use_buffers()] Failed to mlock memory 0xffff882fd000 32816: Cannot allocate memory
      [ 100.414895] input: Honor 8 (AVRCP) as /devices/virtual/input/input4
      Nov 09 15:40:49 imx8mqevk kernel: input: Honor 8 (AVRCP) as /devices/virtual/input/input4
      Nov 09 15:40:49 imx8mqevk systemd-logind[360]: Watching system buttons on /dev/input/event3 (Honor 8 (AVRCP))
      Nov 09 15:41:14 imx8mqevk bluetoothd[412]: /org/bluez/hci0/dev_F0_43_47_22_CB_CB/fd0: fd(37) ready
      Nov 09 15:41:14 imx8mqevk afbd-mediaplayer[844]: OpenType support missing for "Bitstream Vera Sans", script 16
      Nov 09 15:41:14 imx8mqevk afbd-mediaplayer[844]: OpenType support missing for "Bitstream Vera Sans", script 16

       

      ############### When trying to sync contacts from phone , its happening but little slow ############
      Nov 09 15:45:30 imx8mqevk afbd-persistence-binding[382]: ERROR: [API persistence] can't get key agl-service-bluetooth-pbap:"dev_F0_43_47_22_CB_CB": Item not found [/usr/src/debug/agl-service-data-persistence/1.0+gitAUTOINC+528edb1db2-r0/git/src/persistence-binding.c:267,xdb_get]
      Nov 09 15:45:30 imx8mqevk kernel: alloc_contig_range: [4af00, 4b560) PFNs busy
      Nov 09 15:45:30 imx8mqevk kernel: alloc_contig_range: [4b000, 4b660) PFNs busy

        # Subject Branch Project Status CR V

            scottm Scott Murray
            appuvivan Manivannan s
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: