Opened 7 years ago

Last modified 4 years ago

#9788 new enhancement

Improve usability of the LED Timer Trigger

Reported by: danitool <dgcbueu@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: LED Timer Trigger Cc:


This patch adds a countdown timer to allow stop blinking after an user defined time.

This will bring users more control over leds. The idea is to have the possibility of using this timer inside our scripts, having an accurate control over the number of blinks. As a result of this patch we can "tell" how many blinks we want (defined by the timer) in contrast of having infinite blinks.

Let's make a script, in case of success at an event we can output three shorts blinks, in case of error three long blinks, or whatever we want.

This will bring us good indicators.

The patch I made is tested and works ok. If we don't set the countdown or we set it to 0, we'll get the old behavior.

The countdown trigger is activated when we set the delay_on.

I really wish (and probably many users) this feature included in next openwrt development versions.

Attachments (1)

ledtrig-timer.patch (2.1 KB) - added by danitool <dgcbueu@…> 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by danitool <dgcbueu@…>

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as new .

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.