UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. miousername
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 4
    • Groups 0

    miousername

    @miousername

    5
    Reputation
    261
    Profile views
    4
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online
    Location Arezzo

    miousername Unfollow Follow

    Best posts made by miousername

    • RE: "The" Bluetooth Thread

      Hello Guys,

      I did some tests about bluetooth and I would to share some results for help in solving this annoying bug.
      I have a Meizu pro 5 with 15.04r3and as I said before with Bluetooth Music Player is working fine but calls sound is disturbed.
      I realized that:

      1. Music Player comunincates with bluetooth headphone trough a2dp_sink (ACL) protocol;
      2. SCO (HSP/HFP) protocol is not working.

      I did some modification to the file:

      /etc/pulse/touch.pa

      I commented out the load of the two module-null-sink and I modified the module-bluez5-discover
      in the following way:

      load-module module-bluez5-discover headset=both

      With this modification I tryied to reproduce some wav tracks with the tools paplay in this way:

      pactl set-card-profile <bluetooth card number> a2sp_sink
      paplay -v -d bluez_sink<my bluetooth card macaddres> tracks.wav

      Sound it's ok, and with hciconfig I saw ACL TX packtes growing, in this way:

      pactl set-card-profile <bluetooth card number> headsset_head_unit
      paplay -v -d bluez_sink<my bluetooth card macaddres> tracks.wav

      paplay hangs and with hciconfig not packtes are sent. So I apply this patch to broadcom bluetooth chip:

      https://freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/

      hcitool cmd 0x3F 0x01C 0x01 0x02 0x00 0x01 0x01

      And I try again to reproduce the track with this command:
      pactl set-card-profile <bluetooth card number> headsset_head_unit
      paplay -v -d bluez_sink<my bluetooth card macaddres> tracks.wav

      Finally it works and with hciconfig I saw TX SCO packets growing.
      Then I try to start a Call with telephony-service but not sound!
      Can you say me which is the default sink for telephony-service??

      Conclusion: I think that the sound it's disturbed because OFONO packets are sent to "bluetooth haedset" with ACL protocol and not SCO protocol as it should.

      I hope that this can help you. I continue to debug the problem and I hope to find a solution.

      Best Regards

      posted in OS
      miousernameM
      miousername
    • RE: Welcome to the UBports community! Introduce yourself here!

      Hi,
      my name is miousername and I'm an embedded kernel developer. I use ubports 15.04 r3 on the meizu pro 5. This is my primary phone. Thanks for supporting this wonderfull project!

      posted in General
      miousernameM
      miousername

    Latest posts made by miousername

    • RE: "The" Bluetooth Thread

      Hello Guys,

      I did some tests about bluetooth and I would to share some results for help in solving this annoying bug.
      I have a Meizu pro 5 with 15.04r3and as I said before with Bluetooth Music Player is working fine but calls sound is disturbed.
      I realized that:

      1. Music Player comunincates with bluetooth headphone trough a2dp_sink (ACL) protocol;
      2. SCO (HSP/HFP) protocol is not working.

      I did some modification to the file:

      /etc/pulse/touch.pa

      I commented out the load of the two module-null-sink and I modified the module-bluez5-discover
      in the following way:

      load-module module-bluez5-discover headset=both

      With this modification I tryied to reproduce some wav tracks with the tools paplay in this way:

      pactl set-card-profile <bluetooth card number> a2sp_sink
      paplay -v -d bluez_sink<my bluetooth card macaddres> tracks.wav

      Sound it's ok, and with hciconfig I saw ACL TX packtes growing, in this way:

      pactl set-card-profile <bluetooth card number> headsset_head_unit
      paplay -v -d bluez_sink<my bluetooth card macaddres> tracks.wav

      paplay hangs and with hciconfig not packtes are sent. So I apply this patch to broadcom bluetooth chip:

      https://freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Bluetooth/

      hcitool cmd 0x3F 0x01C 0x01 0x02 0x00 0x01 0x01

      And I try again to reproduce the track with this command:
      pactl set-card-profile <bluetooth card number> headsset_head_unit
      paplay -v -d bluez_sink<my bluetooth card macaddres> tracks.wav

      Finally it works and with hciconfig I saw TX SCO packets growing.
      Then I try to start a Call with telephony-service but not sound!
      Can you say me which is the default sink for telephony-service??

      Conclusion: I think that the sound it's disturbed because OFONO packets are sent to "bluetooth haedset" with ACL protocol and not SCO protocol as it should.

      I hope that this can help you. I continue to debug the problem and I hope to find a solution.

      Best Regards

      posted in OS
      miousernameM
      miousername
    • RE: "The" Bluetooth Thread

      Hi,
      i've a meizu pro 5, bluetooth is working fine with my music app but no with phone app, I hear a lot of noise and I notice that bluetooth speaker controller doesn't come up when I try to adjust volume with the physical buttons during a call. Is it possible that phone app doesn't use the right audio device during bluetooth connection?
      thanks

      posted in OS
      miousernameM
      miousername
    • RE: Welcome to the UBports community! Introduce yourself here!

      Hi,
      my name is miousername and I'm an embedded kernel developer. I use ubports 15.04 r3 on the meizu pro 5. This is my primary phone. Thanks for supporting this wonderfull project!

      posted in General
      miousernameM
      miousername
    • RE: Meizu Pro5 fastboot mode locked

      Hi,
      thanks for ubuntu touch, I had same problems with a meizu pro 5 with flyme 6.0.0G firmware installed. I solved installing previous flyme firmware from here:

      http://dl-res.flymeos.com/Firmware/Flyme/PRO_5/5.1.11.0G/intl_stable/20161028020453/22a9e4dc/update.zip

      then I installed beta firmware from xda developer site and I unloked the bootloader.

      posted in Support
      miousernameM
      miousername