• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Music app, Bluetooth and 3.5mm headphone jack controls?

Scheduled Pinned Locked Moved Support
7 Posts 4 Posters 594 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P Offline
      poVoq
      last edited by 10 Nov 2020, 14:46

      I noticed that with the UT music app I can't use neither the Bluetooth nor 3.5mm headphone jack controls to skip songs or pause playback.

      Both is working with Android on the same phone (OnePlus3).

      Is that a feature that isn't implemented, or might that be a bug?

      Fairphone 5 (waiting for port)

      1 Reply Last reply Reply Quote 0
      • D Offline
        dobey
        last edited by 10 Nov 2020, 17:26

        For 3.5mm jack controls, I think it is not implemented (there are no keypress events coming from the kernel, which leads me to believe there is something missing still). For bluetooth, I think the main issue is that multimedia control keys handling is not yet implemented. There is a WIP PR for it, so perhaps we can get it in soon. I haven't had time myself to give it a proper review yet.

        1 Reply Last reply Reply Quote 1
        • P Offline
          poVoq
          last edited by 11 Nov 2020, 00:00

          Ok, cool. Bluetooth is IMHO more important as it allows hands free use in a car. I hope it gets added to the todo for OTA-15.

          Fairphone 5 (waiting for port)

          A 1 Reply Last reply 11 Nov 2020, 11:21 Reply Quote 0
          • A Offline
            AppLee @poVoq
            last edited by 11 Nov 2020, 11:21

            @poVoq
            As stated by Dobey in another thread, bluetooth improvement requires updating to 20.04 to be able to use the latest version for bluez and pulseaudio IIRC.

            E 1 Reply Last reply 13 Nov 2020, 14:52 Reply Quote 0
            • E Offline
              ernest @AppLee
              last edited by 13 Nov 2020, 14:52

              @AppLee said in Music app, Bluetooth and 3.5mm headphone jack controls?:

              tated by Dobey in another thread, bluetooth improvement requires updating to 20.04 to be able to use the latest version for bluez and pulseaudio IIRC

              I'm not sure that we need 20.04 to run the latest bluez version. I'm running the bluez 5.53 version on ubuntu touch in order use my speaker (any other lower version failed on the pairing).
              the 5.53 version is available there : https://ci.ubports.com/job/ubports/job/bluez-packaging/job/xenial_-_even-newer-bluez/

              So far I didn't see any drawback.

              A 1 Reply Last reply 13 Nov 2020, 15:01 Reply Quote 1
              • A Offline
                AppLee @ernest
                last edited by 13 Nov 2020, 15:01

                @ernest
                I know very little about bluetooth, just sharing what I read somewhere else... 🙂

                I was refering to this message from dobey:
                https://forums.ubports.com/topic/5150/bluetooth-working-devices-with-ut/9

                I think pulseaudio might be deeper integrated to the OS than bluez hence...

                D 1 Reply Last reply 13 Nov 2020, 18:23 Reply Quote 1
                • D Offline
                  dobey @AppLee
                  last edited by 13 Nov 2020, 18:23

                  @AppLee said in Music app, Bluetooth and 3.5mm headphone jack controls?:

                  I think pulseaudio might be deeper integrated to the OS than bluez hence...

                  Yes, there are patches for pulseaudio to work on Android HAL (hybris) and to provide the trust prompt for microphone, which are undoubtedly broken by newer pulseuadio versions which have better bluetooth support.

                  1 Reply Last reply Reply Quote 0
                  2 out of 7
                  • First post
                    2/7
                    Last post