• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
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.
    • A Offline
      AlainW94
      last edited by 19 Mar 2019, 11:42

      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...

      A 1 Reply Last reply 21 Mar 2019, 20:26 Reply Quote 0
      • A Offline
        AlainW94 @AlainW94
        last edited by 21 Mar 2019, 20:26

        @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
        • F Offline
          flohack
          last edited by 23 Mar 2019, 00:22

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

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

          A 1 Reply Last reply 24 Mar 2019, 16:08 Reply Quote 0
          • A Offline
            AlainW94 @flohack
            last edited by 24 Mar 2019, 16:08

            @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
            • F Offline
              flohack
              last edited by 24 Mar 2019, 19:27

              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: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

              A 1 Reply Last reply 24 Mar 2019, 20:38 Reply Quote 1
              • A Offline
                AlainW94 @flohack
                last edited by 24 Mar 2019, 20:38

                @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...

                F 1 Reply Last reply 24 Mar 2019, 20:42 Reply Quote 1
                • F Offline
                  flohack @AlainW94
                  last edited by 24 Mar 2019, 20:42

                  @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
                  7 out of 7
                  • First post
                    7/7
                    Last post