[MX4] LED does not notify for incoming notifications

Bug #1461682 reported by Omer Akram
68
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Chunsang Jeong
indicator-messages (Ubuntu)
Invalid
Critical
Unassigned
qtubuntu (Ubuntu)
Invalid
Undecided
Unassigned
unity8 (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Image r12

The notification LED on the device does not blink when a new SMS arrives. Its always static off. It however does lighten up when the button physical button is pressed.

Revision history for this message
kevin gunn (kgunn72) wrote :

is this only on arale ?

no longer affects: powerd (Ubuntu)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Yes, works on krillin, doesn't work on arale.

Unity8 uses the android-headers package to accomplish that for krillin. That gives us the following options to initialize lights:

LIGHT_ID_BACKLIGHT
LIGHT_ID_KEYBOARD
LIGHT_ID_BUTTONS
LIGHT_ID_BATTERY
LIGHT_ID_NOTIFICATIONS
LIGHT_ID_ATTENTION

Krillin works fine with LIGHT_ID_NOTIFICATIONS, however, arale doesn't. I have tried with all the others and the only one that actually does something on arale is LIGHT_ID_BACKLIGHT, which is obviously not what we want. If we can talk to the lights at all, this probably needs to be fixed on the android side of things.

Revision history for this message
Michael Zanetti (mzanetti) wrote :

According to ogra we can control the light using: /sys/class/leds/mx-led/trigger

Revision history for this message
Oliver Grawert (ogra) wrote :

echo 1 >/sys/class/leds/mx-led/blink
(as root) makes the led blink

echo 0 >/sys/class/leds/mx-led/blink
stops teh blinking

the triggers are rather for specific use cases ...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-messages (Ubuntu):
status: New → Confirmed
Changed in qtubuntu (Ubuntu):
status: New → Confirmed
Changed in unity8 (Ubuntu):
status: New → Confirmed
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Not sure what component to task but Alex will look into it

Changed in canonical-devices-system-image:
assignee: nobody → Yuan-Chen Cheng (ycheng-twn)
importance: Undecided → Critical
milestone: none → ww28-2015
status: New → Confirmed
Changed in indicator-messages (Ubuntu):
assignee: nobody → Alex Tu (alextu)
importance: Undecided → Critical
Revision history for this message
Alex Tu (alextu) wrote : Re: [Bug 1461682] Re: [MX4] LED does not notify for incoming notifications

My plan will be checking the behavior on flyme and try to apply that on
Arale.

Pat McGowan <email address hidden> 於 2015/6/26週五 下午 8:50 寫道:

> Not sure what component to task but Alex will look into it
>
> ** Also affects: canonical-devices-system-image
> Importance: Undecided
> Status: New
>
> ** Changed in: canonical-devices-system-image
> Importance: Undecided => Critical
>
> ** Changed in: canonical-devices-system-image
> Status: New => Confirmed
>
> ** Changed in: canonical-devices-system-image
> Milestone: None => ww28-2015
>
> ** Changed in: canonical-devices-system-image
> Assignee: (unassigned) => Yuan-Chen Cheng (ycheng-twn)
>
> ** Changed in: indicator-messages (Ubuntu)
> Importance: Undecided => Critical
>
> ** Changed in: indicator-messages (Ubuntu)
> Assignee: (unassigned) => Alex Tu (alextu)
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1461682
>
> Title:
> [MX4] LED does not notify for incoming notifications
>
> Status in the base for Ubuntu mobile products:
> Confirmed
> Status in indicator-messages package in Ubuntu:
> Confirmed
> Status in qtubuntu package in Ubuntu:
> Confirmed
> Status in unity8 package in Ubuntu:
> Confirmed
>
> Bug description:
> Image r12
>
> The notification LED on the device does not blink when a new SMS
> arrives. Its always static off. It however does lighten up when the
> button physical button is pressed.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/canonical-devices-system-image/+bug/1461682/+subscriptions
>

Revision history for this message
Chunsang Jeong (chunsang) wrote :
Revision history for this message
Chunsang Jeong (chunsang) wrote :

Currently MX4 didn't seem to implement all notifications listed #2, otherwise only uses a few of locally defined led notifications. If we need to support all notifications, we could support them simply as #10 but it might be combinations of brightness & blinking mainly because it only has a white led and blinking itself is pre-defined by kernel (user can only enable/disable it).

Changed in unity8 (Ubuntu):
status: Confirmed → Invalid
Changed in qtubuntu (Ubuntu):
status: Confirmed → Invalid
Changed in indicator-messages (Ubuntu):
assignee: Alex Tu (alextu) → nobody
status: Confirmed → Invalid
Changed in canonical-devices-system-image:
assignee: Yuan-Chen Cheng (ycheng-twn) → Chunsang Jeong (chunsang)
status: Confirmed → In Progress
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

will release on next update.

Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Revision history for this message
Oliver Grawert (ogra) wrote :

@George: note that this has not been released yet, we usually keep bugs in "Fix Committed" state until the actual OTA was released to the endusers ...

Revision history for this message
You-Sheng Yang (vicamo) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.