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

    RGB LED Notification bridded to White only [MEIZU Pro5]

    Scheduled Pinned Locked Moved OS
    7 Posts 2 Posters 706 Views 2 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.
      • AlainW94A Offline
        AlainW94
        last edited by

        Hi, Do you know why the driver for the RGB Notification LED on the Meizu Pro5 was bridded to White only ? I can see that the driver was modified and only the White color is still active.

        The driver is there :

        https://github.com/ubports/kernel_turbo/blob/master/drivers/leds/leds-lp5562.c

        Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
        Never forget that they are much more ideas inside two heads than in one...

        AlainW94A 1 Reply Last reply Reply Quote 0
        • AlainW94A Offline
          AlainW94 @AlainW94
          last edited by

          @AlainW94 No body's able to help me ? πŸ™‚

          Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
          Never forget that they are much more ideas inside two heads than in one...

          1 Reply Last reply Reply Quote 0
          • flohackF Offline
            flohack
            last edited by

            How can we know, its the original Meizu kernel driver, nobody in UBports changed anything there...

            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

            AlainW94A 1 Reply Last reply Reply Quote 0
            • AlainW94A Offline
              AlainW94 @flohack
              last edited by

              @Flohack Right ... Then I will try to modify it, having the RGB notification on a phone is very useful. Actually the Pro5 isn't using it for reporting low battery, charging, and custom colors for notifications. This phone is equipped with a 4 channel LED (R,G,B and White) as I can understand from the driver, they are driving only the White channel.

              Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
              Never forget that they are much more ideas inside two heads than in one...

              1 Reply Last reply Reply Quote 0
              • flohackF Offline
                flohack
                last edited by

                A more global solution would be appreciated, since the other phones also just use e.g. green for notifications, but I suggested one tzime to have blue if bluetooth is switched on etc. A nice addition to the libhybris API could be to set colors and blink intervals and the driver does the rest πŸ™‚

                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                AlainW94A 1 Reply Last reply Reply Quote 1
                • AlainW94A Offline
                  AlainW94 @flohack
                  last edited by

                  @Flohack oh I was thinking that only the Meizu Pro5 was missing notifications features ! I will first modify my driver to enable the rgb function then ... I will try to take care of the API for everybody .

                  Meizu Pro 5, Meizu Pro 5, Meizu Pro 5, Meizu Pro 5 (Yes I have 4 of them)
                  Never forget that they are much more ideas inside two heads than in one...

                  flohackF 1 Reply Last reply Reply Quote 1
                  • flohackF Offline
                    flohack @AlainW94
                    last edited by

                    @AlainW94 Well the API currently misses not the whole notifications but to give the led more colors and more blinking patterns.

                    My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post