RGB LED Notification bridded to White only [MEIZU Pro5]
-
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
-
@AlainW94 No body's able to help me ?
-
How can we know, its the original Meizu kernel driver, nobody in UBports changed anything there...
-
@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.
-
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
-
@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 .
-
@AlainW94 Well the API currently misses not the whole notifications but to give the led more colors and more blinking patterns.