linux-mips
[Top] [All Lists]

Re: [PATCH v2 5/6] Alchemy: DB1300 blink leds on timer tick

To: ralf@linux-mips.org
Subject: Re: [PATCH v2 5/6] Alchemy: DB1300 blink leds on timer tick
From: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Date: Wed, 25 Mar 2009 00:44:19 +0900 (JST)
Cc: khickey@rmicorp.com, linux-mips@linux-mips.org
In-reply-to: <20090324131707.GA6509@linux-mips.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1237582306-10800-5-git-send-email-khickey@rmicorp.com> <1237582306-10800-6-git-send-email-khickey@rmicorp.com> <20090324131707.GA6509@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 24 Mar 2009 14:17:07 +0100, Ralf Baechle <ralf@linux-mips.org> wrote:
> > Blinks the dots on the hex display on the DB1300 board every 1000 timer 
> > ticks.
> > This can help tell the difference between a soft and hard hung board.
> 
> How about putting this into a software timer.  The Malta does that for its
> ASCII display, see arch/mips/mti-malta/malta-display.c.

Or you can implement a LED driver or GPIO accessors (with leds-gpio)
and enable LEDS_TRIGGER_HEARTBEAT.  As a bonus you can control these
dots from userland and/or use them as HDD access LEDs, etc.

---
Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>